From 08e755c66745e0b620a03991c28ca868e18578a3 Mon Sep 17 00:00:00 2001 From: chizor iwuh Date: Wed, 24 Jul 2024 17:36:06 +0100 Subject: [PATCH 1/2] set peer deps minimum version for ui & anchor --- packages/anchor/package.json | 2 +- packages/ui/package.json | 2 +- pnpm-lock.yaml | 22 +++++++++++----------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/packages/anchor/package.json b/packages/anchor/package.json index 59ec2db..6de3698 100644 --- a/packages/anchor/package.json +++ b/packages/anchor/package.json @@ -59,7 +59,7 @@ }, "peerDependencies": { "@coral-xyz/anchor": "^0.30.1", - "@thewuh/wallet-adapter-svelte-core": "*", + "@thewuh/wallet-adapter-svelte-core": ">=0.1.1", "svelte": "^4.0.0" }, "svelte": "./dist/index.js", diff --git a/packages/ui/package.json b/packages/ui/package.json index a92b1c0..e9119e7 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -66,7 +66,7 @@ }, "peerDependencies": { "@solana/web3.js": "~1.88.0", - "@thewuh/wallet-adapter-svelte-core": "*", + "@thewuh/wallet-adapter-svelte-core": ">=0.1.1", "svelte": "^4.0.0" }, "svelte": "./dist/index.js", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cb0f0ff..a7b81de 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -79,8 +79,8 @@ importers: specifier: ^0.30.1 version: 0.30.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@thewuh/wallet-adapter-svelte-core': - specifier: '*' - version: 0.1.0(@solana/web3.js@1.88.1(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bs58@5.0.0)(svelte@4.2.18) + specifier: '>=0.1.1' + version: 0.1.1(@solana/web3.js@1.88.1(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bs58@5.0.0)(svelte@4.2.18) eventemitter3: specifier: ^5.0.1 version: 5.0.1 @@ -302,8 +302,8 @@ importers: specifier: ~1.88.0 version: 1.88.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@thewuh/wallet-adapter-svelte-core': - specifier: '*' - version: 0.1.0(@solana/web3.js@1.88.1(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bs58@5.0.0)(svelte@4.2.18) + specifier: '>=0.1.1' + version: 0.1.1(@solana/web3.js@1.88.1(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bs58@5.0.0)(svelte@4.2.18) eventemitter3: specifier: ^5.0.1 version: 5.0.1 @@ -2124,13 +2124,13 @@ packages: '@swc/helpers@0.5.12': resolution: {integrity: sha512-KMZNXiGibsW9kvZAO1Pam2JPTDBm+KSHMMHWdsyI/1DbIZjT2A6Gy3hblVXUMEDvUAKq+e0vL0X0o54owWji7g==} - '@thewuh/wallet-adapter-svelte-core@0.1.0': - resolution: {integrity: sha512-JNL2fif0oJdTPsUtB89fnCiX4l8JWSZRFPQqEQ3imbrHe5/rhS+qIGkkubRNHmr7btEmsqy6Iz0jPdlMWwR0Rw==} + '@thewuh/wallet-adapter-svelte-core@0.1.1': + resolution: {integrity: sha512-qUUuOiYuNL1+rVFCAqqgA6JfhaasH3sliZwCcC7B12nPzxMH05SqgmyafZA+DO1NFN3/zxkdTdeQdunN7uWDpA==} peerDependencies: svelte: ^4.2.18 - '@thewuh/wallet-standard-wallet-adapter-svelte@0.1.0': - resolution: {integrity: sha512-kB/aMxex6PgsPox+YwgMjdb1Z8sfUJH2hhhZXDN0Kn9z0yfQYv1G8bEO6+5YIGXUOM7n3GRp5Dja93pwPA2dOw==} + '@thewuh/wallet-standard-wallet-adapter-svelte@0.1.1': + resolution: {integrity: sha512-RNkc4KnPI8dJ8o7V7njDLHzT+diRugkUvYwmEGDHE4SNHyhvgbmbF+nN0EIx3MjrK/wKkXAUkvv5W9SUehadHQ==} peerDependencies: '@solana/wallet-adapter-base': ^0.9.23 '@solana/wallet-standard-wallet-adapter-base': ^1.1.2 @@ -8383,18 +8383,18 @@ snapshots: dependencies: tslib: 2.6.3 - '@thewuh/wallet-adapter-svelte-core@0.1.0(@solana/web3.js@1.88.1(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bs58@5.0.0)(svelte@4.2.18)': + '@thewuh/wallet-adapter-svelte-core@0.1.1(@solana/web3.js@1.88.1(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bs58@5.0.0)(svelte@4.2.18)': dependencies: '@solana/wallet-adapter-base': 0.9.23(@solana/web3.js@1.88.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)) '@solana/wallet-standard-wallet-adapter-base': 1.1.2(@solana/web3.js@1.88.1(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bs58@5.0.0) - '@thewuh/wallet-standard-wallet-adapter-svelte': 0.1.0(@solana/wallet-adapter-base@0.9.23(@solana/web3.js@1.88.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)))(@solana/wallet-standard-wallet-adapter-base@1.1.2(@solana/web3.js@1.88.1(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bs58@5.0.0))(svelte@4.2.18) + '@thewuh/wallet-standard-wallet-adapter-svelte': 0.1.1(@solana/wallet-adapter-base@0.9.23(@solana/web3.js@1.88.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)))(@solana/wallet-standard-wallet-adapter-base@1.1.2(@solana/web3.js@1.88.1(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bs58@5.0.0))(svelte@4.2.18) eventemitter3: 5.0.1 svelte: 4.2.18 transitivePeerDependencies: - '@solana/web3.js' - bs58 - '@thewuh/wallet-standard-wallet-adapter-svelte@0.1.0(@solana/wallet-adapter-base@0.9.23(@solana/web3.js@1.88.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)))(@solana/wallet-standard-wallet-adapter-base@1.1.2(@solana/web3.js@1.88.1(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bs58@5.0.0))(svelte@4.2.18)': + '@thewuh/wallet-standard-wallet-adapter-svelte@0.1.1(@solana/wallet-adapter-base@0.9.23(@solana/web3.js@1.88.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)))(@solana/wallet-standard-wallet-adapter-base@1.1.2(@solana/web3.js@1.88.1(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bs58@5.0.0))(svelte@4.2.18)': dependencies: '@solana/wallet-adapter-base': 0.9.23(@solana/web3.js@1.88.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)) '@solana/wallet-standard-wallet-adapter-base': 1.1.2(@solana/web3.js@1.88.1(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bs58@5.0.0) From 6e28c3529f2d762ae2c5a37fb1f8e00738681247 Mon Sep 17 00:00:00 2001 From: chizor iwuh Date: Wed, 24 Jul 2024 17:48:48 +0100 Subject: [PATCH 2/2] set example minimum version --- packages/example/package.json | 2 +- pnpm-lock.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/example/package.json b/packages/example/package.json index 117a6fc..3f1e4cb 100644 --- a/packages/example/package.json +++ b/packages/example/package.json @@ -20,7 +20,7 @@ "@sveltejs/kit": "^2.0.0", "@sveltejs/vite-plugin-svelte": "^3.0.0", "@thewuh/wallet-adapter-svelte-anchor": "workspace:*", - "@thewuh/wallet-adapter-svelte-core": "workspace:*", + "@thewuh/wallet-adapter-svelte-core": ">=0.1.1", "@thewuh/wallet-adapter-svelte-ui": "workspace:*", "@types/eslint": "^8.56.7", "autoprefixer": "^10.4.19", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a7b81de..8227b94 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -214,8 +214,8 @@ importers: specifier: workspace:* version: link:../anchor '@thewuh/wallet-adapter-svelte-core': - specifier: workspace:* - version: link:../core + specifier: '>=0.1.1' + version: 0.1.1(@solana/web3.js@1.88.1(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bs58@5.0.0)(svelte@4.2.18) '@thewuh/wallet-adapter-svelte-ui': specifier: workspace:* version: link:../ui