diff --git a/examples/simple-dapp/public/.well-known/radix.json b/examples/simple-dapp/public/.well-known/radix.json index 4eb9817d..2a1b0c64 100644 --- a/examples/simple-dapp/public/.well-known/radix.json +++ b/examples/simple-dapp/public/.well-known/radix.json @@ -1,6 +1,8 @@ { "callbackPath": "/connect", "dApps": [ - {} + { + "dAppDefinitionAddress": "account_tdx_2_12yf9gd53yfep7a669fv2t3wm7nz9zeezwd04n02a433ker8vza6rhe" + } ] } \ No newline at end of file diff --git a/examples/simple-dapp/src/main.ts b/examples/simple-dapp/src/main.ts index 6df5fb3b..7fabc47d 100644 --- a/examples/simple-dapp/src/main.ts +++ b/examples/simple-dapp/src/main.ts @@ -61,8 +61,6 @@ ${JSON.stringify(rest, null, 2)} ${logs.innerHTML}` - localStorage.setItem('logs', logEntry) - logs.innerHTML = logEntry }) diff --git a/packages/dapp-toolkit/src/modules/wallet-request/transport/radix-connect-relay/deep-link.module.ts b/packages/dapp-toolkit/src/modules/wallet-request/transport/radix-connect-relay/deep-link.module.ts index 8f3e9478..054aef33 100644 --- a/packages/dapp-toolkit/src/modules/wallet-request/transport/radix-connect-relay/deep-link.module.ts +++ b/packages/dapp-toolkit/src/modules/wallet-request/transport/radix-connect-relay/deep-link.module.ts @@ -14,6 +14,12 @@ export const DeepLinkModule = (input: { const { platform } = userAgent const logger = input?.logger?.getSubLogger({ name: 'DeepLinkModule' }) + logger?.debug({ + platform, + userAgent: window.navigator.userAgent, + userAgentParsed: userAgent, + }) + const deepLinkToWallet = ( values: Record, ): ResultAsync => { diff --git a/packages/dapp-toolkit/src/modules/wallet-request/wallet-request.ts b/packages/dapp-toolkit/src/modules/wallet-request/wallet-request.ts index d336206a..24a16bc7 100644 --- a/packages/dapp-toolkit/src/modules/wallet-request/wallet-request.ts +++ b/packages/dapp-toolkit/src/modules/wallet-request/wallet-request.ts @@ -101,7 +101,7 @@ export const WalletRequestModule = (input: { transports.push( RadixConnectRelayModule({ logger, - walletUrl: 'radixWallet://', + walletUrl: 'radixWallet://connect', baseUrl: 'https://radix-connect-relay.radixdlt.com', dAppDefinitionAddress: input.dAppDefinitionAddress, providers: { diff --git a/turbo.json b/turbo.json index 5b6a338d..7a06fee1 100644 --- a/turbo.json +++ b/turbo.json @@ -1,22 +1,21 @@ { "$schema": "https://turbo.build/schema.json", - "globalDependencies": [ - "**/.env.*local" + "globalDependencies": ["**/.env.*local"], + "globalEnv": [ + "AWS_REGION", + "AWS_PROFILE", + "AWS_STAGE", + "DAPP_DEFINITION_ADDRESS", + "NGROK_AUTH_TOKEN" ], "tasks": { "build": { "cache": false, - "dependsOn": [ - "^build" - ], - "outputs": [ - "dist/**" - ] + "dependsOn": ["^build"], + "outputs": ["dist/**"] }, "lint": { - "dependsOn": [ - "^lint" - ] + "dependsOn": ["^lint"] }, "dev": { "cache": false, @@ -24,12 +23,9 @@ }, "deploy": { "cache": false, - "dependsOn": [ - "^build" - ], - "outputs": [ - "dist/**" - ] + "dependsOn": ["^build"], + "outputs": ["dist/**"], + "inputs": ["$TURBO_DEFAULT$"] }, "test": { "cache": false