Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/portfolio/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@canton-network/example-portfolio",
"version": "0.18.0",
"version": "0.18.1",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion sdk/dapp-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@canton-network/dapp-sdk",
"type": "module",
"version": "0.21.0",
"version": "0.21.1",
"description": "Browser SDK for dApp development on the Canton Network",
"license": "Apache-2.0",
"author": "Marc Juchli <marc.juchli@digitalasset.com>",
Expand Down
6 changes: 4 additions & 2 deletions sdk/dapp-sdk/src/provider/open.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ export async function open(): Promise<void> {
throw new Error('No previous session found')
}

const userUrl = session.userUrl ?? ''

const userUrl = session.userUrl ?? session.kernel.userUrl
if (!userUrl) {
throw new Error('User URL not found in session')
}
if (discovery.walletType === 'remote') {
popup.open(userUrl)
} else if (discovery.walletType === 'extension') {
Expand Down
Loading