diff --git a/Scarb.toml b/Scarb.toml index 0e0e86a9..9483b63d 100644 --- a/Scarb.toml +++ b/Scarb.toml @@ -57,7 +57,7 @@ slot_ryo2_torii = "slot d create ryo2 torii -v v1.0.0-rc.2 --config-file ./torii slot_ryosepolia_torii = "slot d create ryosepolia2 torii -v v1.0.0-rc.2 --config-file ./torii_ryosepolia2.toml" # slot ryomainnet -slot_ryomainnet_torii = "slot d create --tier rare ryomainnet torii -v v1.0.1 --config ./torii_mainnet.toml" +slot_ryomainnet_torii = "slot d create --tier rare ryomainnet torii -v v1.0.5 --config ./torii_mainnet.toml" [profile.ryo1] [profile.ryo2] diff --git a/torii_mainnet.toml b/torii_mainnet.toml index 24a7d518..f0517be5 100644 --- a/torii_mainnet.toml +++ b/torii_mainnet.toml @@ -4,8 +4,8 @@ world_address = "0x04f3dccb47477c087ad9c76b8067b8aadded57f8df7f2d7543e6066bcb253 [indexing] allowed_origins = ["*"] -index_pending = true -index_transactions = false +pending = true +transactions = true polling_interval = 1000 contracts = [] diff --git a/web/package.json b/web/package.json index d4c09c99..da37dc7e 100644 --- a/web/package.json +++ b/web/package.json @@ -15,7 +15,7 @@ "gen:dojo": "pnpm gen" }, "dependencies": { - "@cartridge/connector": "0.5.1", + "@cartridge/connector": "0.5.4", "@chakra-ui/anatomy": "^2.1.1", "@chakra-ui/react": "^2.8.1", "@dojoengine/core": "v1.0.0-alpha.30", diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml index 533106f0..8fdda81e 100644 --- a/web/pnpm-lock.yaml +++ b/web/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@cartridge/connector': - specifier: 0.5.0-alpha.7 - version: 0.5.0-alpha.7(encoding@0.1.13)(get-starknet-core@3.2.0(starknet@6.11.0(encoding@0.1.13)))(react@18.2.0)(typescript@5.6.3) + specifier: 0.5.4 + version: 0.5.4(encoding@0.1.13)(get-starknet-core@3.2.0(starknet@6.11.0(encoding@0.1.13)))(react@18.2.0)(typescript@5.6.3) '@chakra-ui/anatomy': specifier: ^2.1.1 version: 2.2.1 @@ -816,18 +816,21 @@ packages: resolution: {integrity: sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==} engines: {node: '>=6.9.0'} - '@cartridge/account-wasm@0.5.0-alpha.7': - resolution: {integrity: sha512-cOcpo8iFmmrQEu8GJejL1N11KcPPjE7wJAGBHDFy0lhnqsE7xkZYkVouOOQ0ffl1dmH3iJ/TeViMbr3jumlOvg==} + '@cartridge/account-wasm@0.5.4': + resolution: {integrity: sha512-vi08BWNp2kflrEWLsqaIwrMajUOtIeRZlTFAGyJ3ejcaFNMlx0VzgwRCTiRtoh6MSa/WtUIlTjshmFUyHMd/CQ==} - '@cartridge/connector@0.5.0-alpha.7': - resolution: {integrity: sha512-4ds+64A1zozk3zLr4h+VuJ2FF6aKy4RsoJzIsM0FN6PJCEb0CYHS0zZonAV5+AzGkinwV4cJt+LWumZb31AS0w==} + '@cartridge/connector@0.5.4': + resolution: {integrity: sha512-UqOGzRqP2rLsw1TQ6ZswUM/Uf35IFKTOZBkshenVOS6n4QEdgQKUVKDKW71lr6O2/w0uXU6fGxiBSQ3V+Pn23A==} - '@cartridge/controller@0.5.0-alpha.7': - resolution: {integrity: sha512-t2O7t0jTdmUB0vrygcH/jjDwXGuPH2NSeHiYgoMYrCanyjhBNRcgM5P2wV+/GvPOt+nWQeqcy0of0jtaPqq4tQ==} + '@cartridge/controller@0.5.4': + resolution: {integrity: sha512-8wwcA8GwLTWf/uNU5kf07BoLj1SYRR0EdRCBx55FQmc6MxX1TNto6H0shLIAV2iehXYE/zjqX24GN930gSqm7Q==} '@cartridge/penpal@6.2.3': resolution: {integrity: sha512-K8h9VqBfFPXcAFQNnvgBnejF/dp7249pS4jXu3NhNYR6JqMQxtcrDqfnPmJvbF4ECEBs+8Z2UiwlRQiKt5nNsg==} + '@cartridge/presets@0.5.4': + resolution: {integrity: sha512-kC2tcZ+dBv6NoQOnlWrb+WroulVWYVjQy7PP5v1+Q07LjJujzjNlyXG1pPU1BpJCGDbE16/qlbUujhYbBvnVgQ==} + '@cbor-extract/cbor-extract-darwin-arm64@2.2.0': resolution: {integrity: sha512-P7swiOAdF7aSi0H+tHtHtr6zrpF3aAq/W9FXx5HektRvLTM2O89xCyXF3pk7pLc7QpaY7AoaE8UowVf9QBdh3w==} cpu: [arm64] @@ -2148,26 +2151,26 @@ packages: peerDependencies: react: ^18 || ^19 - '@telegram-apps/bridge@1.3.0': - resolution: {integrity: sha512-9P2SEhr1SSo8JQsbfm4fIzYhZY0wwH6PEOmSZ0kNXZ4xX1iSftJ3T7kSbcaQL2zIVrKO8PJxKeH4Etmkk9Oqgg==} + '@telegram-apps/bridge@1.7.1': + resolution: {integrity: sha512-oRbznpIC4UibMVygQ+tcS0ZSKx7DaI07MXQF42VETQ/VOCKeaWZeQFUifo4A+CzT6XMGo2hyse/CQP9ziX0H7g==} - '@telegram-apps/navigation@1.0.4': - resolution: {integrity: sha512-I+wwfhR7O29ofzJ+x4HzErDbvYGjXlJaeaTxwYLCvcS014pv4+5ijbfKSBAmNIxWZC+s97+WzTD86jeze79K3w==} + '@telegram-apps/navigation@1.0.9': + resolution: {integrity: sha512-Ur24luu+fizrKCDQAoJWQzMj+IwNiqtQlrITz42DORKSohj5yvf9kD5AJO2r9sHC+iC2pLXHCn1dV34o6tbeaQ==} - '@telegram-apps/sdk@2.5.2': - resolution: {integrity: sha512-LlK07tFeL4QNJt/5dO/yh7ilWuqr3ja+Nr9xnDvQsxO7NroldC7moEqAzGnTq8Fu7mu1WFf/UMkmZnOMkK8OWw==} + '@telegram-apps/sdk@2.9.1': + resolution: {integrity: sha512-fW5e0B7yt4jIlEJfXzZwrY2cYufyXQw6xIu2eRfKl1l6N/ETIwZZRr6jOOsRCzzpWUfqePvwItqKIuRf8mGcog==} - '@telegram-apps/signals@1.0.1': - resolution: {integrity: sha512-+DAltcPtLBeNPjX+BxEh9smh0cbxCXuEcsOEyDCovp6HJHusWFv1tDyJuV0/rXFmcDs+VwU7SjmINdjld2nFHw==} + '@telegram-apps/signals@1.1.0': + resolution: {integrity: sha512-5qN7cU8t3l7n0cKcnzc/1TYKJTwAggUinfwbLHL1SYmB47pBHjCvfsRiYliFohk6lb635SBmNuVZL6LHFmGZaw==} '@telegram-apps/toolkit@1.0.0': resolution: {integrity: sha512-fSVoveLuMzwRKWeXEufMSXxH+HvjsFKb1DeT3pG5qLpnb2rdtejnNcwAt6WEPtiZ3a4YntYaFuR3KYgVv0ZxeQ==} - '@telegram-apps/transformers@1.0.1': - resolution: {integrity: sha512-SsI+FhCOkkZFUPqr+ib11Fi25fRCpdMsI2Flp51NrdtKaPDnKFkBBG4GcSEaGL8sXquW9uAANjc499jSaZK5jQ==} + '@telegram-apps/transformers@1.2.0': + resolution: {integrity: sha512-RufLdD044RPaAJdh+Mp/98JI+Wkp5mhX3WYCg6IZYFMRwu3QTu2FBwYmU9FdRmBF9utbcymSFrY1cqxh+Vtkfg==} - '@telegram-apps/types@1.0.1': - resolution: {integrity: sha512-8tGy1zG/1MEt0KF8nR0ffZ93whKveEJIkBI+qxHCRgatKwKVJV2dVSXrrBspFKn7FIIo1/CvmB8zP4vKPzglbg==} + '@telegram-apps/types@1.2.0': + resolution: {integrity: sha512-HhvnSCsqlJpes5ZGsZP/qbDNq8eLLnjgZKaF5NRsDqAKUPvaIIFT1HdyDII/8EioUgoI4FHsP8MylK2Gzm2efg==} '@types/eslint-scope@3.7.7': resolution: {integrity: sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==} @@ -6508,11 +6511,11 @@ snapshots: '@babel/helper-validator-identifier': 7.22.20 to-fast-properties: 2.0.0 - '@cartridge/account-wasm@0.5.0-alpha.7': {} + '@cartridge/account-wasm@0.5.4': {} - '@cartridge/connector@0.5.0-alpha.7(encoding@0.1.13)(get-starknet-core@3.2.0(starknet@6.11.0(encoding@0.1.13)))(react@18.2.0)(typescript@5.6.3)': + '@cartridge/connector@0.5.4(encoding@0.1.13)(get-starknet-core@3.2.0(starknet@6.11.0(encoding@0.1.13)))(react@18.2.0)(typescript@5.6.3)': dependencies: - '@cartridge/controller': 0.5.0-alpha.7(encoding@0.1.13) + '@cartridge/controller': 0.5.4(encoding@0.1.13) '@starknet-react/core': 3.5.0(get-starknet-core@3.2.0(starknet@6.11.0(encoding@0.1.13)))(react@18.2.0)(starknet@6.11.0(encoding@0.1.13))(typescript@5.6.3) starknet: 6.11.0(encoding@0.1.13) transitivePeerDependencies: @@ -6523,12 +6526,13 @@ snapshots: - typescript - utf-8-validate - '@cartridge/controller@0.5.0-alpha.7(encoding@0.1.13)': + '@cartridge/controller@0.5.4(encoding@0.1.13)': dependencies: - '@cartridge/account-wasm': 0.5.0-alpha.7 + '@cartridge/account-wasm': 0.5.4 '@cartridge/penpal': 6.2.3 + '@cartridge/presets': 0.5.4 '@starknet-io/types-js': 0.7.7 - '@telegram-apps/sdk': 2.5.2 + '@telegram-apps/sdk': 2.9.1 base64url: 3.0.1 cbor-x: 1.6.0 fast-deep-equal: 3.1.3 @@ -6539,6 +6543,10 @@ snapshots: '@cartridge/penpal@6.2.3': {} + '@cartridge/presets@0.5.4': + dependencies: + '@starknet-io/types-js': 0.7.7 + '@cbor-extract/cbor-extract-darwin-arm64@2.2.0': optional: true @@ -8435,36 +8443,37 @@ snapshots: '@tanstack/query-core': 5.59.17 react: 18.2.0 - '@telegram-apps/bridge@1.3.0': + '@telegram-apps/bridge@1.7.1': dependencies: - '@telegram-apps/signals': 1.0.1 + '@telegram-apps/signals': 1.1.0 '@telegram-apps/toolkit': 1.0.0 - '@telegram-apps/transformers': 1.0.1 - '@telegram-apps/types': 1.0.1 + '@telegram-apps/transformers': 1.2.0 + '@telegram-apps/types': 1.2.0 - '@telegram-apps/navigation@1.0.4': + '@telegram-apps/navigation@1.0.9': dependencies: - '@telegram-apps/bridge': 1.3.0 - '@telegram-apps/signals': 1.0.1 + '@telegram-apps/bridge': 1.7.1 + '@telegram-apps/signals': 1.1.0 '@telegram-apps/toolkit': 1.0.0 - '@telegram-apps/sdk@2.5.2': + '@telegram-apps/sdk@2.9.1': dependencies: - '@telegram-apps/bridge': 1.3.0 - '@telegram-apps/navigation': 1.0.4 - '@telegram-apps/signals': 1.0.1 - '@telegram-apps/transformers': 1.0.1 + '@telegram-apps/bridge': 1.7.1 + '@telegram-apps/navigation': 1.0.9 + '@telegram-apps/signals': 1.1.0 + '@telegram-apps/toolkit': 1.0.0 + '@telegram-apps/transformers': 1.2.0 - '@telegram-apps/signals@1.0.1': {} + '@telegram-apps/signals@1.1.0': {} '@telegram-apps/toolkit@1.0.0': {} - '@telegram-apps/transformers@1.0.1': + '@telegram-apps/transformers@1.2.0': dependencies: '@telegram-apps/toolkit': 1.0.0 - '@telegram-apps/types': 1.0.1 + '@telegram-apps/types': 1.2.0 - '@telegram-apps/types@1.0.1': {} + '@telegram-apps/types@1.2.0': {} '@types/eslint-scope@3.7.7': dependencies: @@ -9561,7 +9570,7 @@ snapshots: eslint: 8.36.0 eslint-import-resolver-node: 0.3.9 eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.21.0(eslint@8.36.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1(eslint@8.36.0))(eslint@8.36.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.21.0(eslint@8.36.0)(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.21.0(eslint@8.36.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1(eslint@8.36.0))(eslint@8.36.0))(eslint@8.36.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.21.0(eslint@8.36.0)(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.1)(eslint@8.36.0) eslint-plugin-jsx-a11y: 6.8.0(eslint@8.36.0) eslint-plugin-react: 7.34.1(eslint@8.36.0) eslint-plugin-react-hooks: 4.6.0(eslint@8.36.0) @@ -9584,8 +9593,8 @@ snapshots: debug: 4.3.4 enhanced-resolve: 5.16.0 eslint: 8.36.0 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@6.21.0(eslint@8.36.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.21.0(eslint@8.36.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1(eslint@8.36.0))(eslint@8.36.0))(eslint@8.36.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.21.0(eslint@8.36.0)(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.21.0(eslint@8.36.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1(eslint@8.36.0))(eslint@8.36.0))(eslint@8.36.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@6.21.0(eslint@8.36.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.36.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.21.0(eslint@8.36.0)(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.1)(eslint@8.36.0) fast-glob: 3.3.2 get-tsconfig: 4.7.3 is-core-module: 2.13.1 @@ -9596,7 +9605,7 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.8.1(@typescript-eslint/parser@6.21.0(eslint@8.36.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.21.0(eslint@8.36.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1(eslint@8.36.0))(eslint@8.36.0))(eslint@8.36.0): + eslint-module-utils@2.8.1(@typescript-eslint/parser@6.21.0(eslint@8.36.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.36.0): dependencies: debug: 3.2.7 optionalDependencies: @@ -9607,7 +9616,7 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.21.0(eslint@8.36.0)(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.21.0(eslint@8.36.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1(eslint@8.36.0))(eslint@8.36.0))(eslint@8.36.0): + eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.21.0(eslint@8.36.0)(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.1)(eslint@8.36.0): dependencies: array-includes: 3.1.8 array.prototype.findlastindex: 1.2.5 @@ -9617,7 +9626,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.36.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@6.21.0(eslint@8.36.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.21.0(eslint@8.36.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1(eslint@8.36.0))(eslint@8.36.0))(eslint@8.36.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@6.21.0(eslint@8.36.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.36.0) hasown: 2.0.2 is-core-module: 2.13.1 is-glob: 4.0.3