From ed2a36d04089ce02fba959466ab12c51c109f873 Mon Sep 17 00:00:00 2001 From: WRadoslaw <92513933+WRadoslaw@users.noreply.github.com> Date: Mon, 11 Mar 2024 20:14:58 +0100 Subject: [PATCH 1/4] =?UTF-8?q?=F0=9F=98=A2=20Downgrade=20swiper=20due=20t?= =?UTF-8?q?o=20loop=20issues=20(#5974)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/atlas/package.json | 2 +- .../src/components/Carousel/Carousel.tsx | 2 +- yarn.lock | 19 ++++++++++++++----- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/packages/atlas/package.json b/packages/atlas/package.json index 90f1870a1b..4d7efbc9aa 100644 --- a/packages/atlas/package.json +++ b/packages/atlas/package.json @@ -96,7 +96,7 @@ "retry-axios": "^3.0.0", "scroll-lock": "^2.1.5", "subscriptions-transport-ws": "^0.11.0", - "swiper": "11.0.4", + "swiper": "^9.1.1", "twemoji": "^14.0.2", "use-draggable-scroll": "^0.1.0", "use-resize-observer": "^9.1.0", diff --git a/packages/atlas/src/components/Carousel/Carousel.tsx b/packages/atlas/src/components/Carousel/Carousel.tsx index 8066b74b8b..244236c3b7 100644 --- a/packages/atlas/src/components/Carousel/Carousel.tsx +++ b/packages/atlas/src/components/Carousel/Carousel.tsx @@ -1,6 +1,6 @@ import { ReactNode } from 'react' +import { Navigation, Pagination } from 'swiper' import 'swiper/css' -import { Navigation, Pagination } from 'swiper/modules' import { SwiperProps, SwiperSlide } from 'swiper/react' import { Swiper as SwiperType } from 'swiper/types' diff --git a/yarn.lock b/yarn.lock index f5994a5b8e..ab5d4be1c8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4350,7 +4350,7 @@ __metadata: storybook: 7.0.7 style-dictionary: ^3.7.1 subscriptions-transport-ws: ^0.11.0 - swiper: 11.0.4 + swiper: ^9.1.1 twemoji: ^14.0.2 use-draggable-scroll: ^0.1.0 use-resize-observer: ^9.1.0 @@ -20743,6 +20743,13 @@ __metadata: languageName: node linkType: hard +"ssr-window@npm:^4.0.2": + version: 4.0.2 + resolution: "ssr-window@npm:4.0.2" + checksum: df182600927f4f3225224cf8c02338ea637c9750519505bbfb9a9236741a2a7ec088386fb948bca7b447b8303d9109e7dc7672e3de041c79ac2a0e03665af7d2 + languageName: node + linkType: hard + "ssri@npm:^9.0.0": version: 9.0.1 resolution: "ssri@npm:9.0.1" @@ -21222,10 +21229,12 @@ __metadata: languageName: node linkType: hard -"swiper@npm:11.0.4": - version: 11.0.4 - resolution: "swiper@npm:11.0.4" - checksum: 520a4c0c1aeb94eadc5c2cf52ae4a479a2c7fc416ed15a7623135c4f1b0dc9ad255c2d0c1ec8e7a138e685ac37e95668aebfbd5a8d86887326a08e8b683bed51 +"swiper@npm:^9.1.1": + version: 9.4.1 + resolution: "swiper@npm:9.4.1" + dependencies: + ssr-window: ^4.0.2 + checksum: 1180b3b766f25cbe636fafbb56adbddf8a240077c504a335a62d1773f4452df1bd9ca09bccfe86478c3b9401879c4e8f7ed3824e74299f8b48953e8fc7f08bc3 languageName: node linkType: hard From cc6c3921986f4eff4135fe7db5dafd1405edc65d Mon Sep 17 00:00:00 2001 From: WRadoslaw <92513933+WRadoslaw@users.noreply.github.com> Date: Wed, 13 Mar 2024 16:02:23 +0100 Subject: [PATCH 2/4] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Package=20bump=20for?= =?UTF-8?q?=20Nara=20(#5978)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Resolutions bump * Bump joystream types and BN types * Add next env for testing --- package.json | 10 +- packages/atlas/package.json | 4 +- packages/atlas/src/.env | 12 +- yarn.lock | 678 +++++++++++++++++++----------------- 4 files changed, 380 insertions(+), 324 deletions(-) diff --git a/package.json b/package.json index 406b883822..fda8f8a450 100644 --- a/package.json +++ b/package.json @@ -67,11 +67,11 @@ "typescript": "^5.1.6" }, "resolutions": { - "@polkadot/api": "8.9.1", - "@polkadot/keyring": "9.5.1", - "@polkadot/types": "8.9.1", - "@polkadot/util": "9.5.1", - "@polkadot/util-crypto": "9.5.1", + "@polkadot/api": "10.1.4", + "@polkadot/keyring": "11.1.1", + "@polkadot/types": "10.1.4", + "@polkadot/util": "12.6.2", + "@polkadot/util-crypto": "12.6.2", "@polkadot/networks": "9.5.1", "@polkadot/x-fetch": "9.5.1", "@polkadot/x-global": "9.5.1", diff --git a/packages/atlas/package.json b/packages/atlas/package.json index 4d7efbc9aa..9199da9de7 100644 --- a/packages/atlas/package.json +++ b/packages/atlas/package.json @@ -40,7 +40,7 @@ "@hookform/resolvers": "^2.9.10", "@joystream/js": "^1.4.0", "@joystream/metadata-protobuf": "2.8.1", - "@joystream/types": "2.1.0", + "@joystream/types": "4.3.0", "@livesession/sdk": "^1.1.4", "@loadable/component": "^5.15.2", "@lottiefiles/react-lottie-player": "^3.5.0", @@ -128,7 +128,7 @@ "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^13.4.0", "@types/aos": "^3.0.4", - "@types/bn.js": "^5.1.1", + "@types/bn.js": "^5.1.5", "@types/crypto-js": "^4.1.1", "@types/js-yaml": "^4.0.5", "@types/loadable__component": "^5.13.4", diff --git a/packages/atlas/src/.env b/packages/atlas/src/.env index 196e955bce..7839ecec7b 100644 --- a/packages/atlas/src/.env +++ b/packages/atlas/src/.env @@ -46,12 +46,12 @@ VITE_DEVELOPMENT_FAUCET_URL=https://atlas-dev.joystream.org/member-faucet/regist VITE_DEVELOPMENT_YPP_FAUCET_URL=https://50.19.175.219.nip.io/memberships # Experimental env URLs -VITE_NEXT_ORION_AUTH_URL= -VITE_NEXT_ORION_URL=https://atlas-next.joystream.org/orion/graphql -VITE_NEXT_QUERY_NODE_SUBSCRIPTION_URL=wss://atlas-next.joystream.org/orion/graphql -VITE_NEXT_NODE_URL=wss://atlas-next.joystream.org/ws-rpc -VITE_NEXT_FAUCET_URL=https://atlas-next.joystream.org/member-faucet/register -VITE_NEXT_YPP_FAUCET_URL=https://52.204.147.11.nip.io/membership +VITE_NEXT_ORION_AUTH_URL=https://3.73.121.180.nip.io/api/v1 +VITE_NEXT_ORION_URL=https://3.73.121.180.nip.io/orion/graphql +VITE_NEXT_QUERY_NODE_SUBSCRIPTION_URL=wss://3.73.121.180.nip.io/orion/graphql +VITE_NEXT_NODE_URL=wss://3.73.121.180.nip.io/ws-rpc +VITE_NEXT_FAUCET_URL=https://3.73.121.180.nip.io/member-faucet/register +VITE_NEXT_YPP_FAUCET_URL=wss://3.73.121.180.nip.io/ws-rpc # Local development env URLs VITE_LOCAL_ORION_AUTH_URL=http://localhost:4074/api/v1 diff --git a/yarn.lock b/yarn.lock index ab5d4be1c8..8f1bb7d447 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2455,7 +2455,7 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.10.1, @babel/runtime@npm:^7.10.2, @babel/runtime@npm:^7.11.2, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.14.8, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.17.9, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.18.9, @babel/runtime@npm:^7.4.2, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.7.7, @babel/runtime@npm:^7.8.7, @babel/runtime@npm:^7.9.2": +"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.10.1, @babel/runtime@npm:^7.10.2, @babel/runtime@npm:^7.11.2, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.14.8, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.17.9, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.4.2, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.7.7, @babel/runtime@npm:^7.8.7, @babel/runtime@npm:^7.9.2": version: 7.19.0 resolution: "@babel/runtime@npm:7.19.0" dependencies: @@ -4256,7 +4256,7 @@ __metadata: "@joystream/js": ^1.4.0 "@joystream/metadata-protobuf": 2.8.1 "@joystream/prettier-config": ^1.0.0 - "@joystream/types": 2.1.0 + "@joystream/types": 4.3.0 "@livesession/sdk": ^1.1.4 "@loadable/component": ^5.15.2 "@lottiefiles/react-lottie-player": ^3.5.0 @@ -4280,7 +4280,7 @@ __metadata: "@testing-library/react": ^13.4.0 "@tippyjs/react": ^4.2.6 "@types/aos": ^3.0.4 - "@types/bn.js": ^5.1.1 + "@types/bn.js": ^5.1.5 "@types/crypto-js": ^4.1.1 "@types/js-yaml": ^4.0.5 "@types/loadable__component": ^5.13.4 @@ -4405,7 +4405,22 @@ __metadata: languageName: node linkType: hard -"@joystream/types@npm:2.1.0, @joystream/types@npm:^2.0.0": +"@joystream/types@npm:4.3.0": + version: 4.3.0 + resolution: "@joystream/types@npm:4.3.0" + dependencies: + "@polkadot/api": 10.1.4 + "@polkadot/keyring": 11.1.1 + "@polkadot/types": 10.1.4 + "@types/lodash": ^4.14.157 + "@types/vfile": ^4.0.0 + lodash: ^4.17.15 + moment: ^2.24.0 + checksum: f79cf15b189fdedf301799797ea635f5a547fdf193fb04fcc3e444af510a498bc17af7b0f1485bcbd1bb72dcc19e52387b41ea736c216222da7107adc1c9a07b + languageName: node + linkType: hard + +"@joystream/types@npm:^2.0.0": version: 2.1.0 resolution: "@joystream/types@npm:2.1.0" dependencies: @@ -4802,10 +4817,19 @@ __metadata: languageName: node linkType: hard -"@noble/hashes@npm:1.1.1": - version: 1.1.1 - resolution: "@noble/hashes@npm:1.1.1" - checksum: 3bd98d7a6dcc01c5e72478975073e12c79639636f4eb5710b665dd8ac462fcdff5b235d0c3b113ac83e7e56c43eee5ccba3759f9262964edc123bd1713dd2180 +"@noble/curves@npm:^1.3.0": + version: 1.3.0 + resolution: "@noble/curves@npm:1.3.0" + dependencies: + "@noble/hashes": 1.3.3 + checksum: b65342ee66c4a440eee2978524412eabba9a9efdd16d6370e15218c6a7d80bddf35e66bb57ed52c0dfd32cb9a717b439ab3a72db618f1a0066dfebe3fd12a421 + languageName: node + linkType: hard + +"@noble/hashes@npm:1.3.3, @noble/hashes@npm:^1.3.3": + version: 1.3.3 + resolution: "@noble/hashes@npm:1.3.3" + checksum: 8a6496d1c0c64797339bc694ad06cdfaa0f9e56cd0c3f68ae3666cfb153a791a55deb0af9c653c7ed2db64d537aa3e3054629740d2f2338bb1dcb7ab60cd205b languageName: node linkType: hard @@ -4816,13 +4840,6 @@ __metadata: languageName: node linkType: hard -"@noble/secp256k1@npm:1.6.0": - version: 1.6.0 - resolution: "@noble/secp256k1@npm:1.6.0" - checksum: e99df3b776515e6a8b3193870e69ff3a7d22c6a4733245dceb9d1d229d5b0859bd478b7213f31d556ba3745647ec07262d0f9df845d79204b7ce4ae1648b27c7 - languageName: node - linkType: hard - "@nodelib/fs.scandir@npm:2.1.5": version: 2.1.5 resolution: "@nodelib/fs.scandir@npm:2.1.5" @@ -4903,88 +4920,88 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-augment@npm:8.9.1": - version: 8.9.1 - resolution: "@polkadot/api-augment@npm:8.9.1" +"@polkadot/api-augment@npm:10.1.4": + version: 10.1.4 + resolution: "@polkadot/api-augment@npm:10.1.4" dependencies: - "@babel/runtime": ^7.18.3 - "@polkadot/api-base": 8.9.1 - "@polkadot/rpc-augment": 8.9.1 - "@polkadot/types": 8.9.1 - "@polkadot/types-augment": 8.9.1 - "@polkadot/types-codec": 8.9.1 - "@polkadot/util": ^9.5.1 - checksum: 80d801472c04400790e1be6830aefd7f05e20c63970b2f8f788086b10748b0999ac7fd4aa6384a9acd0f9aa05380a7050fed3dc5910990322296d9916159df88 + "@polkadot/api-base": 10.1.4 + "@polkadot/rpc-augment": 10.1.4 + "@polkadot/types": 10.1.4 + "@polkadot/types-augment": 10.1.4 + "@polkadot/types-codec": 10.1.4 + "@polkadot/util": ^11.1.1 + tslib: ^2.5.0 + checksum: a3c5a1dcfbc9589f21031830f5594ccb7a354224af6aeed060d83f8172938a2f984e0cdbd0fd341c20131db436fedb6db73f70a228cf583b4fe22e298fa75e8a languageName: node linkType: hard -"@polkadot/api-base@npm:8.9.1": - version: 8.9.1 - resolution: "@polkadot/api-base@npm:8.9.1" +"@polkadot/api-base@npm:10.1.4": + version: 10.1.4 + resolution: "@polkadot/api-base@npm:10.1.4" dependencies: - "@babel/runtime": ^7.18.3 - "@polkadot/rpc-core": 8.9.1 - "@polkadot/types": 8.9.1 - "@polkadot/util": ^9.5.1 - rxjs: ^7.5.5 - checksum: 62f39cb9880a7d1a89a8d5a62915b3595b601a4bb3281df84fbe363025b39618bed3d80e7f4b2da803c1936c1e3e777d17cfb3369a98949f65f12adf51d0f8f5 + "@polkadot/rpc-core": 10.1.4 + "@polkadot/types": 10.1.4 + "@polkadot/util": ^11.1.1 + rxjs: ^7.8.0 + tslib: ^2.5.0 + checksum: 6b2775fd893a9ce296b9d75cc7de57638824f436a14c4d228e73976c62b55c21446a3a04f4e03687ecf46fe4fe6194abd09d30c5258fc3ebba4f120bdeaf3f4c languageName: node linkType: hard -"@polkadot/api-derive@npm:8.9.1": - version: 8.9.1 - resolution: "@polkadot/api-derive@npm:8.9.1" +"@polkadot/api-derive@npm:10.1.4": + version: 10.1.4 + resolution: "@polkadot/api-derive@npm:10.1.4" dependencies: - "@babel/runtime": ^7.18.3 - "@polkadot/api": 8.9.1 - "@polkadot/api-augment": 8.9.1 - "@polkadot/api-base": 8.9.1 - "@polkadot/rpc-core": 8.9.1 - "@polkadot/types": 8.9.1 - "@polkadot/types-codec": 8.9.1 - "@polkadot/util": ^9.5.1 - "@polkadot/util-crypto": ^9.5.1 - rxjs: ^7.5.5 - checksum: 4af64d6f7226e27f6b3b9683cf7278ee7f852034d0c08f2bb060d24cbe642429c60638e73e64c2bb9a39eab906ce3138a96185cba10962e138df71fa7986b851 + "@polkadot/api": 10.1.4 + "@polkadot/api-augment": 10.1.4 + "@polkadot/api-base": 10.1.4 + "@polkadot/rpc-core": 10.1.4 + "@polkadot/types": 10.1.4 + "@polkadot/types-codec": 10.1.4 + "@polkadot/util": ^11.1.1 + "@polkadot/util-crypto": ^11.1.1 + rxjs: ^7.8.0 + tslib: ^2.5.0 + checksum: a41361318826d895c876a35c5c123c3516a16b9ae46373c955c037c9206a212ca866839215fb3456bf357b614ca9f690c3e24f5832ed0226ec78060cb833e1f9 languageName: node linkType: hard -"@polkadot/api@npm:8.9.1": - version: 8.9.1 - resolution: "@polkadot/api@npm:8.9.1" +"@polkadot/api@npm:10.1.4": + version: 10.1.4 + resolution: "@polkadot/api@npm:10.1.4" dependencies: - "@babel/runtime": ^7.18.3 - "@polkadot/api-augment": 8.9.1 - "@polkadot/api-base": 8.9.1 - "@polkadot/api-derive": 8.9.1 - "@polkadot/keyring": ^9.5.1 - "@polkadot/rpc-augment": 8.9.1 - "@polkadot/rpc-core": 8.9.1 - "@polkadot/rpc-provider": 8.9.1 - "@polkadot/types": 8.9.1 - "@polkadot/types-augment": 8.9.1 - "@polkadot/types-codec": 8.9.1 - "@polkadot/types-create": 8.9.1 - "@polkadot/types-known": 8.9.1 - "@polkadot/util": ^9.5.1 - "@polkadot/util-crypto": ^9.5.1 - eventemitter3: ^4.0.7 - rxjs: ^7.5.5 - checksum: 792a918cf8bafa1f8a84df04bf23cc3ebb8c66c4e4b4e712d6c06f7355e7327c67a585404419f40be498274b73ccdb344dfbb5ee01e437c72cda18e9ff942bc6 + "@polkadot/api-augment": 10.1.4 + "@polkadot/api-base": 10.1.4 + "@polkadot/api-derive": 10.1.4 + "@polkadot/keyring": ^11.1.1 + "@polkadot/rpc-augment": 10.1.4 + "@polkadot/rpc-core": 10.1.4 + "@polkadot/rpc-provider": 10.1.4 + "@polkadot/types": 10.1.4 + "@polkadot/types-augment": 10.1.4 + "@polkadot/types-codec": 10.1.4 + "@polkadot/types-create": 10.1.4 + "@polkadot/types-known": 10.1.4 + "@polkadot/util": ^11.1.1 + "@polkadot/util-crypto": ^11.1.1 + eventemitter3: ^5.0.0 + rxjs: ^7.8.0 + tslib: ^2.5.0 + checksum: ef120d4c2aa7c115d26c0b232734485304a57c2532990d6161f906dc39bd36be55ad9c616c1292d8df704bcc95f9c804634fb896af6225c6d928743fe7440208 languageName: node linkType: hard -"@polkadot/keyring@npm:9.5.1": - version: 9.5.1 - resolution: "@polkadot/keyring@npm:9.5.1" +"@polkadot/keyring@npm:11.1.1": + version: 11.1.1 + resolution: "@polkadot/keyring@npm:11.1.1" dependencies: - "@babel/runtime": ^7.18.3 - "@polkadot/util": 9.5.1 - "@polkadot/util-crypto": 9.5.1 + "@polkadot/util": 11.1.1 + "@polkadot/util-crypto": 11.1.1 + tslib: ^2.5.0 peerDependencies: - "@polkadot/util": 9.5.1 - "@polkadot/util-crypto": 9.5.1 - checksum: 9fefeb4ea558a1f927200f24da166f3f536768b2e435e66302d72f44f106e0186b458a63c5b3f4a30d0674f4f9a431a84a15cd5e0be4cf3398dae025eb0cb089 + "@polkadot/util": 11.1.1 + "@polkadot/util-crypto": 11.1.1 + checksum: 7236edeb86250062ffc498cffd0ffe2d408b306ce01aca47035c69d4f98ecf9f3844e72736dded4eebaf2e50eb273e80916a680e61458123375808b9b7a6435b languageName: node linkType: hard @@ -4999,249 +5016,263 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-augment@npm:8.9.1": - version: 8.9.1 - resolution: "@polkadot/rpc-augment@npm:8.9.1" +"@polkadot/rpc-augment@npm:10.1.4": + version: 10.1.4 + resolution: "@polkadot/rpc-augment@npm:10.1.4" dependencies: - "@babel/runtime": ^7.18.3 - "@polkadot/rpc-core": 8.9.1 - "@polkadot/types": 8.9.1 - "@polkadot/types-codec": 8.9.1 - "@polkadot/util": ^9.5.1 - checksum: 9be31079223ef69e61b28689ba74ae5b110195dc53ffdb9a4bf33c0419b46372cda158362232a211e6834cb3ffa35c5fd783f8c4b8b20fcb33a77e3d10ee528e + "@polkadot/rpc-core": 10.1.4 + "@polkadot/types": 10.1.4 + "@polkadot/types-codec": 10.1.4 + "@polkadot/util": ^11.1.1 + tslib: ^2.5.0 + checksum: 0e96d90c6c96f3ee1a5c57f037203738ccf754b47c25486d3977dd09bf803f9528de63800f08b24da67185956bc3ce6b08d37da377a7b47ea9736359f59f0b97 languageName: node linkType: hard -"@polkadot/rpc-core@npm:8.9.1": - version: 8.9.1 - resolution: "@polkadot/rpc-core@npm:8.9.1" +"@polkadot/rpc-core@npm:10.1.4": + version: 10.1.4 + resolution: "@polkadot/rpc-core@npm:10.1.4" dependencies: - "@babel/runtime": ^7.18.3 - "@polkadot/rpc-augment": 8.9.1 - "@polkadot/rpc-provider": 8.9.1 - "@polkadot/types": 8.9.1 - "@polkadot/util": ^9.5.1 - rxjs: ^7.5.5 - checksum: 9546d017a46336142eb8447375f7fb51e66f7eb1284becd3d02c764a8d27705b2a258258b4ef87f885a66946da05552d51cc94961899f7509c4d607362abfa42 + "@polkadot/rpc-augment": 10.1.4 + "@polkadot/rpc-provider": 10.1.4 + "@polkadot/types": 10.1.4 + "@polkadot/util": ^11.1.1 + rxjs: ^7.8.0 + tslib: ^2.5.0 + checksum: 2f17b8932049f18cd3444cd8c9ccb4c0c41571055402bebe774e903f6a67903ac88477a34cd2ec6571ada3e2be0db4a68ec951549d1d74d2fc7c51ae11dc9b3f languageName: node linkType: hard -"@polkadot/rpc-provider@npm:8.9.1": - version: 8.9.1 - resolution: "@polkadot/rpc-provider@npm:8.9.1" +"@polkadot/rpc-provider@npm:10.1.4": + version: 10.1.4 + resolution: "@polkadot/rpc-provider@npm:10.1.4" dependencies: - "@babel/runtime": ^7.18.3 - "@polkadot/keyring": ^9.5.1 - "@polkadot/types": 8.9.1 - "@polkadot/types-support": 8.9.1 - "@polkadot/util": ^9.5.1 - "@polkadot/util-crypto": ^9.5.1 - "@polkadot/x-fetch": ^9.5.1 - "@polkadot/x-global": ^9.5.1 - "@polkadot/x-ws": ^9.5.1 - "@substrate/connect": 0.7.6 - eventemitter3: ^4.0.7 - mock-socket: ^9.1.5 - nock: ^13.2.6 - checksum: 8d6283757453772b2f0e7d8fea4411beb322e9af583ccbd9e07289bd9eed60aaa3d59ef5def3493807d3e157c562f076982eb0179c4b82f8ec2800e0adab9691 + "@polkadot/keyring": ^11.1.1 + "@polkadot/types": 10.1.4 + "@polkadot/types-support": 10.1.4 + "@polkadot/util": ^11.1.1 + "@polkadot/util-crypto": ^11.1.1 + "@polkadot/x-fetch": ^11.1.1 + "@polkadot/x-global": ^11.1.1 + "@polkadot/x-ws": ^11.1.1 + "@substrate/connect": 0.7.21 + eventemitter3: ^5.0.0 + mock-socket: ^9.2.1 + nock: ^13.3.0 + tslib: ^2.5.0 + dependenciesMeta: + "@substrate/connect": + optional: true + checksum: 7f0ef000e76bbcd42b1438d2a1da6283106c56f3b8b180997a5003cedd4024ee2037c3b7a5140d5fa7927bfba090ce26940b287adf4874184ba5ad5d8a22293c languageName: node linkType: hard -"@polkadot/types-augment@npm:8.9.1": - version: 8.9.1 - resolution: "@polkadot/types-augment@npm:8.9.1" +"@polkadot/types-augment@npm:10.1.4": + version: 10.1.4 + resolution: "@polkadot/types-augment@npm:10.1.4" dependencies: - "@babel/runtime": ^7.18.3 - "@polkadot/types": 8.9.1 - "@polkadot/types-codec": 8.9.1 - "@polkadot/util": ^9.5.1 - checksum: b7de393ab161caf6c6854d36923bdc641edba0e3516c8c942862c1182a69cfd8d9caa82f2ca47e24c87b80083050a865dd653423f0aee3cf92d743f657c56a33 + "@polkadot/types": 10.1.4 + "@polkadot/types-codec": 10.1.4 + "@polkadot/util": ^11.1.1 + tslib: ^2.5.0 + checksum: 7ec56b4fe78e7a94faf9063240c2385f557b60aaf98d1842cbd44bb1943481aa48c9ca66185372c5a7087b3b26c6685f443606092517ad9147748371f0cdeb77 languageName: node linkType: hard -"@polkadot/types-codec@npm:8.9.1": - version: 8.9.1 - resolution: "@polkadot/types-codec@npm:8.9.1" +"@polkadot/types-codec@npm:10.1.4": + version: 10.1.4 + resolution: "@polkadot/types-codec@npm:10.1.4" dependencies: - "@babel/runtime": ^7.18.3 - "@polkadot/util": ^9.5.1 - checksum: 9c66b053d740e3fddd512029bc11190d64b8c92c4077a87f05006a4176cf94484197173db8e8576f349e8dd26d36901f778b1b456f2a1360dc5b74c1948f23e6 + "@polkadot/util": ^11.1.1 + "@polkadot/x-bigint": ^11.1.1 + tslib: ^2.5.0 + checksum: 4b8bef53674c4c544a26ecd022d2a0b40697e9494aaf53ad92a0ba1123d67e25b724ba9494b83b781846ba235829d89bb093b1e4938522bcb50294c3527c58f4 languageName: node linkType: hard -"@polkadot/types-create@npm:8.9.1": - version: 8.9.1 - resolution: "@polkadot/types-create@npm:8.9.1" +"@polkadot/types-create@npm:10.1.4": + version: 10.1.4 + resolution: "@polkadot/types-create@npm:10.1.4" dependencies: - "@babel/runtime": ^7.18.3 - "@polkadot/types-codec": 8.9.1 - "@polkadot/util": ^9.5.1 - checksum: 313cce46eca73caaa626980cbd23c01df90cb8266e616bc5d5fad9a59069a390a6f7fc227038203cc97a96a5635a24b32fa5c5e6e64a8053c7203fea1b3eb069 + "@polkadot/types-codec": 10.1.4 + "@polkadot/util": ^11.1.1 + tslib: ^2.5.0 + checksum: 0e56995a1cacc6ad053ad37b7e1a6a5616b28e6dfe98235575b2493a340b9e7ca9c91013d7f4e39d724572e74e776111b147ddc410f5aa90b74ce7ed523e07f3 languageName: node linkType: hard -"@polkadot/types-known@npm:8.9.1": - version: 8.9.1 - resolution: "@polkadot/types-known@npm:8.9.1" +"@polkadot/types-known@npm:10.1.4": + version: 10.1.4 + resolution: "@polkadot/types-known@npm:10.1.4" dependencies: - "@babel/runtime": ^7.18.3 - "@polkadot/networks": ^9.5.1 - "@polkadot/types": 8.9.1 - "@polkadot/types-codec": 8.9.1 - "@polkadot/types-create": 8.9.1 - "@polkadot/util": ^9.5.1 - checksum: 636434237b14ad8ba76d1536c3086f282285da7a85f5db9fe43cd4dea0ccca469ce023118244b0bb57befd6fe1789f6529f42810df3c7b5cd94d6e4192158b9a + "@polkadot/networks": ^11.1.1 + "@polkadot/types": 10.1.4 + "@polkadot/types-codec": 10.1.4 + "@polkadot/types-create": 10.1.4 + "@polkadot/util": ^11.1.1 + tslib: ^2.5.0 + checksum: c967f28b32d6e8a4319ee26962119860cfa045ce07ce749a3e7bbab072a62ca8b2807f7deed47fa74ef214a4e99413f62265f60378bd2f3888d96dc482475ed5 languageName: node linkType: hard -"@polkadot/types-support@npm:8.9.1": - version: 8.9.1 - resolution: "@polkadot/types-support@npm:8.9.1" +"@polkadot/types-support@npm:10.1.4": + version: 10.1.4 + resolution: "@polkadot/types-support@npm:10.1.4" dependencies: - "@babel/runtime": ^7.18.3 - "@polkadot/util": ^9.5.1 - checksum: 12142354c04771ed6494a825941eb74c28a13e0fa8fc5ae0af918859effff10ec29ac927fd83f6555e514c3ae853da2b05ef867538651774912b98a47b256cde + "@polkadot/util": ^11.1.1 + tslib: ^2.5.0 + checksum: 79dedb8f791e29c54940ce100ab7c47834fbc025aaef667f0e368b799e81e38787ca4c4a762357449e3d1834c8d9cc99cdc95f42775c8e9013e076f6103a8e50 languageName: node linkType: hard -"@polkadot/types@npm:8.9.1": - version: 8.9.1 - resolution: "@polkadot/types@npm:8.9.1" +"@polkadot/types@npm:10.1.4": + version: 10.1.4 + resolution: "@polkadot/types@npm:10.1.4" dependencies: - "@babel/runtime": ^7.18.3 - "@polkadot/keyring": ^9.5.1 - "@polkadot/types-augment": 8.9.1 - "@polkadot/types-codec": 8.9.1 - "@polkadot/types-create": 8.9.1 - "@polkadot/util": ^9.5.1 - "@polkadot/util-crypto": ^9.5.1 - rxjs: ^7.5.5 - checksum: e991818b7c2aa357265c921772d6f839683b551c780036cac2514392f9c102793fc82a5149ed824147daf24df3c4abecf57168097f65fe906b0a6220455b70de + "@polkadot/keyring": ^11.1.1 + "@polkadot/types-augment": 10.1.4 + "@polkadot/types-codec": 10.1.4 + "@polkadot/types-create": 10.1.4 + "@polkadot/util": ^11.1.1 + "@polkadot/util-crypto": ^11.1.1 + rxjs: ^7.8.0 + tslib: ^2.5.0 + checksum: 9eb277345dfc95724a3477cfea77917d964bece79d2696557b46533d1d1a4fc1d6ddac2254ab2e298d442a8f25d1b828fe5c28557c8be4fef88e80af45d809ce languageName: node linkType: hard -"@polkadot/util-crypto@npm:9.5.1": - version: 9.5.1 - resolution: "@polkadot/util-crypto@npm:9.5.1" +"@polkadot/util-crypto@npm:12.6.2": + version: 12.6.2 + resolution: "@polkadot/util-crypto@npm:12.6.2" dependencies: - "@babel/runtime": ^7.18.3 - "@noble/hashes": 1.1.1 - "@noble/secp256k1": 1.6.0 - "@polkadot/networks": 9.5.1 - "@polkadot/util": 9.5.1 - "@polkadot/wasm-crypto": ^6.1.1 - "@polkadot/x-bigint": 9.5.1 - "@polkadot/x-randomvalues": 9.5.1 - "@scure/base": 1.1.1 - ed2curve: ^0.3.0 - tweetnacl: ^1.0.3 + "@noble/curves": ^1.3.0 + "@noble/hashes": ^1.3.3 + "@polkadot/networks": 12.6.2 + "@polkadot/util": 12.6.2 + "@polkadot/wasm-crypto": ^7.3.2 + "@polkadot/wasm-util": ^7.3.2 + "@polkadot/x-bigint": 12.6.2 + "@polkadot/x-randomvalues": 12.6.2 + "@scure/base": ^1.1.5 + tslib: ^2.6.2 peerDependencies: - "@polkadot/util": 9.5.1 - checksum: 9b3d6dad22bd012a9f6d36927ff3dbd7d71b362bbd270267a33f4c5b2067c691d0062a63a4fc7d5bdedbf19d16caf1805177c8a5aa8fe41919472c5ac820c2db + "@polkadot/util": 12.6.2 + checksum: 63d4bd9bdc3a7089a0a68555cd6a510b8da3cfab142a8f96ba4b43d5d1db2a543433079bc88c2daf15a329d19ba2cc60f6cca6dbebaefd25e96169cb6343794b languageName: node linkType: hard -"@polkadot/util@npm:9.5.1": - version: 9.5.1 - resolution: "@polkadot/util@npm:9.5.1" +"@polkadot/util@npm:12.6.2": + version: 12.6.2 + resolution: "@polkadot/util@npm:12.6.2" dependencies: - "@babel/runtime": ^7.18.3 - "@polkadot/x-bigint": 9.5.1 - "@polkadot/x-global": 9.5.1 - "@polkadot/x-textdecoder": 9.5.1 - "@polkadot/x-textencoder": 9.5.1 - "@types/bn.js": ^5.1.0 + "@polkadot/x-bigint": 12.6.2 + "@polkadot/x-global": 12.6.2 + "@polkadot/x-textdecoder": 12.6.2 + "@polkadot/x-textencoder": 12.6.2 + "@types/bn.js": ^5.1.5 bn.js: ^5.2.1 - ip-regex: ^4.3.0 - checksum: 57529b2e03f4dc47d4038dea9b29e3b7c9e4c3cd612ed4fa7cfbe20492f46a2744884773b56ad57a74a4a852bd2116af37983745a75d48bf455720a5cc7aea43 + tslib: ^2.6.2 + checksum: a42a226f3c299026458d82e48516abf59c1cd8638167edaa3fc1a17aec0ebab203e0ad68a096a4a4fa188afd55093535a98e5083d682a79242a3c5ad79342599 languageName: node linkType: hard -"@polkadot/wasm-bridge@npm:6.3.1": - version: 6.3.1 - resolution: "@polkadot/wasm-bridge@npm:6.3.1" +"@polkadot/wasm-bridge@npm:7.3.2": + version: 7.3.2 + resolution: "@polkadot/wasm-bridge@npm:7.3.2" dependencies: - "@babel/runtime": ^7.18.9 + "@polkadot/wasm-util": 7.3.2 + tslib: ^2.6.2 peerDependencies: "@polkadot/util": "*" "@polkadot/x-randomvalues": "*" - checksum: ce8ed81dd6c670345211caa0a8cacf316113836fd716deb59f10a49acdf5629cf6bf1ec4d353e0c3e7542ba5494bd4ce3550e08978372c04523eb1b669c2fbdf + checksum: 8c68b78cbd62347ebdf3fa66f2ffd1f7e883df71d770f5099ff652b083a79f1d7e9e7826a6acd8e986e9da0b07c0170a3f77b6a35726c6b24d856e3f8d08d201 languageName: node linkType: hard -"@polkadot/wasm-crypto-asmjs@npm:6.3.1": - version: 6.3.1 - resolution: "@polkadot/wasm-crypto-asmjs@npm:6.3.1" +"@polkadot/wasm-crypto-asmjs@npm:7.3.2": + version: 7.3.2 + resolution: "@polkadot/wasm-crypto-asmjs@npm:7.3.2" dependencies: - "@babel/runtime": ^7.18.9 + tslib: ^2.6.2 peerDependencies: "@polkadot/util": "*" - checksum: 42d59c9e218455e95acbf9301be51a69d299204971177cd34b4b4ea8a1a14f02e18031d9e4fafa1de4d82a0f7c3c627e0490d804dadab5d82a7fa9e09176a927 + checksum: 669ea001565301f9b1a8feecb0e301c854fc318e5605316b57be7e83d717e7ee8ac460001cd44b18075a3d028c32c4a605c0e0e2e95ae00865282321b009ed26 languageName: node linkType: hard -"@polkadot/wasm-crypto-init@npm:6.3.1": - version: 6.3.1 - resolution: "@polkadot/wasm-crypto-init@npm:6.3.1" +"@polkadot/wasm-crypto-init@npm:7.3.2": + version: 7.3.2 + resolution: "@polkadot/wasm-crypto-init@npm:7.3.2" dependencies: - "@babel/runtime": ^7.18.9 - "@polkadot/wasm-bridge": 6.3.1 - "@polkadot/wasm-crypto-asmjs": 6.3.1 - "@polkadot/wasm-crypto-wasm": 6.3.1 + "@polkadot/wasm-bridge": 7.3.2 + "@polkadot/wasm-crypto-asmjs": 7.3.2 + "@polkadot/wasm-crypto-wasm": 7.3.2 + "@polkadot/wasm-util": 7.3.2 + tslib: ^2.6.2 peerDependencies: "@polkadot/util": "*" "@polkadot/x-randomvalues": "*" - checksum: c1ece641a95df111213af74088ee7a75e87fba0520711d33b629a7132c6171a4eb51831b496a742c9ee5a248f87079531a8963ef252552d47d7f9d046e042132 + checksum: af7bc62bba16f1fbbfd76601ecf18ed8f4dfc685807e2e89ef8e8d02f824d1a1ed1635e9c2448c6c12a9a183192b18943f9ce077d6b7781c4d43cdb5c45c9161 languageName: node linkType: hard -"@polkadot/wasm-crypto-wasm@npm:6.3.1": - version: 6.3.1 - resolution: "@polkadot/wasm-crypto-wasm@npm:6.3.1" +"@polkadot/wasm-crypto-wasm@npm:7.3.2": + version: 7.3.2 + resolution: "@polkadot/wasm-crypto-wasm@npm:7.3.2" dependencies: - "@babel/runtime": ^7.18.9 - "@polkadot/wasm-util": 6.3.1 + "@polkadot/wasm-util": 7.3.2 + tslib: ^2.6.2 peerDependencies: "@polkadot/util": "*" - checksum: a8f032ebe5c094a2eca0d93748457c4e28d0d1d84bc8bfa48d9eacbb6333d65db2a5927b3997dad12cf9621780786c752a6c626a410c323e1f9b8fd773d8bff8 + checksum: e112ea3d4f8858a95fdaad47341b422db3db3256b7e7d709d1c3e0bc4c4bbdf81028eaa556b688078b32ff15be33af093b903c680f54eb1552072afede621a6a languageName: node linkType: hard -"@polkadot/wasm-crypto@npm:^6.1.1": - version: 6.3.1 - resolution: "@polkadot/wasm-crypto@npm:6.3.1" +"@polkadot/wasm-crypto@npm:^7.3.2": + version: 7.3.2 + resolution: "@polkadot/wasm-crypto@npm:7.3.2" dependencies: - "@babel/runtime": ^7.18.9 - "@polkadot/wasm-bridge": 6.3.1 - "@polkadot/wasm-crypto-asmjs": 6.3.1 - "@polkadot/wasm-crypto-init": 6.3.1 - "@polkadot/wasm-crypto-wasm": 6.3.1 - "@polkadot/wasm-util": 6.3.1 + "@polkadot/wasm-bridge": 7.3.2 + "@polkadot/wasm-crypto-asmjs": 7.3.2 + "@polkadot/wasm-crypto-init": 7.3.2 + "@polkadot/wasm-crypto-wasm": 7.3.2 + "@polkadot/wasm-util": 7.3.2 + tslib: ^2.6.2 peerDependencies: "@polkadot/util": "*" "@polkadot/x-randomvalues": "*" - checksum: 36ecc015e8930f3cc908dcde433d538084f8ef1f812853ac8245734af6f79fc8b337d5226c1dc983a4c6aa28b256d7fde1860f9613fcdec09c43b10d7f3a0d6b + checksum: 574006cdcc3e76af28cc79102726a79fdcd765ca5b45cbc4807d70917d82131b59f50b5cc07bd165b2863ed131b8764fef74b00c68ba5ec30a21c04c72061f8f languageName: node linkType: hard -"@polkadot/wasm-util@npm:6.3.1": - version: 6.3.1 - resolution: "@polkadot/wasm-util@npm:6.3.1" +"@polkadot/wasm-util@npm:7.3.2, @polkadot/wasm-util@npm:^7.3.2": + version: 7.3.2 + resolution: "@polkadot/wasm-util@npm:7.3.2" dependencies: - "@babel/runtime": ^7.18.9 + tslib: ^2.6.2 peerDependencies: "@polkadot/util": "*" - checksum: 3cab3b86c6659f133db84823a92539006fc19a194a6831bbb346aa9498b4831f717852ac76ed2b485356abf33eaa39a2267f4ab8ff777a7b7f530c138fb0efbe + checksum: 44bd445043714aac6d184ce02d62fbdb97a117fd4d8bdbf3f2c1d14f6911a7d87ed6bb4682035eb757524ade995f7f4f8aaa07c8a194f761884ded25a6b383a9 languageName: node linkType: hard -"@polkadot/x-bigint@npm:9.5.1": - version: 9.5.1 - resolution: "@polkadot/x-bigint@npm:9.5.1" +"@polkadot/x-bigint@npm:12.6.2": + version: 12.6.2 + resolution: "@polkadot/x-bigint@npm:12.6.2" dependencies: - "@babel/runtime": ^7.18.3 - "@polkadot/x-global": 9.5.1 - checksum: 0031935e55424eb348e9d01eab0b61632535f30a89121451a20e397c6012609b59b3b7b62f329669a01a1a204f02916c46538542eff042381f7ffb0aad2edb8f + "@polkadot/x-global": 12.6.2 + tslib: ^2.6.2 + checksum: 12b2d5c3a7b994f5bd4f7aeda9e268384b04bd080892400c65b88fb5aa4951df6c4abe3baf9820f3adf3da92e2add710858dd35dcd597d2527bbfd1cd0efe534 + languageName: node + linkType: hard + +"@polkadot/x-bigint@npm:^11.1.1": + version: 11.1.3 + resolution: "@polkadot/x-bigint@npm:11.1.3" + dependencies: + "@polkadot/x-global": 11.1.3 + tslib: ^2.5.0 + checksum: e7d72b8bb1fafb0db8cfc66e5a8fff4559d0c6f6d60f29ed554ea6c278c0438cf0f1d1a87556e364d86675c821658b791df75b3072dcdea40c6cb0049d462833 languageName: node linkType: hard @@ -5266,33 +5297,36 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-randomvalues@npm:9.5.1": - version: 9.5.1 - resolution: "@polkadot/x-randomvalues@npm:9.5.1" +"@polkadot/x-randomvalues@npm:12.6.2": + version: 12.6.2 + resolution: "@polkadot/x-randomvalues@npm:12.6.2" dependencies: - "@babel/runtime": ^7.18.3 - "@polkadot/x-global": 9.5.1 - checksum: e31f4721b06552144f305862a2efb64ee2e8b2efe4d47c70084f74e182091518a5947920fcc0d5d46b41449906aa51bed4415a4f8e813db20c4096a4b7e4166e + "@polkadot/x-global": 12.6.2 + tslib: ^2.6.2 + peerDependencies: + "@polkadot/util": 12.6.2 + "@polkadot/wasm-util": "*" + checksum: 7faccf2dbcf0c7383b5ecfd7beb098c8c8ad5cf4c8f5bafd601657f8271af8f00b66741531ecf8b2f7c59911d96f77e358184a7c5034c70bf387a8e929a4c210 languageName: node linkType: hard -"@polkadot/x-textdecoder@npm:9.5.1": - version: 9.5.1 - resolution: "@polkadot/x-textdecoder@npm:9.5.1" +"@polkadot/x-textdecoder@npm:12.6.2": + version: 12.6.2 + resolution: "@polkadot/x-textdecoder@npm:12.6.2" dependencies: - "@babel/runtime": ^7.18.3 - "@polkadot/x-global": 9.5.1 - checksum: 300635ee12de2668b3689b4ba38a33846585bcfc532410f81d70e4c53f5b94780344b9cc74f304c62e7d2293df229982172bf4228023ed2f9500c940898ae0cc + "@polkadot/x-global": 12.6.2 + tslib: ^2.6.2 + checksum: c7e4b7f7ff943095a96bef3e3e56216d33d6ff38c965931356a06d01594b2c523ccbeada697a31b5457b134e578618f35425e0883f45187adffa98df99a45f27 languageName: node linkType: hard -"@polkadot/x-textencoder@npm:9.5.1": - version: 9.5.1 - resolution: "@polkadot/x-textencoder@npm:9.5.1" +"@polkadot/x-textencoder@npm:12.6.2": + version: 12.6.2 + resolution: "@polkadot/x-textencoder@npm:12.6.2" dependencies: - "@babel/runtime": ^7.18.3 - "@polkadot/x-global": 9.5.1 - checksum: c3f29d9d057b1ce75c8afe33d6aa11750a940685c9ac14669dd640da78b0316e82c7a832a4c1f6314e09715446dcefcc8740ed66d9bb4aa56bcdb5a7cc23dae5 + "@polkadot/x-global": 12.6.2 + tslib: ^2.6.2 + checksum: d3eacdc0eb2e1ef8b8132d52a1f1033be62bc64360753a117f2e6517ccf7c9cde628558bbd016a73836eacd91cb1e2ac382dce0ce9c8d32c2f7db3fcc8863911 languageName: node linkType: hard @@ -5629,10 +5663,10 @@ __metadata: languageName: node linkType: hard -"@scure/base@npm:1.1.1": - version: 1.1.1 - resolution: "@scure/base@npm:1.1.1" - checksum: b4fc810b492693e7e8d0107313ac74c3646970c198bbe26d7332820886fa4f09441991023ec9aa3a2a51246b74409ab5ebae2e8ef148bbc253da79ac49130309 +"@scure/base@npm:^1.1.5": + version: 1.1.5 + resolution: "@scure/base@npm:1.1.5" + checksum: 9e9ee6088cb3aa0fb91f5a48497d26682c7829df3019b1251d088d166d7a8c0f941c68aaa8e7b96bbad20c71eb210397cb1099062cde3e29d4bad6b975c18519 languageName: node linkType: hard @@ -7983,32 +8017,21 @@ __metadata: languageName: node linkType: hard -"@substrate/connect-extension-protocol@npm:^1.0.0": +"@substrate/connect-extension-protocol@npm:^1.0.1": version: 1.0.1 resolution: "@substrate/connect-extension-protocol@npm:1.0.1" checksum: 116dee587e81e832e14c25038bd849438c9493c6089aa6c1bf1760780d463880d44d362ed983d57ac3695368ac46f3c9df3dbaed92f36de89626c9735cecd1e4 languageName: node linkType: hard -"@substrate/connect@npm:0.7.6": - version: 0.7.6 - resolution: "@substrate/connect@npm:0.7.6" +"@substrate/connect@npm:0.7.21": + version: 0.7.21 + resolution: "@substrate/connect@npm:0.7.21" dependencies: - "@substrate/connect-extension-protocol": ^1.0.0 - "@substrate/smoldot-light": 0.6.19 + "@substrate/connect-extension-protocol": ^1.0.1 eventemitter3: ^4.0.7 - checksum: 51f34d385e91d4c84acb47b4bf9f824cbbc8546829a74aa27ad7a0d9e2128152879ba5400a029297d4ca8600ef381f4f72c1ffe82a16331221896cad85773407 - languageName: node - linkType: hard - -"@substrate/smoldot-light@npm:0.6.19": - version: 0.6.19 - resolution: "@substrate/smoldot-light@npm:0.6.19" - dependencies: - buffer: ^6.0.1 - pako: ^2.0.4 - websocket: ^1.0.32 - checksum: 5d276c44d1782826fd1bbe3c517c70cdf3d0dc558c34615dcc4480b407fccf90b8a9d33c6058aefc50cdb47349fc65595312b4f6fd9f199d93a7b562f20759f6 + smoldot: 1.0.0 + checksum: 63fd91ed42ed5e36158c7fb9df916fad31f3ee19f93eddd16bd7ebea934c1aecac1cbc1c01ddffcb9623b618b52fe2ece5bbba959626ee129eafaaa199b78389 languageName: node linkType: hard @@ -8404,7 +8427,7 @@ __metadata: languageName: node linkType: hard -"@types/bn.js@npm:^5.1.0, @types/bn.js@npm:^5.1.1": +"@types/bn.js@npm:^5.1.0": version: 5.1.1 resolution: "@types/bn.js@npm:5.1.1" dependencies: @@ -8413,6 +8436,15 @@ __metadata: languageName: node linkType: hard +"@types/bn.js@npm:^5.1.5": + version: 5.1.5 + resolution: "@types/bn.js@npm:5.1.5" + dependencies: + "@types/node": "*" + checksum: c87b28c4af74545624f8a3dae5294b16aa190c222626e8d4b2e327b33b1a3f1eeb43e7a24d914a9774bca43d8cd6e1cb0325c1f4b3a244af6693a024e1d918e6 + languageName: node + linkType: hard + "@types/body-parser@npm:*": version: 1.19.2 resolution: "@types/body-parser@npm:1.19.2" @@ -10833,7 +10865,7 @@ __metadata: languageName: node linkType: hard -"buffer@npm:^6.0.1, buffer@npm:^6.0.3": +"buffer@npm:^6.0.3": version: 6.0.3 resolution: "buffer@npm:6.0.3" dependencies: @@ -12581,15 +12613,6 @@ __metadata: languageName: node linkType: hard -"ed2curve@npm:^0.3.0": - version: 0.3.0 - resolution: "ed2curve@npm:0.3.0" - dependencies: - tweetnacl: 1.x.x - checksum: 6dfbe2310aa5a47372c9dd2fd920be140c8d52aea5793d716a3e3865d2ceaeaf639a7653e5492dfe3b4910eaf65c09a1d5132580afe2fdca18a75ebb428a52f2 - languageName: node - linkType: hard - "ee-first@npm:1.1.1": version: 1.1.1 resolution: "ee-first@npm:1.1.1" @@ -13515,6 +13538,13 @@ __metadata: languageName: node linkType: hard +"eventemitter3@npm:^5.0.0": + version: 5.0.1 + resolution: "eventemitter3@npm:5.0.1" + checksum: 543d6c858ab699303c3c32e0f0f47fc64d360bf73c3daf0ac0b5079710e340d6fe9f15487f94e66c629f5f82cd1a8678d692f3dbb6f6fcd1190e1b97fcad36f8 + languageName: node + linkType: hard + "events@npm:^3.2.0": version: 3.3.0 resolution: "events@npm:3.3.0" @@ -15145,13 +15175,6 @@ __metadata: languageName: node linkType: hard -"ip-regex@npm:^4.3.0": - version: 4.3.0 - resolution: "ip-regex@npm:4.3.0" - checksum: 7ff904b891221b1847f3fdf3dbb3e6a8660dc39bc283f79eb7ed88f5338e1a3d1104b779bc83759159be266249c59c2160e779ee39446d79d4ed0890dfd06f08 - languageName: node - linkType: hard - "ip@npm:^1.1.5": version: 1.1.8 resolution: "ip@npm:1.1.8" @@ -17450,10 +17473,10 @@ __metadata: languageName: node linkType: hard -"mock-socket@npm:^9.1.5": - version: 9.1.5 - resolution: "mock-socket@npm:9.1.5" - checksum: a01586bc2850eb5809eda6de0c7ab19255c1e0eb217a805f86ba662bb4aab00b919032d67e7c826c6c12bcfb2fbe19cecbacf0ab6184936487edc4ba37d3ba53 +"mock-socket@npm:^9.2.1": + version: 9.3.1 + resolution: "mock-socket@npm:9.3.1" + checksum: cb2dde4fc5dde280dd5ccb78eaaa223382ee16437f46b86558017655584ad08c22e733bde2dd5cc86927def506b6caeb0147e3167b9a62d70d5cf19d44103853 languageName: node linkType: hard @@ -17703,15 +17726,14 @@ __metadata: languageName: node linkType: hard -"nock@npm:^13.2.6": - version: 13.2.9 - resolution: "nock@npm:13.2.9" +"nock@npm:^13.3.0": + version: 13.5.4 + resolution: "nock@npm:13.5.4" dependencies: debug: ^4.1.0 json-stringify-safe: ^5.0.1 - lodash: ^4.17.21 propagate: ^2.0.0 - checksum: 04a2dc60b4b55fd1240f28fe34865bbc744088a4570db3781fcf66021644cc3cc9178fd86a0cb0c1f28ea77b83e8f1c9288535f6b39a6d07100059f156ccc23b + checksum: d31f924e34c87ae985edfb7b5a56e8a4dcfc3a072334ceb6d686326581f93090b3e23492663a64ce61b8df4f365b113231d926bc300bcfe9e5eb309c3e4b8628 languageName: node linkType: hard @@ -20195,6 +20217,15 @@ __metadata: languageName: node linkType: hard +"rxjs@npm:^7.8.0": + version: 7.8.1 + resolution: "rxjs@npm:7.8.1" + dependencies: + tslib: ^2.1.0 + checksum: de4b53db1063e618ec2eca0f7965d9137cabe98cf6be9272efe6c86b47c17b987383df8574861bcced18ebd590764125a901d5506082be84a8b8e364bf05f119 + languageName: node + linkType: hard + "sade@npm:^1.7.3": version: 1.8.1 resolution: "sade@npm:1.8.1" @@ -20603,6 +20634,16 @@ __metadata: languageName: node linkType: hard +"smoldot@npm:1.0.0": + version: 1.0.0 + resolution: "smoldot@npm:1.0.0" + dependencies: + pako: ^2.0.4 + ws: ^8.8.1 + checksum: 507126c07a6512ea7d19fb2041cc0f78b8031a3f76471b491f19db81e61dbe7ebbd633c23951e9f8e7c3aeee3fc4c0b508dee5b925bfb7d6640ce0853ce6e3ef + languageName: node + linkType: hard + "snake-case@npm:^3.0.4": version: 3.0.4 resolution: "snake-case@npm:3.0.4" @@ -21769,6 +21810,13 @@ __metadata: languageName: node linkType: hard +"tslib@npm:^2.5.0, tslib@npm:^2.6.2": + version: 2.6.2 + resolution: "tslib@npm:2.6.2" + checksum: 329ea56123005922f39642318e3d1f0f8265d1e7fcb92c633e0809521da75eeaca28d2cf96d7248229deb40e5c19adf408259f4b9640afd20d13aecc1430f3ad + languageName: node + linkType: hard + "tsutils@npm:^3.21.0": version: 3.21.0 resolution: "tsutils@npm:3.21.0" @@ -21780,13 +21828,6 @@ __metadata: languageName: node linkType: hard -"tweetnacl@npm:1.x.x, tweetnacl@npm:^1.0.3": - version: 1.0.3 - resolution: "tweetnacl@npm:1.0.3" - checksum: e4a57cac188f0c53f24c7a33279e223618a2bfb5fea426231991652a13247bea06b081fd745d71291fcae0f4428d29beba1b984b1f1ce6f66b06a6d1ab90645c - languageName: node - linkType: hard - "twemoji-parser@npm:14.0.0": version: 14.0.0 resolution: "twemoji-parser@npm:14.0.0" @@ -23026,7 +23067,7 @@ __metadata: languageName: node linkType: hard -"websocket@npm:^1.0.32, websocket@npm:^1.0.34": +"websocket@npm:^1.0.34": version: 1.0.34 resolution: "websocket@npm:1.0.34" dependencies: @@ -23272,6 +23313,21 @@ __metadata: languageName: node linkType: hard +"ws@npm:^8.8.1": + version: 8.16.0 + resolution: "ws@npm:8.16.0" + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: ">=5.0.2" + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + checksum: feb3eecd2bae82fa8a8beef800290ce437d8b8063bdc69712725f21aef77c49cb2ff45c6e5e7fce622248f9c7abaee506bae0a9064067ffd6935460c7357321b + languageName: node + linkType: hard + "xtend@npm:^4.0.0, xtend@npm:~4.0.1": version: 4.0.2 resolution: "xtend@npm:4.0.2" From 0434c346afe6b07b6ad6b894fadbcaa89d5e0bab Mon Sep 17 00:00:00 2001 From: WRadoslaw <92513933+WRadoslaw@users.noreply.github.com> Date: Wed, 13 Mar 2024 16:27:38 +0100 Subject: [PATCH 3/4] :feelsgood: Fix distributor operator logs (#5987) * fix: :bug: rewording distributor -> storage OPerator * fix: :sparkles: improve logs for distributor assets --------- Co-authored-by: Ignazio Bovo --- packages/atlas/src/hooks/useGetAssetUrl.ts | 2 ++ .../src/providers/uploads/uploads.hooks.ts | 6 ++--- packages/atlas/src/utils/logs/asset.ts | 24 ++++++++++++++++--- 3 files changed, 26 insertions(+), 6 deletions(-) diff --git a/packages/atlas/src/hooks/useGetAssetUrl.ts b/packages/atlas/src/hooks/useGetAssetUrl.ts index 838f172908..7ef8a1cbbe 100644 --- a/packages/atlas/src/hooks/useGetAssetUrl.ts +++ b/packages/atlas/src/hooks/useGetAssetUrl.ts @@ -34,6 +34,8 @@ export const getSingleAssetUrl = async ( dataObjectId: id, dataObjectType: type || undefined, resolvedUrl: distributionAssetUrl, + // https://mrbovo.distributor.cc/distributor/api/v1/assets/48451 -> regexp match for https://mrbovo.distributor.cc + distributorUrl: distributionAssetUrl.match(/https?:\/\/[^/]+/)?.[0] ?? undefined, } const [assetTestPromise, cleanup] = testAssetDownload(distributionAssetUrl, type, opts) const assetTestPromiseWithTimeout = withTimeout( diff --git a/packages/atlas/src/providers/uploads/uploads.hooks.ts b/packages/atlas/src/providers/uploads/uploads.hooks.ts index b7542cb75c..ac9f43e1fb 100644 --- a/packages/atlas/src/providers/uploads/uploads.hooks.ts +++ b/packages/atlas/src/providers/uploads/uploads.hooks.ts @@ -180,7 +180,7 @@ export const useStartFileUpload = () => { // only retry on Axios error, otherwise code is to blame if (networkFailure) { - UserEventsLogger.logDistributorError({ dataObjectId: asset.id, distributorId: uploadOperator.id }, e) + UserEventsLogger.logUploadError({ dataObjectId: asset.id, storageOperatorId: uploadOperator.id }, e) markStorageOperatorFailed(uploadOperator.id) const retry = opts?.retry ?? 0 @@ -199,8 +199,8 @@ export const useStartFileUpload = () => { { dataObjectId: asset.id, dataObjectType: asset.type, - distributorId: uploadOperator.id, - distributorUrl: uploadOperator.endpoint, + storageOperatorId: uploadOperator.id, + storageOperatorUrl: uploadOperator.endpoint, }, e ) diff --git a/packages/atlas/src/utils/logs/asset.ts b/packages/atlas/src/utils/logs/asset.ts index b7bb4b3cb7..56867a4c15 100644 --- a/packages/atlas/src/utils/logs/asset.ts +++ b/packages/atlas/src/utils/logs/asset.ts @@ -13,6 +13,11 @@ type DistributorEventDetails = { distributorUrl?: string | null } +type StorageOperatorEventDetails = { + storageOperatorId?: string + storageOperatorUrl?: string | null +} + export type DistributorEventMetric = { initialResponseTime?: number fullResponseTime?: number @@ -44,11 +49,15 @@ type UserLogEvent = { [x: string]: unknown } -export type DistributorEventEntry = { +export type DataObjectEventEntry = { dataObjectId?: string | null dataObjectType?: DataObjectType['__typename'] | AssetType resolvedUrl?: string -} & DistributorEventDetails +} + +export type StorageOperatorEventEntry = DataObjectEventEntry & StorageOperatorEventDetails + +export type DistributorEventEntry = DataObjectEventEntry & DistributorEventDetails type CodecInfo = { assetType: string | null @@ -144,6 +153,15 @@ class _UserEventsLogger { this.addErrorEvent(event) } + logUploadError(entry: StorageOperatorEventEntry, error: Error) { + const event: UserLogEvent = { + type: 'distributor-response-error', + ...entry, + error: error.message, + } + this.addErrorEvent(event) + } + logDistributorResponseTimeout(entry: DistributorEventEntry) { const event: UserPerformanceEvent = { type: 'distributor-response-timeout', @@ -177,7 +195,7 @@ class _UserEventsLogger { this.addErrorEvent(event) } - logAssetUploadFailedEvent(entry: DistributorEventEntry, error: Error) { + logAssetUploadFailedEvent(entry: StorageOperatorEventEntry, error: Error) { const event: UserLogEvent = { type: 'asset-upload-failed', ...entry, From 933998bd4823e0dfa5c3b63a85a2f9517c8ef755 Mon Sep 17 00:00:00 2001 From: WRadoslaw Date: Wed, 13 Mar 2024 16:31:14 +0100 Subject: [PATCH 4/4] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20version=20and?= =?UTF-8?q?=20adjust=20changelog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 14 ++++++++++++++ packages/atlas/package.json | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 78ee30bad9..761f987478 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [5.0.0] - 2024-03-13 + +### Added + +- New types for Nara network release + +### Fixed + +- Logs during upload failure + +### Changed + +- Rolled back to previous version of Swiper due to loop issues + ## [4.15.2] - 2024-03-07 ### Added diff --git a/packages/atlas/package.json b/packages/atlas/package.json index 9199da9de7..3bbeb896dd 100644 --- a/packages/atlas/package.json +++ b/packages/atlas/package.json @@ -1,7 +1,7 @@ { "name": "@joystream/atlas", "description": "UI for consuming Joystream - a user governed video platform", - "version": "4.15.2", + "version": "5.0.0", "license": "GPL-3.0", "scripts": { "start": "vite",