From 80a7c05cda8080dafa0ddd3674d5f13a4a1154ef Mon Sep 17 00:00:00 2001 From: Ali Behjati Date: Wed, 17 Jul 2024 22:42:56 +0200 Subject: [PATCH] fix: add aptos cli and add movement testnet aptos network (#1777) * fix: add aptos cli and add movement testnet aptos network * fix: remove test from aptos cli --- contract_manager/package.json | 1 + .../store/chains/AptosChains.yaml | 5 + .../contracts/AptosPriceFeedContracts.yaml | 4 + .../contracts/AptosWormholeContracts.yaml | 3 + .../packages/xc_admin_common/src/chains.ts | 1 + pnpm-lock.yaml | 643 ++++-------------- pnpm-workspace.yaml | 1 + target_chains/aptos/cli/.gitignore | 1 + target_chains/aptos/cli/package.json | 12 +- target_chains/aptos/cli/src/commands/aptos.ts | 3 +- target_chains/aptos/cli/tsconfig.json | 104 +-- 11 files changed, 171 insertions(+), 607 deletions(-) create mode 100644 target_chains/aptos/cli/.gitignore diff --git a/contract_manager/package.json b/contract_manager/package.json index 392322b6b2..0044ba6d09 100644 --- a/contract_manager/package.json +++ b/contract_manager/package.json @@ -38,6 +38,7 @@ "@pythnetwork/pyth-sui-js": "workspace:*", "@pythnetwork/solana-utils": "workspace:^", "@pythnetwork/xc-admin-common": "workspace:*", + "@solana/web3.js": "^1.73.0", "@sqds/mesh": "^1.0.6", "@types/yargs": "^17.0.32", "aptos": "^1.5.0", diff --git a/contract_manager/store/chains/AptosChains.yaml b/contract_manager/store/chains/AptosChains.yaml index 13e83aec85..36a70bf47b 100644 --- a/contract_manager/store/chains/AptosChains.yaml +++ b/contract_manager/store/chains/AptosChains.yaml @@ -14,3 +14,8 @@ mainnet: false rpcUrl: https://devnet.m1.movementlabs.xyz/v1 type: AptosChain +- id: movement_suzuka_testnet + wormholeChainName: movement_suzuka_testnet + mainnet: false + rpcUrl: https://aptos.testnet.suzuka.movementlabs.xyz/v1 + type: AptosChain diff --git a/contract_manager/store/contracts/AptosPriceFeedContracts.yaml b/contract_manager/store/contracts/AptosPriceFeedContracts.yaml index ad009834c4..495d745a83 100644 --- a/contract_manager/store/contracts/AptosPriceFeedContracts.yaml +++ b/contract_manager/store/contracts/AptosPriceFeedContracts.yaml @@ -10,3 +10,7 @@ stateId: "0x9357e76fe965c9956a76181ee49f66d51b7f9c3800182a944ed96be86301e49f" wormholeStateId: "0x9236893d6444b208b7e0b3e8d4be4ace90b6d17817ab7d1584e46a33ef5c50c9" type: AptosPriceFeedContract +- chain: movement_suzuka_testnet + stateId: "0x9357e76fe965c9956a76181ee49f66d51b7f9c3800182a944ed96be86301e49f" + wormholeStateId: "0x9236893d6444b208b7e0b3e8d4be4ace90b6d17817ab7d1584e46a33ef5c50c9" + type: AptosPriceFeedContract diff --git a/contract_manager/store/contracts/AptosWormholeContracts.yaml b/contract_manager/store/contracts/AptosWormholeContracts.yaml index 4905d2b80d..aa41558c5f 100644 --- a/contract_manager/store/contracts/AptosWormholeContracts.yaml +++ b/contract_manager/store/contracts/AptosWormholeContracts.yaml @@ -7,3 +7,6 @@ - chain: movement_m1_devnet address: "0x9236893d6444b208b7e0b3e8d4be4ace90b6d17817ab7d1584e46a33ef5c50c9" type: AptosWormholeContract +- chain: movement_suzuka_testnet + address: "0x9236893d6444b208b7e0b3e8d4be4ace90b6d17817ab7d1584e46a33ef5c50c9" + type: AptosWormholeContract diff --git a/governance/xc_admin/packages/xc_admin_common/src/chains.ts b/governance/xc_admin/packages/xc_admin_common/src/chains.ts index b41bc464ca..c69ec4585b 100644 --- a/governance/xc_admin/packages/xc_admin_common/src/chains.ts +++ b/governance/xc_admin/packages/xc_admin_common/src/chains.ts @@ -169,6 +169,7 @@ export const RECEIVER_CHAINS = { klaytn_testnet: 50086, morph_holesky_testnet: 50087, tabi_testnet: 50088, + movement_suzuka_testnet: 50089, }; // If there is any overlapping value the receiver chain will replace the wormhole diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8f48bec2d7..cc742d6b9c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -59,7 +59,7 @@ importers: version: 2.1.1 connectkit: specifier: ^1.8.2 - version: 1.8.2(m5fu6jwi7nvuqo5lp7m3jyfehy) + version: 1.8.2(@babel/core@7.24.7)(@tanstack/react-query@5.45.1(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(viem@2.15.1(bufferutil@4.0.8)(typescript@5.5.2)(utf-8-validate@5.0.10)(zod@3.23.8))(wagmi@2.10.4(@react-native-async-storage/async-storage@1.23.1(react-native@0.74.2(@babel/core@7.24.7)(@babel/preset-env@7.24.7(@babel/core@7.24.7))(@types/react@18.3.3)(bufferutil@4.0.8)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@tanstack/query-core@5.45.0)(@tanstack/react-query@5.45.1(react@18.3.1))(@types/react@18.3.3)(bufferutil@4.0.8)(encoding@0.1.13)(immer@9.0.21)(react-dom@18.3.1(react@18.3.1))(react-i18next@13.5.0(i18next@22.5.1)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.2(@babel/core@7.24.7)(@babel/preset-env@7.24.7(@babel/core@7.24.7))(@types/react@18.3.3)(bufferutil@4.0.8)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1))(react-native@0.74.2(@babel/core@7.24.7)(@babel/preset-env@7.24.7(@babel/core@7.24.7))(@types/react@18.3.3)(bufferutil@4.0.8)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(typescript@5.5.2)(utf-8-validate@5.0.10)(viem@2.15.1(bufferutil@4.0.8)(typescript@5.5.2)(utf-8-validate@5.0.10)(zod@3.23.8))(zod@3.23.8)) cryptocurrency-icons: specifier: ^0.18.1 version: 0.18.1 @@ -317,16 +317,16 @@ importers: dependencies: '@certusone/wormhole-sdk': specifier: ^0.9.8 - version: 0.9.24(bufferutil@4.0.7)(encoding@0.1.13)(google-protobuf@3.21.2)(utf-8-validate@5.0.10) + version: 0.9.24(bufferutil@4.0.8)(encoding@0.1.13)(google-protobuf@3.21.2)(utf-8-validate@5.0.10) '@coral-xyz/anchor': specifier: ^0.29.0 - version: 0.29.0(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10) + version: 0.29.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) '@cosmjs/cosmwasm-stargate': specifier: ^0.32.3 - version: 0.32.3(bufferutil@4.0.7)(utf-8-validate@5.0.10) + version: 0.32.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@cosmjs/stargate': specifier: ^0.32.3 - version: 0.32.3(bufferutil@4.0.7)(utf-8-validate@5.0.10) + version: 0.32.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@injectivelabs/networks': specifier: ^1.14.6 version: 1.14.6(google-protobuf@3.21.2) @@ -335,7 +335,7 @@ importers: version: 0.49.1 '@pythnetwork/client': specifier: ^2.21.1 - version: 2.21.1(@solana/web3.js@1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10))(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10) + version: 2.21.1(@solana/web3.js@1.92.3(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) '@pythnetwork/contract-manager': specifier: workspace:* version: 'link:' @@ -366,9 +366,12 @@ importers: '@pythnetwork/xc-admin-common': specifier: workspace:* version: link:../governance/xc_admin/packages/xc_admin_common + '@solana/web3.js': + specifier: 1.92.3 + version: 1.92.3(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) '@sqds/mesh': specifier: ^1.0.6 - version: 1.0.6(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10) + version: 1.0.6(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) '@types/yargs': specifier: ^17.0.32 version: 17.0.32 @@ -401,7 +404,7 @@ importers: version: 5.4.5 web3: specifier: ^1.8.2 - version: 1.10.0(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10) + version: 1.10.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) web3-eth-contract: specifier: ^1.8.2 version: 1.10.0(encoding@0.1.13) @@ -411,7 +414,7 @@ importers: devDependencies: '@types/web3': specifier: ^1.2.2 - version: 1.2.2(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10) + version: 1.2.2(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) eslint: specifier: ^8.0.0 version: 8.56.0 @@ -1011,6 +1014,40 @@ importers: specifier: ^4.3.5 version: 4.9.5 + target_chains/aptos/cli: + dependencies: + '@pythnetwork/contract-manager': + specifier: workspace:* + version: link:../../../contract_manager + '@pythnetwork/pyth-aptos-js': + specifier: workspace:* + version: link:../sdk/js + aptos: + specifier: ^1.3.14 + version: 1.8.5 + ethers: + specifier: ^5.7.1 + version: 5.7.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) + js-sha3: + specifier: ^0.8.0 + version: 0.8.0 + yargs: + specifier: ^17.5.1 + version: 17.7.2 + devDependencies: + '@types/node': + specifier: ^18.7.21 + version: 18.19.39 + '@types/yargs': + specifier: ^17.0.13 + version: 17.0.32 + prettier: + specifier: 2.8.0 + version: 2.8.0 + typescript: + specifier: ^5.3.3 + version: 5.5.2 + target_chains/aptos/sdk/js: dependencies: '@pythnetwork/price-service-client': @@ -10155,10 +10192,6 @@ packages: engines: {node: '>=12'} hasBin: true - escalade@3.1.1: - resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} - engines: {node: '>=6'} - escalade@3.1.2: resolution: {integrity: sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==} engines: {node: '>=6'} @@ -14507,6 +14540,11 @@ packages: engines: {node: '>=10.13.0'} hasBin: true + prettier@2.8.0: + resolution: {integrity: sha512-9Lmg8hTFZKG0Asr/kW9Bp8tJjRVluO8EJQVfY2T7FMw9T5jy4I/Uvx0Rca/XWf50QQ1/SS48+6IJWnrb+2yemA==} + engines: {node: '>=10.13.0'} + hasBin: true + prettier@2.8.8: resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} engines: {node: '>=10.13.0'} @@ -20581,41 +20619,6 @@ snapshots: - subscriptions-transport-ws - utf-8-validate - '@certusone/wormhole-sdk@0.9.24(bufferutil@4.0.7)(encoding@0.1.13)(google-protobuf@3.21.2)(utf-8-validate@5.0.10)': - dependencies: - '@certusone/wormhole-sdk-proto-web': 0.0.6(google-protobuf@3.21.2) - '@certusone/wormhole-sdk-wasm': 0.0.1 - '@coral-xyz/borsh': 0.2.6(@solana/web3.js@1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@mysten/sui.js': 0.32.2(bufferutil@4.0.7)(utf-8-validate@5.0.10) - '@project-serum/anchor': 0.25.0(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10) - '@solana/spl-token': 0.3.7(@solana/web3.js@1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10))(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10) - '@solana/web3.js': 1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10) - '@terra-money/terra.js': 3.1.9 - '@xpla/xpla.js': 0.2.3 - algosdk: 2.7.0 - aptos: 1.5.0 - axios: 0.24.0 - bech32: 2.0.0 - binary-parser: 2.2.1 - bs58: 4.0.1 - elliptic: 6.5.4 - js-base64: 3.7.5 - near-api-js: 1.1.0(encoding@0.1.13) - optionalDependencies: - '@injectivelabs/networks': 1.10.12(google-protobuf@3.21.2) - '@injectivelabs/sdk-ts': 1.10.72(bufferutil@4.0.7)(utf-8-validate@5.0.10) - '@injectivelabs/utils': 1.10.12(google-protobuf@3.21.2) - transitivePeerDependencies: - - bufferutil - - debug - - encoding - - google-protobuf - - graphql-ws - - react - - react-dom - - subscriptions-transport-ws - - utf-8-validate - '@certusone/wormhole-sdk@0.9.24(bufferutil@4.0.8)(encoding@0.1.13)(google-protobuf@3.21.2)(utf-8-validate@5.0.10)': dependencies: '@certusone/wormhole-sdk-proto-web': 0.0.6(google-protobuf@3.21.2) @@ -20747,27 +20750,6 @@ snapshots: - encoding - utf-8-validate - '@coral-xyz/anchor@0.29.0(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10)': - dependencies: - '@coral-xyz/borsh': 0.29.0(@solana/web3.js@1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@noble/hashes': 1.4.0 - '@solana/web3.js': 1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10) - bn.js: 5.2.1 - bs58: 4.0.1 - buffer-layout: 1.2.2 - camelcase: 6.3.0 - cross-fetch: 3.1.5(encoding@0.1.13) - crypto-hash: 1.3.0 - eventemitter3: 4.0.7 - pako: 2.1.0 - snake-case: 3.0.4 - superstruct: 0.15.5 - toml: 3.0.0 - transitivePeerDependencies: - - bufferutil - - encoding - - utf-8-validate - '@coral-xyz/anchor@0.29.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10)': dependencies: '@coral-xyz/borsh': 0.29.0(@solana/web3.js@1.92.3(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10)) @@ -20810,12 +20792,6 @@ snapshots: - encoding - utf-8-validate - '@coral-xyz/borsh@0.2.6(@solana/web3.js@1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10))': - dependencies: - '@solana/web3.js': 1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10) - bn.js: 5.2.1 - buffer-layout: 1.2.2 - '@coral-xyz/borsh@0.2.6(@solana/web3.js@1.92.3(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10))': dependencies: '@solana/web3.js': 1.92.3(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) @@ -20834,24 +20810,12 @@ snapshots: bn.js: 5.2.1 buffer-layout: 1.2.2 - '@coral-xyz/borsh@0.28.0(@solana/web3.js@1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10))': - dependencies: - '@solana/web3.js': 1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10) - bn.js: 5.2.1 - buffer-layout: 1.2.2 - '@coral-xyz/borsh@0.28.0(@solana/web3.js@1.92.3(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10))': dependencies: '@solana/web3.js': 1.92.3(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) bn.js: 5.2.1 buffer-layout: 1.2.2 - '@coral-xyz/borsh@0.29.0(@solana/web3.js@1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10))': - dependencies: - '@solana/web3.js': 1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10) - bn.js: 5.2.1 - buffer-layout: 1.2.2 - '@coral-xyz/borsh@0.29.0(@solana/web3.js@1.92.3(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10))': dependencies: '@solana/web3.js': 1.92.3(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) @@ -20902,6 +20866,23 @@ snapshots: - debug - utf-8-validate + '@cosmjs/cosmwasm-stargate@0.32.3(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@cosmjs/amino': 0.32.3 + '@cosmjs/crypto': 0.32.3 + '@cosmjs/encoding': 0.32.3 + '@cosmjs/math': 0.32.3 + '@cosmjs/proto-signing': 0.32.3 + '@cosmjs/stargate': 0.32.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@cosmjs/tendermint-rpc': 0.32.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@cosmjs/utils': 0.32.3 + cosmjs-types: 0.9.0 + pako: 2.1.0 + transitivePeerDependencies: + - bufferutil + - debug + - utf-8-validate + '@cosmjs/crypto@0.30.1': dependencies: '@cosmjs/encoding': 0.30.1 @@ -20980,17 +20961,6 @@ snapshots: '@cosmjs/utils': 0.32.3 cosmjs-types: 0.9.0 - '@cosmjs/socket@0.30.1(bufferutil@4.0.7)(utf-8-validate@5.0.10)': - dependencies: - '@cosmjs/stream': 0.30.1 - isomorphic-ws: 4.0.1(ws@7.5.10(bufferutil@4.0.7)(utf-8-validate@5.0.10)) - ws: 7.5.10(bufferutil@4.0.7)(utf-8-validate@5.0.10) - xstream: 11.14.0 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - optional: true - '@cosmjs/socket@0.30.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: '@cosmjs/stream': 0.30.1 @@ -21032,26 +21002,6 @@ snapshots: - bufferutil - utf-8-validate - '@cosmjs/stargate@0.30.1(bufferutil@4.0.7)(utf-8-validate@5.0.10)': - dependencies: - '@confio/ics23': 0.6.8 - '@cosmjs/amino': 0.30.1 - '@cosmjs/encoding': 0.30.1 - '@cosmjs/math': 0.30.1 - '@cosmjs/proto-signing': 0.30.1 - '@cosmjs/stream': 0.30.1 - '@cosmjs/tendermint-rpc': 0.30.1(bufferutil@4.0.7)(utf-8-validate@5.0.10) - '@cosmjs/utils': 0.30.1 - cosmjs-types: 0.7.2 - long: 4.0.0 - protobufjs: 6.11.4 - xstream: 11.14.0 - transitivePeerDependencies: - - bufferutil - - debug - - utf-8-validate - optional: true - '@cosmjs/stargate@0.30.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: '@confio/ics23': 0.6.8 @@ -21150,24 +21100,6 @@ snapshots: dependencies: xstream: 11.14.0 - '@cosmjs/tendermint-rpc@0.30.1(bufferutil@4.0.7)(utf-8-validate@5.0.10)': - dependencies: - '@cosmjs/crypto': 0.30.1 - '@cosmjs/encoding': 0.30.1 - '@cosmjs/json-rpc': 0.30.1 - '@cosmjs/math': 0.30.1 - '@cosmjs/socket': 0.30.1(bufferutil@4.0.7)(utf-8-validate@5.0.10) - '@cosmjs/stream': 0.30.1 - '@cosmjs/utils': 0.30.1 - axios: 0.21.4 - readonly-date: 1.0.0 - xstream: 11.14.0 - transitivePeerDependencies: - - bufferutil - - debug - - utf-8-validate - optional: true - '@cosmjs/tendermint-rpc@0.30.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: '@cosmjs/crypto': 0.30.1 @@ -22466,54 +22398,6 @@ snapshots: - debug - google-protobuf - '@injectivelabs/sdk-ts@1.10.72(bufferutil@4.0.7)(utf-8-validate@5.0.10)': - dependencies: - '@apollo/client': 3.7.13(graphql@16.6.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@cosmjs/amino': 0.30.1 - '@cosmjs/proto-signing': 0.30.1 - '@cosmjs/stargate': 0.30.1(bufferutil@4.0.7)(utf-8-validate@5.0.10) - '@ethersproject/bytes': 5.7.0 - '@injectivelabs/core-proto-ts': 0.0.14 - '@injectivelabs/exceptions': 1.14.6(google-protobuf@3.21.2) - '@injectivelabs/grpc-web': 0.0.1(google-protobuf@3.21.2) - '@injectivelabs/grpc-web-node-http-transport': 0.0.2(@injectivelabs/grpc-web@0.0.1(google-protobuf@3.21.2)) - '@injectivelabs/grpc-web-react-native-transport': 0.0.2(@injectivelabs/grpc-web@0.0.1(google-protobuf@3.21.2)) - '@injectivelabs/indexer-proto-ts': 1.10.8-rc.4 - '@injectivelabs/mito-proto-ts': 1.0.9 - '@injectivelabs/networks': 1.14.6(google-protobuf@3.21.2) - '@injectivelabs/test-utils': 1.14.4 - '@injectivelabs/token-metadata': 1.10.42(google-protobuf@3.21.2) - '@injectivelabs/ts-types': 1.14.6 - '@injectivelabs/utils': 1.14.6(google-protobuf@3.21.2) - '@metamask/eth-sig-util': 4.0.1 - axios: 0.27.2 - bech32: 2.0.0 - bip39: 3.0.4 - cosmjs-types: 0.7.2 - eth-crypto: 2.6.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) - ethereumjs-util: 7.1.5 - ethers: 5.7.2(bufferutil@4.0.7)(utf-8-validate@5.0.10) - google-protobuf: 3.21.2 - graphql: 16.6.0 - http-status-codes: 2.2.0 - js-sha3: 0.8.0 - jscrypto: 1.0.3 - keccak256: 1.0.6 - link-module-alias: 1.2.0 - rxjs: 7.8.0 - secp256k1: 4.0.3 - shx: 0.3.4 - snakecase-keys: 5.4.5 - transitivePeerDependencies: - - bufferutil - - debug - - graphql-ws - - react - - react-dom - - subscriptions-transport-ws - - utf-8-validate - optional: true - '@injectivelabs/sdk-ts@1.10.72(bufferutil@4.0.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(utf-8-validate@5.0.10)': dependencies: '@apollo/client': 3.7.13(graphql@16.6.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -22821,7 +22705,7 @@ snapshots: '@jest/console@29.7.0': dependencies: '@jest/types': 29.6.3 - '@types/node': 20.14.7 + '@types/node': 20.14.9 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -22871,14 +22755,14 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.7 + '@types/node': 20.14.9 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.10 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.14.7)(ts-node@10.9.1(@types/node@20.14.9)(typescript@5.4.5)) + jest-config: 29.7.0(@types/node@20.14.9)(ts-node@10.9.1(@types/node@20.14.9)(typescript@5.4.5)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -22906,14 +22790,14 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.7 + '@types/node': 20.14.9 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.10 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.14.7)(ts-node@10.9.2(@types/node@16.18.101)(typescript@4.9.5)) + jest-config: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@types/node@16.18.101)(typescript@4.9.5)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -22941,14 +22825,14 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.7 + '@types/node': 20.14.9 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.10 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.14.7)(ts-node@10.9.2(@types/node@18.11.18)(typescript@4.9.5)) + jest-config: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@types/node@18.11.18)(typescript@4.9.5)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -22976,14 +22860,14 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.7 + '@types/node': 20.14.9 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.10 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.14.7)(ts-node@10.9.2(@types/node@18.11.18)(typescript@5.4.5)) + jest-config: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@types/node@18.11.18)(typescript@5.4.5)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -23011,14 +22895,14 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.7 + '@types/node': 20.14.9 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.10 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.14.7)(ts-node@10.9.2(@types/node@18.19.34)(typescript@4.9.5)) + jest-config: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@types/node@18.19.34)(typescript@4.9.5)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -23046,14 +22930,14 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.7 + '@types/node': 20.14.9 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.10 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.14.7)(ts-node@10.9.2(@types/node@20.14.2)(typescript@4.9.5)) + jest-config: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@types/node@20.14.2)(typescript@4.9.5)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -23081,14 +22965,14 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.7 + '@types/node': 20.14.9 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.10 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.14.7)(ts-node@10.9.2(@types/node@20.14.7)(typescript@5.5.2)) + jest-config: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@types/node@20.14.7)(typescript@5.5.2)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -23116,14 +23000,14 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.7 + '@types/node': 20.14.9 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.10 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.14.7)(ts-node@10.9.2(@types/node@20.14.9)(typescript@5.4.5)) + jest-config: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@types/node@20.14.9)(typescript@5.4.5)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -23151,14 +23035,14 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.7 + '@types/node': 20.14.9 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.10 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.14.7)(ts-node@10.9.2(typescript@4.9.5)) + jest-config: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(typescript@4.9.5)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -23194,7 +23078,7 @@ snapshots: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.7 + '@types/node': 20.14.9 jest-mock: 29.7.0 '@jest/expect-utils@29.7.0': @@ -23221,7 +23105,7 @@ snapshots: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.14.7 + '@types/node': 20.14.9 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -23279,7 +23163,7 @@ snapshots: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.25 - '@types/node': 20.14.7 + '@types/node': 20.14.9 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -23407,7 +23291,7 @@ snapshots: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 - '@types/node': 20.14.7 + '@types/node': 20.14.9 '@types/yargs': 17.0.32 chalk: 4.1.2 @@ -24445,22 +24329,6 @@ snapshots: dependencies: bs58: 5.0.0 - '@mysten/sui.js@0.32.2(bufferutil@4.0.7)(utf-8-validate@5.0.10)': - dependencies: - '@mysten/bcs': 0.7.1 - '@noble/curves': 1.4.0 - '@noble/hashes': 1.4.0 - '@scure/bip32': 1.4.0 - '@scure/bip39': 1.2.2 - '@suchipi/femver': 1.0.0 - jayson: 4.1.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) - rpc-websockets: 7.5.1 - superstruct: 1.0.4 - tweetnacl: 1.0.3 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - '@mysten/sui.js@0.32.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: '@mysten/bcs': 0.7.1 @@ -25287,28 +25155,6 @@ snapshots: '@pkgjs/parseargs@0.11.0': optional: true - '@project-serum/anchor@0.25.0(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10)': - dependencies: - '@project-serum/borsh': 0.2.5(@solana/web3.js@1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10) - base64-js: 1.5.1 - bn.js: 5.2.1 - bs58: 4.0.1 - buffer-layout: 1.2.2 - camelcase: 5.3.1 - cross-fetch: 3.1.5(encoding@0.1.13) - crypto-hash: 1.3.0 - eventemitter3: 4.0.7 - js-sha256: 0.9.0 - pako: 2.1.0 - snake-case: 3.0.4 - superstruct: 0.15.5 - toml: 3.0.0 - transitivePeerDependencies: - - bufferutil - - encoding - - utf-8-validate - '@project-serum/anchor@0.25.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10)': dependencies: '@project-serum/borsh': 0.2.5(@solana/web3.js@1.92.3(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10)) @@ -25353,12 +25199,6 @@ snapshots: - encoding - utf-8-validate - '@project-serum/borsh@0.2.5(@solana/web3.js@1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10))': - dependencies: - '@solana/web3.js': 1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10) - bn.js: 5.2.1 - buffer-layout: 1.2.2 - '@project-serum/borsh@0.2.5(@solana/web3.js@1.92.3(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10))': dependencies: '@solana/web3.js': 1.92.3(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) @@ -25411,17 +25251,6 @@ snapshots: - encoding - utf-8-validate - '@pythnetwork/client@2.21.1(@solana/web3.js@1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10))(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10)': - dependencies: - '@coral-xyz/anchor': 0.29.0(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10) - '@coral-xyz/borsh': 0.28.0(@solana/web3.js@1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10)) - '@solana/web3.js': 1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10) - buffer: 6.0.3 - transitivePeerDependencies: - - bufferutil - - encoding - - utf-8-validate - '@pythnetwork/client@2.21.1(@solana/web3.js@1.92.3(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10)': dependencies: '@coral-xyz/anchor': 0.29.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) @@ -26158,7 +25987,7 @@ snapshots: '@scure/bip39@1.1.0': dependencies: '@noble/hashes': 1.1.5 - '@scure/base': 1.1.6 + '@scure/base': 1.1.7 '@scure/bip39@1.2.1': dependencies: @@ -26299,17 +26128,6 @@ snapshots: - react - react-native - '@solana/buffer-layout-utils@0.2.0(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10)': - dependencies: - '@solana/buffer-layout': 4.0.1 - '@solana/web3.js': 1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10) - bigint-buffer: 1.1.5 - bignumber.js: 9.1.2 - transitivePeerDependencies: - - bufferutil - - encoding - - utf-8-validate - '@solana/buffer-layout-utils@0.2.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10)': dependencies: '@solana/buffer-layout': 4.0.1 @@ -26336,17 +26154,6 @@ snapshots: dependencies: buffer: 6.0.3 - '@solana/spl-token@0.3.7(@solana/web3.js@1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10))(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10)': - dependencies: - '@solana/buffer-layout': 4.0.1 - '@solana/buffer-layout-utils': 0.2.0(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10) - '@solana/web3.js': 1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10) - buffer: 6.0.3 - transitivePeerDependencies: - - bufferutil - - encoding - - utf-8-validate - '@solana/spl-token@0.3.7(@solana/web3.js@1.92.3(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10)': dependencies: '@solana/buffer-layout': 4.0.1 @@ -26868,28 +26675,6 @@ snapshots: - encoding - utf-8-validate - '@solana/web3.js@1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10)': - dependencies: - '@babel/runtime': 7.24.7 - '@noble/curves': 1.4.0 - '@noble/hashes': 1.4.0 - '@solana/buffer-layout': 4.0.1 - agentkeepalive: 4.5.0 - bigint-buffer: 1.1.5 - bn.js: 5.2.1 - borsh: 0.7.0 - bs58: 4.0.1 - buffer: 6.0.3 - fast-stable-stringify: 1.0.0 - jayson: 4.1.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) - node-fetch: 2.7.0(encoding@0.1.13) - rpc-websockets: 8.0.1 - superstruct: 1.0.4 - transitivePeerDependencies: - - bufferutil - - encoding - - utf-8-validate - '@solana/web3.js@1.92.3(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10)': dependencies: '@babel/runtime': 7.24.7 @@ -26954,16 +26739,6 @@ snapshots: dependencies: antlr4ts: 0.5.0-alpha.4 - '@sqds/mesh@1.0.6(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10)': - dependencies: - '@project-serum/anchor': 0.25.0(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10) - '@solana/web3.js': 1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10) - bn.js: 5.2.1 - transitivePeerDependencies: - - bufferutil - - encoding - - utf-8-validate - '@sqds/mesh@1.0.6(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10)': dependencies: '@project-serum/anchor': 0.25.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) @@ -27956,7 +27731,7 @@ snapshots: '@types/fs-extra@9.0.13': dependencies: - '@types/node': 20.14.2 + '@types/node': 20.14.9 '@types/graceful-fs@4.1.9': dependencies: @@ -28009,7 +27784,7 @@ snapshots: '@types/jsdom@20.0.1': dependencies: - '@types/node': 20.14.7 + '@types/node': 20.14.9 '@types/tough-cookie': 4.0.5 parse5: 7.1.2 @@ -28161,9 +27936,9 @@ snapshots: '@types/bn.js': 5.1.5 '@types/underscore': 1.11.4 - '@types/web3@1.2.2(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10)': + '@types/web3@1.2.2(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10)': dependencies: - web3: 1.10.0(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10) + web3: 1.10.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - encoding @@ -28176,7 +27951,7 @@ snapshots: '@types/ws@8.5.3': dependencies: - '@types/node': 18.11.18 + '@types/node': 20.14.9 '@types/ws@8.5.4': dependencies: @@ -28959,8 +28734,8 @@ snapshots: json-schema-to-ts: 1.6.4 ts-morph: 12.0.0 - '@wagmi/connectors@5.0.16(mehtb7r3xxh3anmscqllj3vxmi)': - dependencies: + ? '@wagmi/connectors@5.0.16(@react-native-async-storage/async-storage@1.23.1(react-native@0.74.2(@babel/core@7.24.7)(@babel/preset-env@7.24.7(@babel/core@7.24.7))(@types/react@18.3.3)(bufferutil@4.0.8)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(@wagmi/core@2.11.4(@tanstack/query-core@5.45.0)(@types/react@18.3.3)(bufferutil@4.0.8)(immer@9.0.21)(react@18.3.1)(typescript@5.5.2)(utf-8-validate@5.0.10)(viem@2.15.1(bufferutil@4.0.8)(typescript@5.5.2)(utf-8-validate@5.0.10)(zod@3.23.8))(zod@3.23.8))(bufferutil@4.0.8)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react-i18next@13.5.0(i18next@22.5.1)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.2(@babel/core@7.24.7)(@babel/preset-env@7.24.7(@babel/core@7.24.7))(@types/react@18.3.3)(bufferutil@4.0.8)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1))(react-native@0.74.2(@babel/core@7.24.7)(@babel/preset-env@7.24.7(@babel/core@7.24.7))(@types/react@18.3.3)(bufferutil@4.0.8)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(typescript@5.5.2)(utf-8-validate@5.0.10)(viem@2.15.1(bufferutil@4.0.8)(typescript@5.5.2)(utf-8-validate@5.0.10)(zod@3.23.8))(zod@3.23.8)' + : dependencies: '@coinbase/wallet-sdk': 4.0.3 '@metamask/sdk': 0.26.0(bufferutil@4.0.8)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react-i18next@13.5.0(i18next@22.5.1)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.2(@babel/core@7.24.7)(@babel/preset-env@7.24.7(@babel/core@7.24.7))(@types/react@18.3.3)(bufferutil@4.0.8)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1))(react-native@0.74.2(@babel/core@7.24.7)(@babel/preset-env@7.24.7(@babel/core@7.24.7))(@types/react@18.3.3)(bufferutil@4.0.8)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(utf-8-validate@5.0.10) '@safe-global/safe-apps-provider': 0.18.1(bufferutil@4.0.8)(typescript@5.5.2)(utf-8-validate@5.0.10)(zod@3.23.8) @@ -31506,8 +31281,8 @@ snapshots: transitivePeerDependencies: - supports-color - connectkit@1.8.2(m5fu6jwi7nvuqo5lp7m3jyfehy): - dependencies: + ? connectkit@1.8.2(@babel/core@7.24.7)(@tanstack/react-query@5.45.1(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(viem@2.15.1(bufferutil@4.0.8)(typescript@5.5.2)(utf-8-validate@5.0.10)(zod@3.23.8))(wagmi@2.10.4(@react-native-async-storage/async-storage@1.23.1(react-native@0.74.2(@babel/core@7.24.7)(@babel/preset-env@7.24.7(@babel/core@7.24.7))(@types/react@18.3.3)(bufferutil@4.0.8)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@tanstack/query-core@5.45.0)(@tanstack/react-query@5.45.1(react@18.3.1))(@types/react@18.3.3)(bufferutil@4.0.8)(encoding@0.1.13)(immer@9.0.21)(react-dom@18.3.1(react@18.3.1))(react-i18next@13.5.0(i18next@22.5.1)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.2(@babel/core@7.24.7)(@babel/preset-env@7.24.7(@babel/core@7.24.7))(@types/react@18.3.3)(bufferutil@4.0.8)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1))(react-native@0.74.2(@babel/core@7.24.7)(@babel/preset-env@7.24.7(@babel/core@7.24.7))(@types/react@18.3.3)(bufferutil@4.0.8)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(typescript@5.5.2)(utf-8-validate@5.0.10)(viem@2.15.1(bufferutil@4.0.8)(typescript@5.5.2)(utf-8-validate@5.0.10)(zod@3.23.8))(zod@3.23.8)) + : dependencies: '@tanstack/react-query': 5.45.1(react@18.3.1) buffer: 6.0.3 detect-browser: 5.3.0 @@ -31859,7 +31634,7 @@ snapshots: chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.14.7)(ts-node@10.9.2(typescript@4.9.5)) + jest-config: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(typescript@4.9.5)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -32810,8 +32585,6 @@ snapshots: '@esbuild/win32-ia32': 0.19.12 '@esbuild/win32-x64': 0.19.12 - escalade@3.1.1: {} - escalade@3.1.2: {} escape-html@1.0.3: {} @@ -33383,20 +33156,6 @@ snapshots: transitivePeerDependencies: - supports-color - eth-crypto@2.6.0(bufferutil@4.0.7)(utf-8-validate@5.0.10): - dependencies: - '@babel/runtime': 7.20.13 - '@ethereumjs/tx': 3.5.2 - '@types/bn.js': 5.1.1 - eccrypto: 1.1.6(patch_hash=rjcfmtfgn3z72mudpdif5oxmye) - ethereumjs-util: 7.1.5 - ethers: 5.7.2(bufferutil@4.0.7)(utf-8-validate@5.0.10) - secp256k1: 5.0.0 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - optional: true - eth-crypto@2.6.0(bufferutil@4.0.8)(utf-8-validate@5.0.10): dependencies: '@babel/runtime': 7.20.13 @@ -33473,19 +33232,6 @@ snapshots: transitivePeerDependencies: - encoding - eth-lib@0.1.29(bufferutil@4.0.7)(utf-8-validate@5.0.10): - dependencies: - bn.js: 4.12.0 - elliptic: 6.5.4 - nano-json-stream-parser: 0.1.2 - servify: 0.1.12 - ws: 3.3.3(bufferutil@4.0.7)(utf-8-validate@5.0.10) - xhr-request-promise: 0.1.3 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - eth-lib@0.1.29(bufferutil@4.0.8)(utf-8-validate@5.0.10): dependencies: bn.js: 4.12.0 @@ -33915,7 +33661,7 @@ snapshots: extension-port-stream@3.0.0: dependencies: - readable-stream: 3.6.2 + readable-stream: 4.5.2 webextension-polyfill: 0.10.0 external-editor@3.1.0: @@ -35463,24 +35209,6 @@ snapshots: filelist: 1.0.4 minimatch: 3.1.2 - jayson@4.1.0(bufferutil@4.0.7)(utf-8-validate@5.0.10): - dependencies: - '@types/connect': 3.4.35 - '@types/node': 12.20.55 - '@types/ws': 7.4.7 - JSONStream: 1.3.5 - commander: 2.20.3 - delay: 5.0.0 - es6-promisify: 5.0.0 - eyes: 0.1.8 - isomorphic-ws: 4.0.1(ws@7.5.10(bufferutil@4.0.7)(utf-8-validate@5.0.10)) - json-stringify-safe: 5.0.1 - uuid: 8.3.2 - ws: 7.5.10(bufferutil@4.0.7)(utf-8-validate@5.0.10) - transitivePeerDependencies: - - bufferutil - - utf-8-validate - jayson@4.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10): dependencies: '@types/connect': 3.4.35 @@ -35559,7 +35287,7 @@ snapshots: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.7 + '@types/node': 20.14.9 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.1 @@ -35761,7 +35489,7 @@ snapshots: create-jest: 29.7.0(ts-node@10.9.2(typescript@4.9.5)) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@20.14.7)(ts-node@10.9.2(typescript@4.9.5)) + jest-config: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(typescript@4.9.5)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -35960,38 +35688,7 @@ snapshots: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@20.14.7)(ts-node@10.9.1(@types/node@20.14.9)(typescript@5.4.5)): - dependencies: - '@babel/core': 7.24.7 - '@jest/test-sequencer': 29.7.0 - '@jest/types': 29.6.3 - babel-jest: 29.7.0(@babel/core@7.24.7) - chalk: 4.1.2 - ci-info: 3.9.0 - deepmerge: 4.3.1 - glob: 7.2.3 - graceful-fs: 4.2.11 - jest-circus: 29.7.0 - jest-environment-node: 29.7.0 - jest-get-type: 29.6.3 - jest-regex-util: 29.6.3 - jest-resolve: 29.7.0 - jest-runner: 29.7.0 - jest-util: 29.7.0 - jest-validate: 29.7.0 - micromatch: 4.0.7 - parse-json: 5.2.0 - pretty-format: 29.7.0 - slash: 3.0.0 - strip-json-comments: 3.1.1 - optionalDependencies: - '@types/node': 20.14.7 - ts-node: 10.9.1(@types/node@20.14.9)(typescript@5.4.5) - transitivePeerDependencies: - - babel-plugin-macros - - supports-color - - jest-config@29.7.0(@types/node@20.14.7)(ts-node@10.9.2(@types/node@16.18.101)(typescript@4.9.5)): + jest-config@29.7.0(@types/node@20.14.7)(ts-node@10.9.2(@types/node@20.14.7)(typescript@5.5.2)): dependencies: '@babel/core': 7.24.7 '@jest/test-sequencer': 29.7.0 @@ -36017,12 +35714,12 @@ snapshots: strip-json-comments: 3.1.1 optionalDependencies: '@types/node': 20.14.7 - ts-node: 10.9.2(@types/node@16.18.101)(typescript@4.9.5) + ts-node: 10.9.2(@types/node@20.14.7)(typescript@5.5.2) transitivePeerDependencies: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@20.14.7)(ts-node@10.9.2(@types/node@18.11.18)(typescript@4.9.5)): + jest-config@29.7.0(@types/node@20.14.9)(ts-node@10.9.1(@types/node@20.14.9)(typescript@5.4.5)): dependencies: '@babel/core': 7.24.7 '@jest/test-sequencer': 29.7.0 @@ -36047,13 +35744,13 @@ snapshots: slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: - '@types/node': 20.14.7 - ts-node: 10.9.2(@types/node@18.11.18)(typescript@4.9.5) + '@types/node': 20.14.9 + ts-node: 10.9.1(@types/node@20.14.9)(typescript@5.4.5) transitivePeerDependencies: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@20.14.7)(ts-node@10.9.2(@types/node@18.11.18)(typescript@5.4.5)): + jest-config@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@types/node@16.18.101)(typescript@4.9.5)): dependencies: '@babel/core': 7.24.7 '@jest/test-sequencer': 29.7.0 @@ -36078,13 +35775,13 @@ snapshots: slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: - '@types/node': 20.14.7 - ts-node: 10.9.2(@types/node@18.11.18)(typescript@5.4.5) + '@types/node': 20.14.9 + ts-node: 10.9.2(@types/node@16.18.101)(typescript@4.9.5) transitivePeerDependencies: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@20.14.7)(ts-node@10.9.2(@types/node@18.19.34)(typescript@4.9.5)): + jest-config@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@types/node@18.11.18)(typescript@4.9.5)): dependencies: '@babel/core': 7.24.7 '@jest/test-sequencer': 29.7.0 @@ -36109,13 +35806,13 @@ snapshots: slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: - '@types/node': 20.14.7 - ts-node: 10.9.2(@types/node@18.19.34)(typescript@4.9.5) + '@types/node': 20.14.9 + ts-node: 10.9.2(@types/node@18.11.18)(typescript@4.9.5) transitivePeerDependencies: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@20.14.7)(ts-node@10.9.2(@types/node@20.14.2)(typescript@4.9.5)): + jest-config@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@types/node@18.11.18)(typescript@5.4.5)): dependencies: '@babel/core': 7.24.7 '@jest/test-sequencer': 29.7.0 @@ -36140,13 +35837,13 @@ snapshots: slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: - '@types/node': 20.14.7 - ts-node: 10.9.2(@types/node@20.14.2)(typescript@4.9.5) + '@types/node': 20.14.9 + ts-node: 10.9.2(@types/node@18.11.18)(typescript@5.4.5) transitivePeerDependencies: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@20.14.7)(ts-node@10.9.2(@types/node@20.14.7)(typescript@5.5.2)): + jest-config@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@types/node@18.19.34)(typescript@4.9.5)): dependencies: '@babel/core': 7.24.7 '@jest/test-sequencer': 29.7.0 @@ -36171,13 +35868,13 @@ snapshots: slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: - '@types/node': 20.14.7 - ts-node: 10.9.2(@types/node@20.14.7)(typescript@5.5.2) + '@types/node': 20.14.9 + ts-node: 10.9.2(@types/node@18.19.34)(typescript@4.9.5) transitivePeerDependencies: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@20.14.7)(ts-node@10.9.2(@types/node@20.14.9)(typescript@5.4.5)): + jest-config@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@types/node@20.14.2)(typescript@4.9.5)): dependencies: '@babel/core': 7.24.7 '@jest/test-sequencer': 29.7.0 @@ -36202,13 +35899,13 @@ snapshots: slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: - '@types/node': 20.14.7 - ts-node: 10.9.2(@types/node@20.14.9)(typescript@5.4.5) + '@types/node': 20.14.9 + ts-node: 10.9.2(@types/node@20.14.2)(typescript@4.9.5) transitivePeerDependencies: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@20.14.7)(ts-node@10.9.2(typescript@4.9.5)): + jest-config@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@types/node@20.14.7)(typescript@5.5.2)): dependencies: '@babel/core': 7.24.7 '@jest/test-sequencer': 29.7.0 @@ -36233,13 +35930,13 @@ snapshots: slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: - '@types/node': 20.14.7 - ts-node: 10.9.2(@types/node@18.19.34)(typescript@4.9.5) + '@types/node': 20.14.9 + ts-node: 10.9.2(@types/node@20.14.7)(typescript@5.5.2) transitivePeerDependencies: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@20.14.9)(ts-node@10.9.1(@types/node@20.14.9)(typescript@5.4.5)): + jest-config@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@types/node@20.14.9)(typescript@5.4.5)): dependencies: '@babel/core': 7.24.7 '@jest/test-sequencer': 29.7.0 @@ -36265,12 +35962,12 @@ snapshots: strip-json-comments: 3.1.1 optionalDependencies: '@types/node': 20.14.9 - ts-node: 10.9.1(@types/node@20.14.9)(typescript@5.4.5) + ts-node: 10.9.2(@types/node@20.14.9)(typescript@5.4.5) transitivePeerDependencies: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@types/node@20.14.9)(typescript@5.4.5)): + jest-config@29.7.0(@types/node@20.14.9)(ts-node@10.9.2(typescript@4.9.5)): dependencies: '@babel/core': 7.24.7 '@jest/test-sequencer': 29.7.0 @@ -36296,7 +35993,7 @@ snapshots: strip-json-comments: 3.1.1 optionalDependencies: '@types/node': 20.14.9 - ts-node: 10.9.2(@types/node@20.14.9)(typescript@5.4.5) + ts-node: 10.9.2(@types/node@18.19.34)(typescript@4.9.5) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -36360,7 +36057,7 @@ snapshots: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 '@types/jsdom': 20.0.1 - '@types/node': 20.14.7 + '@types/node': 20.14.9 jest-mock: 29.7.0 jest-util: 29.7.0 jsdom: 20.0.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -36383,7 +36080,7 @@ snapshots: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.7 + '@types/node': 20.14.9 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -36412,7 +36109,7 @@ snapshots: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.9 - '@types/node': 20.14.7 + '@types/node': 20.14.9 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -36502,7 +36199,7 @@ snapshots: jest-mock@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 20.14.7 + '@types/node': 20.14.9 jest-util: 29.7.0 jest-pnp-resolver@1.2.3(jest-resolve@27.5.1): @@ -36605,7 +36302,7 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.7 + '@types/node': 20.14.9 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -36660,7 +36357,7 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.7 + '@types/node': 20.14.9 chalk: 4.1.2 cjs-module-lexer: 1.3.1 collect-v8-coverage: 1.0.2 @@ -36747,7 +36444,7 @@ snapshots: jest-util@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 20.14.2 + '@types/node': 20.14.9 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.10 @@ -36785,7 +36482,7 @@ snapshots: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.7 + '@types/node': 20.14.9 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -36800,7 +36497,7 @@ snapshots: jest-worker@28.1.3: dependencies: - '@types/node': 20.14.7 + '@types/node': 20.14.9 merge-stream: 2.0.0 supports-color: 8.1.1 @@ -39898,6 +39595,8 @@ snapshots: prettier@2.7.1: {} + prettier@2.8.0: {} + prettier@2.8.8: {} prettier@3.3.2: {} @@ -41806,24 +41505,6 @@ snapshots: lower-case: 1.1.4 upper-case: 1.1.3 - swarm-js@0.1.42(bufferutil@4.0.7)(utf-8-validate@5.0.10): - dependencies: - bluebird: 3.7.2 - buffer: 5.7.1 - eth-lib: 0.1.29(bufferutil@4.0.7)(utf-8-validate@5.0.10) - fs-extra: 4.0.3 - got: 11.8.6 - mime-types: 2.1.35 - mkdirp-promise: 5.0.1 - mock-fs: 4.14.0 - setimmediate: 1.0.5 - tar: 4.4.19 - xhr-request: 1.1.0 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - swarm-js@0.1.42(bufferutil@4.0.8)(utf-8-validate@5.0.10): dependencies: bluebird: 3.7.2 @@ -43255,7 +42936,7 @@ snapshots: wagmi@2.10.4(@react-native-async-storage/async-storage@1.23.1(react-native@0.74.2(@babel/core@7.24.7)(@babel/preset-env@7.24.7(@babel/core@7.24.7))(@types/react@18.3.3)(bufferutil@4.0.8)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@tanstack/query-core@5.45.0)(@tanstack/react-query@5.45.1(react@18.3.1))(@types/react@18.3.3)(bufferutil@4.0.8)(encoding@0.1.13)(immer@9.0.21)(react-dom@18.3.1(react@18.3.1))(react-i18next@13.5.0(i18next@22.5.1)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.2(@babel/core@7.24.7)(@babel/preset-env@7.24.7(@babel/core@7.24.7))(@types/react@18.3.3)(bufferutil@4.0.8)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1))(react-native@0.74.2(@babel/core@7.24.7)(@babel/preset-env@7.24.7(@babel/core@7.24.7))(@types/react@18.3.3)(bufferutil@4.0.8)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(typescript@5.5.2)(utf-8-validate@5.0.10)(viem@2.15.1(bufferutil@4.0.8)(typescript@5.5.2)(utf-8-validate@5.0.10)(zod@3.23.8))(zod@3.23.8): dependencies: '@tanstack/react-query': 5.45.1(react@18.3.1) - '@wagmi/connectors': 5.0.16(mehtb7r3xxh3anmscqllj3vxmi) + '@wagmi/connectors': 5.0.16(@react-native-async-storage/async-storage@1.23.1(react-native@0.74.2(@babel/core@7.24.7)(@babel/preset-env@7.24.7(@babel/core@7.24.7))(@types/react@18.3.3)(bufferutil@4.0.8)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react@18.3.3)(@wagmi/core@2.11.4(@tanstack/query-core@5.45.0)(@types/react@18.3.3)(bufferutil@4.0.8)(immer@9.0.21)(react@18.3.1)(typescript@5.5.2)(utf-8-validate@5.0.10)(viem@2.15.1(bufferutil@4.0.8)(typescript@5.5.2)(utf-8-validate@5.0.10)(zod@3.23.8))(zod@3.23.8))(bufferutil@4.0.8)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react-i18next@13.5.0(i18next@22.5.1)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.2(@babel/core@7.24.7)(@babel/preset-env@7.24.7(@babel/core@7.24.7))(@types/react@18.3.3)(bufferutil@4.0.8)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1))(react-native@0.74.2(@babel/core@7.24.7)(@babel/preset-env@7.24.7(@babel/core@7.24.7))(@types/react@18.3.3)(bufferutil@4.0.8)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(typescript@5.5.2)(utf-8-validate@5.0.10)(viem@2.15.1(bufferutil@4.0.8)(typescript@5.5.2)(utf-8-validate@5.0.10)(zod@3.23.8))(zod@3.23.8) '@wagmi/core': 2.11.4(@tanstack/query-core@5.45.0)(@types/react@18.3.3)(bufferutil@4.0.8)(immer@9.0.21)(react@18.3.1)(typescript@5.5.2)(utf-8-validate@5.0.10)(viem@2.15.1(bufferutil@4.0.8)(typescript@5.5.2)(utf-8-validate@5.0.10)(zod@3.23.8))(zod@3.23.8) react: 18.3.1 use-sync-external-store: 1.2.0(react@18.3.1) @@ -43311,16 +42992,6 @@ snapshots: web-vitals@0.2.4: {} - web3-bzz@1.10.0(bufferutil@4.0.7)(utf-8-validate@5.0.10): - dependencies: - '@types/node': 12.20.55 - got: 12.1.0 - swarm-js: 0.1.42(bufferutil@4.0.7)(utf-8-validate@5.0.10) - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - web3-bzz@1.10.0(bufferutil@4.0.8)(utf-8-validate@5.0.10): dependencies: '@types/node': 12.20.55 @@ -44202,21 +43873,6 @@ snapshots: web3-types: 1.7.0 zod: 3.23.8 - web3@1.10.0(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10): - dependencies: - web3-bzz: 1.10.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) - web3-core: 1.10.0(encoding@0.1.13) - web3-eth: 1.10.0(encoding@0.1.13) - web3-eth-personal: 1.10.0(encoding@0.1.13) - web3-net: 1.10.0(encoding@0.1.13) - web3-shh: 1.10.0(encoding@0.1.13) - web3-utils: 1.10.0 - transitivePeerDependencies: - - bufferutil - - encoding - - supports-color - - utf-8-validate - web3@1.10.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10): dependencies: web3-bzz: 1.10.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -44541,15 +44197,6 @@ snapshots: readable-stream: 0.0.4 optional: true - ws@3.3.3(bufferutil@4.0.7)(utf-8-validate@5.0.10): - dependencies: - async-limiter: 1.0.1 - safe-buffer: 5.1.2 - ultron: 1.1.1 - optionalDependencies: - bufferutil: 4.0.7 - utf-8-validate: 5.0.10 - ws@3.3.3(bufferutil@4.0.8)(utf-8-validate@5.0.10): dependencies: async-limiter: 1.0.1 @@ -44778,7 +44425,7 @@ snapshots: yargs@17.7.2: dependencies: cliui: 8.0.1 - escalade: 3.1.1 + escalade: 3.1.2 get-caller-file: 2.0.5 require-directory: 2.1.1 string-width: 4.2.3 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 3471114129..8461ffcf77 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -8,6 +8,7 @@ packages: - "price_service/sdk/js" - "price_service/client/js" - "pythnet/message_buffer" + - "target_chains/aptos/cli" - "target_chains/aptos/sdk/js" - "target_chains/cosmwasm/tools" - "target_chains/cosmwasm/deploy-scripts" diff --git a/target_chains/aptos/cli/.gitignore b/target_chains/aptos/cli/.gitignore new file mode 100644 index 0000000000..c3af857904 --- /dev/null +++ b/target_chains/aptos/cli/.gitignore @@ -0,0 +1 @@ +lib/ diff --git a/target_chains/aptos/cli/package.json b/target_chains/aptos/cli/package.json index 468fd2d96b..c0dee525c7 100644 --- a/target_chains/aptos/cli/package.json +++ b/target_chains/aptos/cli/package.json @@ -4,9 +4,8 @@ "description": "Utilities for managing the Pyth Target Chain contract on Aptos", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", "cli": "ts-node src/cli.ts", - "build": "tsc && pkg . --targets node14-linux-x64 --output build/pyth" + "build": "tsc" }, "author": "", "license": "ISC", @@ -16,18 +15,15 @@ "devDependencies": { "@types/node": "^18.7.21", "@types/yargs": "^17.0.13", - "pkg": "^5.8.0", "prettier": "2.8.0", - "typescript": "^4.8.3" + "typescript": "^5.3.3" }, "dependencies": { - "@pythnetwork/pyth-aptos-js": "^0.2.0", + "@pythnetwork/contract-manager": "workspace:*", + "@pythnetwork/pyth-aptos-js": "workspace:*", "aptos": "^1.3.14", "ethers": "^5.7.1", "js-sha3": "^0.8.0", "yargs": "^17.5.1" - }, - "pkg": { - "scripts": "build/**/*.js" } } diff --git a/target_chains/aptos/cli/src/commands/aptos.ts b/target_chains/aptos/cli/src/commands/aptos.ts index 10efaaadf4..9ba6c983f3 100644 --- a/target_chains/aptos/cli/src/commands/aptos.ts +++ b/target_chains/aptos/cli/src/commands/aptos.ts @@ -59,12 +59,11 @@ interface PackageBCS { export const builder: (args: Argv) => Argv = (yargs) => yargs .command( - "deploy ", + "deploy ", "Deploy a package", (yargs) => { return yargs .positional("package-dir", { type: "string" }) - .positional("account", { type: "string" }) .option("named-addresses", { type: "string" }) .option("network", NETWORK_OPTION); }, diff --git a/target_chains/aptos/cli/tsconfig.json b/target_chains/aptos/cli/tsconfig.json index f825745967..be27cdded2 100644 --- a/target_chains/aptos/cli/tsconfig.json +++ b/target_chains/aptos/cli/tsconfig.json @@ -1,103 +1,9 @@ { + "extends": "../../../tsconfig.base.json", + "include": ["src"], + "exclude": ["node_modules", "**/__tests__/*"], "compilerOptions": { - /* Visit https://aka.ms/tsconfig to read more about this file */ - - /* Projects */ - // "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */ - // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */ - // "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */ - // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */ - // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */ - // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ - - /* Language and Environment */ - "target": "ES2020" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, - // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ - // "jsx": "preserve", /* Specify what JSX code is generated. */ - // "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */ - // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */ - // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */ - // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */ - // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */ - // "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */ - // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */ - // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */ - // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ - - /* Modules */ - "module": "commonjs" /* Specify what module code is generated. */, - // "rootDir": "./", /* Specify the root folder within your source files. */ - // "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */ - // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ - // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ - // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ - // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */ - // "types": [], /* Specify type package names to be included without being referenced in a source file. */ - // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ - // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */ - // "resolveJsonModule": true, /* Enable importing .json files. */ - // "noResolve": true, /* Disallow 'import's, 'require's or ''s from expanding the number of files TypeScript should add to a project. */ - - /* JavaScript Support */ - // "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */ - // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */ - // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ - - /* Emit */ - // "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ - // "declarationMap": true, /* Create sourcemaps for d.ts files. */ - // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ - // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ - // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ - "outDir": "./build" /* Specify an output folder for all emitted files. */, - // "removeComments": true, /* Disable emitting comments. */ - // "noEmit": true, /* Disable emitting files from a compilation. */ - // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */ - // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */ - // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ - // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ - // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ - // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ - // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */ - // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */ - // "newLine": "crlf", /* Set the newline character for emitting files. */ - // "stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */ - // "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */ - // "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */ - // "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */ - // "declarationDir": "./", /* Specify the output directory for generated declaration files. */ - // "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */ - - /* Interop Constraints */ - // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */ - // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */ - "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */, - // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */ - "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */, - - /* Type Checking */ - "strict": true /* Enable all strict type-checking options. */, - // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */ - // "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */ - // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */ - // "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */ - // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */ - // "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */ - // "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */ - // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */ - // "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */ - // "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */ - // "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */ - // "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */ - // "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */ - // "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */ - // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */ - // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */ - // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */ - // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */ - - /* Completeness */ - // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ - "skipLibCheck": true /* Skip type checking all .d.ts files. */ + "rootDir": "src/", + "outDir": "./lib" } }