@wormhole-foundation/wormhole-connect 0.3.22-beta.6-development → 0.3.23-beta.0-development
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/assets/{ccip-kFE7Egv7.js → ccip-BOQxYwA4.js} +1 -1
- package/dist/assets/cosmos-DpJHRy9R.js +38 -0
- package/dist/assets/{cosmwasm-K-vi4me_.js → cosmwasm-Dngp91th.js} +3 -3
- package/dist/assets/{ens-validation.es6-BaHGKtnQ.js → ens-validation.es6-DY5iRcEw.js} +1 -1
- package/dist/assets/{evm-DyQ3Up1i.js → evm-CXBiqSp9.js} +26 -26
- package/dist/assets/{index-Dqd4pSig.js → index-BhecnthD.js} +1 -1
- package/dist/assets/{index-EkdPNlSn.js → index-BphOrDO3.js} +1 -1
- package/dist/assets/index-BqmJ5ps2.js +3 -0
- package/dist/assets/{index-6ERMnMWg.js → index-CX56YBaw.js} +1 -1
- package/dist/assets/{index-Ci7BRqEw.js → index-DBB96cBs.js} +2 -2
- package/dist/assets/{index-BC4s7rDX.js → index-DwWFp7_d.js} +1 -1
- package/dist/assets/{index.es-BnzPN21S.js → index.es-BWLyUn8A.js} +2 -2
- package/dist/assets/{solana-D0TX7DHf.js → solana-C3hk0iY4.js} +2 -2
- package/dist/assets/{solanaEmbed.esm-CBOtlgbY.js → solanaEmbed.esm-Bzvc2Yau.js} +1 -1
- package/dist/assets/{unsignedTransaction-CWlZwFZw.js → unsignedTransaction-DhgJ038I.js} +1 -1
- package/dist/main.js +9 -9
- package/dist/src/utils/wallet/evm.d.ts.map +1 -1
- package/lib/{algorand-DjUTtqxk.mjs → algorand-kK-8oojN.mjs} +4 -4
- package/lib/{algorand-BgVfTPrs.js → algorand-mZNvVCps.js} +1 -1
- package/lib/{aptos-xxNUHC8o.mjs → aptos-C8ttM75J.mjs} +4 -4
- package/lib/{aptos-JOeRwo7r.js → aptos-CfDDJUg1.js} +2 -2
- package/lib/{aptos-CVVZJ32U.js → aptos-Dct_m6Gg.js} +1 -1
- package/lib/{aptos-BmyHkXb6.mjs → aptos-DgRBytsM.mjs} +1 -1
- package/lib/{browser-B_2ji4LP.mjs → browser-Bf0arMap.mjs} +2 -2
- package/lib/{browser-EzqecQNA.js → browser-DVTB-WO0.js} +1 -1
- package/lib/{browser-ponyfill-yx2re7P5.mjs → browser-ponyfill-BBGnYIgf.mjs} +1 -1
- package/lib/{browser-ponyfill-DH_DuJjr.js → browser-ponyfill-CtGm2L9z.js} +1 -1
- package/lib/{ccip-B2atrHiU.js → ccip-BQ7Z_goB.js} +1 -1
- package/lib/{ccip-JjlhOiF-.mjs → ccip-DzflCjUZ.mjs} +1 -1
- package/lib/{chain-BE2gm6l5.mjs → chain-D1Ms6bPc.mjs} +1 -1
- package/lib/{chain-Ck_2P-B0.js → chain-HMnpkrbl.js} +1 -1
- package/lib/{cosmos-BqA6T2gQ.mjs → cosmos-BIzn30Lo.mjs} +6 -6
- package/lib/cosmos-DFeWBfwa.js +38 -0
- package/lib/{cosmwasm-dpMbVaHd.mjs → cosmwasm-CYZkMUNw.mjs} +6 -6
- package/lib/{cosmwasm-D8-LmG14.js → cosmwasm-Cw-jZjyR.js} +2 -2
- package/lib/{create-CONoHCNu.js → create-BjUw-7kj.js} +1 -1
- package/lib/{create-NSzn0Mjd.mjs → create-D7KM2TbJ.mjs} +1 -1
- package/lib/{ens-validation.es6-DQMHfHaf.js → ens-validation.es6-CSendvHo.js} +1 -1
- package/lib/{ens-validation.es6-SwNVNlnL.mjs → ens-validation.es6-CtTsD9-1.mjs} +2 -2
- package/lib/{evm-BzbkH6iw.mjs → evm-2ARfiEbk.mjs} +6 -6
- package/lib/{evm-DQDZ6407.js → evm-CyCIXNVR.js} +22 -22
- package/lib/{evm-D7ExbjR0.mjs → evm-WeYh1CwH.mjs} +1588 -1596
- package/lib/{evm-CNyEgAvC.js → evm-vq8ExBtp.js} +2 -2
- package/lib/{index-BRY7PwCe.mjs → index-4Diyx7dk.mjs} +3 -3
- package/lib/{index-CHDQPgcS.mjs → index-6g1GFCCq.mjs} +2 -2
- package/lib/{index-Dz2gv_XI.mjs → index-9ZdnzH2d.mjs} +5 -5
- package/lib/{index-DzX0K2kv.js → index-B1oIabF3.js} +1 -1
- package/lib/{index-BiJV97Xz.js → index-B3xO-Vlp.js} +1 -1
- package/lib/{index-BG34ZjNr.mjs → index-B4Wo5ciI.mjs} +4 -4
- package/lib/{index-NS46gHyL.js → index-B9iI7y0N.js} +1 -1
- package/lib/{index-uwGV-Vn3.js → index-BC9O3q0O.js} +1 -1
- package/lib/{index-eFtXd025.mjs → index-BFLX4WxO.mjs} +4 -4
- package/lib/{index-gM7Zj76T.js → index-BPsT8R1K.js} +1 -1
- package/lib/{index-7ZAqkUlU.mjs → index-BSAsS8RD.mjs} +1 -1
- package/lib/{index-CD_ekrEI.mjs → index-BYDoWQJF.mjs} +4 -4
- package/lib/{index-XH2z1iXX.mjs → index-BaO4Z093.mjs} +3 -3
- package/lib/{index-Bd6oWjRV.mjs → index-BeO_qTcl.mjs} +2 -2
- package/lib/{index-wj32vNhH.js → index-BhOoVwl8.js} +1 -1
- package/lib/{index-DvQrjwKV.mjs → index-BtObdPhn.mjs} +4 -4
- package/lib/{index-DW-MTqZy.mjs → index-BzX2BW_O.mjs} +4 -4
- package/lib/{index-BgYENi3t.js → index-C2c8vR42.js} +1 -1
- package/lib/{index-6ZiA60gP.js → index-C2oD47lT.js} +1 -1
- package/lib/{index-DQR7qDM7.mjs → index-C6mDtHMX.mjs} +86 -88
- package/lib/{index-hyVeTz05.js → index-C9SlTWZB.js} +1 -1
- package/lib/{index-BYInpg-j.js → index-CHc9Fnxq.js} +1 -1
- package/lib/{index-Dh1gwYHK.js → index-CIbWgDdT.js} +1 -1
- package/lib/{index-ClJ9xKH_.js → index-CJWNAIq4.js} +1 -1
- package/lib/{index-SL51oRv6.mjs → index-CK0z65I9.mjs} +4 -4
- package/lib/{index-BNxdQt8p.js → index-CMB6PdWJ.js} +1 -1
- package/lib/{index-BozvRZRr.mjs → index-CMxa7eqf.mjs} +5 -5
- package/lib/{index-CeTuOmVc.mjs → index-CNSXR9tB.mjs} +5 -5
- package/lib/{index-BCRhQQj3.mjs → index-CV1VV-zJ.mjs} +3 -3
- package/lib/{index-B3EOWCDT.js → index-CxrhBQyI.js} +1 -1
- package/lib/{index-BS-5mncz.mjs → index-CyGeUScn.mjs} +5 -5
- package/lib/index-D5ZI8OQ5.js +3 -0
- package/lib/{index-DsuNqUD-.mjs → index-DAY2C3ja.mjs} +4 -4
- package/lib/{index-Ci2ZLtDV.js → index-DHPvJyI7.js} +1 -1
- package/lib/{index-THgGZbp0.js → index-DMbFl-Wn.js} +1 -1
- package/lib/{index-DkLEkXih.mjs → index-DVFnDDyZ.mjs} +4 -4
- package/lib/{index-DuiRxqsN.js → index-DjAqAqeU.js} +1 -1
- package/lib/{index-9m7TBK6v.mjs → index-EqiiaA9-.mjs} +4 -4
- package/lib/{index-BRSYiZGo.js → index-GooDQIzI.js} +1 -1
- package/lib/{index-BtH96J3O.mjs → index-IQlvm76i.mjs} +72 -72
- package/lib/{index-iNOxku8i.js → index-Jgr_mZ4Y.js} +1 -1
- package/lib/{index-D4hS9TeC.js → index-L9bSVF77.js} +1 -1
- package/lib/{index-Rl2MOwgU.mjs → index-f8fcieOQ.mjs} +4 -4
- package/lib/{index-C7tR7eyI.js → index-k5MpmioF.js} +1 -1
- package/lib/{index-_YUXIUK8.js → index-nxd7L_DD.js} +1 -1
- package/lib/{index-GGqf7rB-.mjs → index-qsqnFs3a.mjs} +2 -2
- package/lib/{index-Dh6Zmu7D.js → index-rtZ91I3M.js} +8 -8
- package/lib/{index-Fv3-CE1p.mjs → index-yG0Rs8Eb.mjs} +2 -2
- package/lib/{index.es-CKpdDKzf.mjs → index.es-CEImaU7l.mjs} +5 -5
- package/lib/{index.es-Bj1J4jCu.js → index.es-gwZvea5f.js} +2 -2
- package/lib/index.js +1 -1
- package/lib/index.mjs +1 -1
- package/lib/{libsodium-wrappers-Dta7f8ar.js → libsodium-wrappers-Bez_KKB1.js} +1 -1
- package/lib/{libsodium-wrappers-B_H4aRTY.mjs → libsodium-wrappers-Cz0uCBox.mjs} +1 -1
- package/lib/{sei-UDsMKtbc.mjs → sei-BYR1KxHW.mjs} +2 -2
- package/lib/{sei-DGdkVzbE.js → sei-BrTMqCke.js} +1 -1
- package/lib/{solana-CkviJVw5.js → solana-0RqhvUa1.js} +1 -1
- package/lib/{solana-DPaJOryR.mjs → solana-BLtdLKKq.mjs} +3 -3
- package/lib/{solana-C9YVHn-W.mjs → solana-CRbkLsWk.mjs} +6 -6
- package/lib/{solana-BZhGAwx6.js → solana-D3NR_tHO.js} +2 -2
- package/lib/{solanaEmbed.esm-DnssMltk.mjs → solanaEmbed.esm-CaR2Md_k.mjs} +2 -2
- package/lib/{solanaEmbed.esm-C0UDKbGU.js → solanaEmbed.esm-E-eNJK6U.js} +1 -1
- package/lib/src/utils/wallet/evm.d.ts.map +1 -1
- package/lib/{sui-8btJKilJ.mjs → sui-BZ_uS8zP.mjs} +1 -1
- package/lib/{sui-c83-J_ow.js → sui-CErMMm5A.js} +2 -2
- package/lib/{sui-CUfyUGKk.mjs → sui-DeoYmh3N.mjs} +4 -4
- package/lib/{sui-6-wJdSqv.js → sui-T81Wy4dP.js} +1 -1
- package/lib/{unsignedTransaction-CWjweDuU.js → unsignedTransaction-DCa77QzH.js} +1 -1
- package/lib/{unsignedTransaction-C293HA6V.mjs → unsignedTransaction-DJSAg3zT.mjs} +2 -2
- package/package.json +1 -1
- package/dist/assets/cosmos-BUbSl2Zd.js +0 -38
- package/dist/assets/index-5a-xin_S.js +0 -3
- package/lib/cosmos-arjQyma2.js +0 -38
- package/lib/index-CgyVAtoK.js +0 -3
|
@@ -15317,27 +15317,25 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
15317
15317
|
}
|
|
15318
15318
|
return browser$i.exports;
|
|
15319
15319
|
}
|
|
15320
|
-
var inherits_browser$1 = { exports: {} }
|
|
15321
|
-
function
|
|
15322
|
-
|
|
15323
|
-
|
|
15324
|
-
|
|
15325
|
-
|
|
15326
|
-
|
|
15327
|
-
|
|
15328
|
-
configurable: !0
|
|
15329
|
-
}
|
|
15330
|
-
}));
|
|
15331
|
-
} : inherits_browser$1.exports = function(Re, Fe) {
|
|
15332
|
-
if (Fe) {
|
|
15333
|
-
Re.super_ = Fe;
|
|
15334
|
-
var Qe = function() {
|
|
15335
|
-
};
|
|
15336
|
-
Qe.prototype = Fe.prototype, Re.prototype = new Qe(), Re.prototype.constructor = Re;
|
|
15320
|
+
var inherits_browser$1 = { exports: {} };
|
|
15321
|
+
typeof Object.create == "function" ? inherits_browser$1.exports = function(Re, Fe) {
|
|
15322
|
+
Fe && (Re.super_ = Fe, Re.prototype = Object.create(Fe.prototype, {
|
|
15323
|
+
constructor: {
|
|
15324
|
+
value: Re,
|
|
15325
|
+
enumerable: !1,
|
|
15326
|
+
writable: !0,
|
|
15327
|
+
configurable: !0
|
|
15337
15328
|
}
|
|
15338
|
-
})
|
|
15339
|
-
}
|
|
15340
|
-
|
|
15329
|
+
}));
|
|
15330
|
+
} : inherits_browser$1.exports = function(Re, Fe) {
|
|
15331
|
+
if (Fe) {
|
|
15332
|
+
Re.super_ = Fe;
|
|
15333
|
+
var Qe = function() {
|
|
15334
|
+
};
|
|
15335
|
+
Qe.prototype = Fe.prototype, Re.prototype = new Qe(), Re.prototype.constructor = Re;
|
|
15336
|
+
}
|
|
15337
|
+
};
|
|
15338
|
+
var inherits_browserExports = inherits_browser$1.exports, events$2 = { exports: {} }, R$1 = typeof Reflect == "object" ? Reflect : null, ReflectApply = R$1 && typeof R$1.apply == "function" ? R$1.apply : function e(Re, Fe, Qe) {
|
|
15341
15339
|
return Function.prototype.apply.call(Re, Fe, Qe);
|
|
15342
15340
|
}, ReflectOwnKeys;
|
|
15343
15341
|
R$1 && typeof R$1.ownKeys == "function" ? ReflectOwnKeys = R$1.ownKeys : Object.getOwnPropertySymbols ? ReflectOwnKeys = function(Re) {
|
|
@@ -15916,7 +15914,7 @@ function require_stream_writable$1() {
|
|
|
15916
15914
|
return qe.isBuffer(ci) || ci instanceof We;
|
|
15917
15915
|
}
|
|
15918
15916
|
var Dt = requireDestroy$1(), ht = requireState(), Un = ht.getHighWaterMark, Gn = requireErrorsBrowser().codes, $n = Gn.ERR_INVALID_ARG_TYPE, Fn = Gn.ERR_METHOD_NOT_IMPLEMENTED, jn = Gn.ERR_MULTIPLE_CALLBACK, Qn = Gn.ERR_STREAM_CANNOT_PIPE, Wn = Gn.ERR_STREAM_DESTROYED, Xn = Gn.ERR_STREAM_NULL_VALUES, vr = Gn.ERR_STREAM_WRITE_AFTER_END, Sr = Gn.ERR_UNKNOWN_ENCODING, Br = Dt.errorOrDestroy;
|
|
15919
|
-
|
|
15917
|
+
inherits_browserExports($r, Qe);
|
|
15920
15918
|
function Er() {
|
|
15921
15919
|
}
|
|
15922
15920
|
function Zn(ci, ui, mi) {
|
|
@@ -16137,7 +16135,7 @@ function require_stream_duplex$1() {
|
|
|
16137
16135
|
};
|
|
16138
16136
|
_stream_duplex$1 = Ze;
|
|
16139
16137
|
var Re = require_stream_readable$1(), Fe = require_stream_writable$1();
|
|
16140
|
-
|
|
16138
|
+
inherits_browserExports(Ze, Re);
|
|
16141
16139
|
for (var Qe = e(Fe.prototype), qe = 0; qe < Qe.length; qe++) {
|
|
16142
16140
|
var We = Qe[qe];
|
|
16143
16141
|
Ze.prototype[We] || (Ze.prototype[We] = Fe.prototype[We]);
|
|
@@ -16563,7 +16561,7 @@ function require_stream_readable$1() {
|
|
|
16563
16561
|
Xe && Xe.debuglog ? Dt = Xe.debuglog("stream") : Dt = function() {
|
|
16564
16562
|
};
|
|
16565
16563
|
var ht = requireBuffer_list(), Un = requireDestroy$1(), Gn = requireState(), $n = Gn.getHighWaterMark, Fn = requireErrorsBrowser().codes, jn = Fn.ERR_INVALID_ARG_TYPE, Qn = Fn.ERR_STREAM_PUSH_AFTER_EOF, Wn = Fn.ERR_METHOD_NOT_IMPLEMENTED, Xn = Fn.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, vr, Sr, Br;
|
|
16566
|
-
|
|
16564
|
+
inherits_browserExports(Mr, Fe);
|
|
16567
16565
|
var Er = Un.errorOrDestroy, Zn = ["error", "close", "destroy", "pause", "resume"];
|
|
16568
16566
|
function Ar(yo, Gi, Ro) {
|
|
16569
16567
|
if (typeof yo.prependListener == "function")
|
|
@@ -16895,7 +16893,7 @@ function require_stream_transform$1() {
|
|
|
16895
16893
|
return _stream_transform$1;
|
|
16896
16894
|
hasRequired_stream_transform$1 = 1, _stream_transform$1 = Xe;
|
|
16897
16895
|
var e = requireErrorsBrowser().codes, Re = e.ERR_METHOD_NOT_IMPLEMENTED, Fe = e.ERR_MULTIPLE_CALLBACK, Qe = e.ERR_TRANSFORM_ALREADY_TRANSFORMING, qe = e.ERR_TRANSFORM_WITH_LENGTH_0, We = require_stream_duplex$1();
|
|
16898
|
-
|
|
16896
|
+
inherits_browserExports(Xe, We);
|
|
16899
16897
|
function Ze(Un, Gn) {
|
|
16900
16898
|
var $n = this._transformState;
|
|
16901
16899
|
$n.transforming = !1;
|
|
@@ -16959,7 +16957,7 @@ function require_stream_passthrough$1() {
|
|
|
16959
16957
|
return _stream_passthrough$1;
|
|
16960
16958
|
hasRequired_stream_passthrough$1 = 1, _stream_passthrough$1 = Re;
|
|
16961
16959
|
var e = require_stream_transform$1();
|
|
16962
|
-
|
|
16960
|
+
inherits_browserExports(Re, e);
|
|
16963
16961
|
function Re(Fe) {
|
|
16964
16962
|
if (!(this instanceof Re))
|
|
16965
16963
|
return new Re(Fe);
|
|
@@ -17043,7 +17041,7 @@ function requireStreamBrowserify() {
|
|
|
17043
17041
|
if (hasRequiredStreamBrowserify)
|
|
17044
17042
|
return streamBrowserify;
|
|
17045
17043
|
hasRequiredStreamBrowserify = 1, streamBrowserify = Fe;
|
|
17046
|
-
var e = eventsExports.EventEmitter, Re =
|
|
17044
|
+
var e = eventsExports.EventEmitter, Re = inherits_browserExports;
|
|
17047
17045
|
Re(Fe, e), Fe.Readable = require_stream_readable$1(), Fe.Writable = require_stream_writable$1(), Fe.Duplex = require_stream_duplex$1(), Fe.Transform = require_stream_transform$1(), Fe.PassThrough = require_stream_passthrough$1(), Fe.finished = requireEndOfStream(), Fe.pipeline = requirePipeline(), Fe.Stream = Fe;
|
|
17048
17046
|
function Fe() {
|
|
17049
17047
|
e.call(this);
|
|
@@ -17081,7 +17079,7 @@ function requireHashBase() {
|
|
|
17081
17079
|
if (hasRequiredHashBase)
|
|
17082
17080
|
return hashBase;
|
|
17083
17081
|
hasRequiredHashBase = 1;
|
|
17084
|
-
var e = safeBufferExports.Buffer, Re = requireStreamBrowserify().Transform, Fe =
|
|
17082
|
+
var e = safeBufferExports.Buffer, Re = requireStreamBrowserify().Transform, Fe = inherits_browserExports;
|
|
17085
17083
|
function Qe(We, Ze) {
|
|
17086
17084
|
if (!e.isBuffer(We) && typeof We != "string")
|
|
17087
17085
|
throw new TypeError(Ze + " must be a string or a buffer");
|
|
@@ -17139,7 +17137,7 @@ function requireMd5_js() {
|
|
|
17139
17137
|
if (hasRequiredMd5_js)
|
|
17140
17138
|
return md5_js;
|
|
17141
17139
|
hasRequiredMd5_js = 1;
|
|
17142
|
-
var e =
|
|
17140
|
+
var e = inherits_browserExports, Re = requireHashBase(), Fe = safeBufferExports.Buffer, Qe = new Array(16);
|
|
17143
17141
|
function qe() {
|
|
17144
17142
|
Re.call(this, 64), this._a = 1732584193, this._b = 4023233417, this._c = 2562383102, this._d = 271733878;
|
|
17145
17143
|
}
|
|
@@ -17175,7 +17173,7 @@ function requireRipemd160() {
|
|
|
17175
17173
|
if (hasRequiredRipemd160)
|
|
17176
17174
|
return ripemd160$7;
|
|
17177
17175
|
hasRequiredRipemd160 = 1;
|
|
17178
|
-
var e = bufferPolyfill.Buffer, Re =
|
|
17176
|
+
var e = bufferPolyfill.Buffer, Re = inherits_browserExports, Fe = requireHashBase(), Qe = new Array(16), qe = [
|
|
17179
17177
|
0,
|
|
17180
17178
|
1,
|
|
17181
17179
|
2,
|
|
@@ -17576,7 +17574,7 @@ function requireSha() {
|
|
|
17576
17574
|
if (hasRequiredSha)
|
|
17577
17575
|
return sha$3;
|
|
17578
17576
|
hasRequiredSha = 1;
|
|
17579
|
-
var e =
|
|
17577
|
+
var e = inherits_browserExports, Re = requireHash(), Fe = safeBufferExports.Buffer, Qe = [
|
|
17580
17578
|
1518500249,
|
|
17581
17579
|
1859775393,
|
|
17582
17580
|
-1894007588,
|
|
@@ -17617,7 +17615,7 @@ function requireSha1() {
|
|
|
17617
17615
|
if (hasRequiredSha1)
|
|
17618
17616
|
return sha1$1;
|
|
17619
17617
|
hasRequiredSha1 = 1;
|
|
17620
|
-
var e =
|
|
17618
|
+
var e = inherits_browserExports, Re = requireHash(), Fe = safeBufferExports.Buffer, Qe = [
|
|
17621
17619
|
1518500249,
|
|
17622
17620
|
1859775393,
|
|
17623
17621
|
-1894007588,
|
|
@@ -17661,7 +17659,7 @@ function requireSha256() {
|
|
|
17661
17659
|
if (hasRequiredSha256)
|
|
17662
17660
|
return sha256$c;
|
|
17663
17661
|
hasRequiredSha256 = 1;
|
|
17664
|
-
var e =
|
|
17662
|
+
var e = inherits_browserExports, Re = requireHash(), Fe = safeBufferExports.Buffer, Qe = [
|
|
17665
17663
|
1116352408,
|
|
17666
17664
|
1899447441,
|
|
17667
17665
|
3049323471,
|
|
@@ -17771,7 +17769,7 @@ function requireSha224() {
|
|
|
17771
17769
|
if (hasRequiredSha224)
|
|
17772
17770
|
return sha224$2;
|
|
17773
17771
|
hasRequiredSha224 = 1;
|
|
17774
|
-
var e =
|
|
17772
|
+
var e = inherits_browserExports, Re = requireSha256(), Fe = requireHash(), Qe = safeBufferExports.Buffer, qe = new Array(64);
|
|
17775
17773
|
function We() {
|
|
17776
17774
|
this.init(), this._w = qe, Fe.call(this, 64, 56);
|
|
17777
17775
|
}
|
|
@@ -17787,7 +17785,7 @@ function requireSha512() {
|
|
|
17787
17785
|
if (hasRequiredSha512)
|
|
17788
17786
|
return sha512$a;
|
|
17789
17787
|
hasRequiredSha512 = 1;
|
|
17790
|
-
var e =
|
|
17788
|
+
var e = inherits_browserExports, Re = requireHash(), Fe = safeBufferExports.Buffer, Qe = [
|
|
17791
17789
|
1116352408,
|
|
17792
17790
|
3609767458,
|
|
17793
17791
|
1899447441,
|
|
@@ -18012,7 +18010,7 @@ function requireSha384() {
|
|
|
18012
18010
|
if (hasRequiredSha384)
|
|
18013
18011
|
return sha384$3;
|
|
18014
18012
|
hasRequiredSha384 = 1;
|
|
18015
|
-
var e =
|
|
18013
|
+
var e = inherits_browserExports, Re = requireSha512(), Fe = requireHash(), Qe = safeBufferExports.Buffer, qe = new Array(160);
|
|
18016
18014
|
function We() {
|
|
18017
18015
|
this.init(), this._w = qe, Fe.call(this, 128, 112);
|
|
18018
18016
|
}
|
|
@@ -18045,7 +18043,7 @@ function requireCipherBase() {
|
|
|
18045
18043
|
if (hasRequiredCipherBase)
|
|
18046
18044
|
return cipherBase;
|
|
18047
18045
|
hasRequiredCipherBase = 1;
|
|
18048
|
-
var e = safeBufferExports.Buffer, Re = requireStreamBrowserify().Transform, Fe = requireString_decoder$1().StringDecoder, Qe =
|
|
18046
|
+
var e = safeBufferExports.Buffer, Re = requireStreamBrowserify().Transform, Fe = requireString_decoder$1().StringDecoder, Qe = inherits_browserExports;
|
|
18049
18047
|
function qe(We) {
|
|
18050
18048
|
Re.call(this), this.hashMode = typeof We == "string", this.hashMode ? this[We] = this._finalOrDigest : this.final = this._finalOrDigest, this._final && (this.__final = this._final, this._final = null), this._decoder = null, this._encoding = null;
|
|
18051
18049
|
}
|
|
@@ -18092,7 +18090,7 @@ function requireBrowser$9() {
|
|
|
18092
18090
|
if (hasRequiredBrowser$9)
|
|
18093
18091
|
return browser$g;
|
|
18094
18092
|
hasRequiredBrowser$9 = 1;
|
|
18095
|
-
var e =
|
|
18093
|
+
var e = inherits_browserExports, Re = requireMd5_js(), Fe = requireRipemd160(), Qe = requireSha_js(), qe = requireCipherBase();
|
|
18096
18094
|
function We(Ze) {
|
|
18097
18095
|
qe.call(this, "digest"), this._hash = Ze;
|
|
18098
18096
|
}
|
|
@@ -18109,7 +18107,7 @@ function requireLegacy() {
|
|
|
18109
18107
|
if (hasRequiredLegacy)
|
|
18110
18108
|
return legacy;
|
|
18111
18109
|
hasRequiredLegacy = 1;
|
|
18112
|
-
var e =
|
|
18110
|
+
var e = inherits_browserExports, Re = safeBufferExports.Buffer, Fe = requireCipherBase(), Qe = Re.alloc(128), qe = 64;
|
|
18113
18111
|
function We(Ze, Xe) {
|
|
18114
18112
|
Fe.call(this, "digest"), typeof Xe == "string" && (Xe = Re.from(Xe)), this._alg = Ze, this._key = Xe, Xe.length > qe ? Xe = Ze(Xe) : Xe.length < qe && (Xe = Re.concat([Xe, Qe], qe));
|
|
18115
18113
|
for (var Dt = this._ipad = Re.allocUnsafe(qe), ht = this._opad = Re.allocUnsafe(qe), Un = 0; Un < qe; Un++)
|
|
@@ -18138,7 +18136,7 @@ function requireBrowser$8() {
|
|
|
18138
18136
|
if (hasRequiredBrowser$8)
|
|
18139
18137
|
return browser$f;
|
|
18140
18138
|
hasRequiredBrowser$8 = 1;
|
|
18141
|
-
var e =
|
|
18139
|
+
var e = inherits_browserExports, Re = requireLegacy(), Fe = requireCipherBase(), Qe = safeBufferExports.Buffer, qe = requireMd5(), We = requireRipemd160(), Ze = requireSha_js(), Xe = Qe.alloc(128);
|
|
18142
18140
|
function Dt(ht, Un) {
|
|
18143
18141
|
Fe.call(this, "digest"), typeof Un == "string" && (Un = Qe.from(Un));
|
|
18144
18142
|
var Gn = ht === "sha512" || ht === "sha384" ? 128 : 64;
|
|
@@ -19266,7 +19264,7 @@ function requireDes$1() {
|
|
|
19266
19264
|
if (hasRequiredDes$1)
|
|
19267
19265
|
return des;
|
|
19268
19266
|
hasRequiredDes$1 = 1;
|
|
19269
|
-
var e = minimalisticAssert$1, Re =
|
|
19267
|
+
var e = minimalisticAssert$1, Re = inherits_browserExports, Fe = requireUtils(), Qe = requireCipher();
|
|
19270
19268
|
function qe() {
|
|
19271
19269
|
this.tmp = new Array(2), this.keys = null;
|
|
19272
19270
|
}
|
|
@@ -19342,7 +19340,7 @@ function requireCbc$1() {
|
|
|
19342
19340
|
if (hasRequiredCbc$1)
|
|
19343
19341
|
return cbc$1;
|
|
19344
19342
|
hasRequiredCbc$1 = 1;
|
|
19345
|
-
var e = minimalisticAssert$1, Re =
|
|
19343
|
+
var e = minimalisticAssert$1, Re = inherits_browserExports, Fe = {};
|
|
19346
19344
|
function Qe(We) {
|
|
19347
19345
|
e.equal(We.length, 8, "Invalid IV length"), this.iv = new Array(8);
|
|
19348
19346
|
for (var Ze = 0; Ze < this.iv.length; Ze++)
|
|
@@ -19386,7 +19384,7 @@ function requireEde() {
|
|
|
19386
19384
|
if (hasRequiredEde)
|
|
19387
19385
|
return ede;
|
|
19388
19386
|
hasRequiredEde = 1;
|
|
19389
|
-
var e = minimalisticAssert$1, Re =
|
|
19387
|
+
var e = minimalisticAssert$1, Re = inherits_browserExports, Fe = requireCipher(), Qe = requireDes$1();
|
|
19390
19388
|
function qe(Ze, Xe) {
|
|
19391
19389
|
e.equal(Xe.length, 24, "Invalid key length");
|
|
19392
19390
|
var Dt = Xe.slice(0, 8), ht = Xe.slice(8, 16), Un = Xe.slice(16, 24);
|
|
@@ -19421,7 +19419,7 @@ function requireBrowserifyDes() {
|
|
|
19421
19419
|
if (hasRequiredBrowserifyDes)
|
|
19422
19420
|
return browserifyDes;
|
|
19423
19421
|
hasRequiredBrowserifyDes = 1;
|
|
19424
|
-
var e = requireCipherBase(), Re = requireDes(), Fe =
|
|
19422
|
+
var e = requireCipherBase(), Re = requireDes(), Fe = inherits_browserExports, Qe = safeBufferExports.Buffer, qe = {
|
|
19425
19423
|
"des-ede3-cbc": Re.CBC.instantiate(Re.EDE),
|
|
19426
19424
|
"des-ede3": Re.EDE,
|
|
19427
19425
|
"des-ede-cbc": Re.CBC.instantiate(Re.EDE),
|
|
@@ -19923,7 +19921,7 @@ function requireAuthCipher() {
|
|
|
19923
19921
|
if (hasRequiredAuthCipher)
|
|
19924
19922
|
return authCipher;
|
|
19925
19923
|
hasRequiredAuthCipher = 1;
|
|
19926
|
-
var e = requireAes(), Re = safeBufferExports.Buffer, Fe = requireCipherBase(), Qe =
|
|
19924
|
+
var e = requireAes(), Re = safeBufferExports.Buffer, Fe = requireCipherBase(), Qe = inherits_browserExports, qe = requireGhash(), We = requireBufferXor(), Ze = requireIncr32();
|
|
19927
19925
|
function Xe(Un, Gn) {
|
|
19928
19926
|
var $n = 0;
|
|
19929
19927
|
Un.length !== Gn.length && $n++;
|
|
@@ -19982,7 +19980,7 @@ function requireStreamCipher() {
|
|
|
19982
19980
|
if (hasRequiredStreamCipher)
|
|
19983
19981
|
return streamCipher;
|
|
19984
19982
|
hasRequiredStreamCipher = 1;
|
|
19985
|
-
var e = requireAes(), Re = safeBufferExports.Buffer, Fe = requireCipherBase(), Qe =
|
|
19983
|
+
var e = requireAes(), Re = safeBufferExports.Buffer, Fe = requireCipherBase(), Qe = inherits_browserExports;
|
|
19986
19984
|
function qe(We, Ze, Xe, Dt) {
|
|
19987
19985
|
Fe.call(this), this._cipher = new e.AES(Ze), this._prev = Re.from(Xe), this._cache = Re.allocUnsafe(0), this._secCache = Re.allocUnsafe(0), this._decrypt = Dt, this._mode = We;
|
|
19988
19986
|
}
|
|
@@ -20023,7 +20021,7 @@ function requireEncrypter() {
|
|
|
20023
20021
|
if (hasRequiredEncrypter)
|
|
20024
20022
|
return encrypter;
|
|
20025
20023
|
hasRequiredEncrypter = 1;
|
|
20026
|
-
var e = requireModes$1(), Re = requireAuthCipher(), Fe = safeBufferExports.Buffer, Qe = requireStreamCipher(), qe = requireCipherBase(), We = requireAes(), Ze = requireEvp_bytestokey(), Xe =
|
|
20024
|
+
var e = requireModes$1(), Re = requireAuthCipher(), Fe = safeBufferExports.Buffer, Qe = requireStreamCipher(), qe = requireCipherBase(), We = requireAes(), Ze = requireEvp_bytestokey(), Xe = inherits_browserExports;
|
|
20027
20025
|
function Dt(Fn, jn, Qn) {
|
|
20028
20026
|
qe.call(this), this._cache = new Un(), this._cipher = new We.AES(jn), this._prev = Fe.from(Qn), this._mode = Fn, this._autopadding = !0;
|
|
20029
20027
|
}
|
|
@@ -20083,7 +20081,7 @@ function requireDecrypter() {
|
|
|
20083
20081
|
if (hasRequiredDecrypter)
|
|
20084
20082
|
return decrypter;
|
|
20085
20083
|
hasRequiredDecrypter = 1;
|
|
20086
|
-
var e = requireAuthCipher(), Re = safeBufferExports.Buffer, Fe = requireModes$1(), Qe = requireStreamCipher(), qe = requireCipherBase(), We = requireAes(), Ze = requireEvp_bytestokey(), Xe =
|
|
20084
|
+
var e = requireAuthCipher(), Re = safeBufferExports.Buffer, Fe = requireModes$1(), Qe = requireStreamCipher(), qe = requireCipherBase(), We = requireAes(), Ze = requireEvp_bytestokey(), Xe = inherits_browserExports;
|
|
20087
20085
|
function Dt(Fn, jn, Qn) {
|
|
20088
20086
|
qe.call(this), this._cache = new ht(), this._last = void 0, this._cipher = new We.AES(jn), this._prev = Re.from(Qn), this._mode = Fn, this._autopadding = !0;
|
|
20089
20087
|
}
|
|
@@ -23118,7 +23116,7 @@ function require_stream_writable() {
|
|
|
23118
23116
|
var Fe = !dist$7.process.browser && ["v0.10", "v0.9."].indexOf(dist$7.process.version.slice(0, 5)) > -1 ? setImmediate : e.nextTick, Qe;
|
|
23119
23117
|
Qn.WritableState = Fn;
|
|
23120
23118
|
var qe = Object.create(requireUtil());
|
|
23121
|
-
qe.inherits =
|
|
23119
|
+
qe.inherits = inherits_browserExports;
|
|
23122
23120
|
var We = {
|
|
23123
23121
|
deprecate: requireBrowser$a()
|
|
23124
23122
|
}, Ze = requireStreamBrowser(), Xe = requireSafeBuffer$1().Buffer, Dt = (typeof commonjsGlobal$1 < "u" ? commonjsGlobal$1 : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
|
|
@@ -23328,7 +23326,7 @@ function require_stream_duplex() {
|
|
|
23328
23326
|
};
|
|
23329
23327
|
_stream_duplex = Dt;
|
|
23330
23328
|
var Fe = Object.create(requireUtil());
|
|
23331
|
-
Fe.inherits =
|
|
23329
|
+
Fe.inherits = inherits_browserExports;
|
|
23332
23330
|
var Qe = require_stream_readable(), qe = require_stream_writable();
|
|
23333
23331
|
Fe.inherits(Dt, Qe);
|
|
23334
23332
|
for (var We = Re(qe.prototype), Ze = 0; Ze < We.length; Ze++) {
|
|
@@ -23585,7 +23583,7 @@ function require_stream_readable() {
|
|
|
23585
23583
|
return We.isBuffer(ui) || ui instanceof Ze;
|
|
23586
23584
|
}
|
|
23587
23585
|
var ht = Object.create(requireUtil());
|
|
23588
|
-
ht.inherits =
|
|
23586
|
+
ht.inherits = inherits_browserExports;
|
|
23589
23587
|
var Un = require$$2$4, Gn = void 0;
|
|
23590
23588
|
Un && Un.debuglog ? Gn = Un.debuglog("stream") : Gn = function() {
|
|
23591
23589
|
};
|
|
@@ -23889,7 +23887,7 @@ function require_stream_transform() {
|
|
|
23889
23887
|
return _stream_transform;
|
|
23890
23888
|
hasRequired_stream_transform = 1, _stream_transform = Qe;
|
|
23891
23889
|
var e = require_stream_duplex(), Re = Object.create(requireUtil());
|
|
23892
|
-
Re.inherits =
|
|
23890
|
+
Re.inherits = inherits_browserExports, Re.inherits(Qe, e);
|
|
23893
23891
|
function Fe(Ze, Xe) {
|
|
23894
23892
|
var Dt = this._transformState;
|
|
23895
23893
|
Dt.transforming = !1;
|
|
@@ -23954,7 +23952,7 @@ function require_stream_passthrough() {
|
|
|
23954
23952
|
return _stream_passthrough;
|
|
23955
23953
|
hasRequired_stream_passthrough = 1, _stream_passthrough = Fe;
|
|
23956
23954
|
var e = require_stream_transform(), Re = Object.create(requireUtil());
|
|
23957
|
-
Re.inherits =
|
|
23955
|
+
Re.inherits = inherits_browserExports, Re.inherits(Fe, e);
|
|
23958
23956
|
function Fe(Qe) {
|
|
23959
23957
|
if (!(this instanceof Fe))
|
|
23960
23958
|
return new Fe(Qe);
|
|
@@ -26668,7 +26666,7 @@ BasePoint$1.prototype.dblp = function e(Re) {
|
|
|
26668
26666
|
Fe = Fe.dbl();
|
|
26669
26667
|
return Fe;
|
|
26670
26668
|
};
|
|
26671
|
-
var utils$1l = utils$1o, BN$8 = bnExports$1, inherits$8 =
|
|
26669
|
+
var utils$1l = utils$1o, BN$8 = bnExports$1, inherits$8 = inherits_browserExports, Base$2 = base$5, assert$v = utils$1l.assert;
|
|
26672
26670
|
function ShortCurve$1(e) {
|
|
26673
26671
|
Base$2.call(this, "short", e), this.a = new BN$8(e.a, 16).toRed(this.red), this.b = new BN$8(e.b, 16).toRed(this.red), this.tinv = this.two.redInvm(), this.zeroA = this.a.fromRed().cmpn(0) === 0, this.threeA = this.a.fromRed().sub(this.p).cmpn(-3) === 0, this.endo = this._getEndomorphism(e), this._endoWnafT1 = new Array(4), this._endoWnafT2 = new Array(4);
|
|
26674
26672
|
}
|
|
@@ -27052,7 +27050,7 @@ JPoint$1.prototype.inspect = function e() {
|
|
|
27052
27050
|
JPoint$1.prototype.isInfinity = function e() {
|
|
27053
27051
|
return this.z.cmpn(0) === 0;
|
|
27054
27052
|
};
|
|
27055
|
-
var BN$7 = bnExports$1, inherits$7 =
|
|
27053
|
+
var BN$7 = bnExports$1, inherits$7 = inherits_browserExports, Base$1 = base$5, utils$1k = utils$1o;
|
|
27056
27054
|
function MontCurve(e) {
|
|
27057
27055
|
Base$1.call(this, "mont", e), this.a = new BN$7(e.a, 16).toRed(this.red), this.b = new BN$7(e.b, 16).toRed(this.red), this.i4 = new BN$7(4).toRed(this.red).redInvm(), this.two = new BN$7(2).toRed(this.red), this.a24 = this.i4.redMul(this.a.redAdd(this.two));
|
|
27058
27056
|
}
|
|
@@ -27122,7 +27120,7 @@ Point$2.prototype.normalize = function e() {
|
|
|
27122
27120
|
Point$2.prototype.getX = function e() {
|
|
27123
27121
|
return this.normalize(), this.x.fromRed();
|
|
27124
27122
|
};
|
|
27125
|
-
var utils$1j = utils$1o, BN$6 = bnExports$1, inherits$6 =
|
|
27123
|
+
var utils$1j = utils$1o, BN$6 = bnExports$1, inherits$6 = inherits_browserExports, Base = base$5, assert$u = utils$1j.assert;
|
|
27126
27124
|
function EdwardsCurve(e) {
|
|
27127
27125
|
this.twisted = (e.a | 0) !== 1, this.mOneA = this.twisted && (e.a | 0) === -1, this.extended = this.mOneA, Base.call(this, "edwards", e), this.a = new BN$6(e.a, 16).umod(this.red.m), this.a = this.a.toRed(this.red), this.c = new BN$6(e.c, 16).toRed(this.red), this.c2 = this.c.redSqr(), this.d = new BN$6(e.d, 16).toRed(this.red), this.dd = this.d.redAdd(this.d), assert$u(!this.twisted || this.c.fromRed().cmpn(1) === 0), this.oneC = (e.c | 0) === 1;
|
|
27128
27126
|
}
|
|
@@ -27263,7 +27261,7 @@ Point$1.prototype.mixedAdd = Point$1.prototype.add;
|
|
|
27263
27261
|
var Re = e;
|
|
27264
27262
|
Re.base = base$5, Re.short = short, Re.mont = mont, Re.edwards = edwards;
|
|
27265
27263
|
})(curve);
|
|
27266
|
-
var curves$1 = {}, hash$f = {}, utils$1i = {}, assert$t = minimalisticAssert$1, inherits$5 =
|
|
27264
|
+
var curves$1 = {}, hash$f = {}, utils$1i = {}, assert$t = minimalisticAssert$1, inherits$5 = inherits_browserExports;
|
|
27267
27265
|
utils$1i.inherits = inherits$5;
|
|
27268
27266
|
function isSurrogatePair(e, Re) {
|
|
27269
27267
|
return (e.charCodeAt(Re) & 64512) !== 55296 || Re < 0 || Re + 1 >= e.length ? !1 : (e.charCodeAt(Re + 1) & 64512) === 56320;
|
|
@@ -30887,7 +30885,7 @@ function requireBn$2() {
|
|
|
30887
30885
|
var api$3 = {}, hasRequiredApi;
|
|
30888
30886
|
function requireApi() {
|
|
30889
30887
|
return hasRequiredApi || (hasRequiredApi = 1, function(e) {
|
|
30890
|
-
var Re = requireAsn1$1(), Fe =
|
|
30888
|
+
var Re = requireAsn1$1(), Fe = inherits_browserExports, Qe = e;
|
|
30891
30889
|
Qe.define = function(Ze, Xe) {
|
|
30892
30890
|
return new qe(Ze, Xe);
|
|
30893
30891
|
};
|
|
@@ -30926,7 +30924,7 @@ function requireReporter() {
|
|
|
30926
30924
|
if (hasRequiredReporter)
|
|
30927
30925
|
return reporter;
|
|
30928
30926
|
hasRequiredReporter = 1;
|
|
30929
|
-
var e =
|
|
30927
|
+
var e = inherits_browserExports;
|
|
30930
30928
|
function Re(Qe) {
|
|
30931
30929
|
this._reporterState = {
|
|
30932
30930
|
obj: null,
|
|
@@ -30991,7 +30989,7 @@ function requireBuffer() {
|
|
|
30991
30989
|
if (hasRequiredBuffer)
|
|
30992
30990
|
return buffer;
|
|
30993
30991
|
hasRequiredBuffer = 1;
|
|
30994
|
-
var e =
|
|
30992
|
+
var e = inherits_browserExports, Re = requireBase().Reporter, Fe = bufferPolyfill.Buffer;
|
|
30995
30993
|
function Qe(We, Ze) {
|
|
30996
30994
|
if (Re.call(this, Ze), !Fe.isBuffer(We)) {
|
|
30997
30995
|
this.error("Input not Buffer");
|
|
@@ -31431,7 +31429,7 @@ function requireDer$1() {
|
|
|
31431
31429
|
if (hasRequiredDer$1)
|
|
31432
31430
|
return der_1$1;
|
|
31433
31431
|
hasRequiredDer$1 = 1;
|
|
31434
|
-
var e =
|
|
31432
|
+
var e = inherits_browserExports, Re = requireAsn1$1(), Fe = Re.base, Qe = Re.bignum, qe = Re.constants.der;
|
|
31435
31433
|
function We(ht) {
|
|
31436
31434
|
this.enc = "der", this.name = ht.name, this.entity = ht, this.tree = new Ze(), this.tree._init(ht.body);
|
|
31437
31435
|
}
|
|
@@ -31602,7 +31600,7 @@ function requirePem$1() {
|
|
|
31602
31600
|
if (hasRequiredPem$1)
|
|
31603
31601
|
return pem$1;
|
|
31604
31602
|
hasRequiredPem$1 = 1;
|
|
31605
|
-
var e =
|
|
31603
|
+
var e = inherits_browserExports, Re = bufferPolyfill.Buffer, Fe = requireDer$1();
|
|
31606
31604
|
function Qe(qe) {
|
|
31607
31605
|
Fe.call(this, qe), this.enc = "pem";
|
|
31608
31606
|
}
|
|
@@ -31641,7 +31639,7 @@ function requireDer() {
|
|
|
31641
31639
|
if (hasRequiredDer)
|
|
31642
31640
|
return der_1;
|
|
31643
31641
|
hasRequiredDer = 1;
|
|
31644
|
-
var e =
|
|
31642
|
+
var e = inherits_browserExports, Re = bufferPolyfill.Buffer, Fe = requireAsn1$1(), Qe = Fe.base, qe = Fe.constants.der;
|
|
31645
31643
|
function We(ht) {
|
|
31646
31644
|
this.enc = "der", this.name = ht.name, this.entity = ht, this.tree = new Ze(), this.tree._init(ht.body);
|
|
31647
31645
|
}
|
|
@@ -31790,7 +31788,7 @@ function requirePem() {
|
|
|
31790
31788
|
if (hasRequiredPem)
|
|
31791
31789
|
return pem;
|
|
31792
31790
|
hasRequiredPem = 1;
|
|
31793
|
-
var e =
|
|
31791
|
+
var e = inherits_browserExports, Re = requireDer();
|
|
31794
31792
|
function Fe(Qe) {
|
|
31795
31793
|
Re.call(this, Qe), this.enc = "pem";
|
|
31796
31794
|
}
|
|
@@ -32255,7 +32253,7 @@ function requireBrowser$3() {
|
|
|
32255
32253
|
if (hasRequiredBrowser$3)
|
|
32256
32254
|
return browser$a;
|
|
32257
32255
|
hasRequiredBrowser$3 = 1;
|
|
32258
|
-
var e = safeBufferExports.Buffer, Re = requireBrowser$9(), Fe = requireReadableBrowser(), Qe =
|
|
32256
|
+
var e = safeBufferExports.Buffer, Re = requireBrowser$9(), Fe = requireReadableBrowser(), Qe = inherits_browserExports, qe = requireSign(), We = requireVerify(), Ze = require$$6$2;
|
|
32259
32257
|
Object.keys(Ze).forEach(function(Gn) {
|
|
32260
32258
|
Ze[Gn].id = e.from(Ze[Gn].id, "hex"), Ze[Gn.toLowerCase()] = Ze[Gn];
|
|
32261
32259
|
});
|
|
@@ -94903,7 +94901,7 @@ var isBufferBrowser = function e(Re) {
|
|
|
94903
94901
|
}
|
|
94904
94902
|
e.log = function() {
|
|
94905
94903
|
console.log("%s - %s", Dr(), e.format.apply(e, arguments));
|
|
94906
|
-
}, e.inherits =
|
|
94904
|
+
}, e.inherits = inherits_browserExports, e._extend = function(Nr, Qr) {
|
|
94907
94905
|
if (!Qr || !Mr(Qr))
|
|
94908
94906
|
return Nr;
|
|
94909
94907
|
for (var Jr = Object.keys(Qr), ti = Jr.length; ti--; )
|
|
@@ -291884,7 +291882,7 @@ const sortTokens = (e, Re) => {
|
|
|
291884
291882
|
return e;
|
|
291885
291883
|
}
|
|
291886
291884
|
};
|
|
291887
|
-
var define_import_meta_env_default$3 = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1, REACT_APP_CONNECT_VERSION: "0.3.
|
|
291885
|
+
var define_import_meta_env_default$3 = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1, REACT_APP_CONNECT_VERSION: "0.3.23-beta.0-development" };
|
|
291888
291886
|
const {
|
|
291889
291887
|
REACT_APP_ETHEREUM_RPC,
|
|
291890
291888
|
REACT_APP_SOLANA_RPC,
|
|
@@ -295465,7 +295463,7 @@ const {
|
|
|
295465
295463
|
}
|
|
295466
295464
|
}
|
|
295467
295465
|
};
|
|
295468
|
-
var define_import_meta_env_default$2 = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1, REACT_APP_CONNECT_VERSION: "0.3.
|
|
295466
|
+
var define_import_meta_env_default$2 = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1, REACT_APP_CONNECT_VERSION: "0.3.23-beta.0-development" };
|
|
295469
295467
|
const {
|
|
295470
295468
|
REACT_APP_GOERLI_RPC,
|
|
295471
295469
|
REACT_APP_SEPOLIA_RPC,
|
|
@@ -297911,7 +297909,7 @@ const {
|
|
|
297911
297909
|
}
|
|
297912
297910
|
}
|
|
297913
297911
|
};
|
|
297914
|
-
var define_import_meta_env_default$1 = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1, REACT_APP_CONNECT_VERSION: "0.3.
|
|
297912
|
+
var define_import_meta_env_default$1 = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1, REACT_APP_CONNECT_VERSION: "0.3.23-beta.0-development" };
|
|
297915
297913
|
const {
|
|
297916
297914
|
REACT_APP_ETHEREUM_DEVNET_RPC,
|
|
297917
297915
|
REACT_APP_OSMOSIS_DEVNET_RPC,
|
|
@@ -298031,7 +298029,7 @@ const {
|
|
|
298031
298029
|
index: 0,
|
|
298032
298030
|
keys: ["0x13947Bd48b18E53fdAeEe77F3473391aC727C638"]
|
|
298033
298031
|
}
|
|
298034
|
-
}, WORMSCAN = "https://wormholescan.io/#/", AVAILABLE_MARKETS_URL = "https://portalbridge.com/docs/faqs/liquid-markets/", CONNECT_VERSION = "0.3.
|
|
298032
|
+
}, WORMSCAN = "https://wormholescan.io/#/", AVAILABLE_MARKETS_URL = "https://portalbridge.com/docs/faqs/liquid-markets/", CONNECT_VERSION = "0.3.23-beta.0-development";
|
|
298035
298033
|
function wrapEventHandler(e) {
|
|
298036
298034
|
return function(Re) {
|
|
298037
298035
|
var Qe;
|
|
@@ -312205,7 +312203,7 @@ class SDKConverter {
|
|
|
312205
312203
|
);
|
|
312206
312204
|
}
|
|
312207
312205
|
}
|
|
312208
|
-
var define_import_meta_env_default = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1, REACT_APP_CONNECT_VERSION: "0.3.
|
|
312206
|
+
var define_import_meta_env_default = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1, REACT_APP_CONNECT_VERSION: "0.3.23-beta.0-development" };
|
|
312209
312207
|
function buildConfig(e) {
|
|
312210
312208
|
var ht, Un;
|
|
312211
312209
|
const Re = ((e == null ? void 0 : e.network) || (e == null ? void 0 : e.env) || // TODO remove; deprecated
|
|
@@ -312571,7 +312569,7 @@ const walletConnection = {
|
|
|
312571
312569
|
if (Fe.getNetworkInfo().chainId !== e) {
|
|
312572
312570
|
if (Qe.context === Context.ETH)
|
|
312573
312571
|
try {
|
|
312574
|
-
const { switchChain: We } = await import("./evm-
|
|
312572
|
+
const { switchChain: We } = await import("./evm-WeYh1CwH.mjs").then((Ze) => Ze.f);
|
|
312575
312573
|
await We(Fe, e);
|
|
312576
312574
|
} catch (We) {
|
|
312577
312575
|
if (We instanceof NotSupported)
|
|
@@ -312579,7 +312577,7 @@ const walletConnection = {
|
|
|
312579
312577
|
throw We;
|
|
312580
312578
|
}
|
|
312581
312579
|
if (Qe.context === Context.COSMOS) {
|
|
312582
|
-
const { switchChain: We } = await import("./cosmos-
|
|
312580
|
+
const { switchChain: We } = await import("./cosmos-BIzn30Lo.mjs");
|
|
312583
312581
|
await We(Fe, e);
|
|
312584
312582
|
}
|
|
312585
312583
|
return Fe.getAddress();
|
|
@@ -312588,7 +312586,7 @@ const walletConnection = {
|
|
|
312588
312586
|
const Re = walletConnection[e];
|
|
312589
312587
|
Re && await Re.disconnect();
|
|
312590
312588
|
}, watchAsset = async (e, Re) => {
|
|
312591
|
-
const Fe = walletConnection[Re], { watchAsset: Qe } = await import("./evm-
|
|
312589
|
+
const Fe = walletConnection[Re], { watchAsset: Qe } = await import("./evm-WeYh1CwH.mjs").then((qe) => qe.f);
|
|
312592
312590
|
await Qe(e, Fe);
|
|
312593
312591
|
}, signAndSendTransaction = async (e, Re, Fe, Qe = {}) => {
|
|
312594
312592
|
const qe = config$1.chains[e], We = walletConnection[Fe];
|
|
@@ -312598,23 +312596,23 @@ const walletConnection = {
|
|
|
312598
312596
|
case Context.ETH:
|
|
312599
312597
|
return Re.transactionHash;
|
|
312600
312598
|
case Context.SOLANA: {
|
|
312601
|
-
const { signAndSendTransaction: Ze } = await import("./solana-
|
|
312599
|
+
const { signAndSendTransaction: Ze } = await import("./solana-BLtdLKKq.mjs");
|
|
312602
312600
|
return (await Ze(Re, We, Qe)).id;
|
|
312603
312601
|
}
|
|
312604
312602
|
case Context.SUI: {
|
|
312605
|
-
const { signAndSendTransaction: Ze } = await import("./sui-
|
|
312603
|
+
const { signAndSendTransaction: Ze } = await import("./sui-BZ_uS8zP.mjs");
|
|
312606
312604
|
return (await Ze(Re, We)).id;
|
|
312607
312605
|
}
|
|
312608
312606
|
case Context.APTOS: {
|
|
312609
|
-
const { signAndSendTransaction: Ze } = await import("./aptos-
|
|
312607
|
+
const { signAndSendTransaction: Ze } = await import("./aptos-DgRBytsM.mjs");
|
|
312610
312608
|
return (await Ze(Re, We)).id;
|
|
312611
312609
|
}
|
|
312612
312610
|
case Context.SEI: {
|
|
312613
|
-
const { signAndSendTransaction: Ze } = await import("./sei-
|
|
312611
|
+
const { signAndSendTransaction: Ze } = await import("./sei-BYR1KxHW.mjs");
|
|
312614
312612
|
return (await Ze(Re, We)).id;
|
|
312615
312613
|
}
|
|
312616
312614
|
case Context.COSMOS: {
|
|
312617
|
-
const { signAndSendTransaction: Ze } = await import("./cosmos-
|
|
312615
|
+
const { signAndSendTransaction: Ze } = await import("./cosmos-BIzn30Lo.mjs");
|
|
312618
312616
|
return (await Ze(Re, We)).id;
|
|
312619
312617
|
}
|
|
312620
312618
|
default:
|
|
@@ -312647,39 +312645,39 @@ const walletConnection = {
|
|
|
312647
312645
|
if (e === void 0)
|
|
312648
312646
|
return [];
|
|
312649
312647
|
if (e.context === Context.ETH) {
|
|
312650
|
-
const { wallets: Re } = await import("./evm-
|
|
312648
|
+
const { wallets: Re } = await import("./evm-WeYh1CwH.mjs").then((Fe) => Fe.f);
|
|
312651
312649
|
return Object.values(mapWallets(Re, Context.ETH));
|
|
312652
312650
|
} else if (e.context === Context.SOLANA) {
|
|
312653
|
-
const { fetchOptions: Re } = await import("./solana-
|
|
312651
|
+
const { fetchOptions: Re } = await import("./solana-BLtdLKKq.mjs"), Fe = Re();
|
|
312654
312652
|
return Object.values(mapWallets(Fe, Context.SOLANA));
|
|
312655
312653
|
} else if (e.context === Context.SUI) {
|
|
312656
|
-
const Fe = await (await import("./sui-
|
|
312654
|
+
const Fe = await (await import("./sui-BZ_uS8zP.mjs")).fetchOptions();
|
|
312657
312655
|
return Object.values(mapWallets(Fe, Context.SUI));
|
|
312658
312656
|
} else if (e.context === Context.APTOS) {
|
|
312659
|
-
const Fe = (await import("./aptos-
|
|
312657
|
+
const Fe = (await import("./aptos-DgRBytsM.mjs")).fetchOptions();
|
|
312660
312658
|
return Object.values(mapWallets(Fe, Context.APTOS));
|
|
312661
312659
|
} else if (e.context === Context.SEI) {
|
|
312662
|
-
const Fe = await (await import("./sei-
|
|
312660
|
+
const Fe = await (await import("./sei-BYR1KxHW.mjs")).fetchOptions();
|
|
312663
312661
|
return Object.values(mapWallets(Fe, Context.SEI));
|
|
312664
312662
|
} else if (e.context === Context.COSMOS)
|
|
312665
312663
|
if (e.id === CHAIN_ID_EVMOS$1) {
|
|
312666
312664
|
const {
|
|
312667
312665
|
wallets: { cosmosEvm: Re }
|
|
312668
|
-
} = await import("./cosmos-
|
|
312666
|
+
} = await import("./cosmos-BIzn30Lo.mjs");
|
|
312669
312667
|
return Object.values(
|
|
312670
312668
|
mapWallets(Re, Context.COSMOS, ["OKX Wallet"])
|
|
312671
312669
|
);
|
|
312672
312670
|
} else if (e.id === CHAIN_ID_INJECTIVE$1) {
|
|
312673
312671
|
const {
|
|
312674
312672
|
wallets: { cosmosEvm: Re }
|
|
312675
|
-
} = await import("./cosmos-
|
|
312673
|
+
} = await import("./cosmos-BIzn30Lo.mjs");
|
|
312676
312674
|
return Object.values(
|
|
312677
312675
|
mapWallets(Re, Context.COSMOS, ["OKX Wallet"])
|
|
312678
312676
|
);
|
|
312679
312677
|
} else {
|
|
312680
312678
|
const {
|
|
312681
312679
|
wallets: { cosmos: Re }
|
|
312682
|
-
} = await import("./cosmos-
|
|
312680
|
+
} = await import("./cosmos-BIzn30Lo.mjs");
|
|
312683
312681
|
return Object.values(mapWallets(Re, Context.COSMOS));
|
|
312684
312682
|
}
|
|
312685
312683
|
return [];
|
|
@@ -331583,7 +331581,7 @@ const getMessageSolana = async (e) => {
|
|
|
331583
331581
|
relayerFee: Ar || "",
|
|
331584
331582
|
relayingType: Ar ? NttRelayingType.Special : NttRelayingType.Manual
|
|
331585
331583
|
};
|
|
331586
|
-
}, evm = async () => (await import("./evm-
|
|
331584
|
+
}, evm = async () => (await import("./evm-2ARfiEbk.mjs").then((e) => e.f)).default, solana = async () => (await import("./solana-CRbkLsWk.mjs").then((e) => e.s)).default, aptos = async () => (await import("./aptos-C8ttM75J.mjs").then((e) => e.e)).default, sui = async () => (await import("./sui-DeoYmh3N.mjs").then((e) => e.s)).default, cosmwasm = async () => (await import("./cosmwasm-CYZkMUNw.mjs").then((e) => e.o)).default, algorand = async () => (await import("./algorand-kK-8oojN.mjs").then((e) => e.b)).default;
|
|
331587
331585
|
class SDKv2Route extends RouteAbstract {
|
|
331588
331586
|
constructor(Fe, Qe, qe) {
|
|
331589
331587
|
super();
|
|
@@ -388936,7 +388934,7 @@ export {
|
|
|
388936
388934
|
bufferPolyfill as n,
|
|
388937
388935
|
commonjsGlobal$1 as o,
|
|
388938
388936
|
minimalisticAssert$1 as p,
|
|
388939
|
-
|
|
388937
|
+
inherits_browserExports as q,
|
|
388940
388938
|
requireElliptic as r,
|
|
388941
388939
|
hash$f as s,
|
|
388942
388940
|
requireBrorand as t,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var y=Object.defineProperty;var g=(d,e,t)=>e in d?y(d,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):d[e]=t;var i=(d,e,t)=>(g(d,typeof e!="symbol"?e+"":e,t),t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-
|
|
1
|
+
"use strict";var y=Object.defineProperty;var g=(d,e,t)=>e in d?y(d,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):d[e]=t;var i=(d,e,t)=>(g(d,typeof e!="symbol"?e+"":e,t),t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-rtZ91I3M.js"),o=require("./aptos-CfDDJUg1.js"),f=require("./chain-HMnpkrbl.js");class k{constructor(e,t,s,n,a=!1){i(this,"transaction");i(this,"network");i(this,"chain");i(this,"description");i(this,"parallelizable");this.transaction=e,this.network=t,this.chain=s,this.description=n,this.parallelizable=a}}const w=[{name:"tokenBridgeAddress",...r.universalAddressItem},{name:"chain",...r.chainItem()},{name:"domainSeparator",binary:"bytes",custom:r.bytes.encode(o.APTOS_SEPARATOR),omit:!0},{name:"tokenId",...r.universalAddressItem},{name:"domainSeparator",binary:"bytes",custom:new Uint8Array([255]),omit:!0}],m=d=>r.serializeLayout(w,d);class c{constructor(e,t,s,n){i(this,"network");i(this,"chain");i(this,"connection");i(this,"contracts");i(this,"chainId");i(this,"tokenBridgeAddress");this.network=e,this.chain=t,this.connection=s,this.contracts=n,this.chainId=r.toChainId(t);const a=n.tokenBridge;if(!a)throw new Error(`TokenBridge contract Address for chain ${t} not found`);this.tokenBridgeAddress=a}static async fromRpc(e,t){const[s,n]=await o.AptosPlatform.chainFromRpc(e),a=t[n];if(a.network!==s)throw new Error("Network mismatch "+a.network+" !== "+s);return new c(s,n,e,a.contracts)}async isWrappedAsset(e){try{return await this.getOriginalAsset(e),!0}catch{return!1}}async getOriginalAsset(e){const t=e.toString().split(o.APTOS_SEPARATOR);let s;if(s=(await this.connection.getAccountResource(t[0],`${this.tokenBridgeAddress}::state::OriginInfo`)).data,!s)throw r.ErrNotWrapped;const n=r.toChain(parseInt(s.token_chain.number)),a=new r.UniversalAddress(s.token_address.external_address);return{chain:n,address:a}}async hasWrappedAsset(e){try{return await this.getWrappedAsset(e),!0}catch{}return!1}async getWrappedAsset(e){const t=await this.getAssetFullyQualifiedType(e);if(!t)throw new Error("Invalid asset address.");return await this.connection.getAccountResource(o.coalesceModuleAddress(t),`${this.tokenBridgeAddress}::state::OriginInfo`),r.toNative(this.chain,t)}async isTransferCompleted(e){const s=(await this.connection.getAccountResource(this.tokenBridgeAddress,`${this.tokenBridgeAddress}::state::State`)).data.consumed_vaas.elems.handle;try{return await this.connection.getTableItem(s,{key_type:"vector<u8>",value_type:"u8",key:`0x${r.dist.Buffer.from(r.keccak_256(e.hash)).toString("hex")}`}),!0}catch{return!1}}async getWrappedNative(){return r.toNative(this.chain,o.APTOS_COIN)}async*createAttestation(e,t){const s={chain:this.chain,address:new o.AptosAddress(e)},n=await this.getAssetFullyQualifiedType(s);if(!n)throw new Error("Invalid asset address.");yield this.createUnsignedTx({function:`${this.tokenBridgeAddress}::attest_token::attest_token_entry`,type_arguments:[n],arguments:[]},"Aptos.AttestToken")}async*submitAttestation(e,t){yield this.createUnsignedTx({function:`${this.tokenBridgeAddress}::wrapped::create_wrapped_coin_type`,type_arguments:[],arguments:[r.serialize(e)]},"Aptos.CreateWrappedCoinType");const s=await this.getAssetFullyQualifiedType(e.payload.token);if(!s)throw new Error("Invalid asset address.");yield this.createUnsignedTx({function:`${this.tokenBridgeAddress}::wrapped::create_wrapped_coin`,type_arguments:[s],arguments:[r.serialize(e)]},"Aptos.CreateWrappedCoin")}async*transfer(e,t,s,n,a){const A=0n,h=0n,l=r.isNative(s)?o.APTOS_COIN:s.toString(),u=t.address.toUniversalAddress().toUint8Array(),p=r.toChainId(t.chain);a?yield this.createUnsignedTx({function:`${this.tokenBridgeAddress}::transfer_tokens::transfer_tokens_with_payload_entry`,type_arguments:[l],arguments:[n,p,u,h,a]},"Aptos.TransferTokensWithPayload"):yield this.createUnsignedTx({function:`${this.tokenBridgeAddress}::transfer_tokens::transfer_tokens_entry`,type_arguments:[l],arguments:[n,p,u,A,h]},"Aptos.TransferTokens")}async*redeem(e,t,s=!0){const n=t.payload.token.chain===this.chain?await this.getTypeFromExternalAddress(t.payload.token.address.toString()):await this.getAssetFullyQualifiedType(t.payload.token);if(!n)throw new Error("Invalid asset address.");yield this.createUnsignedTx({function:`${this.tokenBridgeAddress}::complete_transfer::submit_vaa_and_register_entry`,type_arguments:[n],arguments:[r.serialize(t)]},"Aptos.CompleteTransfer")}async getAssetFullyQualifiedType(e){return e.chain===this.chain?o.isValidAptosType(e.address.toString())?e.address.toString():null:`${c.getForeignAssetAddress(this.chain,this.tokenBridgeAddress,e)}::coin::T`}async getTypeFromExternalAddress(e){try{const t=(await this.connection.getAccountResource(this.tokenBridgeAddress,`${this.tokenBridgeAddress}::state::State`)).data,{handle:s}=t.native_infos,n=await this.connection.getTableItem(s,{key_type:`${this.tokenBridgeAddress}::token_hash::TokenHash`,value_type:"0x1::type_info::TypeInfo",key:{hash:e}});return n?[n.account_address,r.hex.decode(n.module_name),r.hex.decode(n.struct_name)].join(o.APTOS_SEPARATOR):null}catch{return null}}static getForeignAssetAddress(e,t,s){if(r.isNative(s.address))throw new Error("Invalid token address");const n=m({chain:s.chain,tokenBridgeAddress:new o.AptosAddress(t).toUniversalAddress(),tokenId:s.address.toUniversalAddress()});return r.hex.encode(r.sha3_256(n),!0)}createUnsignedTx(e,t,s=!1){return new k(e,this.network,this.chain,t,s)}}f.registerProtocol("Aptos","TokenBridge",c);exports.AptosTokenBridge=c;
|