Skip to content

Commit

Permalink
Merge pull request #214 from provenance-io/vmikulis/sc-tbd/quickfix-d…
Browse files Browse the repository at this point in the history
…ynamic-link

bug: Fix dynamic link in prod mobile wallet
  • Loading branch information
VigM-Figure authored Apr 25, 2024
2 parents 91fdd15 + 562eb30 commit f256e89
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
16 changes: 8 additions & 8 deletions examples/example-react-vite/package-lock.json

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

4 changes: 2 additions & 2 deletions examples/example-react-vite/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "example-react-vite",
"private": true,
"version": "3.10.1",
"version": "3.10.2",
"homepage": "/walletconnect-demo",
"type": "module",
"scripts": {
Expand All @@ -16,7 +16,7 @@
"dependencies": {
"@microlink/react-json-view": "1.22.2",
"@provenanceio/wallet-utils": "2.8.0",
"@provenanceio/walletconnect-js": "file:../provenanceio-walletconnect-js-3.10.1.tgz",
"@provenanceio/walletconnect-js": "file:../provenanceio-walletconnect-js-3.10.2.tgz",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet-async": "1.3.0",
Expand Down
4 changes: 2 additions & 2 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 package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@provenanceio/walletconnect-js",
"version": "3.10.1",
"version": "3.10.2",
"private": false,
"sideEffects": false,
"main": "esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/services/methods/connect/connect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export const connect = ({
// Attempt to get a shortlink for the QR Code from firebase
let shortlinkQRCode = '';
// Only generate a shortlink for mobile wallet
if (isMobileWalletDev) {
if (isMobileWalletOpened) {
try {
const shortlinkQRCodeResponse = await fetch(
DYNAMIC_LINK_SHORLINK_GENERATOR_URL,
Expand Down
2 changes: 1 addition & 1 deletion src/services/walletConnectService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const defaultState: WCSState = {
representedGroupPolicy: null,
signedJWT: '',
status: 'disconnected',
version: '3.8.2',
version: '3.10.2',
walletAppId: undefined,
walletInfo: {},
};
Expand Down

0 comments on commit f256e89

Please sign in to comment.