@ape.swap/bonds-sdk 3.1.3 → 3.1.6
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/main.js +98 -32
- package/package.json +3 -3
package/dist/main.js
CHANGED
|
@@ -25959,7 +25959,7 @@ bn$1.exports;
|
|
|
25959
25959
|
var bnExports = bn$1.exports;
|
|
25960
25960
|
var BN$1 = /*@__PURE__*/getDefaultExportFromCjs(bnExports);
|
|
25961
25961
|
|
|
25962
|
-
const version$j = "logger/5.
|
|
25962
|
+
const version$j = "logger/5.8.0";
|
|
25963
25963
|
|
|
25964
25964
|
let _permanentCensorErrors = false;
|
|
25965
25965
|
let _censorErrors = false;
|
|
@@ -26310,7 +26310,7 @@ class Logger {
|
|
|
26310
26310
|
Logger.errors = ErrorCode;
|
|
26311
26311
|
Logger.levels = LogLevel;
|
|
26312
26312
|
|
|
26313
|
-
const version$i = "bytes/5.
|
|
26313
|
+
const version$i = "bytes/5.8.0";
|
|
26314
26314
|
|
|
26315
26315
|
const logger$o = new Logger(version$i);
|
|
26316
26316
|
///////////////////////////////
|
|
@@ -26710,7 +26710,7 @@ function splitSignature(signature) {
|
|
|
26710
26710
|
return result;
|
|
26711
26711
|
}
|
|
26712
26712
|
|
|
26713
|
-
const version$h = "bignumber/5.
|
|
26713
|
+
const version$h = "bignumber/5.8.0";
|
|
26714
26714
|
|
|
26715
26715
|
var BN = BN$1.BN;
|
|
26716
26716
|
const logger$n = new Logger(version$h);
|
|
@@ -27355,7 +27355,7 @@ class FixedNumber {
|
|
|
27355
27355
|
const ONE = FixedNumber.from(1);
|
|
27356
27356
|
const BUMP = FixedNumber.from("0.5");
|
|
27357
27357
|
|
|
27358
|
-
const version$g = "properties/5.
|
|
27358
|
+
const version$g = "properties/5.8.0";
|
|
27359
27359
|
|
|
27360
27360
|
var __awaiter$8 = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
27361
27361
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -27480,7 +27480,7 @@ class Description {
|
|
|
27480
27480
|
}
|
|
27481
27481
|
}
|
|
27482
27482
|
|
|
27483
|
-
const version$f = "abi/5.
|
|
27483
|
+
const version$f = "abi/5.8.0";
|
|
27484
27484
|
|
|
27485
27485
|
const logger$k = new Logger(version$f);
|
|
27486
27486
|
const _constructorGuard$1 = {};
|
|
@@ -29133,7 +29133,7 @@ function keccak256(data) {
|
|
|
29133
29133
|
return '0x' + sha3.keccak_256(arrayify(data));
|
|
29134
29134
|
}
|
|
29135
29135
|
|
|
29136
|
-
const version$e = "rlp/5.
|
|
29136
|
+
const version$e = "rlp/5.8.0";
|
|
29137
29137
|
|
|
29138
29138
|
const logger$i = new Logger(version$e);
|
|
29139
29139
|
function arrayifyInteger(value) {
|
|
@@ -29250,7 +29250,7 @@ function decode$2(data) {
|
|
|
29250
29250
|
return decoded.result;
|
|
29251
29251
|
}
|
|
29252
29252
|
|
|
29253
|
-
const version$d = "address/5.
|
|
29253
|
+
const version$d = "address/5.8.0";
|
|
29254
29254
|
|
|
29255
29255
|
const logger$h = new Logger(version$d);
|
|
29256
29256
|
function getChecksumAddress(address) {
|
|
@@ -29725,7 +29725,7 @@ class NumberCoder extends Coder {
|
|
|
29725
29725
|
}
|
|
29726
29726
|
}
|
|
29727
29727
|
|
|
29728
|
-
const version$c = "strings/5.
|
|
29728
|
+
const version$c = "strings/5.8.0";
|
|
29729
29729
|
|
|
29730
29730
|
const logger$f = new Logger(version$c);
|
|
29731
29731
|
///////////////////////////////
|
|
@@ -30093,7 +30093,7 @@ function id(text) {
|
|
|
30093
30093
|
return keccak256(toUtf8Bytes(text));
|
|
30094
30094
|
}
|
|
30095
30095
|
|
|
30096
|
-
const version$b = "hash/5.
|
|
30096
|
+
const version$b = "hash/5.8.0";
|
|
30097
30097
|
|
|
30098
30098
|
function decode$1(textData) {
|
|
30099
30099
|
textData = atob(textData);
|
|
@@ -31764,7 +31764,7 @@ var multicallV2Abi = [
|
|
|
31764
31764
|
}
|
|
31765
31765
|
];
|
|
31766
31766
|
|
|
31767
|
-
const version$a = "abstract-provider/5.
|
|
31767
|
+
const version$a = "abstract-provider/5.8.0";
|
|
31768
31768
|
|
|
31769
31769
|
var __awaiter$6 = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31770
31770
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -31826,7 +31826,7 @@ class Provider {
|
|
|
31826
31826
|
}
|
|
31827
31827
|
}
|
|
31828
31828
|
|
|
31829
|
-
const version$9 = "abstract-signer/5.
|
|
31829
|
+
const version$9 = "abstract-signer/5.8.0";
|
|
31830
31830
|
|
|
31831
31831
|
var __awaiter$5 = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31832
31832
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -33503,12 +33503,15 @@ utils.encode = utils_1.encode;
|
|
|
33503
33503
|
// Represent num in a w-NAF form
|
|
33504
33504
|
function getNAF(num, w, bits) {
|
|
33505
33505
|
var naf = new Array(Math.max(num.bitLength(), bits) + 1);
|
|
33506
|
-
|
|
33506
|
+
var i;
|
|
33507
|
+
for (i = 0; i < naf.length; i += 1) {
|
|
33508
|
+
naf[i] = 0;
|
|
33509
|
+
}
|
|
33507
33510
|
|
|
33508
33511
|
var ws = 1 << (w + 1);
|
|
33509
33512
|
var k = num.clone();
|
|
33510
33513
|
|
|
33511
|
-
for (
|
|
33514
|
+
for (i = 0; i < naf.length; i++) {
|
|
33512
33515
|
var z;
|
|
33513
33516
|
var mod = k.andln(ws - 1);
|
|
33514
33517
|
if (k.isOdd()) {
|
|
@@ -35394,8 +35397,8 @@ KeyPair.prototype.sign = function sign(msg, enc, options) {
|
|
|
35394
35397
|
return this.ec.sign(msg, this, enc, options);
|
|
35395
35398
|
};
|
|
35396
35399
|
|
|
35397
|
-
KeyPair.prototype.verify = function verify(msg, signature) {
|
|
35398
|
-
return this.ec.verify(msg, signature, this);
|
|
35400
|
+
KeyPair.prototype.verify = function verify(msg, signature, options) {
|
|
35401
|
+
return this.ec.verify(msg, signature, this, undefined, options);
|
|
35399
35402
|
};
|
|
35400
35403
|
|
|
35401
35404
|
KeyPair.prototype.inspect = function inspect() {
|
|
@@ -35441,6 +35444,10 @@ function getLength(buf, p) {
|
|
|
35441
35444
|
return false;
|
|
35442
35445
|
}
|
|
35443
35446
|
|
|
35447
|
+
if(buf[p.place] === 0x00) {
|
|
35448
|
+
return false;
|
|
35449
|
+
}
|
|
35450
|
+
|
|
35444
35451
|
var val = 0;
|
|
35445
35452
|
for (var i = 0, off = p.place; i < octetLen; i++, off++) {
|
|
35446
35453
|
val <<= 8;
|
|
@@ -35489,6 +35496,9 @@ Signature.prototype._importDER = function _importDER(data, enc) {
|
|
|
35489
35496
|
if (rlen === false) {
|
|
35490
35497
|
return false;
|
|
35491
35498
|
}
|
|
35499
|
+
if ((data[p.place] & 128) !== 0) {
|
|
35500
|
+
return false;
|
|
35501
|
+
}
|
|
35492
35502
|
var r = data.slice(p.place, rlen + p.place);
|
|
35493
35503
|
p.place += rlen;
|
|
35494
35504
|
if (data[p.place++] !== 0x02) {
|
|
@@ -35501,6 +35511,9 @@ Signature.prototype._importDER = function _importDER(data, enc) {
|
|
|
35501
35511
|
if (data.length !== slen + p.place) {
|
|
35502
35512
|
return false;
|
|
35503
35513
|
}
|
|
35514
|
+
if ((data[p.place] & 128) !== 0) {
|
|
35515
|
+
return false;
|
|
35516
|
+
}
|
|
35504
35517
|
var s = data.slice(p.place, slen + p.place);
|
|
35505
35518
|
if (r[0] === 0) {
|
|
35506
35519
|
if (r[1] & 0x80) {
|
|
@@ -35646,8 +35659,27 @@ EC.prototype.genKeyPair = function genKeyPair(options) {
|
|
|
35646
35659
|
}
|
|
35647
35660
|
};
|
|
35648
35661
|
|
|
35649
|
-
EC.prototype._truncateToN = function _truncateToN(msg, truncOnly) {
|
|
35650
|
-
var
|
|
35662
|
+
EC.prototype._truncateToN = function _truncateToN(msg, truncOnly, bitLength) {
|
|
35663
|
+
var byteLength;
|
|
35664
|
+
if (BN$1.isBN(msg) || typeof msg === 'number') {
|
|
35665
|
+
msg = new BN$1(msg, 16);
|
|
35666
|
+
byteLength = msg.byteLength();
|
|
35667
|
+
} else if (typeof msg === 'object') {
|
|
35668
|
+
// BN assumes an array-like input and asserts length
|
|
35669
|
+
byteLength = msg.length;
|
|
35670
|
+
msg = new BN$1(msg, 16);
|
|
35671
|
+
} else {
|
|
35672
|
+
// BN converts the value to string
|
|
35673
|
+
var str = msg.toString();
|
|
35674
|
+
// HEX encoding
|
|
35675
|
+
byteLength = (str.length + 1) >>> 1;
|
|
35676
|
+
msg = new BN$1(str, 16);
|
|
35677
|
+
}
|
|
35678
|
+
// Allow overriding
|
|
35679
|
+
if (typeof bitLength !== 'number') {
|
|
35680
|
+
bitLength = byteLength * 8;
|
|
35681
|
+
}
|
|
35682
|
+
var delta = bitLength - this.n.bitLength();
|
|
35651
35683
|
if (delta > 0)
|
|
35652
35684
|
msg = msg.ushrn(delta);
|
|
35653
35685
|
if (!truncOnly && msg.cmp(this.n) >= 0)
|
|
@@ -35664,8 +35696,18 @@ EC.prototype.sign = function sign(msg, key, enc, options) {
|
|
|
35664
35696
|
if (!options)
|
|
35665
35697
|
options = {};
|
|
35666
35698
|
|
|
35699
|
+
if (typeof msg !== 'string' && typeof msg !== 'number' && !BN$1.isBN(msg)) {
|
|
35700
|
+
assert$5(typeof msg === 'object' && msg && typeof msg.length === 'number',
|
|
35701
|
+
'Expected message to be an array-like, a hex string, or a BN instance');
|
|
35702
|
+
assert$5((msg.length >>> 0) === msg.length); // non-negative 32-bit integer
|
|
35703
|
+
for (var i = 0; i < msg.length; i++) assert$5((msg[i] & 255) === msg[i]);
|
|
35704
|
+
}
|
|
35705
|
+
|
|
35667
35706
|
key = this.keyFromPrivate(key, enc);
|
|
35668
|
-
msg = this._truncateToN(
|
|
35707
|
+
msg = this._truncateToN(msg, false, options.msgBitLength);
|
|
35708
|
+
|
|
35709
|
+
// Would fail further checks, but let's make the error message clear
|
|
35710
|
+
assert$5(!msg.isNeg(), 'Can not sign a negative message');
|
|
35669
35711
|
|
|
35670
35712
|
// Zero-extend key to provide enough entropy
|
|
35671
35713
|
var bytes = this.n.byteLength();
|
|
@@ -35674,6 +35716,9 @@ EC.prototype.sign = function sign(msg, key, enc, options) {
|
|
|
35674
35716
|
// Zero-extend nonce to have the same byte size as N
|
|
35675
35717
|
var nonce = msg.toArray('be', bytes);
|
|
35676
35718
|
|
|
35719
|
+
// Recheck nonce to be bijective to msg
|
|
35720
|
+
assert$5((new BN$1(nonce)).eq(msg), 'Can not sign message');
|
|
35721
|
+
|
|
35677
35722
|
// Instantiate Hmac_DRBG
|
|
35678
35723
|
var drbg = new hmacDrbg({
|
|
35679
35724
|
hash: this.hash,
|
|
@@ -35721,8 +35766,11 @@ EC.prototype.sign = function sign(msg, key, enc, options) {
|
|
|
35721
35766
|
}
|
|
35722
35767
|
};
|
|
35723
35768
|
|
|
35724
|
-
EC.prototype.verify = function verify(msg, signature$1, key, enc) {
|
|
35725
|
-
|
|
35769
|
+
EC.prototype.verify = function verify(msg, signature$1, key, enc, options) {
|
|
35770
|
+
if (!options)
|
|
35771
|
+
options = {};
|
|
35772
|
+
|
|
35773
|
+
msg = this._truncateToN(msg, false, options.msgBitLength);
|
|
35726
35774
|
key = this.keyFromPublic(key, enc);
|
|
35727
35775
|
signature$1 = new signature(signature$1, 'hex');
|
|
35728
35776
|
|
|
@@ -35814,7 +35862,7 @@ var elliptic_1 = createCommonjsModule(function (module, exports) {
|
|
|
35814
35862
|
|
|
35815
35863
|
var elliptic = exports;
|
|
35816
35864
|
|
|
35817
|
-
elliptic.version = /*RicMoo:ethers*/{ version: "6.
|
|
35865
|
+
elliptic.version = /*RicMoo:ethers*/{ version: "6.6.1" }.version;
|
|
35818
35866
|
elliptic.utils = utils_1$1;
|
|
35819
35867
|
elliptic.rand = /*RicMoo:ethers:require(brorand)*/(function() { throw new Error('unsupported'); });
|
|
35820
35868
|
elliptic.curve = curve_1;
|
|
@@ -35827,7 +35875,7 @@ elliptic.eddsa = /*RicMoo:ethers:require(./elliptic/eddsa)*/(null);
|
|
|
35827
35875
|
|
|
35828
35876
|
var EC$1 = elliptic_1.ec;
|
|
35829
35877
|
|
|
35830
|
-
const version$8 = "signing-key/5.
|
|
35878
|
+
const version$8 = "signing-key/5.8.0";
|
|
35831
35879
|
|
|
35832
35880
|
const logger$8 = new Logger(version$8);
|
|
35833
35881
|
let _curve = null;
|
|
@@ -35898,7 +35946,7 @@ function computePublicKey(key, compressed) {
|
|
|
35898
35946
|
return logger$8.throwArgumentError("invalid public or private key", "key", "[REDACTED]");
|
|
35899
35947
|
}
|
|
35900
35948
|
|
|
35901
|
-
const version$7 = "transactions/5.
|
|
35949
|
+
const version$7 = "transactions/5.8.0";
|
|
35902
35950
|
|
|
35903
35951
|
const logger$7 = new Logger(version$7);
|
|
35904
35952
|
var TransactionTypes;
|
|
@@ -36168,7 +36216,7 @@ function parse$1(rawTransaction) {
|
|
|
36168
36216
|
});
|
|
36169
36217
|
}
|
|
36170
36218
|
|
|
36171
|
-
const version$6 = "contracts/5.
|
|
36219
|
+
const version$6 = "contracts/5.8.0";
|
|
36172
36220
|
|
|
36173
36221
|
var __awaiter$4 = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
36174
36222
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -36923,7 +36971,7 @@ class BaseContract {
|
|
|
36923
36971
|
logger$6.throwError("events require a provider or a signer with a provider", Logger.errors.UNSUPPORTED_OPERATION, { operation: "once" });
|
|
36924
36972
|
}
|
|
36925
36973
|
runningEvent.addListener(listener, once);
|
|
36926
|
-
// Track this running event and its listeners (may already be there; but no
|
|
36974
|
+
// Track this running event and its listeners (may already be there; but no harm in updating)
|
|
36927
36975
|
this._runningEvents[runningEvent.tag] = runningEvent;
|
|
36928
36976
|
// If we are not polling the provider, start polling
|
|
36929
36977
|
if (!this._wrappedEmits[runningEvent.tag]) {
|
|
@@ -37170,7 +37218,7 @@ function sha256(data) {
|
|
|
37170
37218
|
return "0x" + (hash.sha256().update(arrayify(data)).digest("hex"));
|
|
37171
37219
|
}
|
|
37172
37220
|
|
|
37173
|
-
const version$5 = "networks/5.
|
|
37221
|
+
const version$5 = "networks/5.8.0";
|
|
37174
37222
|
|
|
37175
37223
|
const logger$5 = new Logger(version$5);
|
|
37176
37224
|
function isRenetworkable(value) {
|
|
@@ -37230,6 +37278,12 @@ function ethDefaultProvider(network) {
|
|
|
37230
37278
|
}
|
|
37231
37279
|
catch (error) { }
|
|
37232
37280
|
}
|
|
37281
|
+
if (providers.QuickNodeProvider && options.quicknode !== "-") {
|
|
37282
|
+
try {
|
|
37283
|
+
providerList.push(new providers.QuickNodeProvider(network, options.quicknode));
|
|
37284
|
+
}
|
|
37285
|
+
catch (error) { }
|
|
37286
|
+
}
|
|
37233
37287
|
if (providerList.length === 0) {
|
|
37234
37288
|
return null;
|
|
37235
37289
|
}
|
|
@@ -37307,9 +37361,15 @@ const networks = {
|
|
|
37307
37361
|
kintsugi: { chainId: 1337702, name: "kintsugi" },
|
|
37308
37362
|
sepolia: {
|
|
37309
37363
|
chainId: 11155111,
|
|
37364
|
+
ensAddress: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",
|
|
37310
37365
|
name: "sepolia",
|
|
37311
37366
|
_defaultProvider: ethDefaultProvider("sepolia")
|
|
37312
37367
|
},
|
|
37368
|
+
holesky: {
|
|
37369
|
+
chainId: 17000,
|
|
37370
|
+
name: "holesky",
|
|
37371
|
+
_defaultProvider: ethDefaultProvider("holesky")
|
|
37372
|
+
},
|
|
37313
37373
|
// ETC (See: #351)
|
|
37314
37374
|
classic: {
|
|
37315
37375
|
chainId: 61,
|
|
@@ -37330,7 +37390,11 @@ const networks = {
|
|
|
37330
37390
|
name: "matic",
|
|
37331
37391
|
_defaultProvider: ethDefaultProvider("matic")
|
|
37332
37392
|
},
|
|
37333
|
-
maticmum: {
|
|
37393
|
+
maticmum: {
|
|
37394
|
+
chainId: 80001,
|
|
37395
|
+
name: "maticmum",
|
|
37396
|
+
_defaultProvider: ethDefaultProvider("maticmum")
|
|
37397
|
+
},
|
|
37334
37398
|
optimism: {
|
|
37335
37399
|
chainId: 10,
|
|
37336
37400
|
name: "optimism",
|
|
@@ -37338,9 +37402,11 @@ const networks = {
|
|
|
37338
37402
|
},
|
|
37339
37403
|
"optimism-kovan": { chainId: 69, name: "optimism-kovan" },
|
|
37340
37404
|
"optimism-goerli": { chainId: 420, name: "optimism-goerli" },
|
|
37405
|
+
"optimism-sepolia": { chainId: 11155420, name: "optimism-sepolia" },
|
|
37341
37406
|
arbitrum: { chainId: 42161, name: "arbitrum" },
|
|
37342
37407
|
"arbitrum-rinkeby": { chainId: 421611, name: "arbitrum-rinkeby" },
|
|
37343
37408
|
"arbitrum-goerli": { chainId: 421613, name: "arbitrum-goerli" },
|
|
37409
|
+
"arbitrum-sepolia": { chainId: 421614, name: "arbitrum-sepolia" },
|
|
37344
37410
|
bnb: { chainId: 56, name: "bnb" },
|
|
37345
37411
|
bnbt: { chainId: 97, name: "bnbt" },
|
|
37346
37412
|
};
|
|
@@ -37416,7 +37482,7 @@ function getNetwork(network) {
|
|
|
37416
37482
|
};
|
|
37417
37483
|
}
|
|
37418
37484
|
|
|
37419
|
-
const version$4 = "web/5.
|
|
37485
|
+
const version$4 = "web/5.8.0";
|
|
37420
37486
|
|
|
37421
37487
|
var __awaiter$3 = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37422
37488
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -38063,7 +38129,7 @@ var bech32 = {
|
|
|
38063
38129
|
|
|
38064
38130
|
var bech32$1 = /*@__PURE__*/getDefaultExportFromCjs(bech32);
|
|
38065
38131
|
|
|
38066
|
-
const version$3 = "providers/5.
|
|
38132
|
+
const version$3 = "providers/5.8.0";
|
|
38067
38133
|
|
|
38068
38134
|
const logger$3 = new Logger(version$3);
|
|
38069
38135
|
class Formatter {
|
|
@@ -41127,7 +41193,7 @@ class JsonRpcProvider extends BaseProvider {
|
|
|
41127
41193
|
}
|
|
41128
41194
|
}
|
|
41129
41195
|
|
|
41130
|
-
const version$2 = "units/5.
|
|
41196
|
+
const version$2 = "units/5.8.0";
|
|
41131
41197
|
|
|
41132
41198
|
const logger = new Logger(version$2);
|
|
41133
41199
|
const names$2 = [
|
|
@@ -58365,8 +58431,8 @@ const PUBLIC_RPC_URLS = {
|
|
|
58365
58431
|
[types.ChainId.ARBITRUM]: ['https://arb1.arbitrum.io/rpc'],
|
|
58366
58432
|
[types.ChainId.BSC_TESTNET]: ['https://data-seed-prebsc-2-s3.binance.org:8545/'],
|
|
58367
58433
|
[types.ChainId.MATIC]: [
|
|
58368
|
-
'https://polygon-mainnet.public.blastapi.io/',
|
|
58369
58434
|
'https://polygon-rpc.com/',
|
|
58435
|
+
'https://polygon-mainnet.public.blastapi.io/',
|
|
58370
58436
|
'https://rpc-mainnet.matic.network',
|
|
58371
58437
|
'https://matic-mainnet.chainstacklabs.com',
|
|
58372
58438
|
],
|
|
@@ -80625,7 +80691,7 @@ const Bonds = () => {
|
|
|
80625
80691
|
alignItems: 'center',
|
|
80626
80692
|
flexDirection: 'column',
|
|
80627
80693
|
mt: '10px',
|
|
80628
|
-
}, children: [jsx$2(Svg, { icon: "StarFilled", width: 75, height: 75 }), jsx$2(Flex$1, { sx: { mt: '10px' }, children: `You don't have any Favorite Bonds yet!` }), jsx$2(Flex$1, { sx: { fontSize: '12px', fontWeight: 400, color: 'textDisabledButton', mt: '10px' }, children: `Click on the 'star' or 'fire' icon to add Bonds to the list.` })] })) : (jsx$2(PlaceholderMonkey, { text: 'No available bonds at the moment.', loading: loadingBonds })), SDKConfig.useHotBonds && jsx$2(RecommendationCards$1, {}), jsx$2(Flex$1, { sx: { width: '100%', justifyContent: 'center', my: '15px' }, className: "powered-by-apebond-sdk", children: jsx$2("img", { src: "https://res.cloudinary.com/dswmrqgwy/image/upload/v1741643990/poweredbyapebondsdk_cxiouj.png", alt: "powered-by-apebond", className: "powered-by-apebond-sdk-img", style: { width: '200px', height: 'auto' } }) })] }));
|
|
80694
|
+
}, children: [jsx$2(Svg, { icon: "StarFilled", width: 75, height: 75 }), jsx$2(Flex$1, { sx: { mt: '10px' }, children: `You don't have any Favorite Bonds yet!` }), jsx$2(Flex$1, { sx: { fontSize: '12px', fontWeight: 400, color: 'textDisabledButton', mt: '10px' }, children: `Click on the 'star' or 'fire' icon to add Bonds to the list.` })] })) : (jsx$2(PlaceholderMonkey, { text: 'No available bonds at the moment.', loading: loadingBonds })), SDKConfig.useHotBonds && jsx$2(RecommendationCards$1, {}), jsx$2(Flex$1, { sx: { width: '100%', justifyContent: 'center', my: '15px' }, className: "powered-by-apebond-sdk", children: jsx$2("img", { src: "https://res.cloudinary.com/dswmrqgwy/image/upload/v1741643990/poweredbyapebondsdk_cxiouj.png", alt: "powered-by-apebond", className: "powered-by-apebond-sdk-img", style: { width: '200px', height: 'auto', cursor: 'pointer' }, onClick: () => window.open('https://ape.bond', '_blank') }) })] }));
|
|
80629
80695
|
};
|
|
80630
80696
|
|
|
80631
80697
|
var BondsViewOptions$1;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Ape Bond SDK",
|
|
4
4
|
"author": "Ape Bond",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "3.1.
|
|
6
|
+
"version": "3.1.6",
|
|
7
7
|
"module": "dist/main.js",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"types": "dist/main.d.ts",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"eslint": "^9.28.0",
|
|
57
57
|
"eslint-plugin-react": "^7.37.5",
|
|
58
58
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
59
|
-
"ethers": "5.
|
|
59
|
+
"ethers": "5.8.0",
|
|
60
60
|
"husky": "^9.0.11",
|
|
61
61
|
"lint-staged": "^16.1.0",
|
|
62
62
|
"prettier": "^3.3.3",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"sass": "^1.77.7",
|
|
67
67
|
"typescript": "^5.0.0",
|
|
68
68
|
"typescript-eslint": "^8.34.0",
|
|
69
|
-
"vite": "
|
|
69
|
+
"vite": "5.4.21",
|
|
70
70
|
"yalc": "^1.0.0-pre.53"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|