@trustwallet/wallet-core 2.9.3 → 2.9.4

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.
@@ -101,7 +101,7 @@ var h="undefined"!=typeof t;if(!h)t=m.position;else if(!m.seekable)throw new J(7
101
101
  0)>>>0:~~+Math.ceil((I-+(~~I>>>0))/4294967296)>>>0:0)];C[e>>2]=Ra[0];C[e+4>>2]=Ra[1];f.eb&&0===b&&0===d&&(f.eb=null);return 0}catch(k){if("undefined"==typeof O||!(k instanceof J))throw k;return k.Ia}},r:function(a,b,c,d){try{a:{var e=Q(a);a=b;for(var f=b=0;f<c;f++){var k=F[a>>2],l=F[a+4>>2];a+=8;var m=e,p=k,q=l,t=void 0,v=D;if(0>q||0>t)throw new J(28);if(null===m.fd)throw new J(8);if(0===(m.flags&2097155))throw new J(8);if(16384===(m.node.mode&61440))throw new J(31);if(!m.sa.write)throw new J(28);
102
102
  m.seekable&&m.flags&1024&&Jb(m,0,2);var h="undefined"!=typeof t;if(!h)t=m.position;else if(!m.seekable)throw new J(70);var r=m.sa.write(m,v,p,q,t,void 0);h||(m.position+=r);var w=r;if(0>w){var A=-1;break a}b+=w}A=b}F[d>>2]=A;return 0}catch(E){if("undefined"==typeof O||!(E instanceof J))throw E;return E.Ia}},D:ad,m:function(){},E:function(a,b,c,d){return ed(a,b,c,d)}};
103
103
  (function(){function a(e){g.asm=e.exports;oa=g.asm.R;Fa();Ga=g.asm.T;Ia.unshift(g.asm.S);G--;g.monitorRunDependencies&&g.monitorRunDependencies(G);0==G&&(null!==La&&(clearInterval(La),La=null),Ma&&(e=Ma,Ma=null,e()))}function b(e){a(e.instance)}function c(e){return Qa().then(function(f){return WebAssembly.instantiate(f,d)}).then(function(f){return f}).then(e,function(f){u("failed to asynchronously prepare wasm: "+f);x(f)})}var d={a:kd};G++;g.monitorRunDependencies&&g.monitorRunDependencies(G);if(g.instantiateWasm)try{return g.instantiateWasm(d,
104
- a)}catch(e){return u("Module.instantiateWasm callback failed with error: "+e),!1}(function(){return na||"function"!=typeof WebAssembly.instantiateStreaming||Na()||H.startsWith("file://")||"function"!=typeof fetch?c(b):fetch(H,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,d).then(b,function(f){u("wasm streaming compile failed: "+f);u("falling back to ArrayBuffer instantiation");return c(b)})})})();return{}})();
104
+ a)}catch(e){return u("Module.instantiateWasm callback failed with error: "+e),!1}(function(){return na||"function"!=typeof WebAssembly.instantiateStreaming||Na()||H.startsWith("file://")||fa||"function"!=typeof fetch?c(b):fetch(H,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,d).then(b,function(f){u("wasm streaming compile failed: "+f);u("falling back to ArrayBuffer instantiation");return c(b)})})})();return{}})();
105
105
  g.___wasm_call_ctors=function(){return(g.___wasm_call_ctors=g.asm.S).apply(null,arguments)};var Y=g._free=function(){return(Y=g._free=g.asm.U).apply(null,arguments)},hd=g._malloc=function(){return(hd=g._malloc=g.asm.V).apply(null,arguments)},jd=g.___errno_location=function(){return(jd=g.___errno_location=g.asm.W).apply(null,arguments)},Bc=g.___getTypeName=function(){return(Bc=g.___getTypeName=g.asm.X).apply(null,arguments)};
106
106
  g.___embind_register_native_and_builtin_types=function(){return(g.___embind_register_native_and_builtin_types=g.asm.Y).apply(null,arguments)};var nb=g._emscripten_builtin_memalign=function(){return(nb=g._emscripten_builtin_memalign=g.asm.Z).apply(null,arguments)};g.___cxa_is_pointer_type=function(){return(g.___cxa_is_pointer_type=g.asm._).apply(null,arguments)};g.dynCall_jii=function(){return(g.dynCall_jii=g.asm.$).apply(null,arguments)};
107
107
  g.dynCall_ji=function(){return(g.dynCall_ji=g.asm.aa).apply(null,arguments)};g.dynCall_iiji=function(){return(g.dynCall_iiji=g.asm.ba).apply(null,arguments)};g.dynCall_iiiji=function(){return(g.dynCall_iiiji=g.asm.ca).apply(null,arguments)};g.dynCall_jiii=function(){return(g.dynCall_jiii=g.asm.da).apply(null,arguments)};g.dynCall_jiiii=function(){return(g.dynCall_jiiii=g.asm.ea).apply(null,arguments)};g.dynCall_iiij=function(){return(g.dynCall_iiij=g.asm.fa).apply(null,arguments)};
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trustwallet/wallet-core",
3
- "version": "2.9.3",
3
+ "version": "2.9.4",
4
4
  "description": "wallet core wasm and protobuf models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -27,7 +27,7 @@
27
27
  "dist"
28
28
  ],
29
29
  "dependencies": {
30
- "protobufjs": "^6.11.2"
30
+ "protobufjs": ">=6.11.3"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/chai": "^4.3.0",