@walletconnect/ethereum-provider 2.7.0-rc-2 → 2.7.0-rc-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -13154,7 +13154,7 @@
13154
13154
  error: "error"
13155
13155
  };
13156
13156
  const RELAYER_RECONNECT_TIMEOUT = cjs$6.ONE_SECOND;
13157
- const RELAYER_SDK_VERSION = "2.7.0-rc-2";
13157
+ const RELAYER_SDK_VERSION = "2.7.0-rc-3";
13158
13158
  const STORE_STORAGE_VERSION = "0.3";
13159
13159
  const SUBSCRIBER_EVENTS = {
13160
13160
  created: "subscription_created",
@@ -22945,9 +22945,10 @@
22945
22945
  async function deeplinkRedirect(request, store) {
22946
22946
  try {
22947
22947
  const item = await store.getItem("WALLETCONNECT_DEEPLINK_CHOICE");
22948
+ console.log("WALLETCONNECT_DEEPLINK_CHOICE", item);
22948
22949
  if (!item)
22949
22950
  return;
22950
- const json = JSON.parse(item);
22951
+ const json = typeof item === "string" ? JSON.parse(item) : item;
22951
22952
  const deeplink = json == null ? void 0 : json.href;
22952
22953
  if (typeof deeplink !== "string")
22953
22954
  return;