From 3dc1d214edafd968fa938b4a43b4b142f7a3e43b Mon Sep 17 00:00:00 2001 From: kyranjamie Date: Mon, 18 Nov 2024 11:38:39 -0300 Subject: [PATCH] refactor: remove @stacks/rpc-client, deprecated package --- package.json | 4 +- packages/query/package.json | 1 - .../src/stacks/contract/contract.hooks.ts | 2 +- packages/query/src/stacks/hiro-api-types.ts | 21 +- pnpm-lock.yaml | 179 +++--------------- 5 files changed, 45 insertions(+), 162 deletions(-) diff --git a/package.json b/package.json index aec3e8da8..93406f785 100644 --- a/package.json +++ b/package.json @@ -31,8 +31,8 @@ }, "devDependencies": { "@babel/runtime": "7.26.0", - "@commitlint/cli": "19.5.0", - "@commitlint/config-conventional": "19.5.0", + "@commitlint/cli": "19.6.0", + "@commitlint/config-conventional": "19.6.0", "@leather.io/eslint-config": "workspace:*", "@leather.io/prettier-config": "workspace:*", "@leather.io/tsconfig-config": "workspace:*", diff --git a/packages/query/package.json b/packages/query/package.json index 5381cf79d..c99454235 100644 --- a/packages/query/package.json +++ b/packages/query/package.json @@ -45,7 +45,6 @@ "@stacks/common": "6.13.0", "@stacks/connect": "7.4.0", "@stacks/network": "6.13.0", - "@stacks/rpc-client": "1.0.3", "@stacks/stacks-blockchain-api-types": "7.8.2", "@stacks/transactions": "6.17.0", "@tanstack/react-query": "5.59.16", diff --git a/packages/query/src/stacks/contract/contract.hooks.ts b/packages/query/src/stacks/contract/contract.hooks.ts index ded56fea0..120325994 100644 --- a/packages/query/src/stacks/contract/contract.hooks.ts +++ b/packages/query/src/stacks/contract/contract.hooks.ts @@ -1,7 +1,7 @@ import type { TransactionPayload } from '@stacks/connect'; -import { ContractInterfaceFunction } from '@stacks/rpc-client'; import { useQuery } from '@tanstack/react-query'; +import { ContractInterfaceFunction } from '../hiro-api-types'; import { useStacksClient } from '../stacks-client'; import { createGetContractInterfaceQueryOptions } from './contract.query'; diff --git a/packages/query/src/stacks/hiro-api-types.ts b/packages/query/src/stacks/hiro-api-types.ts index ab34305fd..74cac0ec7 100644 --- a/packages/query/src/stacks/hiro-api-types.ts +++ b/packages/query/src/stacks/hiro-api-types.ts @@ -1,4 +1,3 @@ -import { ContractInterfaceFunction } from '@stacks/rpc-client'; import { ContractInterfaceResponse } from '@stacks/stacks-blockchain-api-types'; import type { AddressTokenOfferingLocked } from '@stacks/stacks-blockchain-api-types/generated'; @@ -86,3 +85,23 @@ export interface NonFungibleTokenHoldingListResult { repr: string; }; } + +// These types copied from `@stacks/rpc-client` package that is no longer +// maintained. We define them here only to remove the package. +/** @deprecated */ +interface BufferArg { + buffer: { + length: number; + }; +} +/** @deprecated */ +export interface ContractInterfaceFunctionArg { + name: string; + type: string | BufferArg; +} +/** @deprecated */ +export interface ContractInterfaceFunction { + name: string; + access: 'public' | 'private' | 'read_only'; + args: ContractInterfaceFunctionArg[]; +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2864dbca6..a1efd88be 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,11 +23,11 @@ importers: specifier: 7.26.0 version: 7.26.0 '@commitlint/cli': - specifier: 19.5.0 - version: 19.5.0(@types/node@22.7.8)(typescript@5.5.4) + specifier: 19.6.0 + version: 19.6.0(@types/node@22.7.8)(typescript@5.5.4) '@commitlint/config-conventional': - specifier: 19.5.0 - version: 19.5.0 + specifier: 19.6.0 + version: 19.6.0 '@leather.io/eslint-config': specifier: workspace:* version: link:packages/eslint-config @@ -721,9 +721,6 @@ importers: '@stacks/network': specifier: 6.13.0 version: 6.13.0 - '@stacks/rpc-client': - specifier: 1.0.3 - version: 1.0.3 '@stacks/stacks-blockchain-api-types': specifier: 7.8.2 version: 7.8.2 @@ -2090,9 +2087,6 @@ packages: '@bitcoinerlab/secp256k1@1.0.2': resolution: {integrity: sha512-zXhJNdnd9pkmBx3nJc1SjdNco49Fi1EPlj6d4JN5M4YjlFlVZyoD27hu6IWJQOaWwwagd6tsoKIQQEf+t+SvWw==} - '@blockstack/stacks-transactions@0.7.0': - resolution: {integrity: sha512-9IUR641PJpigYDCWdtKFgBIk0Oxyoc2M2XVdyaEOEcRhI+4lcacDhsuseAmGbkB9FhJgJcNicWPujUPNFl1XCw==} - '@clack/core@0.3.4': resolution: {integrity: sha512-H4hxZDXgHtWTwV3RAVenqcC4VbJZNegbBjlPvzOzCouXtS2y3sDvlO3IsbrPNWuLWPPlYVYPghQdSF64683Ldw==} @@ -2101,13 +2095,13 @@ packages: bundledDependencies: - is-unicode-supported - '@commitlint/cli@19.5.0': - resolution: {integrity: sha512-gaGqSliGwB86MDmAAKAtV9SV1SHdmN8pnGq4EJU4+hLisQ7IFfx4jvU4s+pk6tl0+9bv6yT+CaZkufOinkSJIQ==} + '@commitlint/cli@19.6.0': + resolution: {integrity: sha512-v17BgGD9w5KnthaKxXnEg6KLq6DYiAxyiN44TpiRtqyW8NSq+Kx99mkEG8Qo6uu6cI5eMzMojW2muJxjmPnF8w==} engines: {node: '>=v18'} hasBin: true - '@commitlint/config-conventional@19.5.0': - resolution: {integrity: sha512-OBhdtJyHNPryZKg0fFpZNOBM1ZDbntMvqMuSmpfyP86XSfwzGw4CaoYRG4RutUPg0BTK07VMRIkNJT6wi2zthg==} + '@commitlint/config-conventional@19.6.0': + resolution: {integrity: sha512-DJT40iMnTYtBtUfw9ApbsLZFke1zKh6llITVJ+x9mtpHD08gsNXaIRqHTmwTZL3dNX5+WoyK7pCN/5zswvkBCQ==} engines: {node: '>=v18'} '@commitlint/config-validator@19.5.0': @@ -2126,12 +2120,12 @@ packages: resolution: {integrity: sha512-yNy088miE52stCI3dhG/vvxFo9e4jFkU1Mj3xECfzp/bIS/JUay4491huAlVcffOoMK1cd296q0W92NlER6r3A==} engines: {node: '>=v18'} - '@commitlint/is-ignored@19.5.0': - resolution: {integrity: sha512-0XQ7Llsf9iL/ANtwyZ6G0NGp5Y3EQ8eDQSxv/SRcfJ0awlBY4tHFAvwWbw66FVUaWICH7iE5en+FD9TQsokZ5w==} + '@commitlint/is-ignored@19.6.0': + resolution: {integrity: sha512-Ov6iBgxJQFR9koOupDPHvcHU9keFupDgtB3lObdEZDroiG4jj1rzky60fbQozFKVYRTUdrBGICHG0YVmRuAJmw==} engines: {node: '>=v18'} - '@commitlint/lint@19.5.0': - resolution: {integrity: sha512-cAAQwJcRtiBxQWO0eprrAbOurtJz8U6MgYqLz+p9kLElirzSCc0vGMcyCaA1O7AqBuxo11l1XsY3FhOFowLAAg==} + '@commitlint/lint@19.6.0': + resolution: {integrity: sha512-LRo7zDkXtcIrpco9RnfhOKeg8PAnE3oDDoalnrVU/EVaKHYBWYL1DlRR7+3AWn0JiBqD8yKOfetVxJGdEtZ0tg==} engines: {node: '>=v18'} '@commitlint/load@19.5.0': @@ -2154,8 +2148,8 @@ packages: resolution: {integrity: sha512-CU/GscZhCUsJwcKTJS9Ndh3AKGZTNFIOoQB2n8CmFnizE0VnEuJoum+COW+C1lNABEeqk6ssfc1Kkalm4bDklA==} engines: {node: '>=v18'} - '@commitlint/rules@19.5.0': - resolution: {integrity: sha512-hDW5TPyf/h1/EufSHEKSp6Hs+YVsDMHazfJ2azIk9tHPXS6UqSz1dIRs1gpqS3eMXgtkT7JH6TW4IShdqOwhAw==} + '@commitlint/rules@19.6.0': + resolution: {integrity: sha512-1f2reW7lbrI0X0ozZMesS/WZxgPa4/wi56vFuJENBmed6mWq5KsheN/nxqnl/C23ioxpPO/PL6tXpiiFy5Bhjw==} engines: {node: '>=v18'} '@commitlint/to-lines@19.5.0': @@ -4311,9 +4305,6 @@ packages: '@stacks/profile@6.17.0': resolution: {integrity: sha512-EoYe0NapFc6bgA+vyCVY2sYYRHk3pbsbRnm3eaSp8y9Drfy8dBqsM10W1jjTwOn0R+IMmDT52lojdW7Pw3c7Mw==} - '@stacks/rpc-client@1.0.3': - resolution: {integrity: sha512-lao7MKCq39VA86v2rJzmgjHKG5bg9LWdLSzvktuEy3lfatVki/hRm6sitkmNhYVcdUVp3YV9gyW6mvu7U9weWw==} - '@stacks/stacks-blockchain-api-types@7.8.2': resolution: {integrity: sha512-wcDSdgIZx/ttQfUTPtGJOIyEkTOjmCsC79TaIyxTIiihSgrGppqTuzkwHD/DyuQkcJtUZvDTxMsAXkBKShE1kw==} @@ -5386,9 +5377,6 @@ packages: '@types/babel__traverse@7.20.6': resolution: {integrity: sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg==} - '@types/bn.js@4.11.6': - resolution: {integrity: sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==} - '@types/bn.js@5.1.6': resolution: {integrity: sha512-Xh8vSwUeMKeYYrj3cX4lGQgFSF/N03r+tv4AiLl1SucqV+uTQpxRcnM8AkXKHwYP9ZPXOYXRr2KPXpVlIvqh9w==} @@ -5413,9 +5401,6 @@ packages: '@types/dompurify@3.0.5': resolution: {integrity: sha512-1Wg0g3BtQF7sSb27fJQAKck1HECM6zV1EB66j8JH9i3LCjYabJa0FSdiSgsD5K/RbrsR0SiraKacLB+T8ZVYAg==} - '@types/elliptic@6.4.18': - resolution: {integrity: sha512-UseG6H5vjRiNpQvrhy4VF/JXdA3V/Fp5amvveaL+fs28BZ6xIKJBPnUPRlEaZpysD9MbpfaLi8lbl7PGUAkpWw==} - '@types/escodegen@0.0.6': resolution: {integrity: sha512-AjwI4MvWx3HAOaZqYsjKWyEObT9lcVV0Y0V8nXo6cXzN8ZiMxVhf6F3d/UNvXVGKrEzL/Dluc5p+y9GkzlTWig==} @@ -5527,9 +5512,6 @@ packages: '@types/qs@6.9.16': resolution: {integrity: sha512-7i+zxXdPD0T4cKDuxCUXJ4wHcsJLwENa6Z3dCu8cfCK743OGy5Nu1RmAGqDPsoTDINVEcdXKRvR/zre+P2Ku1A==} - '@types/randombytes@2.0.3': - resolution: {integrity: sha512-+NRgihTfuURllWCiIAhm1wsJqzsocnqXM77V/CalsdJIYSRGEHMnritxh+6EsBklshC+clo1KgnN14qgSGeQdw==} - '@types/range-parser@1.2.7': resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==} @@ -5551,9 +5533,6 @@ packages: '@types/serve-static@1.15.7': resolution: {integrity: sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw==} - '@types/sha.js@2.4.4': - resolution: {integrity: sha512-Qukd+D6S2Hm0wLVt2Vh+/eWBIoUt+wF8jWjBsG4F8EFQRwKtYvtXCPcNl2OEUQ1R+eTr3xuSaBYUyM3WD1x/Qw==} - '@types/stack-utils@2.0.3': resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==} @@ -6282,9 +6261,6 @@ packages: bl@4.1.0: resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==} - bn.js@4.12.0: - resolution: {integrity: sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==} - body-parser@1.20.3: resolution: {integrity: sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==} engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} @@ -6316,9 +6292,6 @@ packages: resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} engines: {node: '>=8'} - brorand@1.1.0: - resolution: {integrity: sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==} - browser-assert@1.2.1: resolution: {integrity: sha512-nfulgvOR6S4gt9UKCeGJOuSGBPGiFT6oQ/2UBnvTY/5aQ1PnksW72fhZkM30DzoRRv2WpwZf1vHHEr3mtuXIWQ==} @@ -6392,10 +6365,6 @@ packages: resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} engines: {node: '>= 0.8'} - c32check@1.1.3: - resolution: {integrity: sha512-ADADE/PjAbJRlwpG3ShaOMbBUlJJZO7xaYSRD5Tub6PixQlgR4s36y9cvMf/YRGpkqX+QOxIdMw216iC320q9A==} - engines: {node: '>=8'} - c32check@2.0.0: resolution: {integrity: sha512-rpwfAcS/CMqo0oCqDf3r9eeLgScRE3l/xHDCXhM3UyrfvIn7PrLq63uHh7yYbv8NzaZn5MVsVhIRpQ+5GZ5HyA==} engines: {node: '>=8'} @@ -6789,9 +6758,6 @@ packages: cross-fetch@3.1.8: resolution: {integrity: sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==} - cross-sha256@1.2.0: - resolution: {integrity: sha512-KViLNMDZKV7jwFqjFx+rNhG26amnFYYQ0S+VaFlVvpk8tM+2XbFia/don/SjGHg9WQxnFVi6z64CGPuF3T+nNw==} - cross-spawn@7.0.5: resolution: {integrity: sha512-ZVJrKKYunU38/76t0RMOulHOnUcbU9GbpWKAOZ0mhjr7CX6FVrH+4FrAapSOekrgFQ3f/8gwMEuIft0aKq6Hug==} engines: {node: '>= 8'} @@ -7166,9 +7132,6 @@ packages: electron-to-chromium@1.5.42: resolution: {integrity: sha512-gIfKavKDw1mhvic9nbzA5lZw8QSHpdMwLwXc0cWidQz9B15pDoDdDH4boIatuFfeoCatb3a/NGL6CYRVFxGZ9g==} - elliptic@6.5.7: - resolution: {integrity: sha512-ESVCtTwiA+XhY3wyh24QqRGBoP3rEdDUl3EDUUo9tft074fi19IrdpH7hLCMMP3CIj7jb3W96rn8lt/BqIlt5Q==} - emittery@0.13.1: resolution: {integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==} engines: {node: '>=12'} @@ -8139,9 +8102,6 @@ packages: resolution: {integrity: sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==} engines: {node: '>=4'} - hash.js@1.1.7: - resolution: {integrity: sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==} - hasown@2.0.2: resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} engines: {node: '>= 0.4'} @@ -8193,9 +8153,6 @@ packages: resolution: {integrity: sha512-cnN7bQUm65UWOy6cbGcCcZ3rpwW8Q/j4OP5aWRhEry4Z2t2aR1cjrbp0BS+KiBN0smvP1caBgAuxutvyvJILzQ==} engines: {node: '>=8'} - hmac-drbg@1.0.1: - resolution: {integrity: sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg==} - hoist-non-react-statics@3.3.2: resolution: {integrity: sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==} @@ -9571,12 +9528,6 @@ packages: resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} engines: {node: '>=4'} - minimalistic-assert@1.0.1: - resolution: {integrity: sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==} - - minimalistic-crypto-utils@1.0.1: - resolution: {integrity: sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==} - minimatch@3.0.8: resolution: {integrity: sha512-6FsRAQsxQ61mw+qP1ZzbL9Bc78x2p5OqNgNpnoAFLTrX8n5Kxph0CsnhmKKNXTWjXqU5L0pGPR7hYk+XWZr60Q==} @@ -11157,10 +11108,6 @@ packages: resolution: {integrity: sha512-h+z7HKHYXj6wJU+AnS/+IH8Uh9fdcX1Lrhg1/VMdf9PwoBQXFcXiAdsy2tSK0P6gKwJLXp02r90ahUCqHk9rrw==} engines: {node: '>=8.0.0'} - smart-buffer@4.2.0: - resolution: {integrity: sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==} - engines: {node: '>= 6.0.0', npm: '>= 3.0.0'} - snake-case@3.0.4: resolution: {integrity: sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==} @@ -13508,24 +13455,6 @@ snapshots: '@noble/hashes': 1.5.0 '@noble/secp256k1': 1.7.1 - '@blockstack/stacks-transactions@0.7.0': - dependencies: - '@types/bn.js': 4.11.6 - '@types/elliptic': 6.4.18 - '@types/randombytes': 2.0.3 - '@types/sha.js': 2.4.4 - bn.js: 4.12.0 - c32check: 1.1.3 - cross-fetch: 3.1.8 - elliptic: 6.5.7 - lodash: 4.17.21 - randombytes: 2.1.0 - ripemd160-min: 0.0.6 - sha.js: 2.4.11 - smart-buffer: 4.2.0 - transitivePeerDependencies: - - encoding - '@clack/core@0.3.4': dependencies: picocolors: 1.1.1 @@ -13537,10 +13466,10 @@ snapshots: picocolors: 1.1.1 sisteransi: 1.0.5 - '@commitlint/cli@19.5.0(@types/node@22.7.8)(typescript@5.5.4)': + '@commitlint/cli@19.6.0(@types/node@22.7.8)(typescript@5.5.4)': dependencies: '@commitlint/format': 19.5.0 - '@commitlint/lint': 19.5.0 + '@commitlint/lint': 19.6.0 '@commitlint/load': 19.5.0(@types/node@22.7.8)(typescript@5.5.4) '@commitlint/read': 19.5.0 '@commitlint/types': 19.5.0 @@ -13550,7 +13479,7 @@ snapshots: - '@types/node' - typescript - '@commitlint/config-conventional@19.5.0': + '@commitlint/config-conventional@19.6.0': dependencies: '@commitlint/types': 19.5.0 conventional-changelog-conventionalcommits: 7.0.2 @@ -13576,16 +13505,16 @@ snapshots: '@commitlint/types': 19.5.0 chalk: 5.3.0 - '@commitlint/is-ignored@19.5.0': + '@commitlint/is-ignored@19.6.0': dependencies: '@commitlint/types': 19.5.0 semver: 7.6.3 - '@commitlint/lint@19.5.0': + '@commitlint/lint@19.6.0': dependencies: - '@commitlint/is-ignored': 19.5.0 + '@commitlint/is-ignored': 19.6.0 '@commitlint/parse': 19.5.0 - '@commitlint/rules': 19.5.0 + '@commitlint/rules': 19.6.0 '@commitlint/types': 19.5.0 '@commitlint/load@19.5.0(@types/node@22.7.8)(typescript@5.5.4)': @@ -13629,7 +13558,7 @@ snapshots: lodash.mergewith: 4.6.2 resolve-from: 5.0.0 - '@commitlint/rules@19.5.0': + '@commitlint/rules@19.6.0': dependencies: '@commitlint/ensure': 19.5.0 '@commitlint/message': 19.5.0 @@ -17053,13 +16982,6 @@ snapshots: transitivePeerDependencies: - encoding - '@stacks/rpc-client@1.0.3': - dependencies: - '@blockstack/stacks-transactions': 0.7.0 - cross-fetch: 3.1.8 - transitivePeerDependencies: - - encoding - '@stacks/stacks-blockchain-api-types@7.8.2': {} '@stacks/storage@6.17.0': @@ -18653,10 +18575,6 @@ snapshots: dependencies: '@babel/types': 7.25.8 - '@types/bn.js@4.11.6': - dependencies: - '@types/node': 20.14.0 - '@types/bn.js@5.1.6': dependencies: '@types/node': 20.14.0 @@ -18684,10 +18602,6 @@ snapshots: dependencies: '@types/trusted-types': 2.0.7 - '@types/elliptic@6.4.18': - dependencies: - '@types/bn.js': 5.1.6 - '@types/escodegen@0.0.6': {} '@types/estree@0.0.51': {} @@ -18807,10 +18721,6 @@ snapshots: '@types/qs@6.9.16': {} - '@types/randombytes@2.0.3': - dependencies: - '@types/node': 20.14.0 - '@types/range-parser@1.2.7': {} '@types/react-dom@18.2.25': @@ -18837,10 +18747,6 @@ snapshots: '@types/node': 20.14.0 '@types/send': 0.17.4 - '@types/sha.js@2.4.4': - dependencies: - '@types/node': 20.14.0 - '@types/stack-utils@2.0.3': {} '@types/tough-cookie@4.0.5': {} @@ -19862,8 +19768,6 @@ snapshots: inherits: 2.0.4 readable-stream: 3.6.2 - bn.js@4.12.0: {} - body-parser@1.20.3: dependencies: bytes: 3.1.2 @@ -19912,8 +19816,6 @@ snapshots: dependencies: fill-range: 7.1.1 - brorand@1.1.0: {} - browser-assert@1.2.1: {} browserslist@4.23.3: @@ -19996,12 +19898,6 @@ snapshots: bytes@3.1.2: {} - c32check@1.1.3: - dependencies: - base-x: 3.0.10 - buffer: 5.7.1 - cross-sha256: 1.2.0 - c32check@2.0.0: dependencies: '@noble/hashes': 1.5.0 @@ -20444,10 +20340,6 @@ snapshots: transitivePeerDependencies: - encoding - cross-sha256@1.2.0: - dependencies: - buffer: 5.7.1 - cross-spawn@7.0.5: dependencies: path-key: 3.1.1 @@ -20814,16 +20706,6 @@ snapshots: electron-to-chromium@1.5.42: {} - elliptic@6.5.7: - dependencies: - bn.js: 4.12.0 - brorand: 1.1.0 - hash.js: 1.1.7 - hmac-drbg: 1.0.1 - inherits: 2.0.4 - minimalistic-assert: 1.0.1 - minimalistic-crypto-utils: 1.0.1 - emittery@0.13.1: {} emoji-regex@10.4.0: {} @@ -22141,11 +22023,6 @@ snapshots: readable-stream: 3.6.2 safe-buffer: 5.2.1 - hash.js@1.1.7: - dependencies: - inherits: 2.0.4 - minimalistic-assert: 1.0.1 - hasown@2.0.2: dependencies: function-bind: 1.1.2 @@ -22198,12 +22075,6 @@ snapshots: dependencies: source-map: 0.7.4 - hmac-drbg@1.0.1: - dependencies: - hash.js: 1.1.7 - minimalistic-assert: 1.0.1 - minimalistic-crypto-utils: 1.0.1 - hoist-non-react-statics@3.3.2: dependencies: react-is: 16.13.1 @@ -24022,10 +23893,6 @@ snapshots: min-indent@1.0.1: {} - minimalistic-assert@1.0.1: {} - - minimalistic-crypto-utils@1.0.1: {} - minimatch@3.0.8: dependencies: brace-expansion: 1.1.11 @@ -25764,8 +25631,6 @@ snapshots: slugify@1.6.6: {} - smart-buffer@4.2.0: {} - snake-case@3.0.4: dependencies: dot-case: 3.0.4