diff --git a/examples/typescript-full-stack/apps/client/package.json b/examples/typescript-full-stack/apps/client/package.json index 9cbf19c..e1d9d3a 100644 --- a/examples/typescript-full-stack/apps/client/package.json +++ b/examples/typescript-full-stack/apps/client/package.json @@ -13,6 +13,6 @@ "vite": "^4.4.0" }, "dependencies": { - "@radixdlt/radix-dapp-toolkit": "1.0.0" + "@radixdlt/radix-dapp-toolkit": "1.1.1" } } diff --git a/examples/typescript-full-stack/apps/client/src/main.ts b/examples/typescript-full-stack/apps/client/src/main.ts index b70efcd..7803c91 100644 --- a/examples/typescript-full-stack/apps/client/src/main.ts +++ b/examples/typescript-full-stack/apps/client/src/main.ts @@ -5,6 +5,7 @@ import { DataRequestBuilder, RadixDappToolkit, RadixNetwork, + createLogger, } from '@radixdlt/radix-dapp-toolkit' document.querySelector('#app')!.innerHTML = ` @@ -28,6 +29,7 @@ const radixDappToolkit = RadixDappToolkit({ dAppDefinitionAddress: 'account_tdx_2_12yf9gd53yfep7a669fv2t3wm7nz9zeezwd04n02a433ker8vza6rhe', networkId: RadixNetwork.Stokenet, + logger: createLogger(1), }) // Clear the dApp state for example purposes diff --git a/examples/typescript-full-stack/package-lock.json b/examples/typescript-full-stack/package-lock.json index 47c29ce..8ffb76d 100644 --- a/examples/typescript-full-stack/package-lock.json +++ b/examples/typescript-full-stack/package-lock.json @@ -17,13 +17,31 @@ "apps/client": { "version": "0.0.0", "dependencies": { - "@radixdlt/radix-dapp-toolkit": "1.0.0" + "@radixdlt/radix-dapp-toolkit": "1.1.1" }, "devDependencies": { "typescript": "^5.0.2", "vite": "^4.4.0" } }, + "apps/client/node_modules/@radixdlt/radix-dapp-toolkit": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radixdlt/radix-dapp-toolkit/-/radix-dapp-toolkit-1.1.1.tgz", + "integrity": "sha512-plr8y3mqboernvMj2+FAzpaYvKGJ+gka2fLYksi0FkmJwO2bi6k5S5r69UW73ul2OMjJik18XLgBj1BOD0BicA==", + "dependencies": { + "@radixdlt/babylon-gateway-api-sdk": "1.0.1", + "@radixdlt/connect-button": "1.0.0", + "@radixdlt/wallet-sdk": "1.0.1", + "immer": "^10.0.2", + "lodash.isequal": "^4.5.0", + "neverthrow": "^6.0.0", + "rxjs": "^7.8.1", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=16.0.0" + } + }, "apps/server": { "version": "0.0.0", "license": "MIT", @@ -484,25 +502,7 @@ "resolved": "https://registry.npmjs.org/@radixdlt/babylon-gateway-api-sdk/-/babylon-gateway-api-sdk-1.0.1.tgz", "integrity": "sha512-WLfw+NuoFC04SgGKpGvkrFp67BdzCbKwklFmNjTqX9l/A0dUN820Xggf1BZ8jRUDUJI20V+fAsTTvT7ltYMJIQ==" }, - "node_modules/@radixdlt/radix-dapp-toolkit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@radixdlt/radix-dapp-toolkit/-/radix-dapp-toolkit-1.0.0.tgz", - "integrity": "sha512-yqfjPaD+WV9mPatc9PJ8taxQiqSPoWr3c982bzwSQ1cAdyWJDIm32FuWC9koMG48B7+hekXs7PLNA1ePujnpVQ==", - "dependencies": { - "@radixdlt/babylon-gateway-api-sdk": "1.0.1", - "@radixdlt/connect-button": "1.0.0", - "@radixdlt/wallet-sdk": "1.0.1", - "immer": "^10.0.2", - "lodash.isequal": "^4.5.0", - "neverthrow": "^6.0.0", - "rxjs": "^7.8.1", - "zod": "^3.21.4" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@radixdlt/radix-dapp-toolkit/node_modules/@radixdlt/connect-button": { + "node_modules/@radixdlt/connect-button": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/@radixdlt/connect-button/-/connect-button-1.0.0.tgz", "integrity": "sha512-MLgKibN8dyMW2GUu89EWyJrwyMUragXKNzpzluc4PnXWBd3foNnj0RHFU1o3/PkJkfgUPxdUcIZ54JTwtQAtyQ==", @@ -513,20 +513,6 @@ "node": ">=16.0.0" } }, - "node_modules/@radixdlt/radix-dapp-toolkit/node_modules/@radixdlt/wallet-sdk": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@radixdlt/wallet-sdk/-/wallet-sdk-1.0.1.tgz", - "integrity": "sha512-g6TY1kUihJrECKBKs+dbTFrfzUU3bj1H2ySeaiHRNs/40eRH2Vw6heyb8DRHSkfhTzhPxXBzQxQdk908RgktUA==", - "dependencies": { - "neverthrow": "^6.0.0", - "rxjs": "^7.8.1", - "tslog": "^4.8.2", - "zod": "^3.21.4" - }, - "engines": { - "node": ">=14.0.0" - } - }, "node_modules/@radixdlt/radix-engine-toolkit": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/@radixdlt/radix-engine-toolkit/-/radix-engine-toolkit-1.0.0.tgz", @@ -557,6 +543,20 @@ "node": ">=14.0.0" } }, + "node_modules/@radixdlt/wallet-sdk": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@radixdlt/wallet-sdk/-/wallet-sdk-1.0.1.tgz", + "integrity": "sha512-g6TY1kUihJrECKBKs+dbTFrfzUU3bj1H2ySeaiHRNs/40eRH2Vw6heyb8DRHSkfhTzhPxXBzQxQdk908RgktUA==", + "dependencies": { + "neverthrow": "^6.0.0", + "rxjs": "^7.8.1", + "tslog": "^4.8.2", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=14.0.0" + } + }, "node_modules/@swc/core": { "version": "1.3.70", "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.3.70.tgz",