From 94cbafcd900a4b40ab496f7745ea38d6d17bf37c Mon Sep 17 00:00:00 2001 From: kyranjamie Date: Mon, 9 Sep 2024 17:21:03 +0200 Subject: [PATCH 1/3] refactor: upgrade alex sdk --- package.json | 2 +- pnpm-lock.yaml | 93 +++++++++++++++++++++++++++++++++++++------------- 2 files changed, 70 insertions(+), 25 deletions(-) diff --git a/package.json b/package.json index e63f0abdf2..87a0f77a96 100644 --- a/package.json +++ b/package.json @@ -184,7 +184,7 @@ "@types/lodash.uniqby": "4.7.7", "@typescript-eslint/eslint-plugin": "7.5.0", "@zondax/ledger-stacks": "1.0.4", - "alex-sdk": "2.1.3", + "alex-sdk": "2.1.4", "are-passive-events-supported": "1.1.1", "argon2-browser": "1.18.0", "assert": "2.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0d56830557..c1ab13cf49 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -30,7 +30,7 @@ importers: version: 0.7.0(encoding@0.1.13) '@coinbase/cbpay-js': specifier: 2.1.0 - version: 2.1.0(regenerator-runtime@0.13.11) + version: 2.1.0(regenerator-runtime@0.14.1) '@fungible-systems/zone-file': specifier: 2.0.0 version: 2.0.0 @@ -179,8 +179,8 @@ importers: specifier: 1.0.4 version: 1.0.4(encoding@0.1.13) alex-sdk: - specifier: 2.1.3 - version: 2.1.3(@stacks/network@6.13.0(encoding@0.1.13))(@stacks/transactions@6.15.0(encoding@0.1.13)) + specifier: 2.1.4 + version: 2.1.4(@stacks/network@6.13.0(encoding@0.1.13))(@stacks/transactions@6.15.0(encoding@0.1.13)) are-passive-events-supported: specifier: 1.1.1 version: 1.1.1 @@ -439,7 +439,7 @@ importers: version: 8.2.4(storybook@8.2.4(@babel/preset-env@7.25.4(@babel/core@7.25.2))) '@storybook/addon-interactions': specifier: 8.2.4 - version: 8.2.4(storybook@8.2.4(@babel/preset-env@7.25.4(@babel/core@7.25.2)))(vitest@2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.31.6)) + version: 8.2.4(storybook@8.2.4(@babel/preset-env@7.25.4(@babel/core@7.25.2)))(vitest@2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.32.0)) '@storybook/addon-links': specifier: 8.2.4 version: 8.2.4(react@18.3.1)(storybook@8.2.4(@babel/preset-env@7.25.4(@babel/core@7.25.2))) @@ -460,7 +460,7 @@ importers: version: 8.2.4(@swc/core@1.7.18)(esbuild@0.23.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.2.4(@babel/preset-env@7.25.4(@babel/core@7.25.2)))(typescript@5.4.5)(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0)) '@storybook/test': specifier: 8.2.4 - version: 8.2.4(storybook@8.2.4(@babel/preset-env@7.25.4(@babel/core@7.25.2)))(vitest@2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.31.6)) + version: 8.2.4(storybook@8.2.4(@babel/preset-env@7.25.4(@babel/core@7.25.2)))(vitest@2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.32.0)) '@storybook/theming': specifier: 8.2.4 version: 8.2.4(storybook@8.2.4(@babel/preset-env@7.25.4(@babel/core@7.25.2))) @@ -541,7 +541,7 @@ importers: version: 7.5.0(eslint@8.56.0)(typescript@5.4.5) '@vitest/coverage-istanbul': specifier: 2.0.5 - version: 2.0.5(vitest@2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.31.6)) + version: 2.0.5(vitest@2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.32.0)) audit-ci: specifier: 6.6.1 version: 6.6.1 @@ -667,7 +667,7 @@ importers: version: 5.4.5 vitest: specifier: 2.0.5 - version: 2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.31.6) + version: 2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.32.0) vm-browserify: specifier: 1.1.2 version: 1.1.2 @@ -6769,6 +6769,13 @@ packages: '@stacks/network': ^6.3.0 '@stacks/transactions': ^6.2.0 + alex-sdk@2.1.4: + resolution: {integrity: sha512-fFFyk3iwioqRsNOiWQyVXl+5vjlIU0ez3Ko9JnE6JBt8F8pNLMAkPIBlZA/nW/EhdFrrTuyuT0CHxH22GumQ5w==} + engines: {node: '>=10'} + peerDependencies: + '@stacks/network': ^6.3.0 + '@stacks/transactions': ^6.2.0 + anser@1.4.10: resolution: {integrity: sha512-hCv9AqTQ8ycjpSd3upOJd7vFwW1JaoYQ7tpham03GJ1ca8/65rqn0RpaWpItOAd6ylW9wAw6luXYPJIyPFVOww==} @@ -7539,6 +7546,12 @@ packages: peerDependencies: '@stacks/transactions': '*' + clarity-codegen@0.5.3: + resolution: {integrity: sha512-SmcGEJVCsx2ljD7hGzcIv4W3lUzJl2k3zuH5kHDI0lgO2N6sTPRv+WyXzxmMsJvGCsdggkvVU9ebc2cR/Z+h+g==} + hasBin: true + peerDependencies: + '@stacks/transactions': '*' + classnames@2.5.1: resolution: {integrity: sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==} @@ -14181,6 +14194,11 @@ packages: engines: {node: '>=10'} hasBin: true + terser@5.32.0: + resolution: {integrity: sha512-v3Gtw3IzpBJ0ugkxEX8U0W6+TnPKRRCWGh1jC/iM/e3Ki5+qvO1L1EAZ56bZasc64aXHwRHNIQEzm6//i5cemQ==} + engines: {node: '>=10'} + hasBin: true + test-exclude@7.0.1: resolution: {integrity: sha512-pFYqmTw68LXVjeWJMST4+borgQP2AyMNbg1BpZh9LbyhUeNkeaPF9gzfPGUAnSMV3qPYdWUwDIjjCLiSDOl7vg==} engines: {node: '>=18'} @@ -16582,9 +16600,9 @@ snapshots: picocolors: 1.0.1 sisteransi: 1.0.5 - '@coinbase/cbpay-js@2.1.0(regenerator-runtime@0.13.11)': + '@coinbase/cbpay-js@2.1.0(regenerator-runtime@0.14.1)': optionalDependencies: - regenerator-runtime: 0.13.11 + regenerator-runtime: 0.14.1 '@cspotcode/source-map-support@0.8.1': dependencies: @@ -21660,11 +21678,11 @@ snapshots: '@storybook/global': 5.0.0 storybook: 8.2.4(@babel/preset-env@7.25.4(@babel/core@7.25.2)) - '@storybook/addon-interactions@8.2.4(storybook@8.2.4(@babel/preset-env@7.25.4(@babel/core@7.25.2)))(vitest@2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.31.6))': + '@storybook/addon-interactions@8.2.4(storybook@8.2.4(@babel/preset-env@7.25.4(@babel/core@7.25.2)))(vitest@2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.32.0))': dependencies: '@storybook/global': 5.0.0 '@storybook/instrumenter': 8.2.4(storybook@8.2.4(@babel/preset-env@7.25.4(@babel/core@7.25.2))) - '@storybook/test': 8.2.4(storybook@8.2.4(@babel/preset-env@7.25.4(@babel/core@7.25.2)))(vitest@2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.31.6)) + '@storybook/test': 8.2.4(storybook@8.2.4(@babel/preset-env@7.25.4(@babel/core@7.25.2)))(vitest@2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.32.0)) polished: 4.3.1 storybook: 8.2.4(@babel/preset-env@7.25.4(@babel/core@7.25.2)) ts-dedent: 2.2.0 @@ -22089,12 +22107,12 @@ snapshots: optionalDependencies: typescript: 5.4.5 - '@storybook/test@8.2.4(storybook@8.2.4(@babel/preset-env@7.25.4(@babel/core@7.25.2)))(vitest@2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.31.6))': + '@storybook/test@8.2.4(storybook@8.2.4(@babel/preset-env@7.25.4(@babel/core@7.25.2)))(vitest@2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.32.0))': dependencies: '@storybook/csf': 0.1.11 '@storybook/instrumenter': 8.2.4(storybook@8.2.4(@babel/preset-env@7.25.4(@babel/core@7.25.2))) '@testing-library/dom': 10.1.0 - '@testing-library/jest-dom': 6.4.5(vitest@2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.31.6)) + '@testing-library/jest-dom': 6.4.5(vitest@2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.32.0)) '@testing-library/user-event': 14.5.2(@testing-library/dom@10.1.0) '@vitest/expect': 1.6.0 '@vitest/spy': 1.6.0 @@ -22319,7 +22337,7 @@ snapshots: lz-string: 1.5.0 pretty-format: 27.5.1 - '@testing-library/jest-dom@6.4.5(vitest@2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.31.6))': + '@testing-library/jest-dom@6.4.5(vitest@2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.32.0))': dependencies: '@adobe/css-tools': 4.4.0 '@babel/runtime': 7.25.4 @@ -22330,7 +22348,7 @@ snapshots: lodash: 4.17.21 redent: 3.0.0 optionalDependencies: - vitest: 2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.31.6) + vitest: 2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.32.0) '@testing-library/user-event@14.5.2(@testing-library/dom@10.1.0)': dependencies: @@ -23245,7 +23263,7 @@ snapshots: graphql: 15.8.0 wonka: 4.0.15 - '@vitest/coverage-istanbul@2.0.5(vitest@2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.31.6))': + '@vitest/coverage-istanbul@2.0.5(vitest@2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.32.0))': dependencies: '@istanbuljs/schema': 0.1.3 debug: 4.3.6(supports-color@5.5.0) @@ -23257,7 +23275,7 @@ snapshots: magicast: 0.3.4 test-exclude: 7.0.1 tinyrainbow: 1.2.0 - vitest: 2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.31.6) + vitest: 2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.32.0) transitivePeerDependencies: - supports-color @@ -23700,6 +23718,14 @@ snapshots: transitivePeerDependencies: - debug + alex-sdk@2.1.4(@stacks/network@6.13.0(encoding@0.1.13))(@stacks/transactions@6.15.0(encoding@0.1.13)): + dependencies: + '@stacks/network': 6.13.0(encoding@0.1.13) + '@stacks/transactions': 6.15.0(encoding@0.1.13) + clarity-codegen: 0.5.3(@stacks/transactions@6.15.0(encoding@0.1.13)) + transitivePeerDependencies: + - debug + anser@1.4.10: {} anser@2.1.1: {} @@ -24633,6 +24659,17 @@ snapshots: transitivePeerDependencies: - debug + clarity-codegen@0.5.3(@stacks/transactions@6.15.0(encoding@0.1.13)): + dependencies: + '@stacks/stacks-blockchain-api-types': 7.8.2 + '@stacks/transactions': 6.15.0(encoding@0.1.13) + axios: 1.7.4 + lodash: 4.17.21 + yargs: 17.7.2 + yqueue: 1.0.1 + transitivePeerDependencies: + - debug + classnames@2.5.1: {} clean-css@5.3.3: @@ -32757,6 +32794,14 @@ snapshots: commander: 2.20.3 source-map-support: 0.5.21 + terser@5.32.0: + dependencies: + '@jridgewell/source-map': 0.3.6 + acorn: 8.12.1 + commander: 2.20.3 + source-map-support: 0.5.21 + optional: true + test-exclude@7.0.1: dependencies: '@istanbuljs/schema': 0.1.3 @@ -33438,13 +33483,13 @@ snapshots: bl: 1.2.3 through2: 2.0.5 - vite-node@2.0.5(@types/node@20.12.12)(lightningcss@1.26.0)(terser@5.31.6): + vite-node@2.0.5(@types/node@20.12.12)(lightningcss@1.26.0)(terser@5.32.0): dependencies: cac: 6.7.14 debug: 4.3.6(supports-color@5.5.0) pathe: 1.1.2 tinyrainbow: 1.2.0 - vite: 5.4.2(@types/node@20.12.12)(lightningcss@1.26.0)(terser@5.31.6) + vite: 5.4.2(@types/node@20.12.12)(lightningcss@1.26.0)(terser@5.32.0) transitivePeerDependencies: - '@types/node' - less @@ -33456,7 +33501,7 @@ snapshots: - supports-color - terser - vite@5.4.2(@types/node@20.12.12)(lightningcss@1.26.0)(terser@5.31.6): + vite@5.4.2(@types/node@20.12.12)(lightningcss@1.26.0)(terser@5.32.0): dependencies: esbuild: 0.21.5 postcss: 8.4.41 @@ -33465,9 +33510,9 @@ snapshots: '@types/node': 20.12.12 fsevents: 2.3.3 lightningcss: 1.26.0 - terser: 5.31.6 + terser: 5.32.0 - vitest@2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.31.6): + vitest@2.0.5(@types/node@20.12.12)(jsdom@22.1.0)(lightningcss@1.26.0)(terser@5.32.0): dependencies: '@ampproject/remapping': 2.3.0 '@vitest/expect': 2.0.5 @@ -33485,8 +33530,8 @@ snapshots: tinybench: 2.9.0 tinypool: 1.0.1 tinyrainbow: 1.2.0 - vite: 5.4.2(@types/node@20.12.12)(lightningcss@1.26.0)(terser@5.31.6) - vite-node: 2.0.5(@types/node@20.12.12)(lightningcss@1.26.0)(terser@5.31.6) + vite: 5.4.2(@types/node@20.12.12)(lightningcss@1.26.0)(terser@5.32.0) + vite-node: 2.0.5(@types/node@20.12.12)(lightningcss@1.26.0)(terser@5.32.0) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 20.12.12 From 9ea8745c29a6fa462b2254b9d1eecdb003d55fa1 Mon Sep 17 00:00:00 2001 From: Pete Watters <2938440+pete-watters@users.noreply.github.com> Date: Fri, 20 Sep 2024 15:17:11 +0100 Subject: [PATCH 2/3] fix: update alex-sdk in leather.io/query --- package.json | 2 +- pnpm-lock.yaml | 172 +++++++++++++++++++++++++++++++++++-------------- 2 files changed, 123 insertions(+), 51 deletions(-) diff --git a/package.json b/package.json index 87a0f77a96..2675db6846 100644 --- a/package.json +++ b/package.json @@ -141,7 +141,7 @@ "@leather.io/constants": "0.9.2", "@leather.io/models": "0.14.0", "@leather.io/crypto": "1.5.0", - "@leather.io/query": "2.10.0", + "@leather.io/query": "2.12.0", "@leather.io/stacks": "1.1.0", "@leather.io/tokens": "0.9.0", "@leather.io/ui": "1.18.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c1ab13cf49..096a6d2b63 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -30,7 +30,7 @@ importers: version: 0.7.0(encoding@0.1.13) '@coinbase/cbpay-js': specifier: 2.1.0 - version: 2.1.0(regenerator-runtime@0.14.1) + version: 2.1.0(regenerator-runtime@0.13.11) '@fungible-systems/zone-file': specifier: 2.0.0 version: 2.0.0 @@ -50,8 +50,8 @@ importers: specifier: 0.14.0 version: 0.14.0 '@leather.io/query': - specifier: 2.10.0 - version: 2.10.0(@stacks/network@6.13.0(encoding@0.1.13))(encoding@0.1.13)(react@18.3.1) + specifier: 2.12.0 + version: 2.12.0(@stacks/network@6.13.0(encoding@0.1.13))(encoding@0.1.13)(react@18.3.1) '@leather.io/stacks': specifier: 1.1.0 version: 1.1.0(encoding@0.1.13) @@ -2810,12 +2810,21 @@ packages: '@leather.io/bitcoin@0.12.0': resolution: {integrity: sha512-pTi6vQAJhKvnFUqVnI1sBClw3djGF8igEfBwRR6nJpGwzhg33kgyUW0iN08l1diFRRfvsOIv6tWsC3PNY6ulWQ==} + '@leather.io/bitcoin@0.13.0': + resolution: {integrity: sha512-N5k37PhqjgrF0OF0qMdraEMyooSZ7CvUJV9kMC+E2dh1vR2oAfkw1Q93BrIzYV0LS/ykpwZ9WNPqR8kO8JUh/A==} + + '@leather.io/constants@0.11.0': + resolution: {integrity: sha512-4Ua8ACnAaWPEG7fK7ojf+/+01NDp9f0DRMF/+7YUqyVUfSOMoZIGAGdSbZwi9x/OoPQwfq9JDcm9jhHC/jyRJw==} + '@leather.io/constants@0.9.2': resolution: {integrity: sha512-IZQ9Tl8R2kbDgqM9Fj60kAvlTOMaSJtsg/kO0K83pYiR69n4FRqHAT9ikDn+08/v5R8d0J8YCGO1F4aj96qC8g==} '@leather.io/crypto@1.5.0': resolution: {integrity: sha512-9kRexVALrkL6B6pqeulErBcY5YE3GJk3Ob4lhJuKXmNlRamfYkWD73cbiSerM6cmH0vyuxow+5M+LFZP/95mrQ==} + '@leather.io/crypto@1.6.0': + resolution: {integrity: sha512-T+5wbTIokrhhoDVXermmDVoeEulkx2vAkG42SXccd62mkVHhJMkzdPkkQPD8NWexLkuTZHUr0OJ2Q4KoE29d6w==} + '@leather.io/eslint-config@0.7.0': resolution: {integrity: sha512-4K7olfSC+mJnG90TSaLIlytp14yDprGXwe1+oP9TLQbuPFpJai3/+g5Bp/FeUC4NZ23UVbAlGXFCav2amBb77w==} @@ -2825,20 +2834,26 @@ packages: '@leather.io/models@0.14.0': resolution: {integrity: sha512-XGgXDmZMyFVNGPAtd3Pua3d2/12J1Nlw5GMZB2sieBNdDC1iSwVrfAjy3UEMlvYuZR4YKqliX3P97McGDxmCgg==} + '@leather.io/models@0.15.0': + resolution: {integrity: sha512-KJ4opA0x/dSlhdyymhVUGPYMTZ8zgV+wo6ZiA2pt9MWz0wBzxGX62jxhoiq1uf346Gn1JHv4DjhqyHdFJivpsQ==} + '@leather.io/panda-preset@0.3.8': resolution: {integrity: sha512-MEohMC7VA28v+um3uYxTeLYNOZ+XXg09MoAtgvHw+RJJFtO6bBXFcmgooSJv44aaBuhRb3Zx9erz4xErq3GzcQ==} '@leather.io/prettier-config@0.6.0': resolution: {integrity: sha512-QBKtLanfxFxXBlR58U/j8a6lBI0xzJzqqi36fXpGVp+9mJoEf6Ro6xrtFrixjW6seY6EOva4OApVnnPBsvOC/w==} - '@leather.io/query@2.10.0': - resolution: {integrity: sha512-GvtTbyWa+5k8h5vJoJOClLl7/nYl60eaMZqzdMBYZizwbJaTL5L0A5ndu3yqruVITDZ4R/S+FY2ILOCr1grt/g==} + '@leather.io/query@2.12.0': + resolution: {integrity: sha512-vTL1xob1TCPFluOOgy+QKpufwSlLwqmbHc0FjWxHKhd5jfNwEj8EOjeV0U4SP9Ymcvz4LlUFPtrfETeIPRb68w==} peerDependencies: react: '*' '@leather.io/rpc@2.1.6': resolution: {integrity: sha512-zVozkq40S6HReKyA/7sto8tsfPN2uKQq4vvUcutvj35DCCugNbxn5Xr6jIjV52YxHn4vqVFC1D6cSPwpDsgE3g==} + '@leather.io/rpc@2.1.8': + resolution: {integrity: sha512-Yi/A1wuQyK72xXkOe15BJGRBdfODqrl1/P/PzAjJCN6CitZxViSBkqrOfiddNsiIYFABkqMUn5WTdkA+9mDGCA==} + '@leather.io/stacks@1.1.0': resolution: {integrity: sha512-8SbIbeVIXNBfxFPzhJzwbDaeLIvpWpJpF2vrIiclZgcqvzaZP8yjL0K5EAz18jegQdDbTLhegVWi0X9d9mk+Kg==} @@ -2851,6 +2866,9 @@ packages: '@leather.io/utils@0.13.3': resolution: {integrity: sha512-wKpOIWhq9ZKSB7oNSaBRDzSRffgyykaubYGq6E3mtoK5fwR3RZCbX9zQXlnWa2EFWkWJeSF4SPh+GWrIgU+C/g==} + '@leather.io/utils@0.16.0': + resolution: {integrity: sha512-tzHXAQAb+ytEU2+piAXO2SizurHoMUqsKxZ2cekqqjN8qIq6+5xXhD6/00RoM8BUvNRQAl+/rIef/35cJ6funw==} + '@ledgerhq/devices@8.4.2': resolution: {integrity: sha512-oWNTp3jCMaEvRHsXNYE/yo+PFMgXAJGFHLOU1UdE4/fYkniHbD9wdxwyZrZvrxr9hNw4/9wHiThyITwPtMzG7g==} @@ -2902,6 +2920,10 @@ packages: '@noble/curves@1.4.2': resolution: {integrity: sha512-TavHr8qycMChk8UwMld0ZDRvatedkzWfH8IiaeGCfymOP5i0hSCozz9vHOL0nkwk7HRMlFnAiKpS2jrUmSybcw==} + '@noble/curves@1.6.0': + resolution: {integrity: sha512-TlaHRXDehJuRNR9TfZDNQ45mMEd5dwUwmicsafcIX4SsNiqnCHKjE/1alYPd/lDRVhxdhUAlv8uEhMCI5zjIJQ==} + engines: {node: ^14.21.3 || >=16} + '@noble/hashes@1.1.5': resolution: {integrity: sha512-LTMZiiLc+V4v1Yi16TD6aX2gmtKszNye0pQgbaLqkvhIqP7nVsSaJsWloGQjJfJ8offaoP5GtX3yY5swbcJxxQ==} @@ -2909,6 +2931,10 @@ packages: resolution: {integrity: sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==} engines: {node: '>= 16'} + '@noble/hashes@1.5.0': + resolution: {integrity: sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA==} + engines: {node: ^14.21.3 || >=16} + '@noble/secp256k1@1.7.1': resolution: {integrity: sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==} @@ -4455,6 +4481,9 @@ packages: '@scure/base@1.1.6': resolution: {integrity: sha512-ok9AWwhcgYuGG3Zfhyqg+zwl+Wn5uE+dwC0NV/2qQkx4dABbb/bx96vWu8NSj+BNjjSjno+JRYRjle1jV08k3g==} + '@scure/base@1.1.9': + resolution: {integrity: sha512-8YKhl8GHiNI/pU2VMaofa2Tor7PJRAjwQLBBuilkJ9L5+13yVbC7JO/wS7piioAvPSwR3JKM1IJ/u4xQzbcXKg==} + '@scure/bip32@1.1.3': resolution: {integrity: sha512-dSH3+LCWONlSNQuF34xZrG6Xas7tp2jSSqHb/pMfXWM0vKE4JZOtK3uJfoWouUVW5IGlls75HkXmYLldZ8ySgQ==} @@ -4470,6 +4499,9 @@ packages: '@scure/btc-signer@1.3.2': resolution: {integrity: sha512-BmcQHvxaaShKwgbFC0vDk0xzqbMhNtNmgXm6u7cz07FNtGsVItUuHow6NbgHmc+oJSBZJRym5dz8+Uu0JoEJhQ==} + '@scure/btc-signer@1.4.0': + resolution: {integrity: sha512-uSZqmiWWm1+wflQbiob0CrzQSCwDO9MmAxqsqk+tkiRcUv8GbC3Ptv9/2nUbsoUBuPN/6mBQJ/KOBzHjc5Bgow==} + '@segment/analytics-core@1.6.0': resolution: {integrity: sha512-bn9X++IScUfpT7aJGjKU/yJAu/Ko2sYD6HsKA70Z2560E89x30pqgqboVKY8kootvQnT4UKCJiUr5NDMgjmWdQ==} @@ -6762,13 +6794,6 @@ packages: ajv@8.17.1: resolution: {integrity: sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==} - alex-sdk@2.1.3: - resolution: {integrity: sha512-sxzMj8kZ8kXja3rdLJn+4tI+MCgdFQD8Aai0jLPwhlViuf3Zuzv8q8YOdxe6/PTsryjTGyNWzNTmQ7WF1tWk3w==} - engines: {node: '>=10'} - peerDependencies: - '@stacks/network': ^6.3.0 - '@stacks/transactions': ^6.2.0 - alex-sdk@2.1.4: resolution: {integrity: sha512-fFFyk3iwioqRsNOiWQyVXl+5vjlIU0ez3Ko9JnE6JBt8F8pNLMAkPIBlZA/nW/EhdFrrTuyuT0CHxH22GumQ5w==} engines: {node: '>=10'} @@ -7540,12 +7565,6 @@ packages: cjs-module-lexer@1.3.1: resolution: {integrity: sha512-a3KdPAANPbNE4ZUv9h6LckSl9zLsYOP4MBmhIPkRaeyybt+r4UghLvq+xw/YwUcC1gqylCkL4rdVs3Lwupjm4Q==} - clarity-codegen@0.5.2: - resolution: {integrity: sha512-t0uvboeZTII7n2lgobAxcQnhyjXwbUKYdUKJA3yjoaOXPvtr5i2zFV7H1E6ZeDMfqd3vIksMPvpdFfXum9SoNQ==} - hasBin: true - peerDependencies: - '@stacks/transactions': '*' - clarity-codegen@0.5.3: resolution: {integrity: sha512-SmcGEJVCsx2ljD7hGzcIv4W3lUzJl2k3zuH5kHDI0lgO2N6sTPRv+WyXzxmMsJvGCsdggkvVU9ebc2cR/Z+h+g==} hasBin: true @@ -10624,6 +10643,9 @@ packages: resolution: {integrity: sha512-Qush0uP+G8ZScpGMZvHUiRfI0YBWuB3gVBYlI0v0vvOJt5FLicco+IkP0a50LqTTQhmts/m6tP5SWE+USyIvcQ==} engines: {node: '>=12.20'} + just-memoize@2.2.0: + resolution: {integrity: sha512-zriv+MY+61RXT0QsrO1ZJtL5umouqqSWmCGBkp2wJm35kniunBAA4qhUKx8Lvg/QcwrF9xuw9E6PkevKFf4boQ==} + jwa@1.4.1: resolution: {integrity: sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==} @@ -16600,9 +16622,9 @@ snapshots: picocolors: 1.0.1 sisteransi: 1.0.5 - '@coinbase/cbpay-js@2.1.0(regenerator-runtime@0.14.1)': + '@coinbase/cbpay-js@2.1.0(regenerator-runtime@0.13.11)': optionalDependencies: - regenerator-runtime: 0.14.1 + regenerator-runtime: 0.13.11 '@cspotcode/source-map-support@0.8.1': dependencies: @@ -17780,6 +17802,33 @@ snapshots: transitivePeerDependencies: - encoding + '@leather.io/bitcoin@0.13.0(encoding@0.1.13)': + dependencies: + '@bitcoinerlab/secp256k1': 1.0.2 + '@leather.io/constants': 0.11.0 + '@leather.io/crypto': 1.6.0 + '@leather.io/models': 0.15.0 + '@leather.io/utils': 0.16.0 + '@noble/hashes': 1.4.0 + '@noble/secp256k1': 2.1.0 + '@scure/base': 1.1.6 + '@scure/bip32': 1.4.0 + '@scure/bip39': 1.3.0 + '@scure/btc-signer': 1.4.0 + '@stacks/common': 6.13.0 + '@stacks/transactions': 6.15.0(encoding@0.1.13) + bip32: 4.0.0 + bitcoinjs-lib: 6.1.5 + ecpair: 2.1.0 + just-memoize: 2.2.0 + varuint-bitcoin: 1.1.2 + transitivePeerDependencies: + - encoding + + '@leather.io/constants@0.11.0': + dependencies: + '@leather.io/models': 0.15.0 + '@leather.io/constants@0.9.2': {} '@leather.io/crypto@1.5.0': @@ -17788,6 +17837,13 @@ snapshots: '@scure/bip32': 1.4.0 '@scure/bip39': 1.3.0 + '@leather.io/crypto@1.6.0': + dependencies: + '@leather.io/utils': 0.16.0 + '@scure/bip32': 1.4.0 + '@scure/bip39': 1.3.0 + just-memoize: 2.2.0 + '@leather.io/eslint-config@0.7.0(typescript@5.4.5)': dependencies: '@typescript-eslint/eslint-plugin': 6.9.0(@typescript-eslint/parser@6.9.0(eslint@8.56.0)(typescript@5.4.5))(eslint@8.56.0)(typescript@5.4.5) @@ -17810,6 +17866,12 @@ snapshots: bignumber.js: 9.1.2 zod: 3.23.6 + '@leather.io/models@0.15.0': + dependencies: + '@stacks/stacks-blockchain-api-types': 7.8.2 + bignumber.js: 9.1.2 + zod: 3.23.6 + '@leather.io/panda-preset@0.3.8(jsdom@22.1.0)(typescript@5.4.5)': dependencies: '@pandacss/dev': 0.40.1(jsdom@22.1.0)(typescript@5.4.5) @@ -17825,26 +17887,26 @@ snapshots: - '@vue/compiler-sfc' - supports-color - '@leather.io/query@2.10.0(@stacks/network@6.13.0(encoding@0.1.13))(encoding@0.1.13)(react@18.3.1)': + '@leather.io/query@2.12.0(@stacks/network@6.13.0(encoding@0.1.13))(encoding@0.1.13)(react@18.3.1)': dependencies: '@fungible-systems/zone-file': 2.0.0 '@hirosystems/token-metadata-api-client': 1.2.0(encoding@0.1.13) - '@leather.io/bitcoin': 0.12.0(encoding@0.1.13) - '@leather.io/constants': 0.9.2 - '@leather.io/models': 0.13.0 - '@leather.io/rpc': 2.1.6 - '@leather.io/utils': 0.13.3 + '@leather.io/bitcoin': 0.13.0(encoding@0.1.13) + '@leather.io/constants': 0.11.0 + '@leather.io/models': 0.15.0 + '@leather.io/rpc': 2.1.8 + '@leather.io/utils': 0.16.0 '@noble/hashes': 1.4.0 '@scure/base': 1.1.6 '@scure/bip32': 1.4.0 - '@scure/btc-signer': 1.3.2 + '@scure/btc-signer': 1.4.0 '@stacks/common': 6.13.0 '@stacks/connect': 7.4.0(encoding@0.1.13) '@stacks/rpc-client': 1.0.3(encoding@0.1.13) '@stacks/stacks-blockchain-api-types': 7.8.2 '@stacks/transactions': 6.15.0(encoding@0.1.13) '@tanstack/react-query': 5.51.23(react@18.3.1) - alex-sdk: 2.1.3(@stacks/network@6.13.0(encoding@0.1.13))(@stacks/transactions@6.15.0(encoding@0.1.13)) + alex-sdk: 2.1.4(@stacks/network@6.13.0(encoding@0.1.13))(@stacks/transactions@6.15.0(encoding@0.1.13)) axios: 1.7.4 bignumber.js: 9.1.2 lodash.get: 4.4.2 @@ -17863,6 +17925,11 @@ snapshots: '@leather.io/models': 0.13.0 zod: 3.23.6 + '@leather.io/rpc@2.1.8': + dependencies: + '@leather.io/models': 0.15.0 + zod: 3.23.6 + '@leather.io/stacks@1.1.0(encoding@0.1.13)': dependencies: '@leather.io/crypto': 1.5.0 @@ -17935,6 +18002,13 @@ snapshots: '@leather.io/rpc': 2.1.6 bignumber.js: 9.1.2 + '@leather.io/utils@0.16.0': + dependencies: + '@leather.io/constants': 0.11.0 + '@leather.io/models': 0.15.0 + '@leather.io/rpc': 2.1.8 + bignumber.js: 9.1.2 + '@ledgerhq/devices@8.4.2': dependencies: '@ledgerhq/errors': 6.18.0 @@ -18018,10 +18092,16 @@ snapshots: dependencies: '@noble/hashes': 1.4.0 + '@noble/curves@1.6.0': + dependencies: + '@noble/hashes': 1.5.0 + '@noble/hashes@1.1.5': {} '@noble/hashes@1.4.0': {} + '@noble/hashes@1.5.0': {} + '@noble/secp256k1@1.7.1': {} '@noble/secp256k1@2.1.0': {} @@ -20125,7 +20205,7 @@ snapshots: optionalDependencies: '@types/react': 18.3.3 - '@redux-devtools/app-core@1.0.0(@emotion/react@11.13.3(@types/react@18.3.3)(react@18.3.1))(@reduxjs/toolkit@2.2.3(react-redux@9.1.0(@types/react@18.3.3)(react-native@0.74.1(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.3.1)(redux@5.0.1))(react@18.3.1))(@types/react@18.3.3)(@types/styled-components@5.1.34)(react-dom@18.3.1(react@18.3.1))(react-redux@8.1.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.1(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.3.1)(redux@4.2.1))(react@18.3.1)(redux-persist@6.0.0(react@18.3.1)(redux@4.2.1))(redux@4.2.1)(styled-components@5.3.11(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1))': + '@redux-devtools/app-core@1.0.0(@emotion/react@11.13.3(@types/react@18.3.3)(react@18.3.1))(@reduxjs/toolkit@2.2.3(react-redux@9.1.0(@types/react@18.3.3)(react-native@0.74.1(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.3.1)(redux@5.0.1))(react@18.3.1))(@types/react@18.3.3)(@types/styled-components@5.1.34)(react-dom@18.3.1(react@18.3.1))(react-redux@8.1.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.1(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.3.1)(redux@4.2.1))(react@18.3.1)(redux-persist@6.0.0(react@18.3.1)(redux@5.0.1))(redux@4.2.1)(styled-components@5.3.11(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1))': dependencies: '@babel/runtime': 7.25.4 '@emotion/react': 11.13.3(@types/react@18.3.3)(react@18.3.1) @@ -20150,7 +20230,7 @@ snapshots: react-is: 18.3.1 react-redux: 8.1.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.1(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.3.1)(redux@4.2.1) redux: 4.2.1 - redux-persist: 6.0.0(react@18.3.1)(redux@4.2.1) + redux-persist: 6.0.0(react@18.3.1)(redux@5.0.1) styled-components: 5.3.11(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1) transitivePeerDependencies: - '@reduxjs/toolkit' @@ -20159,7 +20239,7 @@ snapshots: '@redux-devtools/app@6.1.0(@emotion/react@11.13.3(@types/react@18.3.3)(react@18.3.1))(@reduxjs/toolkit@2.2.3(react-redux@9.1.0(@types/react@18.3.3)(react-native@0.74.1(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.3.1)(redux@5.0.1))(react@18.3.1))(@types/react-dom@18.3.0)(@types/react@18.3.3)(@types/styled-components@5.1.34)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.1(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.3.1)(styled-components@5.3.11(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1))': dependencies: '@emotion/react': 11.13.3(@types/react@18.3.3)(react@18.3.1) - '@redux-devtools/app-core': 1.0.0(@emotion/react@11.13.3(@types/react@18.3.3)(react@18.3.1))(@reduxjs/toolkit@2.2.3(react-redux@9.1.0(@types/react@18.3.3)(react-native@0.74.1(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.3.1)(redux@5.0.1))(react@18.3.1))(@types/react@18.3.3)(@types/styled-components@5.1.34)(react-dom@18.3.1(react@18.3.1))(react-redux@8.1.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.1(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.3.1)(redux@4.2.1))(react@18.3.1)(redux-persist@6.0.0(react@18.3.1)(redux@4.2.1))(redux@4.2.1)(styled-components@5.3.11(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)) + '@redux-devtools/app-core': 1.0.0(@emotion/react@11.13.3(@types/react@18.3.3)(react@18.3.1))(@reduxjs/toolkit@2.2.3(react-redux@9.1.0(@types/react@18.3.3)(react-native@0.74.1(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.3.1)(redux@5.0.1))(react@18.3.1))(@types/react@18.3.3)(@types/styled-components@5.1.34)(react-dom@18.3.1(react@18.3.1))(react-redux@8.1.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.1(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.3.3)(encoding@0.1.13)(react@18.2.0))(react@18.3.1)(redux@4.2.1))(react@18.3.1)(redux-persist@6.0.0(react@18.3.1)(redux@5.0.1))(redux@4.2.1)(styled-components@5.3.11(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)) '@redux-devtools/ui': 1.3.2(@types/react@18.3.3)(@types/styled-components@5.1.34)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(styled-components@5.3.11(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)) '@types/react': 18.3.3 '@types/styled-components': 5.1.34 @@ -20546,6 +20626,8 @@ snapshots: '@scure/base@1.1.6': {} + '@scure/base@1.1.9': {} + '@scure/bip32@1.1.3': dependencies: '@noble/hashes': 1.1.5 @@ -20575,6 +20657,13 @@ snapshots: '@scure/base': 1.1.6 micro-packed: 0.6.3 + '@scure/btc-signer@1.4.0': + dependencies: + '@noble/curves': 1.6.0 + '@noble/hashes': 1.5.0 + '@scure/base': 1.1.9 + micro-packed: 0.6.3 + '@segment/analytics-core@1.6.0': dependencies: '@lukeed/uuid': 2.0.1 @@ -23710,14 +23799,6 @@ snapshots: json-schema-traverse: 1.0.0 require-from-string: 2.0.2 - alex-sdk@2.1.3(@stacks/network@6.13.0(encoding@0.1.13))(@stacks/transactions@6.15.0(encoding@0.1.13)): - dependencies: - '@stacks/network': 6.13.0(encoding@0.1.13) - '@stacks/transactions': 6.15.0(encoding@0.1.13) - clarity-codegen: 0.5.2(@stacks/transactions@6.15.0(encoding@0.1.13)) - transitivePeerDependencies: - - debug - alex-sdk@2.1.4(@stacks/network@6.13.0(encoding@0.1.13))(@stacks/transactions@6.15.0(encoding@0.1.13)): dependencies: '@stacks/network': 6.13.0(encoding@0.1.13) @@ -24648,17 +24729,6 @@ snapshots: cjs-module-lexer@1.3.1: {} - clarity-codegen@0.5.2(@stacks/transactions@6.15.0(encoding@0.1.13)): - dependencies: - '@stacks/stacks-blockchain-api-types': 7.8.2 - '@stacks/transactions': 6.15.0(encoding@0.1.13) - axios: 1.7.4 - lodash: 4.17.21 - yargs: 17.7.2 - yqueue: 1.0.1 - transitivePeerDependencies: - - debug - clarity-codegen@0.5.3(@stacks/transactions@6.15.0(encoding@0.1.13)): dependencies: '@stacks/stacks-blockchain-api-types': 7.8.2 @@ -28304,6 +28374,8 @@ snapshots: junk@4.0.1: {} + just-memoize@2.2.0: {} + jwa@1.4.1: dependencies: buffer-equal-constant-time: 1.0.1 From 2c06b497267e89994aba77364be789bcee7a62d0 Mon Sep 17 00:00:00 2001 From: Pete Watters <2938440+pete-watters@users.noreply.github.com> Date: Fri, 20 Sep 2024 15:40:55 +0100 Subject: [PATCH 3/3] fix: update bitcoin package --- package.json | 2 +- pnpm-lock.yaml | 29 ++----------------- .../loaders/current-bitcoin-signer-loader.tsx | 2 ++ 3 files changed, 5 insertions(+), 28 deletions(-) diff --git a/package.json b/package.json index 2675db6846..13732dbc91 100644 --- a/package.json +++ b/package.json @@ -137,7 +137,7 @@ "@coinbase/cbpay-js": "2.1.0", "@fungible-systems/zone-file": "2.0.0", "@hirosystems/token-metadata-api-client": "1.2.0", - "@leather.io/bitcoin": "0.12.0", + "@leather.io/bitcoin": "0.13.0", "@leather.io/constants": "0.9.2", "@leather.io/models": "0.14.0", "@leather.io/crypto": "1.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 096a6d2b63..18b310a672 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -38,8 +38,8 @@ importers: specifier: 1.2.0 version: 1.2.0(encoding@0.1.13) '@leather.io/bitcoin': - specifier: 0.12.0 - version: 0.12.0(encoding@0.1.13) + specifier: 0.13.0 + version: 0.13.0(encoding@0.1.13) '@leather.io/constants': specifier: 0.9.2 version: 0.9.2 @@ -2807,9 +2807,6 @@ packages: '@jridgewell/trace-mapping@0.3.9': resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} - '@leather.io/bitcoin@0.12.0': - resolution: {integrity: sha512-pTi6vQAJhKvnFUqVnI1sBClw3djGF8igEfBwRR6nJpGwzhg33kgyUW0iN08l1diFRRfvsOIv6tWsC3PNY6ulWQ==} - '@leather.io/bitcoin@0.13.0': resolution: {integrity: sha512-N5k37PhqjgrF0OF0qMdraEMyooSZ7CvUJV9kMC+E2dh1vR2oAfkw1Q93BrIzYV0LS/ykpwZ9WNPqR8kO8JUh/A==} @@ -17780,28 +17777,6 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.0 - '@leather.io/bitcoin@0.12.0(encoding@0.1.13)': - dependencies: - '@bitcoinerlab/secp256k1': 1.0.2 - '@leather.io/constants': 0.9.2 - '@leather.io/crypto': 1.5.0 - '@leather.io/models': 0.13.0 - '@leather.io/utils': 0.13.3 - '@noble/hashes': 1.4.0 - '@noble/secp256k1': 2.1.0 - '@scure/base': 1.1.6 - '@scure/bip32': 1.4.0 - '@scure/bip39': 1.3.0 - '@scure/btc-signer': 1.3.2 - '@stacks/common': 6.13.0 - '@stacks/transactions': 6.15.0(encoding@0.1.13) - bip32: 4.0.0 - bitcoinjs-lib: 6.1.5 - ecpair: 2.1.0 - varuint-bitcoin: 1.1.2 - transitivePeerDependencies: - - encoding - '@leather.io/bitcoin@0.13.0(encoding@0.1.13)': dependencies: '@bitcoinerlab/secp256k1': 1.0.2 diff --git a/src/app/components/loaders/current-bitcoin-signer-loader.tsx b/src/app/components/loaders/current-bitcoin-signer-loader.tsx index 2616a8b54f..cb3c2ad0b6 100644 --- a/src/app/components/loaders/current-bitcoin-signer-loader.tsx +++ b/src/app/components/loaders/current-bitcoin-signer-loader.tsx @@ -1,5 +1,7 @@ import type { P2Ret, P2TROut } from '@scure/btc-signer/payment'; +import type { BitcoinSigner } from '@leather.io/bitcoin'; + import { ZERO_INDEX } from '@shared/constants'; import type { Signer } from '@app/store/accounts/blockchain/bitcoin/bitcoin-signer';