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