From baf3bcfea263295d6f260a7b8b94385384a9f5d3 Mon Sep 17 00:00:00 2001 From: Kevin Peters Date: Thu, 15 Aug 2024 14:27:49 -0500 Subject: [PATCH] bump solana web3.js package --- package-lock.json | 783 +++++++++++----------------------------------- package.json | 6 +- 2 files changed, 189 insertions(+), 600 deletions(-) diff --git a/package-lock.json b/package-lock.json index cb6bcee32..457b61ca6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ntt", - "version": "0.1.0-beta.0", + "version": "0.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ntt", - "version": "0.1.0-beta.0", + "version": "0.2.0", "license": "Apache-2.0", "workspaces": [ "sdk/definitions", @@ -18,7 +18,7 @@ ], "devDependencies": { "@solana/spl-token": "0.3.9", - "@solana/web3.js": "1.91.7", + "@solana/web3.js": "^1.95.2", "@types/jest": "^29.5.12", "@types/node": "^20.12.2", "@wormhole-foundation/sdk": "^0.10.2", @@ -30,7 +30,7 @@ } }, "cli": { - "version": "0.1.0-beta.0", + "version": "0.2.0", "dependencies": { "yargs": "^17.7.2" }, @@ -76,12 +76,12 @@ }, "evm/ts": { "name": "@wormhole-foundation/sdk-evm-ntt", - "version": "0.1.0-beta.0", + "version": "0.2.0", "license": "Apache-2.0", "dependencies": { "@wormhole-foundation/sdk-base": "^0.10.2", "@wormhole-foundation/sdk-definitions": "^0.10.2", - "@wormhole-foundation/sdk-definitions-ntt": "0.1.0-beta.0", + "@wormhole-foundation/sdk-definitions-ntt": "0.2.0", "@wormhole-foundation/sdk-evm": "^0.10.2", "@wormhole-foundation/sdk-evm-core": "^0.10.2", "ethers": "^6.5.1" @@ -97,7 +97,7 @@ "peerDependencies": { "@wormhole-foundation/sdk-base": "^0.10.2", "@wormhole-foundation/sdk-definitions": "^0.10.2", - "@wormhole-foundation/sdk-definitions-ntt": "0.1.0-beta.0", + "@wormhole-foundation/sdk-definitions-ntt": "0.2.0", "@wormhole-foundation/sdk-evm": "^0.10.2", "@wormhole-foundation/sdk-evm-core": "^0.10.2" } @@ -3319,13 +3319,13 @@ } }, "node_modules/@solana/web3.js": { - "version": "1.91.7", - "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.91.7.tgz", - "integrity": "sha512-HqljZKDwk6Z4TajKRGhGLlRsbGK4S8EY27DA7v1z6yakewiUY3J7ZKDZRxcqz2MYV/ZXRrJ6wnnpiHFkPdv0WA==", + "version": "1.95.2", + "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.95.2.tgz", + "integrity": "sha512-SjlHp0G4qhuhkQQc+YXdGkI8EerCqwxvgytMgBpzMUQTafrkNant3e7pgilBGgjy/iM40ICvWBLgASTPMrQU7w==", "dependencies": { - "@babel/runtime": "^7.23.4", - "@noble/curves": "^1.4.0", - "@noble/hashes": "^1.3.3", + "@babel/runtime": "^7.24.8", + "@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", @@ -3334,10 +3334,76 @@ "bs58": "^4.0.1", "buffer": "6.0.3", "fast-stable-stringify": "^1.0.0", - "jayson": "^4.1.0", + "jayson": "^4.1.1", "node-fetch": "^2.7.0", - "rpc-websockets": "^7.5.1", - "superstruct": "^0.14.2" + "rpc-websockets": "^9.0.2", + "superstruct": "^2.0.2" + } + }, + "node_modules/@solana/web3.js/node_modules/@noble/curves": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.5.0.tgz", + "integrity": "sha512-J5EKamIHnKPyClwVrzmaf5wSdQXgdHcPZIZLu3bwnbeCx8/7NPK5q2ZBWF+5FvYGByjiQQsJYX6jfgB2wDPn3A==", + "dependencies": { + "@noble/hashes": "1.4.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@solana/web3.js/node_modules/@types/ws": { + "version": "8.5.12", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.12.tgz", + "integrity": "sha512-3tPRkv1EtkDpzlgyKyI8pGsGZAGPEaXeu0DOj5DI25Ja91bdAYddYHbADRYVrZMRbfW+1l5YwXVDKohDJNQxkQ==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@solana/web3.js/node_modules/eventemitter3": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", + "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==" + }, + "node_modules/@solana/web3.js/node_modules/rpc-websockets": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/rpc-websockets/-/rpc-websockets-9.0.2.tgz", + "integrity": "sha512-YzggvfItxMY3Lwuax5rC18inhbjJv9Py7JXRHxTIi94JOLrqBsSsUUc5bbl5W6c11tXhdfpDPK0KzBhoGe8jjw==", + "dependencies": { + "@swc/helpers": "^0.5.11", + "@types/uuid": "^8.3.4", + "@types/ws": "^8.2.2", + "buffer": "^6.0.3", + "eventemitter3": "^5.0.1", + "uuid": "^8.3.2", + "ws": "^8.5.0" + }, + "funding": { + "type": "paypal", + "url": "https://paypal.me/kozjak" + }, + "optionalDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + } + }, + "node_modules/@solana/web3.js/node_modules/ws": { + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", + "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } } }, "node_modules/@suchipi/femver": { @@ -3928,491 +3994,107 @@ "resolved": "evm/ts", "link": true }, - "node_modules/@wormhole-foundation/sdk-evm-portico": { - "version": "0.10.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-evm-portico/-/sdk-evm-portico-0.10.2.tgz", - "integrity": "sha512-YZqcenX1GZwlaDKVsLVbkL/3pzfYKjnueSrhZIn1K+te7lpBmhwH6mx94IxUUcNyanwP3SFLYImg+4wQ9GrVmw==", - "dependencies": { - "@wormhole-foundation/sdk-connect": "0.10.2", - "@wormhole-foundation/sdk-evm": "0.10.2", - "@wormhole-foundation/sdk-evm-core": "0.10.2", - "@wormhole-foundation/sdk-evm-tokenbridge": "0.10.2", - "ethers": "^6.5.1" - }, - "engines": { - "node": ">=16" - } - }, - "node_modules/@wormhole-foundation/sdk-evm-tokenbridge": { - "version": "0.10.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-evm-tokenbridge/-/sdk-evm-tokenbridge-0.10.2.tgz", - "integrity": "sha512-mGAOrPiHy1d+NPQhgupvZhea/URu5EvBfrI8Sp441hZoK60XxmUGHfFcwozPVqy9Rj6mbq8VS6PRNNBpakYUug==", - "dependencies": { - "@wormhole-foundation/sdk-connect": "0.10.2", - "@wormhole-foundation/sdk-evm": "0.10.2", - "@wormhole-foundation/sdk-evm-core": "0.10.2", - "ethers": "^6.5.1" - }, - "engines": { - "node": ">=16" - } - }, - "node_modules/@wormhole-foundation/sdk-examples-ntt": { - "resolved": "sdk/examples", - "link": true - }, - "node_modules/@wormhole-foundation/sdk-route-ntt": { - "resolved": "sdk/route", - "link": true - }, - "node_modules/@wormhole-foundation/sdk-solana": { - "version": "0.10.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-solana/-/sdk-solana-0.10.2.tgz", - "integrity": "sha512-FYMHKwkDMFqYjCzrYxNodwvJ0ZkLf4P5Ap0rA4hArKQmY7YCRszCMu8lzzilpGmRlKmnpEtcev6tNGt4hf0ftQ==", - "dependencies": { - "@coral-xyz/anchor": "0.29.0", - "@coral-xyz/borsh": "0.29.0", - "@solana/spl-token": "0.3.9", - "@solana/web3.js": "^1.95.2", - "@wormhole-foundation/sdk-connect": "0.10.2", - "rpc-websockets": "^7.10.0" - }, - "engines": { - "node": ">=16" - } - }, - "node_modules/@wormhole-foundation/sdk-solana-cctp": { - "version": "0.10.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-solana-cctp/-/sdk-solana-cctp-0.10.2.tgz", - "integrity": "sha512-av291Mi8PMWLuVfopeaFjcS3Hd4bqNR2a9U3EJ2Jcsct0nkRclZWU9ADOFp7pRfWO8IuSlRydysjG94nRNSymw==", - "dependencies": { - "@coral-xyz/anchor": "0.29.0", - "@solana/spl-token": "0.3.9", - "@solana/web3.js": "^1.95.2", - "@wormhole-foundation/sdk-connect": "0.10.2", - "@wormhole-foundation/sdk-solana": "0.10.2" - }, - "engines": { - "node": ">=16" - } - }, - "node_modules/@wormhole-foundation/sdk-solana-cctp/node_modules/@noble/curves": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.5.0.tgz", - "integrity": "sha512-J5EKamIHnKPyClwVrzmaf5wSdQXgdHcPZIZLu3bwnbeCx8/7NPK5q2ZBWF+5FvYGByjiQQsJYX6jfgB2wDPn3A==", - "dependencies": { - "@noble/hashes": "1.4.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@wormhole-foundation/sdk-solana-cctp/node_modules/@solana/web3.js": { - "version": "1.95.2", - "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.95.2.tgz", - "integrity": "sha512-SjlHp0G4qhuhkQQc+YXdGkI8EerCqwxvgytMgBpzMUQTafrkNant3e7pgilBGgjy/iM40ICvWBLgASTPMrQU7w==", - "dependencies": { - "@babel/runtime": "^7.24.8", - "@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", - "node-fetch": "^2.7.0", - "rpc-websockets": "^9.0.2", - "superstruct": "^2.0.2" - } - }, - "node_modules/@wormhole-foundation/sdk-solana-cctp/node_modules/@types/ws": { - "version": "8.5.12", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.12.tgz", - "integrity": "sha512-3tPRkv1EtkDpzlgyKyI8pGsGZAGPEaXeu0DOj5DI25Ja91bdAYddYHbADRYVrZMRbfW+1l5YwXVDKohDJNQxkQ==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@wormhole-foundation/sdk-solana-cctp/node_modules/eventemitter3": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", - "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==" - }, - "node_modules/@wormhole-foundation/sdk-solana-cctp/node_modules/rpc-websockets": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/rpc-websockets/-/rpc-websockets-9.0.2.tgz", - "integrity": "sha512-YzggvfItxMY3Lwuax5rC18inhbjJv9Py7JXRHxTIi94JOLrqBsSsUUc5bbl5W6c11tXhdfpDPK0KzBhoGe8jjw==", - "dependencies": { - "@swc/helpers": "^0.5.11", - "@types/uuid": "^8.3.4", - "@types/ws": "^8.2.2", - "buffer": "^6.0.3", - "eventemitter3": "^5.0.1", - "uuid": "^8.3.2", - "ws": "^8.5.0" - }, - "funding": { - "type": "paypal", - "url": "https://paypal.me/kozjak" - }, - "optionalDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - } - }, - "node_modules/@wormhole-foundation/sdk-solana-cctp/node_modules/superstruct": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-2.0.2.tgz", - "integrity": "sha512-uV+TFRZdXsqXTL2pRvujROjdZQ4RAlBUS5BTh9IGm+jTqQntYThciG/qu57Gs69yjnVUSqdxF9YLmSnpupBW9A==", - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@wormhole-foundation/sdk-solana-cctp/node_modules/ws": { - "version": "8.18.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", - "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": ">=5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, - "node_modules/@wormhole-foundation/sdk-solana-core": { - "version": "0.10.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-solana-core/-/sdk-solana-core-0.10.2.tgz", - "integrity": "sha512-X504AVGcJ0eV4v3s6GAxjOLfcu4giaXFonHYu/ag1HUjZGOLRU6qlhW4ib+Fh4HpixnC8CyEzVT3V1JE6UosSQ==", - "dependencies": { - "@coral-xyz/anchor": "0.29.0", - "@coral-xyz/borsh": "0.29.0", - "@solana/web3.js": "^1.95.2", - "@wormhole-foundation/sdk-connect": "0.10.2", - "@wormhole-foundation/sdk-solana": "0.10.2" - }, - "engines": { - "node": ">=16" - } - }, - "node_modules/@wormhole-foundation/sdk-solana-core/node_modules/@noble/curves": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.5.0.tgz", - "integrity": "sha512-J5EKamIHnKPyClwVrzmaf5wSdQXgdHcPZIZLu3bwnbeCx8/7NPK5q2ZBWF+5FvYGByjiQQsJYX6jfgB2wDPn3A==", - "dependencies": { - "@noble/hashes": "1.4.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@wormhole-foundation/sdk-solana-core/node_modules/@solana/web3.js": { - "version": "1.95.2", - "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.95.2.tgz", - "integrity": "sha512-SjlHp0G4qhuhkQQc+YXdGkI8EerCqwxvgytMgBpzMUQTafrkNant3e7pgilBGgjy/iM40ICvWBLgASTPMrQU7w==", - "dependencies": { - "@babel/runtime": "^7.24.8", - "@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", - "node-fetch": "^2.7.0", - "rpc-websockets": "^9.0.2", - "superstruct": "^2.0.2" - } - }, - "node_modules/@wormhole-foundation/sdk-solana-core/node_modules/@types/ws": { - "version": "8.5.12", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.12.tgz", - "integrity": "sha512-3tPRkv1EtkDpzlgyKyI8pGsGZAGPEaXeu0DOj5DI25Ja91bdAYddYHbADRYVrZMRbfW+1l5YwXVDKohDJNQxkQ==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@wormhole-foundation/sdk-solana-core/node_modules/eventemitter3": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", - "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==" - }, - "node_modules/@wormhole-foundation/sdk-solana-core/node_modules/rpc-websockets": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/rpc-websockets/-/rpc-websockets-9.0.2.tgz", - "integrity": "sha512-YzggvfItxMY3Lwuax5rC18inhbjJv9Py7JXRHxTIi94JOLrqBsSsUUc5bbl5W6c11tXhdfpDPK0KzBhoGe8jjw==", - "dependencies": { - "@swc/helpers": "^0.5.11", - "@types/uuid": "^8.3.4", - "@types/ws": "^8.2.2", - "buffer": "^6.0.3", - "eventemitter3": "^5.0.1", - "uuid": "^8.3.2", - "ws": "^8.5.0" - }, - "funding": { - "type": "paypal", - "url": "https://paypal.me/kozjak" - }, - "optionalDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - } - }, - "node_modules/@wormhole-foundation/sdk-solana-core/node_modules/superstruct": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-2.0.2.tgz", - "integrity": "sha512-uV+TFRZdXsqXTL2pRvujROjdZQ4RAlBUS5BTh9IGm+jTqQntYThciG/qu57Gs69yjnVUSqdxF9YLmSnpupBW9A==", - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@wormhole-foundation/sdk-solana-core/node_modules/ws": { - "version": "8.18.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", - "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": ">=5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, - "node_modules/@wormhole-foundation/sdk-solana-ntt": { - "resolved": "solana", - "link": true - }, - "node_modules/@wormhole-foundation/sdk-solana-tokenbridge": { - "version": "0.10.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-solana-tokenbridge/-/sdk-solana-tokenbridge-0.10.2.tgz", - "integrity": "sha512-XQlEzy6bBqDSW0URiYvbaiCSY3EK/KzxeAO5pxGzhMVfj5+6+RYmBQlEwJNin+jSau4eSPDc+fDt6ja8pXiEIA==", - "dependencies": { - "@coral-xyz/anchor": "0.29.0", - "@solana/spl-token": "0.3.9", - "@solana/web3.js": "^1.95.2", - "@wormhole-foundation/sdk-connect": "0.10.2", - "@wormhole-foundation/sdk-solana": "0.10.2", - "@wormhole-foundation/sdk-solana-core": "0.10.2" - }, - "engines": { - "node": ">=16" - } - }, - "node_modules/@wormhole-foundation/sdk-solana-tokenbridge/node_modules/@noble/curves": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.5.0.tgz", - "integrity": "sha512-J5EKamIHnKPyClwVrzmaf5wSdQXgdHcPZIZLu3bwnbeCx8/7NPK5q2ZBWF+5FvYGByjiQQsJYX6jfgB2wDPn3A==", - "dependencies": { - "@noble/hashes": "1.4.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@wormhole-foundation/sdk-solana-tokenbridge/node_modules/@solana/web3.js": { - "version": "1.95.2", - "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.95.2.tgz", - "integrity": "sha512-SjlHp0G4qhuhkQQc+YXdGkI8EerCqwxvgytMgBpzMUQTafrkNant3e7pgilBGgjy/iM40ICvWBLgASTPMrQU7w==", - "dependencies": { - "@babel/runtime": "^7.24.8", - "@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", - "node-fetch": "^2.7.0", - "rpc-websockets": "^9.0.2", - "superstruct": "^2.0.2" - } - }, - "node_modules/@wormhole-foundation/sdk-solana-tokenbridge/node_modules/@types/ws": { - "version": "8.5.12", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.12.tgz", - "integrity": "sha512-3tPRkv1EtkDpzlgyKyI8pGsGZAGPEaXeu0DOj5DI25Ja91bdAYddYHbADRYVrZMRbfW+1l5YwXVDKohDJNQxkQ==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@wormhole-foundation/sdk-solana-tokenbridge/node_modules/eventemitter3": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", - "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==" - }, - "node_modules/@wormhole-foundation/sdk-solana-tokenbridge/node_modules/rpc-websockets": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/rpc-websockets/-/rpc-websockets-9.0.2.tgz", - "integrity": "sha512-YzggvfItxMY3Lwuax5rC18inhbjJv9Py7JXRHxTIi94JOLrqBsSsUUc5bbl5W6c11tXhdfpDPK0KzBhoGe8jjw==", - "dependencies": { - "@swc/helpers": "^0.5.11", - "@types/uuid": "^8.3.4", - "@types/ws": "^8.2.2", - "buffer": "^6.0.3", - "eventemitter3": "^5.0.1", - "uuid": "^8.3.2", - "ws": "^8.5.0" - }, - "funding": { - "type": "paypal", - "url": "https://paypal.me/kozjak" - }, - "optionalDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - } - }, - "node_modules/@wormhole-foundation/sdk-solana-tokenbridge/node_modules/superstruct": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-2.0.2.tgz", - "integrity": "sha512-uV+TFRZdXsqXTL2pRvujROjdZQ4RAlBUS5BTh9IGm+jTqQntYThciG/qu57Gs69yjnVUSqdxF9YLmSnpupBW9A==", - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@wormhole-foundation/sdk-solana-tokenbridge/node_modules/ws": { - "version": "8.18.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", - "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": ">=5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, - "node_modules/@wormhole-foundation/sdk-solana/node_modules/@noble/curves": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.5.0.tgz", - "integrity": "sha512-J5EKamIHnKPyClwVrzmaf5wSdQXgdHcPZIZLu3bwnbeCx8/7NPK5q2ZBWF+5FvYGByjiQQsJYX6jfgB2wDPn3A==", + "node_modules/@wormhole-foundation/sdk-evm-portico": { + "version": "0.10.2", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-evm-portico/-/sdk-evm-portico-0.10.2.tgz", + "integrity": "sha512-YZqcenX1GZwlaDKVsLVbkL/3pzfYKjnueSrhZIn1K+te7lpBmhwH6mx94IxUUcNyanwP3SFLYImg+4wQ9GrVmw==", "dependencies": { - "@noble/hashes": "1.4.0" + "@wormhole-foundation/sdk-connect": "0.10.2", + "@wormhole-foundation/sdk-evm": "0.10.2", + "@wormhole-foundation/sdk-evm-core": "0.10.2", + "@wormhole-foundation/sdk-evm-tokenbridge": "0.10.2", + "ethers": "^6.5.1" }, - "funding": { - "url": "https://paulmillr.com/funding/" + "engines": { + "node": ">=16" } }, - "node_modules/@wormhole-foundation/sdk-solana/node_modules/@solana/web3.js": { - "version": "1.95.2", - "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.95.2.tgz", - "integrity": "sha512-SjlHp0G4qhuhkQQc+YXdGkI8EerCqwxvgytMgBpzMUQTafrkNant3e7pgilBGgjy/iM40ICvWBLgASTPMrQU7w==", + "node_modules/@wormhole-foundation/sdk-evm-tokenbridge": { + "version": "0.10.2", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-evm-tokenbridge/-/sdk-evm-tokenbridge-0.10.2.tgz", + "integrity": "sha512-mGAOrPiHy1d+NPQhgupvZhea/URu5EvBfrI8Sp441hZoK60XxmUGHfFcwozPVqy9Rj6mbq8VS6PRNNBpakYUug==", "dependencies": { - "@babel/runtime": "^7.24.8", - "@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", - "node-fetch": "^2.7.0", - "rpc-websockets": "^9.0.2", - "superstruct": "^2.0.2" + "@wormhole-foundation/sdk-connect": "0.10.2", + "@wormhole-foundation/sdk-evm": "0.10.2", + "@wormhole-foundation/sdk-evm-core": "0.10.2", + "ethers": "^6.5.1" + }, + "engines": { + "node": ">=16" } }, - "node_modules/@wormhole-foundation/sdk-solana/node_modules/@solana/web3.js/node_modules/rpc-websockets": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/rpc-websockets/-/rpc-websockets-9.0.2.tgz", - "integrity": "sha512-YzggvfItxMY3Lwuax5rC18inhbjJv9Py7JXRHxTIi94JOLrqBsSsUUc5bbl5W6c11tXhdfpDPK0KzBhoGe8jjw==", + "node_modules/@wormhole-foundation/sdk-examples-ntt": { + "resolved": "sdk/examples", + "link": true + }, + "node_modules/@wormhole-foundation/sdk-route-ntt": { + "resolved": "sdk/route", + "link": true + }, + "node_modules/@wormhole-foundation/sdk-solana": { + "version": "0.10.2", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-solana/-/sdk-solana-0.10.2.tgz", + "integrity": "sha512-FYMHKwkDMFqYjCzrYxNodwvJ0ZkLf4P5Ap0rA4hArKQmY7YCRszCMu8lzzilpGmRlKmnpEtcev6tNGt4hf0ftQ==", "dependencies": { - "@swc/helpers": "^0.5.11", - "@types/uuid": "^8.3.4", - "@types/ws": "^8.2.2", - "buffer": "^6.0.3", - "eventemitter3": "^5.0.1", - "uuid": "^8.3.2", - "ws": "^8.5.0" - }, - "funding": { - "type": "paypal", - "url": "https://paypal.me/kozjak" + "@coral-xyz/anchor": "0.29.0", + "@coral-xyz/borsh": "0.29.0", + "@solana/spl-token": "0.3.9", + "@solana/web3.js": "^1.95.2", + "@wormhole-foundation/sdk-connect": "0.10.2", + "rpc-websockets": "^7.10.0" }, - "optionalDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "engines": { + "node": ">=16" } }, - "node_modules/@wormhole-foundation/sdk-solana/node_modules/@types/ws": { - "version": "8.5.12", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.12.tgz", - "integrity": "sha512-3tPRkv1EtkDpzlgyKyI8pGsGZAGPEaXeu0DOj5DI25Ja91bdAYddYHbADRYVrZMRbfW+1l5YwXVDKohDJNQxkQ==", + "node_modules/@wormhole-foundation/sdk-solana-cctp": { + "version": "0.10.2", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-solana-cctp/-/sdk-solana-cctp-0.10.2.tgz", + "integrity": "sha512-av291Mi8PMWLuVfopeaFjcS3Hd4bqNR2a9U3EJ2Jcsct0nkRclZWU9ADOFp7pRfWO8IuSlRydysjG94nRNSymw==", "dependencies": { - "@types/node": "*" + "@coral-xyz/anchor": "0.29.0", + "@solana/spl-token": "0.3.9", + "@solana/web3.js": "^1.95.2", + "@wormhole-foundation/sdk-connect": "0.10.2", + "@wormhole-foundation/sdk-solana": "0.10.2" + }, + "engines": { + "node": ">=16" } }, - "node_modules/@wormhole-foundation/sdk-solana/node_modules/eventemitter3": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", - "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==" - }, - "node_modules/@wormhole-foundation/sdk-solana/node_modules/superstruct": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-2.0.2.tgz", - "integrity": "sha512-uV+TFRZdXsqXTL2pRvujROjdZQ4RAlBUS5BTh9IGm+jTqQntYThciG/qu57Gs69yjnVUSqdxF9YLmSnpupBW9A==", + "node_modules/@wormhole-foundation/sdk-solana-core": { + "version": "0.10.2", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-solana-core/-/sdk-solana-core-0.10.2.tgz", + "integrity": "sha512-X504AVGcJ0eV4v3s6GAxjOLfcu4giaXFonHYu/ag1HUjZGOLRU6qlhW4ib+Fh4HpixnC8CyEzVT3V1JE6UosSQ==", + "dependencies": { + "@coral-xyz/anchor": "0.29.0", + "@coral-xyz/borsh": "0.29.0", + "@solana/web3.js": "^1.95.2", + "@wormhole-foundation/sdk-connect": "0.10.2", + "@wormhole-foundation/sdk-solana": "0.10.2" + }, "engines": { - "node": ">=14.0.0" + "node": ">=16" } }, - "node_modules/@wormhole-foundation/sdk-solana/node_modules/ws": { - "version": "8.18.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", - "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": ">=5.0.2" + "node_modules/@wormhole-foundation/sdk-solana-ntt": { + "resolved": "solana", + "link": true + }, + "node_modules/@wormhole-foundation/sdk-solana-tokenbridge": { + "version": "0.10.2", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-solana-tokenbridge/-/sdk-solana-tokenbridge-0.10.2.tgz", + "integrity": "sha512-XQlEzy6bBqDSW0URiYvbaiCSY3EK/KzxeAO5pxGzhMVfj5+6+RYmBQlEwJNin+jSau4eSPDc+fDt6ja8pXiEIA==", + "dependencies": { + "@coral-xyz/anchor": "0.29.0", + "@solana/spl-token": "0.3.9", + "@solana/web3.js": "^1.95.2", + "@wormhole-foundation/sdk-connect": "0.10.2", + "@wormhole-foundation/sdk-solana": "0.10.2", + "@wormhole-foundation/sdk-solana-core": "0.10.2" }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } + "engines": { + "node": ">=16" } }, "node_modules/@wormhole-foundation/sdk-sui": { @@ -12004,9 +11686,12 @@ } }, "node_modules/superstruct": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-0.14.2.tgz", - "integrity": "sha512-nPewA6m9mR3d6k7WkZ8N8zpTWfenFH3q9pA2PkuiZxINr9DKB2+40wEQf0ixn8VaGuJ78AB6iWOtStI+/4FKZQ==" + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-2.0.2.tgz", + "integrity": "sha512-uV+TFRZdXsqXTL2pRvujROjdZQ4RAlBUS5BTh9IGm+jTqQntYThciG/qu57Gs69yjnVUSqdxF9YLmSnpupBW9A==", + "engines": { + "node": ">=14.0.0" + } }, "node_modules/supports-color": { "version": "7.2.0", @@ -13073,7 +12758,7 @@ }, "sdk/definitions": { "name": "@wormhole-foundation/sdk-definitions-ntt", - "version": "0.1.0-beta.0", + "version": "0.2.0", "dependencies": { "@wormhole-foundation/sdk-base": "^0.10.2", "@wormhole-foundation/sdk-definitions": "^0.10.2" @@ -13106,14 +12791,14 @@ }, "sdk/examples": { "name": "@wormhole-foundation/sdk-examples-ntt", - "version": "0.1.0-beta.0", + "version": "0.2.0", "license": "Apache-2.0", "dependencies": { "@wormhole-foundation/sdk": "^0.10.2", - "@wormhole-foundation/sdk-definitions-ntt": "0.1.0-beta.0", - "@wormhole-foundation/sdk-evm-ntt": "0.1.0-beta.0", - "@wormhole-foundation/sdk-route-ntt": "0.1.0-beta.0", - "@wormhole-foundation/sdk-solana-ntt": "0.1.0-beta.0" + "@wormhole-foundation/sdk-definitions-ntt": "0.2.0", + "@wormhole-foundation/sdk-evm-ntt": "0.2.0", + "@wormhole-foundation/sdk-route-ntt": "0.2.0", + "@wormhole-foundation/sdk-solana-ntt": "0.2.0" }, "devDependencies": { "dotenv": "^16.4.5", @@ -13139,13 +12824,13 @@ }, "sdk/route": { "name": "@wormhole-foundation/sdk-route-ntt", - "version": "0.1.0-beta.0", + "version": "0.2.0", "license": "Apache-2.0", "dependencies": { "@wormhole-foundation/sdk-connect": "^0.10.2", - "@wormhole-foundation/sdk-definitions-ntt": "0.1.0-beta.0", - "@wormhole-foundation/sdk-evm-ntt": "0.1.0-beta.0", - "@wormhole-foundation/sdk-solana-ntt": "0.1.0-beta.0" + "@wormhole-foundation/sdk-definitions-ntt": "0.2.0", + "@wormhole-foundation/sdk-evm-ntt": "0.2.0", + "@wormhole-foundation/sdk-solana-ntt": "0.2.0" }, "devDependencies": { "nock": "^13.3.3", @@ -13157,14 +12842,14 @@ }, "peerDependencies": { "@wormhole-foundation/sdk-connect": "^0.10.2", - "@wormhole-foundation/sdk-definitions-ntt": "0.1.0-beta.0", - "@wormhole-foundation/sdk-evm-ntt": "0.1.0-beta.0", - "@wormhole-foundation/sdk-solana-ntt": "0.1.0-beta.0" + "@wormhole-foundation/sdk-definitions-ntt": "0.2.0", + "@wormhole-foundation/sdk-evm-ntt": "0.2.0", + "@wormhole-foundation/sdk-solana-ntt": "0.2.0" } }, "solana": { "name": "@wormhole-foundation/sdk-solana-ntt", - "version": "0.1.0-beta.0", + "version": "0.2.0", "license": "Apache-2.0", "dependencies": { "@coral-xyz/anchor": "0.29.0", @@ -13190,22 +12875,11 @@ "peerDependencies": { "@wormhole-foundation/sdk-base": "^0.10.2", "@wormhole-foundation/sdk-definitions": "^0.10.2", - "@wormhole-foundation/sdk-definitions-ntt": "0.1.0-beta.0", + "@wormhole-foundation/sdk-definitions-ntt": "0.2.0", "@wormhole-foundation/sdk-solana": "^0.10.2", "@wormhole-foundation/sdk-solana-core": "^0.10.2" } }, - "solana/node_modules/@noble/curves": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.5.0.tgz", - "integrity": "sha512-J5EKamIHnKPyClwVrzmaf5wSdQXgdHcPZIZLu3bwnbeCx8/7NPK5q2ZBWF+5FvYGByjiQQsJYX6jfgB2wDPn3A==", - "dependencies": { - "@noble/hashes": "1.4.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, "solana/node_modules/@solana/codecs-core": { "version": "2.0.0-experimental.8618508", "license": "MIT" @@ -13288,95 +12962,10 @@ "node": ">=16" } }, - "solana/node_modules/@solana/web3.js": { - "version": "1.95.2", - "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.95.2.tgz", - "integrity": "sha512-SjlHp0G4qhuhkQQc+YXdGkI8EerCqwxvgytMgBpzMUQTafrkNant3e7pgilBGgjy/iM40ICvWBLgASTPMrQU7w==", - "dependencies": { - "@babel/runtime": "^7.24.8", - "@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", - "node-fetch": "^2.7.0", - "rpc-websockets": "^9.0.2", - "superstruct": "^2.0.2" - } - }, - "solana/node_modules/@types/ws": { - "version": "8.5.12", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.12.tgz", - "integrity": "sha512-3tPRkv1EtkDpzlgyKyI8pGsGZAGPEaXeu0DOj5DI25Ja91bdAYddYHbADRYVrZMRbfW+1l5YwXVDKohDJNQxkQ==", - "dependencies": { - "@types/node": "*" - } - }, - "solana/node_modules/eventemitter3": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", - "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==" - }, "solana/node_modules/fastestsmallesttextencoderdecoder": { "version": "1.0.22", "license": "CC0-1.0", "peer": true - }, - "solana/node_modules/rpc-websockets": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/rpc-websockets/-/rpc-websockets-9.0.2.tgz", - "integrity": "sha512-YzggvfItxMY3Lwuax5rC18inhbjJv9Py7JXRHxTIi94JOLrqBsSsUUc5bbl5W6c11tXhdfpDPK0KzBhoGe8jjw==", - "dependencies": { - "@swc/helpers": "^0.5.11", - "@types/uuid": "^8.3.4", - "@types/ws": "^8.2.2", - "buffer": "^6.0.3", - "eventemitter3": "^5.0.1", - "uuid": "^8.3.2", - "ws": "^8.5.0" - }, - "funding": { - "type": "paypal", - "url": "https://paypal.me/kozjak" - }, - "optionalDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - } - }, - "solana/node_modules/superstruct": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-2.0.2.tgz", - "integrity": "sha512-uV+TFRZdXsqXTL2pRvujROjdZQ4RAlBUS5BTh9IGm+jTqQntYThciG/qu57Gs69yjnVUSqdxF9YLmSnpupBW9A==", - "engines": { - "node": ">=14.0.0" - } - }, - "solana/node_modules/ws": { - "version": "8.18.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", - "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": ">=5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } } } } diff --git a/package.json b/package.json index b4d725ec8..ffa452f81 100644 --- a/package.json +++ b/package.json @@ -17,11 +17,11 @@ "version": "tsx setSdkVersion.ts" }, "devDependencies": { - "@wormhole-foundation/sdk": "^0.10.2", "@solana/spl-token": "0.3.9", - "@solana/web3.js": "1.91.7", + "@solana/web3.js": "^1.95.2", "@types/jest": "^29.5.12", "@types/node": "^20.12.2", + "@wormhole-foundation/sdk": "^0.10.2", "@wormhole-foundation/wormchain-sdk": "^0.0.1", "ethers": "^6.5.1", "ts-jest": "^29.1.2", @@ -36,4 +36,4 @@ "sdk/examples", "cli" ] -} \ No newline at end of file +}