Skip to content

Commit

Permalink
feat: bump rdt
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidsowardx committed Dec 12, 2024
1 parent a8eca1c commit df4561b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
13 changes: 11 additions & 2 deletions apps/sandbox/src/rdt/rdt.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { BehaviorSubject, tap } from 'rxjs'
import {
DataRequestBuilder,
EnvironmentModule,
GatewayModule,
LocalStorageModule,
RadixDappToolkit,
Expand Down Expand Up @@ -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({
Expand Down Expand Up @@ -116,7 +124,8 @@ const walletRequestModule = WalletRequestModule({
providers: {
stateModule,
storageModule,
gatewayModule
gatewayModule,
environmentModule
}
})

Expand Down
14 changes: 4 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit df4561b

Please sign in to comment.