diff --git a/package.json b/package.json index d999ee3273..ec7e175293 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ }, "dependencies": { "@ai-sdk/svelte": "^1.1.24", - "@appwrite.io/console": "https://pkg.vc/-/@appwrite/@appwrite.io/console@0293ded", + "@appwrite.io/console": "https://pkg.vc/-/@appwrite/@appwrite.io/console@237b3cc", "@appwrite.io/pink-icons": "0.25.0", "@appwrite.io/pink-icons-svelte": "https://pkg.vc/-/@appwrite/@appwrite.io/pink-icons-svelte@46a4901", "@appwrite.io/pink-legacy": "^1.0.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1951eb17c9..0cbd49a2ed 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: ^1.1.24 version: 1.1.24(svelte@5.45.6)(zod@3.25.76) '@appwrite.io/console': - specifier: https://pkg.vc/-/@appwrite/@appwrite.io/console@0293ded - version: https://pkg.vc/-/@appwrite/@appwrite.io/console@0293ded + specifier: https://pkg.vc/-/@appwrite/@appwrite.io/console@237b3cc + version: https://pkg.vc/-/@appwrite/@appwrite.io/console@237b3cc '@appwrite.io/pink-icons': specifier: 0.25.0 version: 0.25.0 @@ -283,8 +283,8 @@ packages: '@apm-js-collab/tracing-hooks@0.3.1': resolution: {integrity: sha512-Vu1CbmPURlN5fTboVuKMoJjbO5qcq9fA5YXpskx3dXe/zTBvjODFoerw+69rVBlRLrJpwPqSDqEuJDEKIrTldw==} - '@appwrite.io/console@https://pkg.vc/-/@appwrite/@appwrite.io/console@0293ded': - resolution: {tarball: https://pkg.vc/-/@appwrite/@appwrite.io/console@0293ded} + '@appwrite.io/console@https://pkg.vc/-/@appwrite/@appwrite.io/console@237b3cc': + resolution: {tarball: https://pkg.vc/-/@appwrite/@appwrite.io/console@237b3cc} version: 1.10.0 '@appwrite.io/pink-icons-svelte@2.0.0-RC.1': @@ -3716,7 +3716,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@appwrite.io/console@https://pkg.vc/-/@appwrite/@appwrite.io/console@0293ded': {} + '@appwrite.io/console@https://pkg.vc/-/@appwrite/@appwrite.io/console@237b3cc': {} '@appwrite.io/pink-icons-svelte@2.0.0-RC.1(svelte@5.45.6)': dependencies: diff --git a/src/lib/stores/sdk.ts b/src/lib/stores/sdk.ts index 7adce0d3e1..e985f67eb9 100644 --- a/src/lib/stores/sdk.ts +++ b/src/lib/stores/sdk.ts @@ -114,9 +114,9 @@ if (!building) { scopedConsoleClient.setProject('console'); clientConsole.setEndpoint(endpoint).setProject('console'); - // set profile type! - clientConsole.setProfile(resolvedProfile.platform); - scopedConsoleClient.setProfile(resolvedProfile.platform); + // set platform type! + clientConsole.setPlatform(resolvedProfile.platform); + scopedConsoleClient.setPlatform(resolvedProfile.platform); clientProject.setEndpoint(endpoint).setMode('admin'); clientRealtime.setEndpoint(endpoint).setProject('console');