From df4561bd969dafb9b87d3df5552b92a0512ba037 Mon Sep 17 00:00:00 2001 From: Dawid Sowa Date: Thu, 12 Dec 2024 13:02:42 +0100 Subject: [PATCH] feat: bump rdt --- apps/sandbox/src/rdt/rdt.ts | 13 +++++++++++-- package-lock.json | 14 ++++---------- packages/common/package.json | 2 +- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/apps/sandbox/src/rdt/rdt.ts b/apps/sandbox/src/rdt/rdt.ts index eb0329b45..e0818b213 100644 --- a/apps/sandbox/src/rdt/rdt.ts +++ b/apps/sandbox/src/rdt/rdt.ts @@ -1,6 +1,7 @@ import { BehaviorSubject, tap } from 'rxjs' import { DataRequestBuilder, + EnvironmentModule, GatewayModule, LocalStorageModule, RadixDappToolkit, @@ -87,8 +88,15 @@ export const gatewayApi = GatewayApiClient({ applicationVersion }) +const environmentModule = EnvironmentModule() + const storageModule = LocalStorageModule( - `rdt:${dAppDefinitionAddress.value}:${networkId}` + `rdt:${dAppDefinitionAddress.value}:${networkId}`, + { + providers: { + environmentModule + } + } ) const stateModule = StateModule({ @@ -116,7 +124,8 @@ const walletRequestModule = WalletRequestModule({ providers: { stateModule, storageModule, - gatewayModule + gatewayModule, + environmentModule } }) diff --git a/package-lock.json b/package-lock.json index 8ffe74a1d..477c63a06 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8912,14 +8912,13 @@ } }, "node_modules/@radixdlt/radix-dapp-toolkit": { - "version": "2.2.0-dev.17", - "resolved": "https://registry.npmjs.org/@radixdlt/radix-dapp-toolkit/-/radix-dapp-toolkit-2.2.0-dev.17.tgz", - "integrity": "sha512-SxjWetUX0+SGVuIh1NYM4Xzz3ytcxGYhjvfWb27rK0Slio6Ihx02LHps91cWlZXCWZjet0pweVWN+ojtyNkeQw==", + "version": "2.2.0-dev.19", + "resolved": "https://registry.npmjs.org/@radixdlt/radix-dapp-toolkit/-/radix-dapp-toolkit-2.2.0-dev.19.tgz", + "integrity": "sha512-8DKBgQIp6FfJGDo0iDPN7BBdeXhkhY/H8mOX5BHWGkdsUpNhVWbTD86L9txrsYIz3et1ud4VBlZg1lBx3lfvAw==", "dependencies": { "@noble/curves": "^1.4.0", "base64url": "^3.0.1", "blakejs": "^1.2.1", - "bowser": "^2.11.0", "buffer": "^6.0.3", "immer": "^10.0.4", "lit": "^3.1.2", @@ -15070,11 +15069,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/bowser": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz", - "integrity": "sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA==" - }, "node_modules/bplist-parser": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.2.0.tgz", @@ -32251,7 +32245,7 @@ "@floating-ui/dom": "^1.5.3", "@radixdlt/babylon-core-api-sdk": "^1.2.3", "@radixdlt/babylon-gateway-api-sdk": "^1.8.1", - "@radixdlt/radix-dapp-toolkit": "2.2.0-dev.17", + "@radixdlt/radix-dapp-toolkit": "2.2.0-dev.19", "@radixdlt/radix-engine-toolkit": "^1.0.5", "@radixdlt/rola": "^2.1.0", "dayjs": "^1.11.10", diff --git a/packages/common/package.json b/packages/common/package.json index 7f89b68c2..685ee9c80 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -7,7 +7,7 @@ "@floating-ui/dom": "^1.5.3", "@radixdlt/babylon-core-api-sdk": "^1.2.3", "@radixdlt/babylon-gateway-api-sdk": "^1.8.1", - "@radixdlt/radix-dapp-toolkit": "2.2.0-dev.17", + "@radixdlt/radix-dapp-toolkit": "2.2.0-dev.19", "@radixdlt/radix-engine-toolkit": "^1.0.5", "@radixdlt/rola": "^2.1.0", "dayjs": "^1.11.10",