diff --git a/lazer/sdk/js/package.json b/lazer/sdk/js/package.json index 441ffee4bd..0abe25dc25 100644 --- a/lazer/sdk/js/package.json +++ b/lazer/sdk/js/package.json @@ -1,6 +1,6 @@ { "name": "@pythnetwork/pyth-lazer-sdk", - "version": "0.1.1", + "version": "0.1.2", "description": "Pyth Lazer SDK", "publishConfig": { "access": "public" @@ -60,6 +60,8 @@ ], "license": "Apache-2.0", "dependencies": { + "@solana/buffer-layout": "^4.0.1", + "@solana/web3.js": "^1.98.0", "isomorphic-ws": "^5.0.0", "ws": "^8.18.0" } diff --git a/lazer/sdk/js/src/client.ts b/lazer/sdk/js/src/client.ts new file mode 100644 index 0000000000..c887edef16 --- /dev/null +++ b/lazer/sdk/js/src/client.ts @@ -0,0 +1,93 @@ +import WebSocket from "isomorphic-ws"; + +import { + BINARY_UPDATE_FORMAT_MAGIC, + EVM_FORMAT_MAGIC, + PARSED_FORMAT_MAGIC, + type ParsedPayload, + type Request, + type Response, + SOLANA_FORMAT_MAGIC_BE, +} from "./protocol.js"; + +export type BinaryResponse = { + subscriptionId: number; + evm?: Buffer | undefined; + solana?: Buffer | undefined; + parsed?: ParsedPayload | undefined; +}; +export type JsonOrBinaryResponse = + | { + type: "json"; + value: Response; + } + | { type: "binary"; value: BinaryResponse }; + +const UINT16_NUM_BYTES = 2; +const UINT32_NUM_BYTES = 4; +const UINT64_NUM_BYTES = 8; + +export class PythLazerClient { + ws: WebSocket; + + constructor(url: string, token: string) { + const finalUrl = new URL(url); + finalUrl.searchParams.append("ACCESS_TOKEN", token); + this.ws = new WebSocket(finalUrl); + } + + addMessageListener(handler: (event: JsonOrBinaryResponse) => void) { + this.ws.addEventListener("message", (event: WebSocket.MessageEvent) => { + if (typeof event.data == "string") { + handler({ + type: "json", + value: JSON.parse(event.data) as Response, + }); + } else if (Buffer.isBuffer(event.data)) { + let pos = 0; + const magic = event.data + .subarray(pos, pos + UINT32_NUM_BYTES) + .readUint32BE(); + pos += UINT32_NUM_BYTES; + if (magic != BINARY_UPDATE_FORMAT_MAGIC) { + throw new Error("binary update format magic mismatch"); + } + // TODO: some uint64 values may not be representable as Number. + const subscriptionId = Number( + event.data.subarray(pos, pos + UINT64_NUM_BYTES).readBigInt64BE() + ); + pos += UINT64_NUM_BYTES; + + const value: BinaryResponse = { subscriptionId }; + while (pos < event.data.length) { + const len = event.data + .subarray(pos, pos + UINT16_NUM_BYTES) + .readUint16BE(); + pos += UINT16_NUM_BYTES; + const magic = event.data + .subarray(pos, pos + UINT32_NUM_BYTES) + .readUint32BE(); + if (magic == EVM_FORMAT_MAGIC) { + value.evm = event.data.subarray(pos, pos + len); + } else if (magic == SOLANA_FORMAT_MAGIC_BE) { + value.solana = event.data.subarray(pos, pos + len); + } else if (magic == PARSED_FORMAT_MAGIC) { + value.parsed = JSON.parse( + event.data.subarray(pos + UINT32_NUM_BYTES, pos + len).toString() + ) as ParsedPayload; + } else { + throw new Error("unknown magic: " + magic.toString()); + } + pos += len; + } + handler({ type: "binary", value }); + } else { + throw new TypeError("unexpected event data type"); + } + }); + } + + send(request: Request) { + this.ws.send(JSON.stringify(request)); + } +} diff --git a/lazer/sdk/js/src/ed25519.ts b/lazer/sdk/js/src/ed25519.ts new file mode 100644 index 0000000000..5731da0afe --- /dev/null +++ b/lazer/sdk/js/src/ed25519.ts @@ -0,0 +1,70 @@ +import * as BufferLayout from "@solana/buffer-layout"; +import { Ed25519Program, TransactionInstruction } from "@solana/web3.js"; + +const ED25519_INSTRUCTION_LEN = 16; +const SIGNATURE_LEN = 64; +const PUBKEY_LEN = 32; +const MAGIC_LEN = 4; +const MESSAGE_SIZE_LEN = 2; + +const ED25519_INSTRUCTION_LAYOUT = BufferLayout.struct< + Readonly<{ + messageDataOffset: number; + messageDataSize: number; + messageInstructionIndex: number; + numSignatures: number; + padding: number; + publicKeyInstructionIndex: number; + publicKeyOffset: number; + signatureInstructionIndex: number; + signatureOffset: number; + }> +>([ + BufferLayout.u8("numSignatures"), + BufferLayout.u8("padding"), + BufferLayout.u16("signatureOffset"), + BufferLayout.u16("signatureInstructionIndex"), + BufferLayout.u16("publicKeyOffset"), + BufferLayout.u16("publicKeyInstructionIndex"), + BufferLayout.u16("messageDataOffset"), + BufferLayout.u16("messageDataSize"), + BufferLayout.u16("messageInstructionIndex"), +]); + +export const createEd25519Instruction = ( + message: Buffer, + instructionIndex: number, + startingOffset: number +) => { + const signatureOffset = startingOffset + MAGIC_LEN; + const publicKeyOffset = signatureOffset + SIGNATURE_LEN; + const messageDataSizeOffset = publicKeyOffset + PUBKEY_LEN; + const messageDataOffset = messageDataSizeOffset + MESSAGE_SIZE_LEN; + + const messageDataSize = message.readUInt16LE( + messageDataSizeOffset - startingOffset + ); + + const instructionData = Buffer.alloc(ED25519_INSTRUCTION_LEN); + + ED25519_INSTRUCTION_LAYOUT.encode( + { + numSignatures: 1, + padding: 0, + signatureOffset, + signatureInstructionIndex: instructionIndex, + publicKeyOffset, + publicKeyInstructionIndex: instructionIndex, + messageDataOffset, + messageDataSize: messageDataSize, + messageInstructionIndex: instructionIndex, + }, + instructionData + ); + + return new TransactionInstruction({ + keys: [], + programId: Ed25519Program.programId, + data: instructionData, + }); +}; diff --git a/lazer/sdk/js/src/index.ts b/lazer/sdk/js/src/index.ts index c887edef16..22ea1d2abd 100644 --- a/lazer/sdk/js/src/index.ts +++ b/lazer/sdk/js/src/index.ts @@ -1,93 +1,3 @@ -import WebSocket from "isomorphic-ws"; - -import { - BINARY_UPDATE_FORMAT_MAGIC, - EVM_FORMAT_MAGIC, - PARSED_FORMAT_MAGIC, - type ParsedPayload, - type Request, - type Response, - SOLANA_FORMAT_MAGIC_BE, -} from "./protocol.js"; - -export type BinaryResponse = { - subscriptionId: number; - evm?: Buffer | undefined; - solana?: Buffer | undefined; - parsed?: ParsedPayload | undefined; -}; -export type JsonOrBinaryResponse = - | { - type: "json"; - value: Response; - } - | { type: "binary"; value: BinaryResponse }; - -const UINT16_NUM_BYTES = 2; -const UINT32_NUM_BYTES = 4; -const UINT64_NUM_BYTES = 8; - -export class PythLazerClient { - ws: WebSocket; - - constructor(url: string, token: string) { - const finalUrl = new URL(url); - finalUrl.searchParams.append("ACCESS_TOKEN", token); - this.ws = new WebSocket(finalUrl); - } - - addMessageListener(handler: (event: JsonOrBinaryResponse) => void) { - this.ws.addEventListener("message", (event: WebSocket.MessageEvent) => { - if (typeof event.data == "string") { - handler({ - type: "json", - value: JSON.parse(event.data) as Response, - }); - } else if (Buffer.isBuffer(event.data)) { - let pos = 0; - const magic = event.data - .subarray(pos, pos + UINT32_NUM_BYTES) - .readUint32BE(); - pos += UINT32_NUM_BYTES; - if (magic != BINARY_UPDATE_FORMAT_MAGIC) { - throw new Error("binary update format magic mismatch"); - } - // TODO: some uint64 values may not be representable as Number. - const subscriptionId = Number( - event.data.subarray(pos, pos + UINT64_NUM_BYTES).readBigInt64BE() - ); - pos += UINT64_NUM_BYTES; - - const value: BinaryResponse = { subscriptionId }; - while (pos < event.data.length) { - const len = event.data - .subarray(pos, pos + UINT16_NUM_BYTES) - .readUint16BE(); - pos += UINT16_NUM_BYTES; - const magic = event.data - .subarray(pos, pos + UINT32_NUM_BYTES) - .readUint32BE(); - if (magic == EVM_FORMAT_MAGIC) { - value.evm = event.data.subarray(pos, pos + len); - } else if (magic == SOLANA_FORMAT_MAGIC_BE) { - value.solana = event.data.subarray(pos, pos + len); - } else if (magic == PARSED_FORMAT_MAGIC) { - value.parsed = JSON.parse( - event.data.subarray(pos + UINT32_NUM_BYTES, pos + len).toString() - ) as ParsedPayload; - } else { - throw new Error("unknown magic: " + magic.toString()); - } - pos += len; - } - handler({ type: "binary", value }); - } else { - throw new TypeError("unexpected event data type"); - } - }); - } - - send(request: Request) { - this.ws.send(JSON.stringify(request)); - } -} +export * from "./client.js"; +export * from "./protocol.js"; +export * from "./ed25519.js"; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e3c1a65a76..3af3ed90d6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -821,16 +821,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.4)(utf-8-validate@5.0.10) + version: 0.9.24(bufferutil@4.0.8)(encoding@0.1.13)(google-protobuf@3.21.4)(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.4) @@ -839,7 +839,7 @@ importers: version: 1.3.0(svelte@4.2.18)(typescript@5.4.5) '@pythnetwork/client': specifier: ^2.22.0 - version: 2.22.0(@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.22.0(@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/cosmwasm-deploy-tools': specifier: workspace:* version: link:../target_chains/cosmwasm/tools @@ -878,10 +878,10 @@ importers: version: link:../governance/xc_admin/packages/xc_admin_common '@solana/web3.js': specifier: 1.92.3 - version: 1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@5.0.10) + 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) '@ton/blueprint': specifier: ^0.22.0 version: 0.22.0(@ton/core@0.59.0(@ton/crypto@3.3.0))(@ton/crypto@3.3.0)(@ton/ton@15.1.0(@ton/core@0.59.0(@ton/crypto@3.3.0))(@ton/crypto@3.3.0))(@types/node@22.8.2)(encoding@0.1.13)(typescript@5.4.5) @@ -926,7 +926,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) @@ -936,7 +936,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 @@ -1522,12 +1522,18 @@ importers: lazer/sdk/js: dependencies: + '@solana/buffer-layout': + specifier: ^4.0.1 + version: 4.0.1 + '@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) isomorphic-ws: specifier: ^5.0.0 - version: 5.0.0(ws@8.18.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)) + version: 5.0.0(ws@8.18.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) ws: specifier: ^8.18.0 - version: 8.18.0(bufferutil@4.0.8)(utf-8-validate@6.0.4) + version: 8.18.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) devDependencies: '@cprussin/eslint-config': specifier: ^3.0.0 @@ -4440,10 +4446,6 @@ packages: resolution: {integrity: sha512-0CX6F+BI2s9dkUqr08KFrAIZgNFj75rdBU/DjCyYLIaV/quFjkk6T+EJ2LkZHyZTbEV4L5p97mNkUsHl2wLFAw==} engines: {node: '>=6.9.0'} - '@babel/runtime@7.25.0': - resolution: {integrity: sha512-7dRy4DwXwtzBrPbZflqxnvfxLF8kdZXPkhymtDeFoFqE6ldzjQFgYTtYIFARcLEYDrqfBfYcZt1WqFxRoyC9Rw==} - engines: {node: '>=6.9.0'} - '@babel/runtime@7.25.7': resolution: {integrity: sha512-FjoyLe754PMiYsFaN5C94ttGiOmBNYTf6pLr4xXHAT5uctHb092PBszndLDR5XA/jghQvn4n7JMHl7dmTgbm9w==} engines: {node: '>=6.9.0'} @@ -27378,10 +27380,6 @@ snapshots: dependencies: regenerator-runtime: 0.14.1 - '@babel/runtime@7.25.0': - dependencies: - regenerator-runtime: 0.14.1 - '@babel/runtime@7.25.7': dependencies: regenerator-runtime: 0.14.1 @@ -27656,15 +27654,15 @@ 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.4)(utf-8-validate@5.0.10)': + '@certusone/wormhole-sdk@0.9.24(bufferutil@4.0.7)(encoding@0.1.13)(google-protobuf@3.21.4)(utf-8-validate@6.0.3)': dependencies: '@certusone/wormhole-sdk-proto-web': 0.0.6(google-protobuf@3.21.4) '@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) + '@coral-xyz/borsh': 0.2.6(@solana/web3.js@1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@6.0.3)) + '@mysten/sui.js': 0.32.2(bufferutil@4.0.7)(utf-8-validate@6.0.3) + '@project-serum/anchor': 0.25.0(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@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@6.0.3))(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@6.0.3) + '@solana/web3.js': 1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@6.0.3) '@terra-money/terra.js': 3.1.9 '@xpla/xpla.js': 0.2.3 algosdk: 2.7.0 @@ -27678,7 +27676,7 @@ snapshots: near-api-js: 1.1.0(encoding@0.1.13) optionalDependencies: '@injectivelabs/networks': 1.10.12(google-protobuf@3.21.4) - '@injectivelabs/sdk-ts': 1.10.72(bufferutil@4.0.7)(utf-8-validate@5.0.10) + '@injectivelabs/sdk-ts': 1.10.72(bufferutil@4.0.7)(utf-8-validate@6.0.3) '@injectivelabs/utils': 1.10.12(google-protobuf@3.21.4) transitivePeerDependencies: - bufferutil @@ -27691,15 +27689,15 @@ 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.4)(utf-8-validate@6.0.3)': + '@certusone/wormhole-sdk@0.9.24(bufferutil@4.0.8)(encoding@0.1.13)(google-protobuf@3.21.4)(utf-8-validate@5.0.10)': dependencies: '@certusone/wormhole-sdk-proto-web': 0.0.6(google-protobuf@3.21.4) '@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@6.0.3)) - '@mysten/sui.js': 0.32.2(bufferutil@4.0.7)(utf-8-validate@6.0.3) - '@project-serum/anchor': 0.25.0(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@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@6.0.3))(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@6.0.3) - '@solana/web3.js': 1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@6.0.3) + '@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)) + '@mysten/sui.js': 0.32.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@project-serum/anchor': 0.25.0(bufferutil@4.0.8)(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.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) + '@solana/web3.js': 1.92.3(bufferutil@4.0.8)(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 @@ -27713,7 +27711,7 @@ snapshots: near-api-js: 1.1.0(encoding@0.1.13) optionalDependencies: '@injectivelabs/networks': 1.10.12(google-protobuf@3.21.4) - '@injectivelabs/sdk-ts': 1.10.72(bufferutil@4.0.7)(utf-8-validate@6.0.3) + '@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) '@injectivelabs/utils': 1.10.12(google-protobuf@3.21.4) transitivePeerDependencies: - bufferutil @@ -27852,27 +27850,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)) @@ -27959,12 +27936,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.7)(encoding@0.1.13)(utf-8-validate@6.0.3))': dependencies: '@solana/web3.js': 1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@6.0.3) @@ -27989,12 +27960,6 @@ 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) @@ -28007,12 +27972,6 @@ snapshots: 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) @@ -28075,6 +28034,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 @@ -28153,17 +28129,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.7)(utf-8-validate@6.0.3)': dependencies: '@cosmjs/stream': 0.30.1 @@ -28216,26 +28181,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.7)(utf-8-validate@6.0.3)': dependencies: '@confio/ics23': 0.6.8 @@ -28354,24 +28299,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.7)(utf-8-validate@6.0.3)': dependencies: '@cosmjs/crypto': 0.30.1 @@ -30713,54 +30640,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.7)(utf-8-validate@6.0.3)': dependencies: '@apollo/client': 3.7.13(graphql@16.6.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -32809,22 +32688,6 @@ snapshots: dependencies: bs58: 6.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.6.0 - '@noble/hashes': 1.5.0 - '@scure/bip32': 1.4.0 - '@scure/bip39': 1.3.0 - '@suchipi/femver': 1.0.0 - jayson: 4.1.1(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.7)(utf-8-validate@6.0.3)': dependencies: '@mysten/bcs': 0.7.1 @@ -33865,28 +33728,6 @@ snapshots: type-fest: 4.26.1 webpack-hot-middleware: 2.26.1 - '@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.7)(encoding@0.1.13)(utf-8-validate@6.0.3)': dependencies: '@project-serum/borsh': 0.2.5(@solana/web3.js@1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@6.0.3)) @@ -33953,12 +33794,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.7)(encoding@0.1.13)(utf-8-validate@6.0.3))': dependencies: '@solana/web3.js': 1.92.3(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@6.0.3) @@ -34017,17 +33852,6 @@ snapshots: - encoding - utf-8-validate - '@pythnetwork/client@2.22.0(@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.22.0(@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) @@ -36484,17 +36308,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.7)(encoding@0.1.13)(utf-8-validate@6.0.3)': dependencies: '@solana/buffer-layout': 4.0.1 @@ -36681,17 +36494,6 @@ snapshots: - typescript - utf-8-validate - '@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.7)(encoding@0.1.13)(utf-8-validate@6.0.3))(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@6.0.3)': dependencies: '@solana/buffer-layout': 4.0.1 @@ -37426,33 +37228,11 @@ 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.25.0 - '@noble/curves': 1.4.2 - '@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.1(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.7)(encoding@0.1.13)(utf-8-validate@6.0.3)': dependencies: - '@babel/runtime': 7.25.0 - '@noble/curves': 1.4.2 - '@noble/hashes': 1.4.0 + '@babel/runtime': 7.25.7 + '@noble/curves': 1.6.0 + '@noble/hashes': 1.5.0 '@solana/buffer-layout': 4.0.1 agentkeepalive: 4.5.0 bigint-buffer: 1.1.5 @@ -37472,9 +37252,9 @@ snapshots: '@solana/web3.js@1.92.3(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10)': dependencies: - '@babel/runtime': 7.25.0 - '@noble/curves': 1.4.2 - '@noble/hashes': 1.4.0 + '@babel/runtime': 7.25.7 + '@noble/curves': 1.6.0 + '@noble/hashes': 1.5.0 '@solana/buffer-layout': 4.0.1 agentkeepalive: 4.5.0 bigint-buffer: 1.1.5 @@ -37494,9 +37274,9 @@ snapshots: '@solana/web3.js@1.92.3(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@6.0.4)': dependencies: - '@babel/runtime': 7.25.0 - '@noble/curves': 1.4.2 - '@noble/hashes': 1.4.0 + '@babel/runtime': 7.25.7 + '@noble/curves': 1.6.0 + '@noble/hashes': 1.5.0 '@solana/buffer-layout': 4.0.1 agentkeepalive: 4.5.0 bigint-buffer: 1.1.5 @@ -37516,9 +37296,9 @@ snapshots: '@solana/web3.js@1.92.3(encoding@0.1.13)': dependencies: - '@babel/runtime': 7.25.0 - '@noble/curves': 1.4.2 - '@noble/hashes': 1.4.0 + '@babel/runtime': 7.25.7 + '@noble/curves': 1.6.0 + '@noble/hashes': 1.5.0 '@solana/buffer-layout': 4.0.1 agentkeepalive: 4.5.0 bigint-buffer: 1.1.5 @@ -37581,16 +37361,6 @@ snapshots: '@solidity-parser/parser@0.17.0': optional: true - '@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) @@ -38498,14 +38268,14 @@ snapshots: bech32: 2.0.0 bip32: 2.0.6 bip39: 3.0.4 - bufferutil: 4.0.7 + bufferutil: 4.0.8 decimal.js: 10.4.3 jscrypto: 1.0.3 readable-stream: 3.6.2 secp256k1: 4.0.3 tmp: 0.2.3 utf-8-validate: 5.0.10 - ws: 7.5.10(bufferutil@4.0.7)(utf-8-validate@5.0.10) + ws: 7.5.10(bufferutil@4.0.8)(utf-8-validate@5.0.10) transitivePeerDependencies: - debug @@ -39657,9 +39427,9 @@ snapshots: '@types/bn.js': 5.1.6 '@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 @@ -42092,7 +41862,7 @@ snapshots: bech32: 2.0.0 bip32: 2.0.6 bip39: 3.0.4 - bufferutil: 4.0.7 + bufferutil: 4.0.8 crypto-addr-codec: 0.1.7 decimal.js: 10.4.3 elliptic: 6.5.6 @@ -42102,7 +41872,7 @@ snapshots: secp256k1: 4.0.3 tmp: 0.2.3 utf-8-validate: 5.0.10 - ws: 7.5.10(bufferutil@4.0.7)(utf-8-validate@5.0.10) + ws: 7.5.10(bufferutil@4.0.8)(utf-8-validate@5.0.10) transitivePeerDependencies: - debug @@ -46984,20 +46754,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.7)(utf-8-validate@6.0.3): dependencies: '@babel/runtime': 7.20.13 @@ -47088,19 +46844,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.6 - 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.7)(utf-8-validate@6.0.3): dependencies: bn.js: 4.12.0 @@ -49624,10 +49367,6 @@ snapshots: dependencies: ws: 8.18.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) - isomorphic-ws@5.0.0(ws@8.18.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)): - dependencies: - ws: 8.18.0(bufferutil@4.0.8)(utf-8-validate@6.0.4) - isows@1.0.3(ws@8.13.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)): dependencies: ws: 8.13.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -49800,24 +49539,6 @@ snapshots: - bufferutil - utf-8-validate - jayson@4.1.1(bufferutil@4.0.7)(utf-8-validate@5.0.10): - dependencies: - '@types/connect': 3.4.38 - '@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.1(bufferutil@4.0.7)(utf-8-validate@6.0.3): dependencies: '@types/connect': 3.4.38 @@ -58092,24 +57813,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.7)(utf-8-validate@6.0.3): dependencies: bluebird: 3.7.2 @@ -60301,21 +60004,21 @@ snapshots: web-vitals@0.2.4: {} - web3-bzz@1.10.0(bufferutil@4.0.7)(utf-8-validate@5.0.10): + web3-bzz@1.10.0(bufferutil@4.0.7)(utf-8-validate@6.0.3): 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) + swarm-js: 0.1.42(bufferutil@4.0.7)(utf-8-validate@6.0.3) transitivePeerDependencies: - bufferutil - supports-color - utf-8-validate - web3-bzz@1.10.0(bufferutil@4.0.7)(utf-8-validate@6.0.3): + web3-bzz@1.10.0(bufferutil@4.0.8)(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@6.0.3) + swarm-js: 0.1.42(bufferutil@4.0.8)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - supports-color @@ -61415,9 +61118,9 @@ 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): + web3@1.10.0(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@6.0.3): dependencies: - web3-bzz: 1.10.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) + web3-bzz: 1.10.0(bufferutil@4.0.7)(utf-8-validate@6.0.3) 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) @@ -61430,9 +61133,9 @@ snapshots: - supports-color - utf-8-validate - web3@1.10.0(bufferutil@4.0.7)(encoding@0.1.13)(utf-8-validate@6.0.3): + 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.7)(utf-8-validate@6.0.3) + web3-bzz: 1.10.0(bufferutil@4.0.8)(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) @@ -61845,15 +61548,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.7)(utf-8-validate@6.0.3): dependencies: async-limiter: 1.0.1