@ibearua/bitmask-core-dev 1.0.0-beta.19 → 1.0.0-beta.20

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.
@@ -15,7 +15,7 @@ function getUint8ArrayMemory0() {
15
15
  return cachedUint8ArrayMemory0;
16
16
  }
17
17
 
18
- const lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder;
18
+ const lTextEncoder = new TextEncoder('utf-8');
19
19
 
20
20
  let cachedTextEncoder = new lTextEncoder('utf-8');
21
21
 
@@ -80,7 +80,7 @@ function getDataViewMemory0() {
80
80
  return cachedDataViewMemory0;
81
81
  }
82
82
 
83
- const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
83
+ const lTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
84
84
 
85
85
  let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
86
86
 
@@ -2104,8 +2104,7 @@ export function __wbg_randomFillSync_e2ae5c896c5ec592() { return handleError(fun
2104
2104
  }, arguments) };
2105
2105
 
2106
2106
  export function __wbg_require_d3a2417979c32e11() { return handleError(function () {
2107
- const ret = module.require;
2108
- return ret;
2107
+ throw new Error('module.require is not available in browser');
2109
2108
  }, arguments) };
2110
2109
 
2111
2110
  export function __wbg_resolve_4851785c9c5f573d(arg0) {
Binary file
@@ -120,7 +120,7 @@ export const __externref_drop_slice: (a: number, b: number) => void;
120
120
  export const __wbindgen_free: (a: number, b: number, c: number) => void;
121
121
  export const __wbindgen_export_7: WebAssembly.Table;
122
122
  export const __externref_table_dealloc: (a: number) => void;
123
- export const closure1856_externref_shim: (a: number, b: number, c: any) => void;
123
+ export const closure1855_externref_shim: (a: number, b: number, c: any) => void;
124
124
  export const closure1997_externref_shim: (a: number, b: number, c: any) => void;
125
125
  export const closure2665_externref_shim: (a: number, b: number, c: any) => void;
126
126
  export const closure3825_externref_shim: (a: number, b: number, c: any) => void;
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "Armando Dutra <armando@diba.io>"
8
8
  ],
9
9
  "description": "Core functionality for the BitMask wallet",
10
- "version": "1.0.0-beta.19",
10
+ "version": "1.0.0-beta.20",
11
11
  "license": "MIT",
12
12
  "repository": {
13
13
  "type": "git",