@reown/walletkit 1.1.2-canary-ca-4 → 1.1.2-canary-ca-5

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.cjs.js CHANGED
@@ -609,12 +609,9 @@ ${e.stack}` : e.toString();
609
609
  throw e;
610
610
  }
611
611
  }
612
- const cachedTextDecoder = typeof TextDecoder !== "undefined" ? new TextDecoder("utf-8", { ignoreBOM: true, fatal: true }) : { decode: () => {
613
- throw Error("TextDecoder not available");
614
- } };
615
- if (typeof TextDecoder !== "undefined") {
616
- cachedTextDecoder.decode();
617
- }
612
+ const cachedTextDecoder = () => {
613
+ return { decode: (args) => { console.error("TextDecoder", args); } };
614
+ };
618
615
  function getStringFromWasm0(ptr, len) {
619
616
  ptr = ptr >>> 0;
620
617
  return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@reown/walletkit",
3
3
  "description": "WalletKit for WalletConnect Protocol",
4
- "version": "1.1.2-canary-ca-4",
4
+ "version": "1.1.2-canary-ca-5",
5
5
  "private": false,
6
6
  "author": "Reown, Inc.",
7
7
  "homepage": "https://github.com/reown-com/",