@multiplechain/bitcoin 0.4.2 → 0.4.3

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/README.md CHANGED
@@ -1,6 +1,4 @@
1
- # MultipleChain standard for JavaScript
2
-
3
- ## Introduction
1
+ # MultipleChain Bitcoin
4
2
 
5
3
  MultipleChain aims for easy access by simplifying the complex structure of many blockchains. For example, each blockchain network has a different structure for transfer initiation or transaction data. You may need to learn new things from scratch for each blockchain network. This is necessary if you want to go into detail. But if you just want to get to the basics. MultipleChain will make your work much easier. In many different programming languages.
6
4
 
package/dist/index.es.js CHANGED
@@ -2582,36 +2582,10 @@ function split(t, e = !1) {
2582
2582
  }
2583
2583
  return [a, u];
2584
2584
  }
2585
- const rotlSH = (t, e, a) => t << a | e >>> 32 - a, rotlSL = (t, e, a) => e << a | t >>> 32 - a, rotlBH = (t, e, a) => e << a - 32 | t >>> 64 - a, rotlBL = (t, e, a) => t << a - 32 | e >>> 64 - a;
2586
- var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2587
- function getDefaultExportFromCjs$1(t) {
2588
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
2589
- }
2590
- function getAugmentedNamespace(t) {
2591
- if (t.__esModule)
2592
- return t;
2593
- var e = t.default;
2594
- if (typeof e == "function") {
2595
- var a = function u() {
2596
- return this instanceof u ? Reflect.construct(e, arguments, this.constructor) : e.apply(this, arguments);
2597
- };
2598
- a.prototype = e.prototype;
2599
- } else
2600
- a = {};
2601
- return Object.defineProperty(a, "__esModule", { value: !0 }), Object.keys(t).forEach(function(u) {
2602
- var d = Object.getOwnPropertyDescriptor(t, u);
2603
- Object.defineProperty(a, u, d.get ? d : {
2604
- enumerable: !0,
2605
- get: function() {
2606
- return t[u];
2607
- }
2608
- });
2609
- }), a;
2610
- }
2611
- var crypto$5 = {};
2612
- Object.defineProperty(crypto$5, "__esModule", { value: !0 });
2613
- crypto$5.crypto = void 0;
2614
- crypto$5.crypto = typeof globalThis == "object" && "crypto" in globalThis ? globalThis.crypto : void 0;
2585
+ const rotlSH = (t, e, a) => t << a | e >>> 32 - a, rotlSL = (t, e, a) => e << a | t >>> 32 - a, rotlBH = (t, e, a) => e << a - 32 | t >>> 64 - a, rotlBL = (t, e, a) => t << a - 32 | e >>> 64 - a, crypto$5 = typeof globalThis == "object" && "crypto" in globalThis ? globalThis.crypto : void 0, crypto$6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2586
+ __proto__: null,
2587
+ crypto: crypto$5
2588
+ }, Symbol.toStringTag, { value: "Module" }));
2615
2589
  /*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
2616
2590
  const u32 = (t) => new Uint32Array(t.buffer, t.byteOffset, Math.floor(t.byteLength / 4));
2617
2591
  function isBytes$2(t) {
@@ -6290,6 +6264,31 @@ const bytesToUint8Array = (t) => {
6290
6264
  }
6291
6265
  throw new HexProcessingError(t);
6292
6266
  };
6267
+ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
6268
+ function getDefaultExportFromCjs$1(t) {
6269
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
6270
+ }
6271
+ function getAugmentedNamespace(t) {
6272
+ if (t.__esModule)
6273
+ return t;
6274
+ var e = t.default;
6275
+ if (typeof e == "function") {
6276
+ var a = function u() {
6277
+ return this instanceof u ? Reflect.construct(e, arguments, this.constructor) : e.apply(this, arguments);
6278
+ };
6279
+ a.prototype = e.prototype;
6280
+ } else
6281
+ a = {};
6282
+ return Object.defineProperty(a, "__esModule", { value: !0 }), Object.keys(t).forEach(function(u) {
6283
+ var d = Object.getOwnPropertyDescriptor(t, u);
6284
+ Object.defineProperty(a, u, d.get ? d : {
6285
+ enumerable: !0,
6286
+ get: function() {
6287
+ return t[u];
6288
+ }
6289
+ });
6290
+ }), a;
6291
+ }
6293
6292
  var isNumeric$1 = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, mathceil = Math.ceil, mathfloor = Math.floor, bignumberError = "[BigNumber Error] ", tooManyDigits = bignumberError + "Number primitive has more than 15 significant digits: ", BASE = 1e14, LOG_BASE = 14, MAX_SAFE_INTEGER$1 = 9007199254740991, POWS_TEN = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], SQRT_BASE = 1e7, MAX = 1e9;
6294
6293
  function clone(t) {
6295
6294
  var e, a, u, d = Q.prototype = { constructor: Q, toString: null, valueOf: null }, c = new Q(1), v = 20, m = 4, I = -7, O = 21, M = -1e7, C = 1e7, j = !1, F = 1, U = 0, Z = {
@@ -7969,10 +7968,11 @@ _assert.output = output$1;
7969
7968
  const assert$F = { number, bool, bytes, hash: hash$9, exists, output: output$1 };
7970
7969
  _assert.default = assert$F;
7971
7970
  var utils$M = {};
7971
+ const require$$0$5 = /* @__PURE__ */ getAugmentedNamespace(crypto$6);
7972
7972
  (function(t) {
7973
7973
  /*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
7974
7974
  Object.defineProperty(t, "__esModule", { value: !0 }), t.randomBytes = t.wrapXOFConstructorWithOpts = t.wrapConstructorWithOpts = t.wrapConstructor = t.checkOpts = t.Hash = t.concatBytes = t.toBytes = t.utf8ToBytes = t.asyncLoop = t.nextTick = t.hexToBytes = t.bytesToHex = t.isLE = t.rotr = t.createView = t.u32 = t.u8 = void 0;
7975
- const e = crypto$5, a = (V) => new Uint8Array(V.buffer, V.byteOffset, V.byteLength);
7975
+ const e = require$$0$5, a = (V) => new Uint8Array(V.buffer, V.byteOffset, V.byteLength);
7976
7976
  t.u8 = a;
7977
7977
  const u = (V) => new Uint32Array(V.buffer, V.byteOffset, Math.floor(V.byteLength / 4));
7978
7978
  t.u32 = u;