@openfort/openfort-js 0.8.15 → 0.8.17
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.cjs +135 -48
- package/dist/index.js +135 -48
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3339,7 +3339,7 @@ class KeyPair extends signingKey.SigningKey {
|
|
|
3339
3339
|
}
|
|
3340
3340
|
}
|
|
3341
3341
|
|
|
3342
|
-
const VERSION = '0.8.
|
|
3342
|
+
const VERSION = '0.8.17';
|
|
3343
3343
|
|
|
3344
3344
|
var Event;
|
|
3345
3345
|
(function (Event) {
|
|
@@ -4636,7 +4636,8 @@ class AuthManager {
|
|
|
4636
4636
|
if (forceRefresh) {
|
|
4637
4637
|
return this.refreshTokens(authentication.refreshToken, forceRefresh);
|
|
4638
4638
|
}
|
|
4639
|
-
|
|
4639
|
+
const webCrypto = AuthManager.getWebCrypto();
|
|
4640
|
+
if (webCrypto?.subtle) {
|
|
4640
4641
|
return this.validateCredentialsWithCrypto(jwk, authentication);
|
|
4641
4642
|
}
|
|
4642
4643
|
return this.validateCredentialsWithoutCrypto(jwk, authentication);
|
|
@@ -4837,6 +4838,16 @@ class AuthManager {
|
|
|
4837
4838
|
});
|
|
4838
4839
|
return authPlayerResponse.data;
|
|
4839
4840
|
}
|
|
4841
|
+
static getWebCrypto() {
|
|
4842
|
+
if (isBrowser()) {
|
|
4843
|
+
return window.crypto;
|
|
4844
|
+
}
|
|
4845
|
+
// Node.js environment
|
|
4846
|
+
if (typeof global !== 'undefined' && global.crypto) {
|
|
4847
|
+
return global.crypto;
|
|
4848
|
+
}
|
|
4849
|
+
return null;
|
|
4850
|
+
}
|
|
4840
4851
|
async linkEmail(email, password, accessToken, ecosystemGame) {
|
|
4841
4852
|
const request = {
|
|
4842
4853
|
loginRequest: {
|
|
@@ -5051,7 +5062,7 @@ class TypedEventEmitter {
|
|
|
5051
5062
|
}
|
|
5052
5063
|
}
|
|
5053
5064
|
|
|
5054
|
-
const chain$
|
|
5065
|
+
const chain$q = {
|
|
5055
5066
|
chain: 'BSC',
|
|
5056
5067
|
chainId: 56,
|
|
5057
5068
|
explorers: [
|
|
@@ -5112,7 +5123,7 @@ const chain$m = {
|
|
|
5112
5123
|
testnet: false,
|
|
5113
5124
|
};
|
|
5114
5125
|
|
|
5115
|
-
const chain$
|
|
5126
|
+
const chain$p = {
|
|
5116
5127
|
chain: 'BSC',
|
|
5117
5128
|
chainId: 97,
|
|
5118
5129
|
explorers: [
|
|
@@ -5153,7 +5164,7 @@ const chain$l = {
|
|
|
5153
5164
|
testnet: true,
|
|
5154
5165
|
};
|
|
5155
5166
|
|
|
5156
|
-
const chain$
|
|
5167
|
+
const chain$o = {
|
|
5157
5168
|
name: 'Base',
|
|
5158
5169
|
chain: 'ETH',
|
|
5159
5170
|
rpc: [
|
|
@@ -5198,7 +5209,7 @@ const chain$k = {
|
|
|
5198
5209
|
slug: 'base',
|
|
5199
5210
|
};
|
|
5200
5211
|
|
|
5201
|
-
const chain$
|
|
5212
|
+
const chain$n = {
|
|
5202
5213
|
chain: 'ETH',
|
|
5203
5214
|
chainId: 84532,
|
|
5204
5215
|
explorers: [
|
|
@@ -5237,7 +5248,7 @@ const chain$j = {
|
|
|
5237
5248
|
testnet: true,
|
|
5238
5249
|
};
|
|
5239
5250
|
|
|
5240
|
-
const chain$
|
|
5251
|
+
const chain$m = {
|
|
5241
5252
|
name: 'Beam',
|
|
5242
5253
|
chainId: 4337,
|
|
5243
5254
|
chain: 'BEAM',
|
|
@@ -5274,7 +5285,7 @@ const chain$i = {
|
|
|
5274
5285
|
testnet: false,
|
|
5275
5286
|
};
|
|
5276
5287
|
|
|
5277
|
-
const chain$
|
|
5288
|
+
const chain$l = {
|
|
5278
5289
|
name: 'Beam Testnet',
|
|
5279
5290
|
chainId: 13337,
|
|
5280
5291
|
chain: 'BEAM',
|
|
@@ -5311,7 +5322,7 @@ const chain$h = {
|
|
|
5311
5322
|
testnet: true,
|
|
5312
5323
|
};
|
|
5313
5324
|
|
|
5314
|
-
const chain$
|
|
5325
|
+
const chain$k = {
|
|
5315
5326
|
chain: 'AVAX',
|
|
5316
5327
|
chainId: 43113,
|
|
5317
5328
|
explorers: [
|
|
@@ -5347,7 +5358,7 @@ const chain$g = {
|
|
|
5347
5358
|
testnet: true,
|
|
5348
5359
|
};
|
|
5349
5360
|
|
|
5350
|
-
const chain$
|
|
5361
|
+
const chain$j = {
|
|
5351
5362
|
chain: 'AVAX',
|
|
5352
5363
|
chainId: 43114,
|
|
5353
5364
|
explorers: [
|
|
@@ -5388,7 +5399,7 @@ const chain$f = {
|
|
|
5388
5399
|
testnet: false,
|
|
5389
5400
|
};
|
|
5390
5401
|
|
|
5391
|
-
const chain$
|
|
5402
|
+
const chain$i = {
|
|
5392
5403
|
chain: 'ETH',
|
|
5393
5404
|
chainId: 11155111,
|
|
5394
5405
|
explorers: [
|
|
@@ -5434,7 +5445,39 @@ const chain$e = {
|
|
|
5434
5445
|
title: 'Ethereum Testnet Sepolia',
|
|
5435
5446
|
};
|
|
5436
5447
|
|
|
5437
|
-
const chain$
|
|
5448
|
+
const chain$h = {
|
|
5449
|
+
chainId: 247253,
|
|
5450
|
+
name: 'Saakuru Testnet',
|
|
5451
|
+
nativeCurrency: { name: 'OAS', symbol: 'OAS', decimals: 18 },
|
|
5452
|
+
rpc: ['https://rpc-testnet.saakuru.network'],
|
|
5453
|
+
explorers: [{
|
|
5454
|
+
name: 'Saakuru Explorer',
|
|
5455
|
+
url: 'https://explorer-testnet.saakuru.network',
|
|
5456
|
+
standard: 'EIP3091',
|
|
5457
|
+
}],
|
|
5458
|
+
testnet: true,
|
|
5459
|
+
chain: 'saakuru',
|
|
5460
|
+
shortName: 'saakuru',
|
|
5461
|
+
slug: 'saakuru-testnet',
|
|
5462
|
+
};
|
|
5463
|
+
|
|
5464
|
+
const chain$g = {
|
|
5465
|
+
chainId: 7225878,
|
|
5466
|
+
name: 'Saakuru Mainnet',
|
|
5467
|
+
nativeCurrency: { name: 'OAS', symbol: 'OAS', decimals: 18 },
|
|
5468
|
+
rpc: ['https://rpc.saakuru.network'],
|
|
5469
|
+
explorers: [{
|
|
5470
|
+
name: 'Saakuru Explorer',
|
|
5471
|
+
url: 'https://explorer.saakuru.network',
|
|
5472
|
+
standard: 'EIP3091',
|
|
5473
|
+
}],
|
|
5474
|
+
testnet: false,
|
|
5475
|
+
chain: 'saakuru',
|
|
5476
|
+
shortName: 'saakuru',
|
|
5477
|
+
slug: 'saakuru',
|
|
5478
|
+
};
|
|
5479
|
+
|
|
5480
|
+
const chain$f = {
|
|
5438
5481
|
chain: 'ETH',
|
|
5439
5482
|
chainId: 421614,
|
|
5440
5483
|
explorers: [
|
|
@@ -5471,7 +5514,7 @@ const chain$d = {
|
|
|
5471
5514
|
title: 'Arbitrum Sepolia Rollup Testnet',
|
|
5472
5515
|
};
|
|
5473
5516
|
|
|
5474
|
-
const chain$
|
|
5517
|
+
const chain$e = {
|
|
5475
5518
|
chain: 'ETH',
|
|
5476
5519
|
chainId: 42161,
|
|
5477
5520
|
explorers: [
|
|
@@ -5533,7 +5576,7 @@ const chain$c = {
|
|
|
5533
5576
|
testnet: false,
|
|
5534
5577
|
};
|
|
5535
5578
|
|
|
5536
|
-
const chain$
|
|
5579
|
+
const chain$d = {
|
|
5537
5580
|
chain: 'ETH',
|
|
5538
5581
|
chainId: 42170,
|
|
5539
5582
|
explorers: [
|
|
@@ -5588,7 +5631,7 @@ const chain$b = {
|
|
|
5588
5631
|
testnet: false,
|
|
5589
5632
|
};
|
|
5590
5633
|
|
|
5591
|
-
const chain$
|
|
5634
|
+
const chain$c = {
|
|
5592
5635
|
chain: 'Polygon',
|
|
5593
5636
|
chainId: 137,
|
|
5594
5637
|
explorers: [
|
|
@@ -5644,7 +5687,7 @@ const chain$a = {
|
|
|
5644
5687
|
testnet: false,
|
|
5645
5688
|
};
|
|
5646
5689
|
|
|
5647
|
-
const chain$
|
|
5690
|
+
const chain$b = {
|
|
5648
5691
|
chain: 'Polygon',
|
|
5649
5692
|
chainId: 80002,
|
|
5650
5693
|
explorers: [
|
|
@@ -5681,7 +5724,7 @@ const chain$9 = {
|
|
|
5681
5724
|
title: 'Polygon Amoy Testnet',
|
|
5682
5725
|
};
|
|
5683
5726
|
|
|
5684
|
-
const chain$
|
|
5727
|
+
const chain$a = {
|
|
5685
5728
|
chain: 'Ancient8',
|
|
5686
5729
|
chainId: 28122024,
|
|
5687
5730
|
explorers: [
|
|
@@ -5713,7 +5756,7 @@ const chain$8 = {
|
|
|
5713
5756
|
testnet: true,
|
|
5714
5757
|
};
|
|
5715
5758
|
|
|
5716
|
-
const chain$
|
|
5759
|
+
const chain$9 = {
|
|
5717
5760
|
chain: 'Ancient8',
|
|
5718
5761
|
chainId: 888888888,
|
|
5719
5762
|
explorers: [
|
|
@@ -5744,7 +5787,7 @@ const chain$7 = {
|
|
|
5744
5787
|
testnet: false,
|
|
5745
5788
|
};
|
|
5746
5789
|
|
|
5747
|
-
const chain$
|
|
5790
|
+
const chain$8 = {
|
|
5748
5791
|
chain: 'ETH',
|
|
5749
5792
|
chainId: 999999999,
|
|
5750
5793
|
explorers: [
|
|
@@ -5776,7 +5819,7 @@ const chain$6 = {
|
|
|
5776
5819
|
testnet: true,
|
|
5777
5820
|
};
|
|
5778
5821
|
|
|
5779
|
-
const chain$
|
|
5822
|
+
const chain$7 = {
|
|
5780
5823
|
chain: 'ETH',
|
|
5781
5824
|
chainId: 7777777,
|
|
5782
5825
|
explorers: [
|
|
@@ -5809,7 +5852,7 @@ const chain$5 = {
|
|
|
5809
5852
|
testnet: false,
|
|
5810
5853
|
};
|
|
5811
5854
|
|
|
5812
|
-
const chain$
|
|
5855
|
+
const chain$6 = {
|
|
5813
5856
|
chain: 'Degen',
|
|
5814
5857
|
chainId: 666666666,
|
|
5815
5858
|
explorers: [],
|
|
@@ -5836,7 +5879,7 @@ const chain$4 = {
|
|
|
5836
5879
|
title: 'Degen Chain',
|
|
5837
5880
|
};
|
|
5838
5881
|
|
|
5839
|
-
const chain$
|
|
5882
|
+
const chain$5 = {
|
|
5840
5883
|
chain: 'Immutable zkEVM',
|
|
5841
5884
|
chainId: 13473,
|
|
5842
5885
|
explorers: [
|
|
@@ -5878,7 +5921,7 @@ const chain$3 = {
|
|
|
5878
5921
|
testnet: true,
|
|
5879
5922
|
};
|
|
5880
5923
|
|
|
5881
|
-
const chain$
|
|
5924
|
+
const chain$4 = {
|
|
5882
5925
|
chain: 'ETH',
|
|
5883
5926
|
chainId: 11155420,
|
|
5884
5927
|
explorers: [
|
|
@@ -5925,7 +5968,7 @@ const chain$2 = {
|
|
|
5925
5968
|
testnet: true,
|
|
5926
5969
|
};
|
|
5927
5970
|
|
|
5928
|
-
const chain$
|
|
5971
|
+
const chain$3 = {
|
|
5929
5972
|
chain: 'ETH',
|
|
5930
5973
|
chainId: 10,
|
|
5931
5974
|
explorers: [
|
|
@@ -6051,7 +6094,7 @@ const dosChainTestnet = {
|
|
|
6051
6094
|
slug: 'dos-chain-testnet',
|
|
6052
6095
|
};
|
|
6053
6096
|
|
|
6054
|
-
const chain = {
|
|
6097
|
+
const chain$2 = {
|
|
6055
6098
|
name: 'opBNB',
|
|
6056
6099
|
chain: 'opBNB',
|
|
6057
6100
|
rpc: [
|
|
@@ -6154,51 +6197,87 @@ const sophonTestnet = {
|
|
|
6154
6197
|
slug: 'sophon-testnet',
|
|
6155
6198
|
};
|
|
6156
6199
|
|
|
6200
|
+
const chain$1 = {
|
|
6201
|
+
chainId: 2358,
|
|
6202
|
+
name: 'Kroma Sepolia',
|
|
6203
|
+
nativeCurrency: { name: 'Sepolia Ether', symbol: 'ETH', decimals: 18 },
|
|
6204
|
+
rpc: [
|
|
6205
|
+
'https://api.sepolia.kroma.network',
|
|
6206
|
+
],
|
|
6207
|
+
explorers: [{
|
|
6208
|
+
name: 'Kroma Sepolia Explorer',
|
|
6209
|
+
url: 'https://blockscout.sepolia.kroma.network',
|
|
6210
|
+
standard: 'EIP3091',
|
|
6211
|
+
}],
|
|
6212
|
+
testnet: true,
|
|
6213
|
+
chain: 'kroma',
|
|
6214
|
+
shortName: 'kroma',
|
|
6215
|
+
slug: 'kroma-sepolia',
|
|
6216
|
+
};
|
|
6217
|
+
|
|
6218
|
+
const chain = {
|
|
6219
|
+
chainId: 255,
|
|
6220
|
+
name: 'Kroma',
|
|
6221
|
+
nativeCurrency: { name: 'ETH', symbol: 'ETH', decimals: 18 },
|
|
6222
|
+
rpc: [
|
|
6223
|
+
'https://api.kroma.network',
|
|
6224
|
+
],
|
|
6225
|
+
explorers: [{
|
|
6226
|
+
name: 'Kroma Explorer',
|
|
6227
|
+
url: 'https://blockscout.kroma.network',
|
|
6228
|
+
standard: 'EIP3091',
|
|
6229
|
+
}],
|
|
6230
|
+
testnet: false,
|
|
6231
|
+
chain: 'op',
|
|
6232
|
+
shortName: 'kroma',
|
|
6233
|
+
slug: 'kroma',
|
|
6234
|
+
};
|
|
6235
|
+
|
|
6157
6236
|
const chainMap = {
|
|
6158
6237
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6159
|
-
56: chain$
|
|
6238
|
+
56: chain$q,
|
|
6160
6239
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6161
|
-
97: chain$
|
|
6240
|
+
97: chain$p,
|
|
6162
6241
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6163
|
-
8453: chain$
|
|
6242
|
+
8453: chain$o,
|
|
6164
6243
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6165
|
-
84532: chain$
|
|
6244
|
+
84532: chain$n,
|
|
6166
6245
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6167
|
-
4337: chain$
|
|
6246
|
+
4337: chain$m,
|
|
6168
6247
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6169
|
-
13337: chain$
|
|
6248
|
+
13337: chain$l,
|
|
6170
6249
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6171
|
-
43113: chain$
|
|
6250
|
+
43113: chain$k,
|
|
6172
6251
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6173
|
-
43114: chain$
|
|
6252
|
+
43114: chain$j,
|
|
6174
6253
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6175
|
-
11155111: chain$
|
|
6254
|
+
11155111: chain$i,
|
|
6176
6255
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6177
|
-
421614: chain$
|
|
6256
|
+
421614: chain$f,
|
|
6178
6257
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6179
|
-
42161: chain$
|
|
6258
|
+
42161: chain$e,
|
|
6180
6259
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6181
|
-
42170: chain$
|
|
6260
|
+
42170: chain$d,
|
|
6182
6261
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6183
|
-
137: chain$
|
|
6262
|
+
137: chain$c,
|
|
6184
6263
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6185
|
-
80002: chain$
|
|
6264
|
+
80002: chain$b,
|
|
6186
6265
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6187
|
-
28122024: chain$
|
|
6266
|
+
28122024: chain$a,
|
|
6188
6267
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6189
|
-
888888888: chain$
|
|
6268
|
+
888888888: chain$9,
|
|
6190
6269
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6191
|
-
999999999: chain$
|
|
6270
|
+
999999999: chain$8,
|
|
6192
6271
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6193
|
-
7777777: chain$
|
|
6272
|
+
7777777: chain$7,
|
|
6194
6273
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6195
|
-
666666666: chain$
|
|
6274
|
+
666666666: chain$6,
|
|
6196
6275
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6197
|
-
13473: chain$
|
|
6276
|
+
13473: chain$5,
|
|
6198
6277
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6199
|
-
11155420: chain$
|
|
6278
|
+
11155420: chain$4,
|
|
6200
6279
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6201
|
-
10: chain$
|
|
6280
|
+
10: chain$3,
|
|
6202
6281
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6203
6282
|
62092: tiktrixTestnet,
|
|
6204
6283
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
@@ -6206,13 +6285,21 @@ const chainMap = {
|
|
|
6206
6285
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6207
6286
|
3939: dosChainTestnet,
|
|
6208
6287
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6209
|
-
204: chain,
|
|
6288
|
+
204: chain$2,
|
|
6210
6289
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6211
6290
|
5611: opBNBTestnet,
|
|
6212
6291
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6213
6292
|
1946: soneiumMinato,
|
|
6214
6293
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6215
6294
|
531050104: sophonTestnet,
|
|
6295
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6296
|
+
2358: chain$1,
|
|
6297
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6298
|
+
255: chain,
|
|
6299
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6300
|
+
247253: chain$h,
|
|
6301
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6302
|
+
7225878: chain$g,
|
|
6216
6303
|
};
|
|
6217
6304
|
|
|
6218
6305
|
const REQUIRED_CHAIN_PROPERTIES = ['chainId', 'chainName', 'nativeCurrency'];
|
package/dist/index.js
CHANGED
|
@@ -3316,7 +3316,7 @@ class KeyPair extends SigningKey {
|
|
|
3316
3316
|
}
|
|
3317
3317
|
}
|
|
3318
3318
|
|
|
3319
|
-
const VERSION = '0.8.
|
|
3319
|
+
const VERSION = '0.8.17';
|
|
3320
3320
|
|
|
3321
3321
|
var Event;
|
|
3322
3322
|
(function (Event) {
|
|
@@ -4613,7 +4613,8 @@ class AuthManager {
|
|
|
4613
4613
|
if (forceRefresh) {
|
|
4614
4614
|
return this.refreshTokens(authentication.refreshToken, forceRefresh);
|
|
4615
4615
|
}
|
|
4616
|
-
|
|
4616
|
+
const webCrypto = AuthManager.getWebCrypto();
|
|
4617
|
+
if (webCrypto?.subtle) {
|
|
4617
4618
|
return this.validateCredentialsWithCrypto(jwk, authentication);
|
|
4618
4619
|
}
|
|
4619
4620
|
return this.validateCredentialsWithoutCrypto(jwk, authentication);
|
|
@@ -4814,6 +4815,16 @@ class AuthManager {
|
|
|
4814
4815
|
});
|
|
4815
4816
|
return authPlayerResponse.data;
|
|
4816
4817
|
}
|
|
4818
|
+
static getWebCrypto() {
|
|
4819
|
+
if (isBrowser()) {
|
|
4820
|
+
return window.crypto;
|
|
4821
|
+
}
|
|
4822
|
+
// Node.js environment
|
|
4823
|
+
if (typeof global !== 'undefined' && global.crypto) {
|
|
4824
|
+
return global.crypto;
|
|
4825
|
+
}
|
|
4826
|
+
return null;
|
|
4827
|
+
}
|
|
4817
4828
|
async linkEmail(email, password, accessToken, ecosystemGame) {
|
|
4818
4829
|
const request = {
|
|
4819
4830
|
loginRequest: {
|
|
@@ -5028,7 +5039,7 @@ class TypedEventEmitter {
|
|
|
5028
5039
|
}
|
|
5029
5040
|
}
|
|
5030
5041
|
|
|
5031
|
-
const chain$
|
|
5042
|
+
const chain$q = {
|
|
5032
5043
|
chain: 'BSC',
|
|
5033
5044
|
chainId: 56,
|
|
5034
5045
|
explorers: [
|
|
@@ -5089,7 +5100,7 @@ const chain$m = {
|
|
|
5089
5100
|
testnet: false,
|
|
5090
5101
|
};
|
|
5091
5102
|
|
|
5092
|
-
const chain$
|
|
5103
|
+
const chain$p = {
|
|
5093
5104
|
chain: 'BSC',
|
|
5094
5105
|
chainId: 97,
|
|
5095
5106
|
explorers: [
|
|
@@ -5130,7 +5141,7 @@ const chain$l = {
|
|
|
5130
5141
|
testnet: true,
|
|
5131
5142
|
};
|
|
5132
5143
|
|
|
5133
|
-
const chain$
|
|
5144
|
+
const chain$o = {
|
|
5134
5145
|
name: 'Base',
|
|
5135
5146
|
chain: 'ETH',
|
|
5136
5147
|
rpc: [
|
|
@@ -5175,7 +5186,7 @@ const chain$k = {
|
|
|
5175
5186
|
slug: 'base',
|
|
5176
5187
|
};
|
|
5177
5188
|
|
|
5178
|
-
const chain$
|
|
5189
|
+
const chain$n = {
|
|
5179
5190
|
chain: 'ETH',
|
|
5180
5191
|
chainId: 84532,
|
|
5181
5192
|
explorers: [
|
|
@@ -5214,7 +5225,7 @@ const chain$j = {
|
|
|
5214
5225
|
testnet: true,
|
|
5215
5226
|
};
|
|
5216
5227
|
|
|
5217
|
-
const chain$
|
|
5228
|
+
const chain$m = {
|
|
5218
5229
|
name: 'Beam',
|
|
5219
5230
|
chainId: 4337,
|
|
5220
5231
|
chain: 'BEAM',
|
|
@@ -5251,7 +5262,7 @@ const chain$i = {
|
|
|
5251
5262
|
testnet: false,
|
|
5252
5263
|
};
|
|
5253
5264
|
|
|
5254
|
-
const chain$
|
|
5265
|
+
const chain$l = {
|
|
5255
5266
|
name: 'Beam Testnet',
|
|
5256
5267
|
chainId: 13337,
|
|
5257
5268
|
chain: 'BEAM',
|
|
@@ -5288,7 +5299,7 @@ const chain$h = {
|
|
|
5288
5299
|
testnet: true,
|
|
5289
5300
|
};
|
|
5290
5301
|
|
|
5291
|
-
const chain$
|
|
5302
|
+
const chain$k = {
|
|
5292
5303
|
chain: 'AVAX',
|
|
5293
5304
|
chainId: 43113,
|
|
5294
5305
|
explorers: [
|
|
@@ -5324,7 +5335,7 @@ const chain$g = {
|
|
|
5324
5335
|
testnet: true,
|
|
5325
5336
|
};
|
|
5326
5337
|
|
|
5327
|
-
const chain$
|
|
5338
|
+
const chain$j = {
|
|
5328
5339
|
chain: 'AVAX',
|
|
5329
5340
|
chainId: 43114,
|
|
5330
5341
|
explorers: [
|
|
@@ -5365,7 +5376,7 @@ const chain$f = {
|
|
|
5365
5376
|
testnet: false,
|
|
5366
5377
|
};
|
|
5367
5378
|
|
|
5368
|
-
const chain$
|
|
5379
|
+
const chain$i = {
|
|
5369
5380
|
chain: 'ETH',
|
|
5370
5381
|
chainId: 11155111,
|
|
5371
5382
|
explorers: [
|
|
@@ -5411,7 +5422,39 @@ const chain$e = {
|
|
|
5411
5422
|
title: 'Ethereum Testnet Sepolia',
|
|
5412
5423
|
};
|
|
5413
5424
|
|
|
5414
|
-
const chain$
|
|
5425
|
+
const chain$h = {
|
|
5426
|
+
chainId: 247253,
|
|
5427
|
+
name: 'Saakuru Testnet',
|
|
5428
|
+
nativeCurrency: { name: 'OAS', symbol: 'OAS', decimals: 18 },
|
|
5429
|
+
rpc: ['https://rpc-testnet.saakuru.network'],
|
|
5430
|
+
explorers: [{
|
|
5431
|
+
name: 'Saakuru Explorer',
|
|
5432
|
+
url: 'https://explorer-testnet.saakuru.network',
|
|
5433
|
+
standard: 'EIP3091',
|
|
5434
|
+
}],
|
|
5435
|
+
testnet: true,
|
|
5436
|
+
chain: 'saakuru',
|
|
5437
|
+
shortName: 'saakuru',
|
|
5438
|
+
slug: 'saakuru-testnet',
|
|
5439
|
+
};
|
|
5440
|
+
|
|
5441
|
+
const chain$g = {
|
|
5442
|
+
chainId: 7225878,
|
|
5443
|
+
name: 'Saakuru Mainnet',
|
|
5444
|
+
nativeCurrency: { name: 'OAS', symbol: 'OAS', decimals: 18 },
|
|
5445
|
+
rpc: ['https://rpc.saakuru.network'],
|
|
5446
|
+
explorers: [{
|
|
5447
|
+
name: 'Saakuru Explorer',
|
|
5448
|
+
url: 'https://explorer.saakuru.network',
|
|
5449
|
+
standard: 'EIP3091',
|
|
5450
|
+
}],
|
|
5451
|
+
testnet: false,
|
|
5452
|
+
chain: 'saakuru',
|
|
5453
|
+
shortName: 'saakuru',
|
|
5454
|
+
slug: 'saakuru',
|
|
5455
|
+
};
|
|
5456
|
+
|
|
5457
|
+
const chain$f = {
|
|
5415
5458
|
chain: 'ETH',
|
|
5416
5459
|
chainId: 421614,
|
|
5417
5460
|
explorers: [
|
|
@@ -5448,7 +5491,7 @@ const chain$d = {
|
|
|
5448
5491
|
title: 'Arbitrum Sepolia Rollup Testnet',
|
|
5449
5492
|
};
|
|
5450
5493
|
|
|
5451
|
-
const chain$
|
|
5494
|
+
const chain$e = {
|
|
5452
5495
|
chain: 'ETH',
|
|
5453
5496
|
chainId: 42161,
|
|
5454
5497
|
explorers: [
|
|
@@ -5510,7 +5553,7 @@ const chain$c = {
|
|
|
5510
5553
|
testnet: false,
|
|
5511
5554
|
};
|
|
5512
5555
|
|
|
5513
|
-
const chain$
|
|
5556
|
+
const chain$d = {
|
|
5514
5557
|
chain: 'ETH',
|
|
5515
5558
|
chainId: 42170,
|
|
5516
5559
|
explorers: [
|
|
@@ -5565,7 +5608,7 @@ const chain$b = {
|
|
|
5565
5608
|
testnet: false,
|
|
5566
5609
|
};
|
|
5567
5610
|
|
|
5568
|
-
const chain$
|
|
5611
|
+
const chain$c = {
|
|
5569
5612
|
chain: 'Polygon',
|
|
5570
5613
|
chainId: 137,
|
|
5571
5614
|
explorers: [
|
|
@@ -5621,7 +5664,7 @@ const chain$a = {
|
|
|
5621
5664
|
testnet: false,
|
|
5622
5665
|
};
|
|
5623
5666
|
|
|
5624
|
-
const chain$
|
|
5667
|
+
const chain$b = {
|
|
5625
5668
|
chain: 'Polygon',
|
|
5626
5669
|
chainId: 80002,
|
|
5627
5670
|
explorers: [
|
|
@@ -5658,7 +5701,7 @@ const chain$9 = {
|
|
|
5658
5701
|
title: 'Polygon Amoy Testnet',
|
|
5659
5702
|
};
|
|
5660
5703
|
|
|
5661
|
-
const chain$
|
|
5704
|
+
const chain$a = {
|
|
5662
5705
|
chain: 'Ancient8',
|
|
5663
5706
|
chainId: 28122024,
|
|
5664
5707
|
explorers: [
|
|
@@ -5690,7 +5733,7 @@ const chain$8 = {
|
|
|
5690
5733
|
testnet: true,
|
|
5691
5734
|
};
|
|
5692
5735
|
|
|
5693
|
-
const chain$
|
|
5736
|
+
const chain$9 = {
|
|
5694
5737
|
chain: 'Ancient8',
|
|
5695
5738
|
chainId: 888888888,
|
|
5696
5739
|
explorers: [
|
|
@@ -5721,7 +5764,7 @@ const chain$7 = {
|
|
|
5721
5764
|
testnet: false,
|
|
5722
5765
|
};
|
|
5723
5766
|
|
|
5724
|
-
const chain$
|
|
5767
|
+
const chain$8 = {
|
|
5725
5768
|
chain: 'ETH',
|
|
5726
5769
|
chainId: 999999999,
|
|
5727
5770
|
explorers: [
|
|
@@ -5753,7 +5796,7 @@ const chain$6 = {
|
|
|
5753
5796
|
testnet: true,
|
|
5754
5797
|
};
|
|
5755
5798
|
|
|
5756
|
-
const chain$
|
|
5799
|
+
const chain$7 = {
|
|
5757
5800
|
chain: 'ETH',
|
|
5758
5801
|
chainId: 7777777,
|
|
5759
5802
|
explorers: [
|
|
@@ -5786,7 +5829,7 @@ const chain$5 = {
|
|
|
5786
5829
|
testnet: false,
|
|
5787
5830
|
};
|
|
5788
5831
|
|
|
5789
|
-
const chain$
|
|
5832
|
+
const chain$6 = {
|
|
5790
5833
|
chain: 'Degen',
|
|
5791
5834
|
chainId: 666666666,
|
|
5792
5835
|
explorers: [],
|
|
@@ -5813,7 +5856,7 @@ const chain$4 = {
|
|
|
5813
5856
|
title: 'Degen Chain',
|
|
5814
5857
|
};
|
|
5815
5858
|
|
|
5816
|
-
const chain$
|
|
5859
|
+
const chain$5 = {
|
|
5817
5860
|
chain: 'Immutable zkEVM',
|
|
5818
5861
|
chainId: 13473,
|
|
5819
5862
|
explorers: [
|
|
@@ -5855,7 +5898,7 @@ const chain$3 = {
|
|
|
5855
5898
|
testnet: true,
|
|
5856
5899
|
};
|
|
5857
5900
|
|
|
5858
|
-
const chain$
|
|
5901
|
+
const chain$4 = {
|
|
5859
5902
|
chain: 'ETH',
|
|
5860
5903
|
chainId: 11155420,
|
|
5861
5904
|
explorers: [
|
|
@@ -5902,7 +5945,7 @@ const chain$2 = {
|
|
|
5902
5945
|
testnet: true,
|
|
5903
5946
|
};
|
|
5904
5947
|
|
|
5905
|
-
const chain$
|
|
5948
|
+
const chain$3 = {
|
|
5906
5949
|
chain: 'ETH',
|
|
5907
5950
|
chainId: 10,
|
|
5908
5951
|
explorers: [
|
|
@@ -6028,7 +6071,7 @@ const dosChainTestnet = {
|
|
|
6028
6071
|
slug: 'dos-chain-testnet',
|
|
6029
6072
|
};
|
|
6030
6073
|
|
|
6031
|
-
const chain = {
|
|
6074
|
+
const chain$2 = {
|
|
6032
6075
|
name: 'opBNB',
|
|
6033
6076
|
chain: 'opBNB',
|
|
6034
6077
|
rpc: [
|
|
@@ -6131,51 +6174,87 @@ const sophonTestnet = {
|
|
|
6131
6174
|
slug: 'sophon-testnet',
|
|
6132
6175
|
};
|
|
6133
6176
|
|
|
6177
|
+
const chain$1 = {
|
|
6178
|
+
chainId: 2358,
|
|
6179
|
+
name: 'Kroma Sepolia',
|
|
6180
|
+
nativeCurrency: { name: 'Sepolia Ether', symbol: 'ETH', decimals: 18 },
|
|
6181
|
+
rpc: [
|
|
6182
|
+
'https://api.sepolia.kroma.network',
|
|
6183
|
+
],
|
|
6184
|
+
explorers: [{
|
|
6185
|
+
name: 'Kroma Sepolia Explorer',
|
|
6186
|
+
url: 'https://blockscout.sepolia.kroma.network',
|
|
6187
|
+
standard: 'EIP3091',
|
|
6188
|
+
}],
|
|
6189
|
+
testnet: true,
|
|
6190
|
+
chain: 'kroma',
|
|
6191
|
+
shortName: 'kroma',
|
|
6192
|
+
slug: 'kroma-sepolia',
|
|
6193
|
+
};
|
|
6194
|
+
|
|
6195
|
+
const chain = {
|
|
6196
|
+
chainId: 255,
|
|
6197
|
+
name: 'Kroma',
|
|
6198
|
+
nativeCurrency: { name: 'ETH', symbol: 'ETH', decimals: 18 },
|
|
6199
|
+
rpc: [
|
|
6200
|
+
'https://api.kroma.network',
|
|
6201
|
+
],
|
|
6202
|
+
explorers: [{
|
|
6203
|
+
name: 'Kroma Explorer',
|
|
6204
|
+
url: 'https://blockscout.kroma.network',
|
|
6205
|
+
standard: 'EIP3091',
|
|
6206
|
+
}],
|
|
6207
|
+
testnet: false,
|
|
6208
|
+
chain: 'op',
|
|
6209
|
+
shortName: 'kroma',
|
|
6210
|
+
slug: 'kroma',
|
|
6211
|
+
};
|
|
6212
|
+
|
|
6134
6213
|
const chainMap = {
|
|
6135
6214
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6136
|
-
56: chain$
|
|
6215
|
+
56: chain$q,
|
|
6137
6216
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6138
|
-
97: chain$
|
|
6217
|
+
97: chain$p,
|
|
6139
6218
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6140
|
-
8453: chain$
|
|
6219
|
+
8453: chain$o,
|
|
6141
6220
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6142
|
-
84532: chain$
|
|
6221
|
+
84532: chain$n,
|
|
6143
6222
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6144
|
-
4337: chain$
|
|
6223
|
+
4337: chain$m,
|
|
6145
6224
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6146
|
-
13337: chain$
|
|
6225
|
+
13337: chain$l,
|
|
6147
6226
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6148
|
-
43113: chain$
|
|
6227
|
+
43113: chain$k,
|
|
6149
6228
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6150
|
-
43114: chain$
|
|
6229
|
+
43114: chain$j,
|
|
6151
6230
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6152
|
-
11155111: chain$
|
|
6231
|
+
11155111: chain$i,
|
|
6153
6232
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6154
|
-
421614: chain$
|
|
6233
|
+
421614: chain$f,
|
|
6155
6234
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6156
|
-
42161: chain$
|
|
6235
|
+
42161: chain$e,
|
|
6157
6236
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6158
|
-
42170: chain$
|
|
6237
|
+
42170: chain$d,
|
|
6159
6238
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6160
|
-
137: chain$
|
|
6239
|
+
137: chain$c,
|
|
6161
6240
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6162
|
-
80002: chain$
|
|
6241
|
+
80002: chain$b,
|
|
6163
6242
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6164
|
-
28122024: chain$
|
|
6243
|
+
28122024: chain$a,
|
|
6165
6244
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6166
|
-
888888888: chain$
|
|
6245
|
+
888888888: chain$9,
|
|
6167
6246
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6168
|
-
999999999: chain$
|
|
6247
|
+
999999999: chain$8,
|
|
6169
6248
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6170
|
-
7777777: chain$
|
|
6249
|
+
7777777: chain$7,
|
|
6171
6250
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6172
|
-
666666666: chain$
|
|
6251
|
+
666666666: chain$6,
|
|
6173
6252
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6174
|
-
13473: chain$
|
|
6253
|
+
13473: chain$5,
|
|
6175
6254
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6176
|
-
11155420: chain$
|
|
6255
|
+
11155420: chain$4,
|
|
6177
6256
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6178
|
-
10: chain$
|
|
6257
|
+
10: chain$3,
|
|
6179
6258
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6180
6259
|
62092: tiktrixTestnet,
|
|
6181
6260
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
@@ -6183,13 +6262,21 @@ const chainMap = {
|
|
|
6183
6262
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6184
6263
|
3939: dosChainTestnet,
|
|
6185
6264
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6186
|
-
204: chain,
|
|
6265
|
+
204: chain$2,
|
|
6187
6266
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6188
6267
|
5611: opBNBTestnet,
|
|
6189
6268
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6190
6269
|
1946: soneiumMinato,
|
|
6191
6270
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6192
6271
|
531050104: sophonTestnet,
|
|
6272
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6273
|
+
2358: chain$1,
|
|
6274
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6275
|
+
255: chain,
|
|
6276
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6277
|
+
247253: chain$h,
|
|
6278
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6279
|
+
7225878: chain$g,
|
|
6193
6280
|
};
|
|
6194
6281
|
|
|
6195
6282
|
const REQUIRED_CHAIN_PROPERTIES = ['chainId', 'chainName', 'nativeCurrency'];
|
package/package.json
CHANGED