From c29a68c67e500f326bf385d9d60597168123f884 Mon Sep 17 00:00:00 2001 From: A5 Pickle Date: Mon, 7 Oct 2024 16:23:49 -0500 Subject: [PATCH] upgrade wormhole sdk deps --- evm/package.json | 8 +- package-lock.json | 256 ++++++++++++++++++++++++++++---------- solana/package.json | 10 +- universal/ts/package.json | 16 +-- 4 files changed, 209 insertions(+), 81 deletions(-) diff --git a/evm/package.json b/evm/package.json index e2462784..c3a1b3cb 100644 --- a/evm/package.json +++ b/evm/package.json @@ -30,20 +30,20 @@ } }, "dependencies": { - "@wormhole-foundation/sdk-base": "^0.7.0-beta.6", - "@wormhole-foundation/sdk-definitions": "^0.7.0-beta.6", - "@wormhole-foundation/sdk-evm": "^0.7.0-beta.6", "@wormhole-foundation/example-liquidity-layer-definitions": "0.0.1", + "@wormhole-foundation/sdk-base": "^0.10.9", + "@wormhole-foundation/sdk-definitions": "^0.10.9", + "@wormhole-foundation/sdk-evm": "^0.10.9", "ethers": "^5.7.2" }, "devDependencies": { - "envfile": "^7.1.0", "@typechain/ethers-v5": "^10.2.0", "@types/chai": "^4.3.4", "@types/mocha": "^10.0.1", "@types/node": "^18.14.5", "chai": "^4.3.7", "dotenv": "^16.3.1", + "envfile": "^7.1.0", "mocha": "^10.0.0", "prettier": "^2.8.7", "prettier-plugin-solidity": "^1.1.3", diff --git a/package-lock.json b/package-lock.json index c1ce12f2..00e632be 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,9 +24,9 @@ "license": "Apache-2.0", "dependencies": { "@wormhole-foundation/example-liquidity-layer-definitions": "0.0.1", - "@wormhole-foundation/sdk-base": "^0.7.0-beta.6", - "@wormhole-foundation/sdk-definitions": "^0.7.0-beta.6", - "@wormhole-foundation/sdk-evm": "^0.7.0-beta.6", + "@wormhole-foundation/sdk-base": "^0.10.9", + "@wormhole-foundation/sdk-definitions": "^0.10.9", + "@wormhole-foundation/sdk-evm": "^0.10.9", "ethers": "^5.7.2" }, "devDependencies": { @@ -44,6 +44,24 @@ "typechain": "^8.1.1" } }, + "evm/node_modules/@wormhole-foundation/sdk-base": { + "version": "0.10.9", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-base/-/sdk-base-0.10.9.tgz", + "integrity": "sha512-E56Z7FK1swrHvBvDOgWZBLDcyijpGB27dw10ZAZgesHksTBCIS4ehJY9b2qulo19R3fxRW/reKYzAmjxkpI+sg==", + "dependencies": { + "@scure/base": "^1.1.3" + } + }, + "evm/node_modules/@wormhole-foundation/sdk-definitions": { + "version": "0.10.9", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-definitions/-/sdk-definitions-0.10.9.tgz", + "integrity": "sha512-9lbMpvcaBL9a2eoyfJ5gauFREO0hqYw+Nplc3L6qzckB/2Sc0nE0vYDRyL+OwaRT4BUffmWOaUukBEDqbc1sGQ==", + "dependencies": { + "@noble/curves": "^1.4.0", + "@noble/hashes": "^1.3.1", + "@wormhole-foundation/sdk-base": "0.10.9" + } + }, "evm/node_modules/envfile": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/envfile/-/envfile-7.1.0.tgz", @@ -675,25 +693,6 @@ "hash.js": "1.1.7" } }, - "node_modules/@ethersproject/signing-key/node_modules/elliptic": { - "version": "6.5.4", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", - "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", - "dependencies": { - "bn.js": "^4.11.9", - "brorand": "^1.1.0", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.1", - "inherits": "^2.0.4", - "minimalistic-assert": "^1.0.1", - "minimalistic-crypto-utils": "^1.0.1" - } - }, - "node_modules/@ethersproject/signing-key/node_modules/elliptic/node_modules/bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" - }, "node_modules/@ethersproject/solidity": { "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/solidity/-/solidity-5.7.0.tgz", @@ -860,9 +859,9 @@ } }, "node_modules/@grpc/grpc-js": { - "version": "1.10.8", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.10.8.tgz", - "integrity": "sha512-vYVqYzHicDqyKB+NQhAc54I1QWCBLCrYG6unqOIcBTHx+7x8C9lcoLj3KVJXs2VB4lUbpWY+Kk9NipcbXYWmvg==", + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.12.0.tgz", + "integrity": "sha512-eWdP97A6xKtZXVP/ze9y8zYRB2t6ugQAuLXFuZXAsyqmyltaAjl4yPkmIfc0wuTFJMOUF1AdvIFQCL7fMtaX6g==", "dependencies": { "@grpc/proto-loader": "^0.7.13", "@js-sdsl/ordered-map": "^4.4.2" @@ -1335,18 +1334,36 @@ } }, "node_modules/@wormhole-foundation/sdk-connect": { - "version": "0.7.0-beta.6", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-connect/-/sdk-connect-0.7.0-beta.6.tgz", - "integrity": "sha512-ydoUboOJn8F+PhCCC8ZPzlMolBthjwG6orsyvGzkOj+c4gxCXgh/7DghognUkMTjTIUBwkZLURibbgaCvYwFBg==", + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-connect/-/sdk-connect-0.7.2.tgz", + "integrity": "sha512-QV6jkiZ2VycEUhraRmaD5QbjI1vT/bzZ/6mwwWVThA9o9jUnazMN1oBGhv5NHho1rCERhD1jA+KDXzoht6Mdcw==", "dependencies": { - "@wormhole-foundation/sdk-base": "0.7.0-beta.6", - "@wormhole-foundation/sdk-definitions": "0.7.0-beta.6", + "@wormhole-foundation/sdk-base": "0.7.2", + "@wormhole-foundation/sdk-definitions": "0.7.2", "axios": "^1.4.0" }, "engines": { "node": ">=16" } }, + "node_modules/@wormhole-foundation/sdk-connect/node_modules/@wormhole-foundation/sdk-base": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-base/-/sdk-base-0.7.2.tgz", + "integrity": "sha512-umPhwvEUOJJPQYzyLYDSnuKbdOBd0KH/7ZQDsxtrlKpQcm0AL4LU9k3tM+juCSLPQ6VU0EnXgYQnYxmV1sGsMw==", + "dependencies": { + "@scure/base": "^1.1.3" + } + }, + "node_modules/@wormhole-foundation/sdk-connect/node_modules/@wormhole-foundation/sdk-definitions": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-definitions/-/sdk-definitions-0.7.2.tgz", + "integrity": "sha512-oVvE/cSq5eMJPI+f7i3CfZZxrO+llAN0QMTmMzns3OFPU0a0PAy0Cu/lNTXjuqApkpMTQI4iaWks7KL3A5rbgQ==", + "dependencies": { + "@noble/curves": "^1.4.0", + "@noble/hashes": "^1.3.1", + "@wormhole-foundation/sdk-base": "0.7.2" + } + }, "node_modules/@wormhole-foundation/sdk-definitions": { "version": "0.7.0-beta.6", "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-definitions/-/sdk-definitions-0.7.0-beta.6.tgz", @@ -1358,11 +1375,11 @@ } }, "node_modules/@wormhole-foundation/sdk-evm": { - "version": "0.7.0-beta.6", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-evm/-/sdk-evm-0.7.0-beta.6.tgz", - "integrity": "sha512-JXUvnWjngVtBCwFC41fTo4xO7vHb39KSsIUgE/UAcPFscoVv9DmktGR8jDm0jLXri4pUqaXLFEDO6K7AABjB6A==", + "version": "0.10.9", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-evm/-/sdk-evm-0.10.9.tgz", + "integrity": "sha512-AM66hZHMAvggv9GwOdyep5AOT0M6JTJ415c+ksmdSw7egyVGwAXWl0khfJE1BHQDDAIsmJaTtPINQwdaki+4Yw==", "dependencies": { - "@wormhole-foundation/sdk-connect": "0.7.0-beta.6", + "@wormhole-foundation/sdk-connect": "0.10.9", "ethers": "^6.5.1" }, "engines": { @@ -1396,15 +1413,71 @@ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" }, + "node_modules/@wormhole-foundation/sdk-evm/node_modules/@wormhole-foundation/sdk-base": { + "version": "0.10.9", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-base/-/sdk-base-0.10.9.tgz", + "integrity": "sha512-E56Z7FK1swrHvBvDOgWZBLDcyijpGB27dw10ZAZgesHksTBCIS4ehJY9b2qulo19R3fxRW/reKYzAmjxkpI+sg==", + "dependencies": { + "@scure/base": "^1.1.3" + } + }, + "node_modules/@wormhole-foundation/sdk-evm/node_modules/@wormhole-foundation/sdk-connect": { + "version": "0.10.9", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-connect/-/sdk-connect-0.10.9.tgz", + "integrity": "sha512-UCneSFMDho3p3rUFoxpDV+9zutJWcQJJ78RLLpjya0EivNy2AMTFWbP0sQdx+3kHw0MIJM/JtsUoUhPZZKeD/w==", + "dependencies": { + "@wormhole-foundation/sdk-base": "0.10.9", + "@wormhole-foundation/sdk-definitions": "0.10.9", + "axios": "^1.4.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@wormhole-foundation/sdk-evm/node_modules/@wormhole-foundation/sdk-definitions": { + "version": "0.10.9", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-definitions/-/sdk-definitions-0.10.9.tgz", + "integrity": "sha512-9lbMpvcaBL9a2eoyfJ5gauFREO0hqYw+Nplc3L6qzckB/2Sc0nE0vYDRyL+OwaRT4BUffmWOaUukBEDqbc1sGQ==", + "dependencies": { + "@noble/curves": "^1.4.0", + "@noble/hashes": "^1.3.1", + "@wormhole-foundation/sdk-base": "0.10.9" + } + }, + "node_modules/@wormhole-foundation/sdk-evm/node_modules/@wormhole-foundation/sdk-definitions/node_modules/@noble/curves": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.6.0.tgz", + "integrity": "sha512-TlaHRXDehJuRNR9TfZDNQ45mMEd5dwUwmicsafcIX4SsNiqnCHKjE/1alYPd/lDRVhxdhUAlv8uEhMCI5zjIJQ==", + "dependencies": { + "@noble/hashes": "1.5.0" + }, + "engines": { + "node": "^14.21.3 || >=16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@wormhole-foundation/sdk-evm/node_modules/@wormhole-foundation/sdk-definitions/node_modules/@noble/hashes": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.5.0.tgz", + "integrity": "sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA==", + "engines": { + "node": "^14.21.3 || >=16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, "node_modules/@wormhole-foundation/sdk-evm/node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" }, "node_modules/@wormhole-foundation/sdk-evm/node_modules/ethers": { - "version": "6.12.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.12.1.tgz", - "integrity": "sha512-j6wcVoZf06nqEcBbDWkKg8Fp895SS96dSnTCjiXT+8vt2o02raTn4Lo9ERUuIVU5bAjoPYeA+7ytQFexFmLuVw==", + "version": "6.13.3", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.3.tgz", + "integrity": "sha512-/DzbZOLVtoO4fKvvQwpEucHAQgIwBGWuRvBdwE/lMXgXvvHHTSkn7XqAQ2b+gjJzZDJjWA9OD05bVceVOsBHbg==", "funding": [ { "type": "individual", @@ -1422,7 +1495,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1434,15 +1507,15 @@ "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" }, "node_modules/@wormhole-foundation/sdk-evm/node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -1454,30 +1527,30 @@ } }, "node_modules/@wormhole-foundation/sdk-solana": { - "version": "0.7.0-beta.6", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-solana/-/sdk-solana-0.7.0-beta.6.tgz", - "integrity": "sha512-4+jpskWL6NLQ2d/qwD6k5BFi2dDrLM4V+GJD5/ZYUL4OZDubxS3jImIjfXK/Y/26OquytPpl/cfpahxNdo8pOg==", + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-solana/-/sdk-solana-0.7.2.tgz", + "integrity": "sha512-KvC2gqFI7ph8cZCSP9oN4EKpSWqUOEVIltiWyB8aCpAMELq6KUp/ZC0LgUEMF+VKi5uRDTfXNlqoXuBfOjXZwQ==", "dependencies": { "@coral-xyz/anchor": "0.29.0", "@coral-xyz/borsh": "0.29.0", "@solana/spl-token": "0.3.9", "@solana/web3.js": "1.91.7", - "@wormhole-foundation/sdk-connect": "0.7.0-beta.6" + "@wormhole-foundation/sdk-connect": "0.7.2" }, "engines": { "node": ">=16" } }, "node_modules/@wormhole-foundation/sdk-solana-core": { - "version": "0.7.0-beta.6", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-solana-core/-/sdk-solana-core-0.7.0-beta.6.tgz", - "integrity": "sha512-XtMWuuZXMDZdBKar352bB7C6j6Ua6Ltr5TDEUDElHlK37D+oD4Ss8Z2GXvVOLg4BbC9NWlYWCKrVQVbeQ3SeJw==", + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-solana-core/-/sdk-solana-core-0.7.2.tgz", + "integrity": "sha512-NKAo9NlA26kLY1GCIZrBjyekZ+DdFIgDm4gndCPxHDQ2SGlGjvEg9XveBBR/oaDcJd0PkZsTcR04DHqCWmTyyQ==", "dependencies": { "@coral-xyz/anchor": "0.29.0", "@coral-xyz/borsh": "0.29.0", "@solana/web3.js": "1.91.7", - "@wormhole-foundation/sdk-connect": "0.7.0-beta.6", - "@wormhole-foundation/sdk-solana": "0.7.0-beta.6" + "@wormhole-foundation/sdk-connect": "0.7.2", + "@wormhole-foundation/sdk-solana": "0.7.2" }, "engines": { "node": ">=16" @@ -1628,9 +1701,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.2.tgz", - "integrity": "sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", + "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", "dependencies": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0", @@ -2217,6 +2290,25 @@ "url": "https://dotenvx.com" } }, + "node_modules/elliptic": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", + "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", + "dependencies": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/elliptic/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + }, "node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", @@ -3358,9 +3450,9 @@ } }, "node_modules/rpc-websockets/node_modules/ws": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.0.tgz", - "integrity": "sha512-uJq6108EgZMAl20KagGkzCKfMEjxmKvZHG7Tlq0Z6nOky7YF7aq4mOx6xK8TJ/i1LeK4Qus7INktacctDgY8Ow==", + "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" }, @@ -4109,11 +4201,11 @@ "@solana/web3.js": "^1.91.7", "@types/node-fetch": "^2.6.11", "@wormhole-foundation/example-liquidity-layer-definitions": "0.0.1", - "@wormhole-foundation/sdk-base": "^0.7.0-beta.6", - "@wormhole-foundation/sdk-definitions": "^0.7.0-beta.6", - "@wormhole-foundation/sdk-evm": "^0.7.0-beta.6", - "@wormhole-foundation/sdk-solana": "^0.7.0-beta.6", - "@wormhole-foundation/sdk-solana-core": "^0.7.0-beta.6", + "@wormhole-foundation/sdk-base": "^0.10.9", + "@wormhole-foundation/sdk-definitions": "^0.10.9", + "@wormhole-foundation/sdk-evm": "^0.10.9", + "@wormhole-foundation/sdk-solana": "^0.7.2", + "@wormhole-foundation/sdk-solana-core": "^0.7.2", "anchor-0.29.0": "npm:@coral-xyz/anchor@^0.29.0", "bn.js": "^5.2.1", "dotenv": "^16.4.1", @@ -4194,6 +4286,24 @@ "@solana/web3.js": "^1.91.6" } }, + "solana/node_modules/@wormhole-foundation/sdk-base": { + "version": "0.10.9", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-base/-/sdk-base-0.10.9.tgz", + "integrity": "sha512-E56Z7FK1swrHvBvDOgWZBLDcyijpGB27dw10ZAZgesHksTBCIS4ehJY9b2qulo19R3fxRW/reKYzAmjxkpI+sg==", + "dependencies": { + "@scure/base": "^1.1.3" + } + }, + "solana/node_modules/@wormhole-foundation/sdk-definitions": { + "version": "0.10.9", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-definitions/-/sdk-definitions-0.10.9.tgz", + "integrity": "sha512-9lbMpvcaBL9a2eoyfJ5gauFREO0hqYw+Nplc3L6qzckB/2Sc0nE0vYDRyL+OwaRT4BUffmWOaUukBEDqbc1sGQ==", + "dependencies": { + "@noble/curves": "^1.4.0", + "@noble/hashes": "^1.3.1", + "@wormhole-foundation/sdk-base": "0.10.9" + } + }, "solver": { "name": "@wormhole-foundation/example-liquidity-layer-solver", "version": "0.0.1", @@ -4230,8 +4340,8 @@ "version": "0.0.1", "license": "Apache-2.0", "dependencies": { - "@wormhole-foundation/sdk-base": "^0.7.0-beta.6", - "@wormhole-foundation/sdk-definitions": "^0.7.0-beta.6" + "@wormhole-foundation/sdk-base": "^0.10.9", + "@wormhole-foundation/sdk-definitions": "^0.10.9" }, "devDependencies": { "@typechain/ethers-v5": "^10.2.0", @@ -4248,6 +4358,24 @@ "ts-mocha": "^10.0.0", "typechain": "^8.1.1" } + }, + "universal/ts/node_modules/@wormhole-foundation/sdk-base": { + "version": "0.10.9", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-base/-/sdk-base-0.10.9.tgz", + "integrity": "sha512-E56Z7FK1swrHvBvDOgWZBLDcyijpGB27dw10ZAZgesHksTBCIS4ehJY9b2qulo19R3fxRW/reKYzAmjxkpI+sg==", + "dependencies": { + "@scure/base": "^1.1.3" + } + }, + "universal/ts/node_modules/@wormhole-foundation/sdk-definitions": { + "version": "0.10.9", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-definitions/-/sdk-definitions-0.10.9.tgz", + "integrity": "sha512-9lbMpvcaBL9a2eoyfJ5gauFREO0hqYw+Nplc3L6qzckB/2Sc0nE0vYDRyL+OwaRT4BUffmWOaUukBEDqbc1sGQ==", + "dependencies": { + "@noble/curves": "^1.4.0", + "@noble/hashes": "^1.3.1", + "@wormhole-foundation/sdk-base": "0.10.9" + } } } } diff --git a/solana/package.json b/solana/package.json index 4f195fff..e39521ab 100644 --- a/solana/package.json +++ b/solana/package.json @@ -37,11 +37,11 @@ "@solana/web3.js": "^1.91.7", "@types/node-fetch": "^2.6.11", "@wormhole-foundation/example-liquidity-layer-definitions": "0.0.1", - "@wormhole-foundation/sdk-base": "^0.7.0-beta.6", - "@wormhole-foundation/sdk-definitions": "^0.7.0-beta.6", - "@wormhole-foundation/sdk-evm": "^0.7.0-beta.6", - "@wormhole-foundation/sdk-solana": "^0.7.0-beta.6", - "@wormhole-foundation/sdk-solana-core": "^0.7.0-beta.6", + "@wormhole-foundation/sdk-base": "^0.10.9", + "@wormhole-foundation/sdk-definitions": "^0.10.9", + "@wormhole-foundation/sdk-evm": "^0.10.9", + "@wormhole-foundation/sdk-solana": "^0.7.2", + "@wormhole-foundation/sdk-solana-core": "^0.7.2", "anchor-0.29.0": "npm:@coral-xyz/anchor@^0.29.0", "bn.js": "^5.2.1", "dotenv": "^16.4.1", diff --git a/universal/ts/package.json b/universal/ts/package.json index 108c0e05..8d4e2123 100644 --- a/universal/ts/package.json +++ b/universal/ts/package.json @@ -4,7 +4,7 @@ "author": "Wormhole Contributors", "license": "Apache-2.0", "main": "./dist/cjs/index.js", - "types":"./dist/cjs/index.d.ts", + "types": "./dist/cjs/index.d.ts", "module": "./dist/esm/index.js", "files": [ "./dist/cjs", @@ -14,22 +14,22 @@ "build:esm": "tsc -p tsconfig.esm.json", "build:cjs": "tsc -p tsconfig.cjs.json", "build": "npm run build:esm && npm run build:cjs", - "test:layouts":"npx ts-mocha -p ./tsconfig.json tests/layouts.ts", - "test":"npm run test:layouts", - "clean":"rm -rf node_modules && rm -rf dist" + "test:layouts": "npx ts-mocha -p ./tsconfig.json tests/layouts.ts", + "test": "npm run test:layouts", + "clean": "rm -rf node_modules && rm -rf dist" }, "dependencies": { - "@wormhole-foundation/sdk-base":"^0.7.0-beta.6", - "@wormhole-foundation/sdk-definitions":"^0.7.0-beta.6" + "@wormhole-foundation/sdk-base": "^0.10.9", + "@wormhole-foundation/sdk-definitions": "^0.10.9" }, "devDependencies": { - "envfile": "^6.18.0", "@typechain/ethers-v5": "^10.2.0", "@types/chai": "^4.3.4", "@types/mocha": "^10.0.1", "@types/node": "^18.14.5", "chai": "^4.3.7", "dotenv": "^16.3.1", + "envfile": "^6.18.0", "ethers": "^5.7.2", "mocha": "^10.0.0", "prettier": "^2.8.7", @@ -37,4 +37,4 @@ "ts-mocha": "^10.0.0", "typechain": "^8.1.1" } -} \ No newline at end of file +}