@gurge/sdk-react-native 0.3.78 → 0.3.82

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/bootstrap.cjs CHANGED
@@ -1 +1 @@
1
- const e=require(`./_virtual/_rolldown/runtime.cjs`);require(`react-native-get-random-values`);let t=require(`buffer`),n=require(`react-native`);n=e.__toESM(n),global.Buffer=t.Buffer,`WebAssembly`in globalThis||(globalThis.WebAssembly=void 0),globalThis.indexedDB===void 0&&(globalThis.indexedDB={}),global.require===void 0&&(global.require=e=>{if(e===`react-native`)return n;throw Error(`global.require shim: unsupported module "${e}"`)});
1
+ const e=require(`./_virtual/_rolldown/runtime.cjs`);require(`react-native-get-random-values`);let t=require(`buffer`),n=require(`react-native`);n=e.__toESM(n),global.Buffer=t.Buffer,globalThis.indexedDB===void 0&&(globalThis.indexedDB={}),global.require===void 0&&(global.require=e=>{if(e===`react-native`)return n;throw Error(`global.require shim: unsupported module "${e}"`)});
package/bootstrap.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import "react-native-get-random-values";
2
2
  import { Buffer as e } from "buffer";
3
3
  import * as t from "react-native";
4
- global.Buffer = e, "WebAssembly" in globalThis || (globalThis.WebAssembly = void 0), globalThis.indexedDB === void 0 && (globalThis.indexedDB = {}), global.require === void 0 && (global.require = (e) => {
4
+ global.Buffer = e, globalThis.indexedDB === void 0 && (globalThis.indexedDB = {}), global.require === void 0 && (global.require = (e) => {
5
5
  if (e === "react-native") return t;
6
6
  throw Error(`global.require shim: unsupported module "${e}"`);
7
7
  });
@@ -2,9 +2,9 @@
2
2
  const domain = 'https://storage.googleapis.com/hinkal-workers-staging';
3
3
 
4
4
  const WORKER_CDN_URLS = {
5
- ZKProof: domain + '/0.3.78/' + 'zkProofWorkerLauncher.js',
6
- SnarkJS: domain + '/0.3.78/' + 'snarkjsWorkerLauncher.js',
7
- UTXO: domain + '/0.3.78/' + 'utxoWorkerLauncher.js',
5
+ ZKProof: domain + '/0.3.82/' + 'zkProofWorkerLauncher.js',
6
+ SnarkJS: domain + '/0.3.82/' + 'snarkjsWorkerLauncher.js',
7
+ UTXO: domain + '/0.3.82/' + 'utxoWorkerLauncher.js',
8
8
  };
9
9
 
10
10
  // Returns a blob:// URL which points
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gurge/sdk-react-native",
3
- "version": "0.3.78",
3
+ "version": "0.3.82",
4
4
  "description": "Prebundled Hinkal SDK for React Native — no Metro config required.",
5
5
  "homepage": "hinkal.io",
6
6
  "author": {
package/shims/globals.cjs CHANGED
@@ -7,10 +7,6 @@ if (typeof globalThis.indexedDB === "undefined") {
7
7
  globalThis.indexedDB = {};
8
8
  }
9
9
 
10
- if (!("WebAssembly" in globalThis)) {
11
- globalThis.WebAssembly = undefined;
12
- }
13
-
14
10
  if (typeof global.require === "undefined") {
15
11
  global.require = (m) => {
16
12
  if (m === "react-native") return ReactNative;