diff --git a/README.md b/README.md index d0a225b9..71f3a116 100755 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Install Dependencies 1. `soroban-cli v0.8.0`. See https://soroban.stellar.org/docs/getting-started/setup#install-the-soroban-cli 2. If you want to run everything locally: `docker` (you can run both Standalone and Futurenet backends with it) 3. `Node.js v17` -4. [Freighter Wallet](https://www.freighter.app/) ≥[v2.9.1](https://github.com/stellar/freighter/releases/tag/2.9.1). Once installed, enable "Experimental Mode" in the settings (gear icon). +4. [Freighter Wallet](https://www.freighter.app/) ≥[v5.0.2](https://github.com/stellar/freighter/releases/tag/2.9.1). Or from the Firefox / Chrome extension store. Once installed, enable "Experimental Mode" in the settings (gear icon). 5. If you want to run everything locally, build the `soroban-preview` docker image: make build-docker diff --git a/package-lock.json b/package-lock.json index b036d5fe..a120484a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,11 +10,11 @@ "dependencies": { "@radix-ui/react-dialog": "1.0.2", "@soroban-react/chains": "v4.5.2", - "@soroban-react/contracts": "5.0.3-alpha.1", - "@soroban-react/core": "5.0.3-alpha.1", - "@soroban-react/events": "5.0.3-alpha.1", - "@soroban-react/freighter": "5.0.0-alpha.0", - "@soroban-react/types": "4.0.0", + "@soroban-react/contracts": "5.0.3", + "@soroban-react/core": "5.0.3", + "@soroban-react/events": "5.0.3", + "@soroban-react/freighter": "5.0.3", + "@soroban-react/types": "5.0.3", "@stellar/freighter-api": "^1.4.0", "axios": "^0.27.2", "bignumber.js": "^9.1.0", @@ -23,7 +23,7 @@ "next": "^13.3.1", "react": "^18.2.0", "react-dom": "^18.2.0", - "soroban-client": "0.7.2" + "soroban-client": "0.8.0" }, "devDependencies": { "@types/humanize-duration": "^3.27.1", @@ -567,57 +567,89 @@ "soroban-client": "0.7.2" } }, + "node_modules/@soroban-react/chains/node_modules/@soroban-react/types": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@soroban-react/types/-/types-4.0.0.tgz", + "integrity": "sha512-kyzaIOQxn2pV7STatQ/s5D+rBkQyd2iak/CbqM5s6KrkmfuXG3O7TStkQM6HsjK1dqHTc+BVePNld3dPB7dgvA==" + }, + "node_modules/@soroban-react/chains/node_modules/axios": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz", + "integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==", + "dependencies": { + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/@soroban-react/chains/node_modules/soroban-client": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/soroban-client/-/soroban-client-0.7.2.tgz", + "integrity": "sha512-RCYFIrPkhLHogMQZRUDWFXG5i897BL+YjM1XQgIAim/MwwQiyoaxZEipzQU0z78UXIjCxMIUWiE203otdrGIbw==", + "dependencies": { + "axios": "^1.4.0", + "bignumber.js": "^9.1.1", + "detect-node": "^2.0.4", + "es6-promise": "^4.2.4", + "eventsource": "^2.0.2", + "lodash": "^4.17.21", + "randombytes": "^2.1.0", + "stellar-base": "^9.0.0-soroban.1", + "toml": "^3.0.0", + "urijs": "^1.19.1" + } + }, "node_modules/@soroban-react/contracts": { - "version": "5.0.3-alpha.1", - "resolved": "https://registry.npmjs.org/@soroban-react/contracts/-/contracts-5.0.3-alpha.1.tgz", - "integrity": "sha512-yGOaMgSa7iuIkf+50te4ajuAlNK1mAPjCXAOoesJy0TdXt13OfESDaw8+w887jBS4KSi9xJl978W5EvPwWOxKQ==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@soroban-react/contracts/-/contracts-5.0.3.tgz", + "integrity": "sha512-N0qbI3sFWq49KnjjIF7HGlPuDAVjVUVB4VWcfsg0/g2G72QMVar/DI7S1nP3Z0cQ6ybU1UL2WaCQ+vm+n4GKCg==", "dependencies": { - "@soroban-react/core": "^5.0.3-alpha.1", - "soroban-client": "0.7.2" + "@soroban-react/core": "^5.0.3", + "soroban-client": "0.8.0" }, "peerDependencies": { "react": ">=16.8" } }, "node_modules/@soroban-react/core": { - "version": "5.0.3-alpha.1", - "resolved": "https://registry.npmjs.org/@soroban-react/core/-/core-5.0.3-alpha.1.tgz", - "integrity": "sha512-hOicB5L+QvfQO2JhO9xHIrq3ArWxBxwN0vhG8o1YRFSZVNmOe3GNUc7Ucs4VIDbHJFl8u8YwJLK3az5votEP+A==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@soroban-react/core/-/core-5.0.3.tgz", + "integrity": "sha512-oAx9w4ItF+wWDK2VFdnZhok656rw8AATvh8BTOfmC1bt4rzQVk6EjJkZKkCGMJBhnIxjXreYGr3MPTp26+cc5Q==", "dependencies": { - "@soroban-react/freighter": "^5.0.0-alpha.0", - "@soroban-react/types": "^4.0.0", - "soroban-client": "0.7.2" + "@soroban-react/freighter": "^5.0.3", + "@soroban-react/types": "^5.0.3", + "soroban-client": "0.8.0" }, "peerDependencies": { "react": ">=16.8" } }, "node_modules/@soroban-react/events": { - "version": "5.0.3-alpha.1", - "resolved": "https://registry.npmjs.org/@soroban-react/events/-/events-5.0.3-alpha.1.tgz", - "integrity": "sha512-9XiOyo3M/wgpBwhRgN3W1lezmzTAlevzo0VKBPb3Cqm6niDzMwoaPuhSU/ejNCSIZ2mLKVGsrPfxqLa6amo53g==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@soroban-react/events/-/events-5.0.3.tgz", + "integrity": "sha512-PTY3BYFgDj9VcnsKNJEgsEYmNZpkrg7fBRKglT1XcYvi40TWs7R0LD7fPp4ZHnMpp8LlVzURsr9+iCl3abqzTA==", "dependencies": { - "@soroban-react/core": "^5.0.3-alpha.1", - "@soroban-react/types": "^4.0.0", - "soroban-client": "0.7.2" + "@soroban-react/core": "^5.0.3", + "@soroban-react/types": "^5.0.3", + "soroban-client": "0.8.0" }, "peerDependencies": { "react": ">=16.8" } }, "node_modules/@soroban-react/freighter": { - "version": "5.0.0-alpha.0", - "resolved": "https://registry.npmjs.org/@soroban-react/freighter/-/freighter-5.0.0-alpha.0.tgz", - "integrity": "sha512-0yV0j1FfiaIwLMURQgMw1XTzW9DW54PnNhX/UH5Nt62Cs5JYn2hnoTEpYAnQ0Z6JYMXuhXzzmeZ/ddp5NdFZJw==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@soroban-react/freighter/-/freighter-5.0.3.tgz", + "integrity": "sha512-kgMVJ7xJppzDSsXBFZWZ+VESX00uFFiQhEBPkXxokkWlmKcviNVb9Z43wiqe3aTtNm83kF0rxaagEMIhl4/fwA==", "dependencies": { - "@soroban-react/types": "^4.0.0", + "@soroban-react/types": "^5.0.3", "@stellar/freighter-api": "^1.4.0" } }, "node_modules/@soroban-react/types": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@soroban-react/types/-/types-4.0.0.tgz", - "integrity": "sha512-kyzaIOQxn2pV7STatQ/s5D+rBkQyd2iak/CbqM5s6KrkmfuXG3O7TStkQM6HsjK1dqHTc+BVePNld3dPB7dgvA==" + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@soroban-react/types/-/types-5.0.3.tgz", + "integrity": "sha512-bzouh+upQOJ19qjtfGb2K9GN1r0n/dxtgsyK8Rml6hC19HZFHIjcmgpdwvvvSLXuU+9XPlBsTWJm/YhYxDiWew==" }, "node_modules/@stellar/freighter-api": { "version": "1.4.0", @@ -683,14 +715,14 @@ "devOptional": true }, "node_modules/@typescript-eslint/parser": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.8.tgz", - "integrity": "sha512-AnR19RjJcpjoeGojmwZtCwBX/RidqDZtzcbG3xHrmz0aHHoOcbWnpDllenRDmDvsV0RQ6+tbb09/kyc+UT9Orw==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.9.tgz", + "integrity": "sha512-FsPkRvBtcLQ/eVK1ivDiNYBjn3TGJdXy2fhXX+rc7czWl4ARwnpArwbihSOHI2Peg9WbtGHrbThfBUkZZGTtvQ==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "5.59.8", - "@typescript-eslint/types": "5.59.8", - "@typescript-eslint/typescript-estree": "5.59.8", + "@typescript-eslint/scope-manager": "5.59.9", + "@typescript-eslint/types": "5.59.9", + "@typescript-eslint/typescript-estree": "5.59.9", "debug": "^4.3.4" }, "engines": { @@ -710,13 +742,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.8.tgz", - "integrity": "sha512-/w08ndCYI8gxGf+9zKf1vtx/16y8MHrZs5/tnjHhMLNSixuNcJavSX4wAiPf4aS5x41Es9YPCn44MIe4cxIlig==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.9.tgz", + "integrity": "sha512-8RA+E+w78z1+2dzvK/tGZ2cpGigBZ58VMEHDZtpE1v+LLjzrYGc8mMaTONSxKyEkz3IuXFM0IqYiGHlCsmlZxQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.59.8", - "@typescript-eslint/visitor-keys": "5.59.8" + "@typescript-eslint/types": "5.59.9", + "@typescript-eslint/visitor-keys": "5.59.9" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -727,9 +759,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.8.tgz", - "integrity": "sha512-+uWuOhBTj/L6awoWIg0BlWy0u9TyFpCHrAuQ5bNfxDaZ1Ppb3mx6tUigc74LHcbHpOHuOTOJrBoAnhdHdaea1w==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.9.tgz", + "integrity": "sha512-uW8H5NRgTVneSVTfiCVffBb8AbwWSKg7qcA4Ot3JI3MPCJGsB4Db4BhvAODIIYE5mNj7Q+VJkK7JxmRhk2Lyjw==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -740,13 +772,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.8.tgz", - "integrity": "sha512-Jy/lPSDJGNow14vYu6IrW790p7HIf/SOV1Bb6lZ7NUkLc2iB2Z9elESmsaUtLw8kVqogSbtLH9tut5GCX1RLDg==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.9.tgz", + "integrity": "sha512-pmM0/VQ7kUhd1QyIxgS+aRvMgw+ZljB3eDb+jYyp6d2bC0mQWLzUDF+DLwCTkQ3tlNyVsvZRXjFyV0LkU/aXjA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.59.8", - "@typescript-eslint/visitor-keys": "5.59.8", + "@typescript-eslint/types": "5.59.9", + "@typescript-eslint/visitor-keys": "5.59.9", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -767,12 +799,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.8.tgz", - "integrity": "sha512-pJhi2ms0x0xgloT7xYabil3SGGlojNNKjK/q6dB3Ey0uJLMjK2UDGJvHieiyJVW/7C3KI+Z4Q3pEHkm4ejA+xQ==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.9.tgz", + "integrity": "sha512-bT7s0td97KMaLwpEBckbzj/YohnvXtqbe2XgqNvTl6RJVakY5mvENOTPvw5u66nljfZxthESpDozs86U+oLY8Q==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.59.8", + "@typescript-eslint/types": "5.59.9", "eslint-visitor-keys": "^3.3.0" }, "engines": { @@ -1040,6 +1072,25 @@ "node": ">=0.12.0" } }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, "node_modules/big-integer": { "version": "1.6.51", "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz", @@ -1160,6 +1211,29 @@ "safe-buffer": "^5.2.0" } }, + "node_modules/buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, "node_modules/buffer-xor": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", @@ -1214,9 +1288,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001492", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001492.tgz", - "integrity": "sha512-2efF8SAZwgAX1FJr87KWhvuJxnGJKOnctQa8xLOskAXNXq8oiuqgl6u1kk3fFpsp3GgvzlRjiK1sl63hNtFADw==", + "version": "1.0.30001495", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001495.tgz", + "integrity": "sha512-F6x5IEuigtUfU5ZMQK2jsy5JqUUlEFRVZq8bO2a+ysq5K7jD6PPc9YXZj78xDNS3uNchesp1Jw47YXEqr+Viyg==", "funding": [ { "type": "opencollective", @@ -2721,6 +2795,25 @@ "resolved": "https://registry.npmjs.org/humanize-duration/-/humanize-duration-3.28.0.tgz", "integrity": "sha512-jMAxraOOmHuPbffLVDKkEKi/NeG8dMqP8lGRd6Tbf7JgAeG33jjgPWDbXXU7ypCI0o+oNKJFgbSB9FKVdWNI2A==" }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, "node_modules/ignore": { "version": "5.2.4", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", @@ -4427,18 +4520,19 @@ } }, "node_modules/soroban-client": { - "version": "0.7.2", - "resolved": "https://registry.npmjs.org/soroban-client/-/soroban-client-0.7.2.tgz", - "integrity": "sha512-RCYFIrPkhLHogMQZRUDWFXG5i897BL+YjM1XQgIAim/MwwQiyoaxZEipzQU0z78UXIjCxMIUWiE203otdrGIbw==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/soroban-client/-/soroban-client-0.8.0.tgz", + "integrity": "sha512-INc9W6uOZfHaa/n747jN+r6V2FvpmmFNoh5Ki1HbQbcKqiSo6yY/d1a4//AbMyzDs8WXeNTJOA2EYJnqcexdiw==", "dependencies": { "axios": "^1.4.0", "bignumber.js": "^9.1.1", + "buffer": "^6.0.3", "detect-node": "^2.0.4", "es6-promise": "^4.2.4", "eventsource": "^2.0.2", "lodash": "^4.17.21", "randombytes": "^2.1.0", - "stellar-base": "^9.0.0-soroban.1", + "stellar-base": "^9.0.0-soroban.3", "toml": "^3.0.0", "urijs": "^1.19.1" } @@ -5357,50 +5451,84 @@ "requires": { "@soroban-react/types": "^4.0.0", "soroban-client": "0.7.2" + }, + "dependencies": { + "@soroban-react/types": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@soroban-react/types/-/types-4.0.0.tgz", + "integrity": "sha512-kyzaIOQxn2pV7STatQ/s5D+rBkQyd2iak/CbqM5s6KrkmfuXG3O7TStkQM6HsjK1dqHTc+BVePNld3dPB7dgvA==" + }, + "axios": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz", + "integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==", + "requires": { + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "soroban-client": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/soroban-client/-/soroban-client-0.7.2.tgz", + "integrity": "sha512-RCYFIrPkhLHogMQZRUDWFXG5i897BL+YjM1XQgIAim/MwwQiyoaxZEipzQU0z78UXIjCxMIUWiE203otdrGIbw==", + "requires": { + "axios": "^1.4.0", + "bignumber.js": "^9.1.1", + "detect-node": "^2.0.4", + "es6-promise": "^4.2.4", + "eventsource": "^2.0.2", + "lodash": "^4.17.21", + "randombytes": "^2.1.0", + "stellar-base": "^9.0.0-soroban.1", + "toml": "^3.0.0", + "urijs": "^1.19.1" + } + } } }, "@soroban-react/contracts": { - "version": "5.0.3-alpha.1", - "resolved": "https://registry.npmjs.org/@soroban-react/contracts/-/contracts-5.0.3-alpha.1.tgz", - "integrity": "sha512-yGOaMgSa7iuIkf+50te4ajuAlNK1mAPjCXAOoesJy0TdXt13OfESDaw8+w887jBS4KSi9xJl978W5EvPwWOxKQ==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@soroban-react/contracts/-/contracts-5.0.3.tgz", + "integrity": "sha512-N0qbI3sFWq49KnjjIF7HGlPuDAVjVUVB4VWcfsg0/g2G72QMVar/DI7S1nP3Z0cQ6ybU1UL2WaCQ+vm+n4GKCg==", "requires": { - "@soroban-react/core": "^5.0.3-alpha.1", - "soroban-client": "0.7.2" + "@soroban-react/core": "^5.0.3", + "soroban-client": "0.8.0" } }, "@soroban-react/core": { - "version": "5.0.3-alpha.1", - "resolved": "https://registry.npmjs.org/@soroban-react/core/-/core-5.0.3-alpha.1.tgz", - "integrity": "sha512-hOicB5L+QvfQO2JhO9xHIrq3ArWxBxwN0vhG8o1YRFSZVNmOe3GNUc7Ucs4VIDbHJFl8u8YwJLK3az5votEP+A==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@soroban-react/core/-/core-5.0.3.tgz", + "integrity": "sha512-oAx9w4ItF+wWDK2VFdnZhok656rw8AATvh8BTOfmC1bt4rzQVk6EjJkZKkCGMJBhnIxjXreYGr3MPTp26+cc5Q==", "requires": { - "@soroban-react/freighter": "^5.0.0-alpha.0", - "@soroban-react/types": "^4.0.0", - "soroban-client": "0.7.2" + "@soroban-react/freighter": "^5.0.3", + "@soroban-react/types": "^5.0.3", + "soroban-client": "0.8.0" } }, "@soroban-react/events": { - "version": "5.0.3-alpha.1", - "resolved": "https://registry.npmjs.org/@soroban-react/events/-/events-5.0.3-alpha.1.tgz", - "integrity": "sha512-9XiOyo3M/wgpBwhRgN3W1lezmzTAlevzo0VKBPb3Cqm6niDzMwoaPuhSU/ejNCSIZ2mLKVGsrPfxqLa6amo53g==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@soroban-react/events/-/events-5.0.3.tgz", + "integrity": "sha512-PTY3BYFgDj9VcnsKNJEgsEYmNZpkrg7fBRKglT1XcYvi40TWs7R0LD7fPp4ZHnMpp8LlVzURsr9+iCl3abqzTA==", "requires": { - "@soroban-react/core": "^5.0.3-alpha.1", - "@soroban-react/types": "^4.0.0", - "soroban-client": "0.7.2" + "@soroban-react/core": "^5.0.3", + "@soroban-react/types": "^5.0.3", + "soroban-client": "0.8.0" } }, "@soroban-react/freighter": { - "version": "5.0.0-alpha.0", - "resolved": "https://registry.npmjs.org/@soroban-react/freighter/-/freighter-5.0.0-alpha.0.tgz", - "integrity": "sha512-0yV0j1FfiaIwLMURQgMw1XTzW9DW54PnNhX/UH5Nt62Cs5JYn2hnoTEpYAnQ0Z6JYMXuhXzzmeZ/ddp5NdFZJw==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@soroban-react/freighter/-/freighter-5.0.3.tgz", + "integrity": "sha512-kgMVJ7xJppzDSsXBFZWZ+VESX00uFFiQhEBPkXxokkWlmKcviNVb9Z43wiqe3aTtNm83kF0rxaagEMIhl4/fwA==", "requires": { - "@soroban-react/types": "^4.0.0", + "@soroban-react/types": "^5.0.3", "@stellar/freighter-api": "^1.4.0" } }, "@soroban-react/types": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@soroban-react/types/-/types-4.0.0.tgz", - "integrity": "sha512-kyzaIOQxn2pV7STatQ/s5D+rBkQyd2iak/CbqM5s6KrkmfuXG3O7TStkQM6HsjK1dqHTc+BVePNld3dPB7dgvA==" + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@soroban-react/types/-/types-5.0.3.tgz", + "integrity": "sha512-bzouh+upQOJ19qjtfGb2K9GN1r0n/dxtgsyK8Rml6hC19HZFHIjcmgpdwvvvSLXuU+9XPlBsTWJm/YhYxDiWew==" }, "@stellar/freighter-api": { "version": "1.4.0", @@ -5466,41 +5594,41 @@ "devOptional": true }, "@typescript-eslint/parser": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.8.tgz", - "integrity": "sha512-AnR19RjJcpjoeGojmwZtCwBX/RidqDZtzcbG3xHrmz0aHHoOcbWnpDllenRDmDvsV0RQ6+tbb09/kyc+UT9Orw==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.9.tgz", + "integrity": "sha512-FsPkRvBtcLQ/eVK1ivDiNYBjn3TGJdXy2fhXX+rc7czWl4ARwnpArwbihSOHI2Peg9WbtGHrbThfBUkZZGTtvQ==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.59.8", - "@typescript-eslint/types": "5.59.8", - "@typescript-eslint/typescript-estree": "5.59.8", + "@typescript-eslint/scope-manager": "5.59.9", + "@typescript-eslint/types": "5.59.9", + "@typescript-eslint/typescript-estree": "5.59.9", "debug": "^4.3.4" } }, "@typescript-eslint/scope-manager": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.8.tgz", - "integrity": "sha512-/w08ndCYI8gxGf+9zKf1vtx/16y8MHrZs5/tnjHhMLNSixuNcJavSX4wAiPf4aS5x41Es9YPCn44MIe4cxIlig==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.9.tgz", + "integrity": "sha512-8RA+E+w78z1+2dzvK/tGZ2cpGigBZ58VMEHDZtpE1v+LLjzrYGc8mMaTONSxKyEkz3IuXFM0IqYiGHlCsmlZxQ==", "dev": true, "requires": { - "@typescript-eslint/types": "5.59.8", - "@typescript-eslint/visitor-keys": "5.59.8" + "@typescript-eslint/types": "5.59.9", + "@typescript-eslint/visitor-keys": "5.59.9" } }, "@typescript-eslint/types": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.8.tgz", - "integrity": "sha512-+uWuOhBTj/L6awoWIg0BlWy0u9TyFpCHrAuQ5bNfxDaZ1Ppb3mx6tUigc74LHcbHpOHuOTOJrBoAnhdHdaea1w==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.9.tgz", + "integrity": "sha512-uW8H5NRgTVneSVTfiCVffBb8AbwWSKg7qcA4Ot3JI3MPCJGsB4Db4BhvAODIIYE5mNj7Q+VJkK7JxmRhk2Lyjw==", "dev": true }, "@typescript-eslint/typescript-estree": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.8.tgz", - "integrity": "sha512-Jy/lPSDJGNow14vYu6IrW790p7HIf/SOV1Bb6lZ7NUkLc2iB2Z9elESmsaUtLw8kVqogSbtLH9tut5GCX1RLDg==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.9.tgz", + "integrity": "sha512-pmM0/VQ7kUhd1QyIxgS+aRvMgw+ZljB3eDb+jYyp6d2bC0mQWLzUDF+DLwCTkQ3tlNyVsvZRXjFyV0LkU/aXjA==", "dev": true, "requires": { - "@typescript-eslint/types": "5.59.8", - "@typescript-eslint/visitor-keys": "5.59.8", + "@typescript-eslint/types": "5.59.9", + "@typescript-eslint/visitor-keys": "5.59.9", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -5509,12 +5637,12 @@ } }, "@typescript-eslint/visitor-keys": { - "version": "5.59.8", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.8.tgz", - "integrity": "sha512-pJhi2ms0x0xgloT7xYabil3SGGlojNNKjK/q6dB3Ey0uJLMjK2UDGJvHieiyJVW/7C3KI+Z4Q3pEHkm4ejA+xQ==", + "version": "5.59.9", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.9.tgz", + "integrity": "sha512-bT7s0td97KMaLwpEBckbzj/YohnvXtqbe2XgqNvTl6RJVakY5mvENOTPvw5u66nljfZxthESpDozs86U+oLY8Q==", "dev": true, "requires": { - "@typescript-eslint/types": "5.59.8", + "@typescript-eslint/types": "5.59.9", "eslint-visitor-keys": "^3.3.0" } }, @@ -5717,6 +5845,11 @@ "resolved": "https://registry.npmjs.org/base32.js/-/base32.js-0.1.0.tgz", "integrity": "sha512-n3TkB02ixgBOhTvANakDb4xaMXnYUVkNoRFJjQflcqMQhyEKxEHdj3E6N8t8sUQ0mjH/3/JxzlXuz3ul/J90pQ==" }, + "base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" + }, "big-integer": { "version": "1.6.51", "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz", @@ -5825,6 +5958,15 @@ "safe-buffer": "^5.2.0" } }, + "buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, "buffer-xor": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", @@ -5864,9 +6006,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001492", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001492.tgz", - "integrity": "sha512-2efF8SAZwgAX1FJr87KWhvuJxnGJKOnctQa8xLOskAXNXq8oiuqgl6u1kk3fFpsp3GgvzlRjiK1sl63hNtFADw==" + "version": "1.0.30001495", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001495.tgz", + "integrity": "sha512-F6x5IEuigtUfU5ZMQK2jsy5JqUUlEFRVZq8bO2a+ysq5K7jD6PPc9YXZj78xDNS3uNchesp1Jw47YXEqr+Viyg==" }, "chalk": { "version": "4.1.2", @@ -7013,6 +7155,11 @@ "resolved": "https://registry.npmjs.org/humanize-duration/-/humanize-duration-3.28.0.tgz", "integrity": "sha512-jMAxraOOmHuPbffLVDKkEKi/NeG8dMqP8lGRd6Tbf7JgAeG33jjgPWDbXXU7ypCI0o+oNKJFgbSB9FKVdWNI2A==" }, + "ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" + }, "ignore": { "version": "5.2.4", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", @@ -8185,18 +8332,19 @@ } }, "soroban-client": { - "version": "0.7.2", - "resolved": "https://registry.npmjs.org/soroban-client/-/soroban-client-0.7.2.tgz", - "integrity": "sha512-RCYFIrPkhLHogMQZRUDWFXG5i897BL+YjM1XQgIAim/MwwQiyoaxZEipzQU0z78UXIjCxMIUWiE203otdrGIbw==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/soroban-client/-/soroban-client-0.8.0.tgz", + "integrity": "sha512-INc9W6uOZfHaa/n747jN+r6V2FvpmmFNoh5Ki1HbQbcKqiSo6yY/d1a4//AbMyzDs8WXeNTJOA2EYJnqcexdiw==", "requires": { "axios": "^1.4.0", "bignumber.js": "^9.1.1", + "buffer": "^6.0.3", "detect-node": "^2.0.4", "es6-promise": "^4.2.4", "eventsource": "^2.0.2", "lodash": "^4.17.21", "randombytes": "^2.1.0", - "stellar-base": "^9.0.0-soroban.1", + "stellar-base": "^9.0.0-soroban.3", "toml": "^3.0.0", "urijs": "^1.19.1" }, diff --git a/package.json b/package.json index 8a5c9763..1fa2b8c4 100644 --- a/package.json +++ b/package.json @@ -13,11 +13,11 @@ "dependencies": { "@radix-ui/react-dialog": "1.0.2", "@soroban-react/chains": "v4.5.2", - "@soroban-react/contracts": "5.0.3-alpha.1", - "@soroban-react/core": "5.0.3-alpha.1", - "@soroban-react/events": "5.0.3-alpha.1", - "@soroban-react/freighter": "5.0.0-alpha.0", - "@soroban-react/types": "4.0.0", + "@soroban-react/contracts": "5.0.3", + "@soroban-react/core": "5.0.3", + "@soroban-react/events": "5.0.3", + "@soroban-react/freighter": "5.0.3", + "@soroban-react/types": "5.0.3", "@stellar/freighter-api": "^1.4.0", "axios": "^0.27.2", "bignumber.js": "^9.1.0", @@ -26,7 +26,7 @@ "next": "^13.3.1", "react": "^18.2.0", "react-dom": "^18.2.0", - "soroban-client": "0.7.2" + "soroban-client": "0.8.0" }, "devDependencies": { "@types/humanize-duration": "^3.27.1",