deps: pin Appwrite SDKs to versions matching server 1.9.0
node-appwrite 24.x and appwrite 25.x target Appwrite server 1.9.1. Our self-hosted server runs 1.9.0, which produced an SDK-version mismatch warning on every API call. Pinned: node-appwrite: ^23.1.0 (was ^24.0.0) appwrite: ^24.2.0 (was ^25.0.0) v23/v24 keep both positional and params-object overloads, so existing auth-actions.ts calls (createEmailPasswordSession, createRecovery, account.create) compile and run unchanged. When we upgrade Appwrite to 1.9.1 we can bump the SDKs back.
This commit is contained in:
+2
-2
@@ -38,7 +38,7 @@
|
||||
"@radix-ui/react-tooltip": "^1.2.8",
|
||||
"@tailwindcss/postcss": "^4.1.18",
|
||||
"@tanstack/react-table": "^8.21.3",
|
||||
"appwrite": "^25.0.0",
|
||||
"appwrite": "^24.2.0",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"clsx": "^2.1.1",
|
||||
"cmdk": "^1.1.1",
|
||||
@@ -46,7 +46,7 @@
|
||||
"lucide-react": "^0.562.0",
|
||||
"next": "16.1.1",
|
||||
"next-themes": "^0.4.6",
|
||||
"node-appwrite": "^24.0.0",
|
||||
"node-appwrite": "^23.1.0",
|
||||
"postcss": "^8.5.6",
|
||||
"react": "19.2.3",
|
||||
"react-day-picker": "^9.13.0",
|
||||
|
||||
Generated
+10
-10
@@ -93,8 +93,8 @@ importers:
|
||||
specifier: ^8.21.3
|
||||
version: 8.21.3(react-dom@19.2.3(react@19.2.3))(react@19.2.3)
|
||||
appwrite:
|
||||
specifier: ^25.0.0
|
||||
version: 25.0.0
|
||||
specifier: ^24.2.0
|
||||
version: 24.2.0
|
||||
class-variance-authority:
|
||||
specifier: ^0.7.1
|
||||
version: 0.7.1
|
||||
@@ -117,8 +117,8 @@ importers:
|
||||
specifier: ^0.4.6
|
||||
version: 0.4.6(react-dom@19.2.3(react@19.2.3))(react@19.2.3)
|
||||
node-appwrite:
|
||||
specifier: ^24.0.0
|
||||
version: 24.0.0
|
||||
specifier: ^23.1.0
|
||||
version: 23.1.0
|
||||
postcss:
|
||||
specifier: ^8.5.6
|
||||
version: 8.5.6
|
||||
@@ -1553,8 +1553,8 @@ packages:
|
||||
resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}
|
||||
engines: {node: '>=8'}
|
||||
|
||||
appwrite@25.0.0:
|
||||
resolution: {integrity: sha512-ZoNhS02x4Bfcur8MQCnZvskrSciSKwKlL+FZOmGtLr6g+1FyEyZufEgOaynStOsqHSlmyUywvluWYH5eLda9Pw==}
|
||||
appwrite@24.2.0:
|
||||
resolution: {integrity: sha512-P5ZhB05RJ7wgCJ23cuu+IT/BtIl5hdru6qa5OXGEz13ZIrHp24gL3C5PGS8Xvv+SIlYGJeBiGpK1vCdekH9YOg==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
|
||||
argparse@2.0.1:
|
||||
@@ -2490,8 +2490,8 @@ packages:
|
||||
sass:
|
||||
optional: true
|
||||
|
||||
node-appwrite@24.0.0:
|
||||
resolution: {integrity: sha512-6oPNGkNHMcBAcu2GmaOTl4uCrabEcin0NzHRlE8lBfsduG+o4MtYjdLoXlA0IdGtlkFFa+qA4Hmkb7Z7By0ySQ==}
|
||||
node-appwrite@23.1.0:
|
||||
resolution: {integrity: sha512-XYv23uIIrEfAomubIrQZFMo6jbIpCfmFwkvTwwo8zEJM1KTpFnSuXg8mSvtnu1ssSp6NqxVbasSAyQ8XF8cEmg==}
|
||||
|
||||
node-fetch-native-with-agent@1.7.2:
|
||||
resolution: {integrity: sha512-5MaOOCuJEvcckoz7/tjdx1M6OusOY6Xc5f459IaruGStWnKzlI1qpNgaAwmn4LmFYcsSlj+jBMk84wmmRxfk5g==}
|
||||
@@ -4353,7 +4353,7 @@ snapshots:
|
||||
dependencies:
|
||||
color-convert: 2.0.1
|
||||
|
||||
appwrite@25.0.0:
|
||||
appwrite@24.2.0:
|
||||
dependencies:
|
||||
json-bigint: 1.0.0
|
||||
|
||||
@@ -5421,7 +5421,7 @@ snapshots:
|
||||
- '@babel/core'
|
||||
- babel-plugin-macros
|
||||
|
||||
node-appwrite@24.0.0:
|
||||
node-appwrite@23.1.0:
|
||||
dependencies:
|
||||
json-bigint: 1.0.0
|
||||
node-fetch-native-with-agent: 1.7.2
|
||||
|
||||
Reference in New Issue
Block a user