@onekeyfe/hwk-trezor-core 1.1.30 → 1.1.31

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.mjs CHANGED
@@ -1827,7 +1827,9 @@ var init_buffer = __esm({
1827
1827
  return import_buffer.Buffer.from(bytes.buffer, bytes.byteOffset, bytes.byteLength);
1828
1828
  };
1829
1829
  installBufferRuntime = () => {
1830
- globalScope.Buffer = import_buffer.Buffer;
1830
+ if (typeof globalScope.Buffer === "undefined") {
1831
+ globalScope.Buffer = import_buffer.Buffer;
1832
+ }
1831
1833
  import_buffer.Buffer.prototype.subarray = function subarray(start, end) {
1832
1834
  return toBufferView(uint8ArraySubarray.call(this, start, end));
1833
1835
  };