@openfort/openfort-js 0.8.9 → 0.8.11

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 CHANGED
@@ -3225,7 +3225,7 @@ class KeyPair extends signingKey.SigningKey {
3225
3225
  }
3226
3226
  }
3227
3227
 
3228
- const VERSION = '0.8.9';
3228
+ const VERSION = '0.8.11';
3229
3229
 
3230
3230
  var Event;
3231
3231
  (function (Event) {
@@ -4159,6 +4159,7 @@ exports.ThirdPartyOAuthProvider = void 0;
4159
4159
  ThirdPartyOAuthProvider["SUPABASE"] = "supabase";
4160
4160
  ThirdPartyOAuthProvider["CUSTOM"] = "custom";
4161
4161
  ThirdPartyOAuthProvider["OIDC"] = "oidc";
4162
+ ThirdPartyOAuthProvider["TELEGRAM_MINI_APP"] = "telegramMiniApp";
4162
4163
  })(exports.ThirdPartyOAuthProvider || (exports.ThirdPartyOAuthProvider = {}));
4163
4164
  exports.BasicAuthProvider = void 0;
4164
4165
  (function (BasicAuthProvider) {
@@ -4832,7 +4833,7 @@ class TypedEventEmitter {
4832
4833
  }
4833
4834
  }
4834
4835
 
4835
- const chain$o = {
4836
+ const chain$m = {
4836
4837
  chain: 'BSC',
4837
4838
  chainId: 56,
4838
4839
  explorers: [
@@ -4893,7 +4894,7 @@ const chain$o = {
4893
4894
  testnet: false,
4894
4895
  };
4895
4896
 
4896
- const chain$n = {
4897
+ const chain$l = {
4897
4898
  chain: 'BSC',
4898
4899
  chainId: 97,
4899
4900
  explorers: [
@@ -4934,7 +4935,7 @@ const chain$n = {
4934
4935
  testnet: true,
4935
4936
  };
4936
4937
 
4937
- const chain$m = {
4938
+ const chain$k = {
4938
4939
  name: 'Base',
4939
4940
  chain: 'ETH',
4940
4941
  rpc: [
@@ -4979,7 +4980,7 @@ const chain$m = {
4979
4980
  slug: 'base',
4980
4981
  };
4981
4982
 
4982
- const chain$l = {
4983
+ const chain$j = {
4983
4984
  chain: 'ETH',
4984
4985
  chainId: 84532,
4985
4986
  explorers: [
@@ -5018,7 +5019,7 @@ const chain$l = {
5018
5019
  testnet: true,
5019
5020
  };
5020
5021
 
5021
- const chain$k = {
5022
+ const chain$i = {
5022
5023
  name: 'Beam',
5023
5024
  chainId: 4337,
5024
5025
  chain: 'BEAM',
@@ -5055,7 +5056,7 @@ const chain$k = {
5055
5056
  testnet: false,
5056
5057
  };
5057
5058
 
5058
- const chain$j = {
5059
+ const chain$h = {
5059
5060
  name: 'Beam Testnet',
5060
5061
  chainId: 13337,
5061
5062
  chain: 'BEAM',
@@ -5092,7 +5093,7 @@ const chain$j = {
5092
5093
  testnet: true,
5093
5094
  };
5094
5095
 
5095
- const chain$i = {
5096
+ const chain$g = {
5096
5097
  chain: 'AVAX',
5097
5098
  chainId: 43113,
5098
5099
  explorers: [
@@ -5128,7 +5129,7 @@ const chain$i = {
5128
5129
  testnet: true,
5129
5130
  };
5130
5131
 
5131
- const chain$h = {
5132
+ const chain$f = {
5132
5133
  chain: 'AVAX',
5133
5134
  chainId: 43114,
5134
5135
  explorers: [
@@ -5169,7 +5170,7 @@ const chain$h = {
5169
5170
  testnet: false,
5170
5171
  };
5171
5172
 
5172
- const chain$g = {
5173
+ const chain$e = {
5173
5174
  chain: 'ETH',
5174
5175
  chainId: 11155111,
5175
5176
  explorers: [
@@ -5215,156 +5216,7 @@ const chain$g = {
5215
5216
  title: 'Ethereum Testnet Sepolia',
5216
5217
  };
5217
5218
 
5218
- const chain$f = {
5219
- chain: 'ETH',
5220
- chainId: 59140,
5221
- explorers: [
5222
- {
5223
- name: 'Etherscan',
5224
- url: 'https://goerli.lineascan.build',
5225
- standard: 'EIP3091',
5226
- icon: {
5227
- url: 'ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH',
5228
- width: 97,
5229
- height: 102,
5230
- format: 'svg',
5231
- },
5232
- },
5233
- {
5234
- name: 'Blockscout',
5235
- url: 'https://explorer.goerli.linea.build',
5236
- standard: 'EIP3091',
5237
- icon: {
5238
- url: 'ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH',
5239
- width: 97,
5240
- height: 102,
5241
- format: 'svg',
5242
- },
5243
- },
5244
- ],
5245
- faucets: ['https://faucetlink.to/goerli'],
5246
- icon: {
5247
- url: 'ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH',
5248
- width: 97,
5249
- height: 102,
5250
- format: 'svg',
5251
- },
5252
- infoURL: 'https://linea.build',
5253
- name: 'Linea Testnet',
5254
- nativeCurrency: {
5255
- name: 'Linea Ether',
5256
- symbol: 'ETH',
5257
- decimals: 18,
5258
- },
5259
- networkId: 59140,
5260
- parent: {
5261
- type: 'L2',
5262
- chain: 'eip155-5',
5263
- bridges: [
5264
- {
5265
- url: 'https://goerli.hop.exchange/#/send?token=ETH&sourceNetwork=ethereum&destNetwork=linea',
5266
- },
5267
- ],
5268
- },
5269
- rpc: [
5270
- 'https://rpc.goerli.linea.build',
5271
- 'wss://rpc.goerli.linea.build',
5272
- ],
5273
- shortName: 'linea-testnet',
5274
- slug: 'linea-testnet',
5275
- status: 'active',
5276
- testnet: true,
5277
- title: 'Linea Goerli Testnet',
5278
- };
5279
-
5280
- const chain$e = {
5281
- chain: 'GNO',
5282
- chainId: 10200,
5283
- explorers: [
5284
- {
5285
- name: 'blockscout',
5286
- url: 'https://gnosis-chiado.blockscout.com',
5287
- standard: 'EIP3091',
5288
- icon: {
5289
- url: 'ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM',
5290
- width: 551,
5291
- height: 540,
5292
- format: 'png',
5293
- },
5294
- },
5295
- ],
5296
- faucets: ['https://gnosisfaucet.com'],
5297
- icon: {
5298
- url: 'ipfs://bafybeidk4swpgdyqmpz6shd5onvpaujvwiwthrhypufnwr6xh3dausz2dm',
5299
- width: 1800,
5300
- height: 1800,
5301
- format: 'png',
5302
- },
5303
- infoURL: 'https://docs.gnosischain.com',
5304
- name: 'Gnosis Chiado Testnet',
5305
- nativeCurrency: {
5306
- name: 'Chiado xDAI',
5307
- symbol: 'XDAI',
5308
- decimals: 18,
5309
- },
5310
- networkId: 10200,
5311
- rpc: [
5312
- 'https://rpc.chiadochain.net',
5313
- 'https://rpc.chiado.gnosis.gateway.fm',
5314
- 'wss://rpc.chiadochain.net/wss',
5315
- 'https://gnosis-chiado-rpc.publicnode.com',
5316
- 'wss://gnosis-chiado-rpc.publicnode.com',
5317
- 'https://gnosis-chiado.drpc.org',
5318
- 'wss://gnosis-chiado.drpc.org',
5319
- ],
5320
- shortName: 'chi',
5321
- slip44: 1,
5322
- slug: 'gnosis-chiado-testnet',
5323
- testnet: true,
5324
- };
5325
-
5326
5219
  const chain$d = {
5327
- chain: 'Immutable zkEVM',
5328
- chainId: 13371,
5329
- explorers: [
5330
- {
5331
- name: 'Immutable explorer',
5332
- url: 'https://explorer.immutable.com',
5333
- standard: 'EIP3091',
5334
- icon: {
5335
- url: 'ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw',
5336
- width: 1168,
5337
- height: 1168,
5338
- format: 'png',
5339
- },
5340
- },
5341
- ],
5342
- faucets: ['https://docs.immutable.com/docs/zkEVM/guides/faucet'],
5343
- icon: {
5344
- url: 'ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw',
5345
- width: 1168,
5346
- height: 1168,
5347
- format: 'png',
5348
- },
5349
- infoURL: 'https://www.immutable.com',
5350
- name: 'Immutable zkEVM',
5351
- nativeCurrency: {
5352
- name: 'IMX',
5353
- symbol: 'IMX',
5354
- decimals: 18,
5355
- },
5356
- networkId: 13371,
5357
- rpc: [
5358
- 'https://rpc.immutable.com',
5359
- 'https://immutable-zkevm.drpc.org',
5360
- 'wss://immutable-zkevm.drpc.org',
5361
- ],
5362
- shortName: 'imx',
5363
- slug: 'immutable-zkevm',
5364
- testnet: false,
5365
- };
5366
-
5367
- const chain$c = {
5368
5220
  chain: 'ETH',
5369
5221
  chainId: 421614,
5370
5222
  explorers: [
@@ -5401,7 +5253,7 @@ const chain$c = {
5401
5253
  title: 'Arbitrum Sepolia Rollup Testnet',
5402
5254
  };
5403
5255
 
5404
- const chain$b = {
5256
+ const chain$c = {
5405
5257
  chain: 'ETH',
5406
5258
  chainId: 42161,
5407
5259
  explorers: [
@@ -5463,7 +5315,7 @@ const chain$b = {
5463
5315
  testnet: false,
5464
5316
  };
5465
5317
 
5466
- const chain$a = {
5318
+ const chain$b = {
5467
5319
  chain: 'ETH',
5468
5320
  chainId: 42170,
5469
5321
  explorers: [
@@ -5518,7 +5370,7 @@ const chain$a = {
5518
5370
  testnet: false,
5519
5371
  };
5520
5372
 
5521
- const chain$9 = {
5373
+ const chain$a = {
5522
5374
  chain: 'Polygon',
5523
5375
  chainId: 137,
5524
5376
  explorers: [
@@ -5574,7 +5426,7 @@ const chain$9 = {
5574
5426
  testnet: false,
5575
5427
  };
5576
5428
 
5577
- const chain$8 = {
5429
+ const chain$9 = {
5578
5430
  chain: 'Polygon',
5579
5431
  chainId: 80002,
5580
5432
  explorers: [
@@ -5611,7 +5463,7 @@ const chain$8 = {
5611
5463
  title: 'Polygon Amoy Testnet',
5612
5464
  };
5613
5465
 
5614
- const chain$7 = {
5466
+ const chain$8 = {
5615
5467
  chain: 'Ancient8',
5616
5468
  chainId: 28122024,
5617
5469
  explorers: [
@@ -5643,7 +5495,7 @@ const chain$7 = {
5643
5495
  testnet: true,
5644
5496
  };
5645
5497
 
5646
- const chain$6 = {
5498
+ const chain$7 = {
5647
5499
  chain: 'Ancient8',
5648
5500
  chainId: 888888888,
5649
5501
  explorers: [
@@ -5674,7 +5526,7 @@ const chain$6 = {
5674
5526
  testnet: false,
5675
5527
  };
5676
5528
 
5677
- const chain$5 = {
5529
+ const chain$6 = {
5678
5530
  chain: 'ETH',
5679
5531
  chainId: 999999999,
5680
5532
  explorers: [
@@ -5706,7 +5558,7 @@ const chain$5 = {
5706
5558
  testnet: true,
5707
5559
  };
5708
5560
 
5709
- const chain$4 = {
5561
+ const chain$5 = {
5710
5562
  chain: 'ETH',
5711
5563
  chainId: 7777777,
5712
5564
  explorers: [
@@ -5739,7 +5591,7 @@ const chain$4 = {
5739
5591
  testnet: false,
5740
5592
  };
5741
5593
 
5742
- const chain$3 = {
5594
+ const chain$4 = {
5743
5595
  chain: 'Degen',
5744
5596
  chainId: 666666666,
5745
5597
  explorers: [],
@@ -5766,7 +5618,7 @@ const chain$3 = {
5766
5618
  title: 'Degen Chain',
5767
5619
  };
5768
5620
 
5769
- const chain$2 = {
5621
+ const chain$3 = {
5770
5622
  chain: 'Immutable zkEVM',
5771
5623
  chainId: 13473,
5772
5624
  explorers: [
@@ -5808,7 +5660,7 @@ const chain$2 = {
5808
5660
  testnet: true,
5809
5661
  };
5810
5662
 
5811
- const chain$1 = {
5663
+ const chain$2 = {
5812
5664
  chain: 'ETH',
5813
5665
  chainId: 11155420,
5814
5666
  explorers: [
@@ -5855,7 +5707,7 @@ const chain$1 = {
5855
5707
  testnet: true,
5856
5708
  };
5857
5709
 
5858
- const chain = {
5710
+ const chain$1 = {
5859
5711
  chain: 'ETH',
5860
5712
  chainId: 10,
5861
5713
  explorers: [
@@ -5912,57 +5764,212 @@ const chain = {
5912
5764
  testnet: false,
5913
5765
  };
5914
5766
 
5767
+ const tiktrixTestnet = {
5768
+ name: 'TikTrix Testnet',
5769
+ title: 'TikTrix Testnet',
5770
+ chain: 'tiktrix-testnet',
5771
+ rpc: ['https://tiktrix-rpc.xyz'],
5772
+ nativeCurrency: {
5773
+ name: 'tTTX',
5774
+ symbol: 'tTTX',
5775
+ decimals: 18,
5776
+ },
5777
+ shortName: 'tiktrix-testnet',
5778
+ chainId: 62092,
5779
+ explorers: [
5780
+ {
5781
+ name: 'TikTrix Testnet Explorer',
5782
+ url: 'https://tiktrix.xyz',
5783
+ standard: 'EIP3091',
5784
+ },
5785
+ ],
5786
+ testnet: true,
5787
+ slug: 'tiktrix-testnet',
5788
+ };
5789
+
5790
+ const dosChain = {
5791
+ name: 'DOS Chain',
5792
+ title: 'DOS Chain',
5793
+ chain: 'dos-chain',
5794
+ rpc: ['https://main.doschain.com'],
5795
+ nativeCurrency: {
5796
+ name: 'DOS Chain',
5797
+ symbol: 'DOS',
5798
+ decimals: 18,
5799
+ },
5800
+ shortName: 'dos',
5801
+ chainId: 7979,
5802
+ testnet: false,
5803
+ explorers: [
5804
+ {
5805
+ name: 'DOS Chain Explorer',
5806
+ url: 'https://doscan.io',
5807
+ standard: 'EIP3091',
5808
+ },
5809
+ ],
5810
+ slug: 'dos-chain',
5811
+ };
5812
+
5813
+ const dosChainTestnet = {
5814
+ name: 'DOS Chain Testnet',
5815
+ title: 'DOS Chain Testnet',
5816
+ chain: 'dos-chain-testnet',
5817
+ rpc: ['https://test.doschain.com'],
5818
+ nativeCurrency: {
5819
+ name: 'DOS Chain Testnet',
5820
+ symbol: 'DOS',
5821
+ decimals: 18,
5822
+ },
5823
+ shortName: 'dos-testnet',
5824
+ chainId: 3939,
5825
+ explorers: [
5826
+ {
5827
+ name: 'DOS Chain Testnet Explorer',
5828
+ url: 'https://test.doscan.io',
5829
+ standard: 'EIP3091',
5830
+ },
5831
+ ],
5832
+ testnet: true,
5833
+ slug: 'dos-chain-testnet',
5834
+ };
5835
+
5836
+ const chain = {
5837
+ name: 'opBNB',
5838
+ chain: 'opBNB',
5839
+ rpc: [
5840
+ 'https://opbnb-mainnet-rpc.bnbchain.org',
5841
+ ],
5842
+ nativeCurrency: {
5843
+ name: 'BNB',
5844
+ symbol: 'BNB',
5845
+ decimals: 18,
5846
+ },
5847
+ shortName: 'opbnb',
5848
+ chainId: 204,
5849
+ networkId: 204,
5850
+ explorers: [
5851
+ {
5852
+ name: 'opBNB (BSCScan)',
5853
+ url: 'https://opbnb.bscscan.com',
5854
+ standard: 'EIP3091',
5855
+ },
5856
+ ],
5857
+ testnet: false,
5858
+ slug: 'opbnb',
5859
+ parent: {
5860
+ chain: 'bsc',
5861
+ type: 'L2',
5862
+ bridges: [
5863
+ {
5864
+ url: 'https://opbnb-mainnet-rpc.bnbchain.org',
5865
+ },
5866
+ ],
5867
+ },
5868
+ };
5869
+
5870
+ const opBNBTestnet = {
5871
+ name: 'opBNB Testnet',
5872
+ title: 'opBNB Testnet',
5873
+ chain: 'opbnb-testnet',
5874
+ rpc: ['https://opbnb-testnet-rpc.bnbchain.org'],
5875
+ nativeCurrency: {
5876
+ name: 'tBNB',
5877
+ symbol: 'tBNB',
5878
+ decimals: 18,
5879
+ },
5880
+ shortName: 'opbnb-testnet',
5881
+ chainId: 5611,
5882
+ explorers: [
5883
+ {
5884
+ name: 'opbnbscan',
5885
+ url: 'https://testnet.opbnbscan.com',
5886
+ standard: 'EIP3091',
5887
+ },
5888
+ ],
5889
+ testnet: true,
5890
+ slug: 'opbnb-testnet',
5891
+ };
5892
+
5893
+ const soneiumMinato = {
5894
+ name: 'Soneium Minato Testnet',
5895
+ title: 'Soneium Minato Testnet',
5896
+ chain: 'soneium-minato-testnet',
5897
+ rpc: ['https://rpc.minato.soneium.org'],
5898
+ nativeCurrency: {
5899
+ name: 'Sepolia Ether',
5900
+ symbol: 'ETH',
5901
+ decimals: 18,
5902
+ },
5903
+ shortName: 'soneium-minato',
5904
+ chainId: 1946,
5905
+ explorers: [
5906
+ {
5907
+ name: 'Blockscout',
5908
+ url: 'https://explorer-testnet.soneium.org',
5909
+ standard: 'EIP3091',
5910
+ },
5911
+ ],
5912
+ testnet: true,
5913
+ slug: 'soneium-minato-testnet',
5914
+ };
5915
+
5915
5916
  const chainMap = {
5916
5917
  // eslint-disable-next-line @typescript-eslint/naming-convention
5917
- 56: chain$o,
5918
+ 56: chain$m,
5919
+ // eslint-disable-next-line @typescript-eslint/naming-convention
5920
+ 97: chain$l,
5921
+ // eslint-disable-next-line @typescript-eslint/naming-convention
5922
+ 8453: chain$k,
5923
+ // eslint-disable-next-line @typescript-eslint/naming-convention
5924
+ 84532: chain$j,
5918
5925
  // eslint-disable-next-line @typescript-eslint/naming-convention
5919
- 97: chain$n,
5926
+ 4337: chain$i,
5920
5927
  // eslint-disable-next-line @typescript-eslint/naming-convention
5921
- 8453: chain$m,
5928
+ 13337: chain$h,
5922
5929
  // eslint-disable-next-line @typescript-eslint/naming-convention
5923
- 84532: chain$l,
5930
+ 43113: chain$g,
5924
5931
  // eslint-disable-next-line @typescript-eslint/naming-convention
5925
- 4337: chain$k,
5932
+ 43114: chain$f,
5926
5933
  // eslint-disable-next-line @typescript-eslint/naming-convention
5927
- 13337: chain$j,
5934
+ 11155111: chain$e,
5928
5935
  // eslint-disable-next-line @typescript-eslint/naming-convention
5929
- 43113: chain$i,
5936
+ 421614: chain$d,
5930
5937
  // eslint-disable-next-line @typescript-eslint/naming-convention
5931
- 43114: chain$h,
5938
+ 42161: chain$c,
5932
5939
  // eslint-disable-next-line @typescript-eslint/naming-convention
5933
- 11155111: chain$g,
5940
+ 42170: chain$b,
5934
5941
  // eslint-disable-next-line @typescript-eslint/naming-convention
5935
- 59140: chain$f,
5942
+ 137: chain$a,
5936
5943
  // eslint-disable-next-line @typescript-eslint/naming-convention
5937
- 10200: chain$e,
5944
+ 80002: chain$9,
5938
5945
  // eslint-disable-next-line @typescript-eslint/naming-convention
5939
- 421614: chain$c,
5946
+ 28122024: chain$8,
5940
5947
  // eslint-disable-next-line @typescript-eslint/naming-convention
5941
- 42161: chain$b,
5948
+ 888888888: chain$7,
5942
5949
  // eslint-disable-next-line @typescript-eslint/naming-convention
5943
- 42170: chain$a,
5950
+ 999999999: chain$6,
5944
5951
  // eslint-disable-next-line @typescript-eslint/naming-convention
5945
- 137: chain$9,
5952
+ 7777777: chain$5,
5946
5953
  // eslint-disable-next-line @typescript-eslint/naming-convention
5947
- 80002: chain$8,
5954
+ 666666666: chain$4,
5948
5955
  // eslint-disable-next-line @typescript-eslint/naming-convention
5949
- 28122024: chain$7,
5956
+ 13473: chain$3,
5950
5957
  // eslint-disable-next-line @typescript-eslint/naming-convention
5951
- 888888888: chain$6,
5958
+ 11155420: chain$2,
5952
5959
  // eslint-disable-next-line @typescript-eslint/naming-convention
5953
- 999999999: chain$5,
5960
+ 10: chain$1,
5954
5961
  // eslint-disable-next-line @typescript-eslint/naming-convention
5955
- 7777777: chain$4,
5962
+ 62092: tiktrixTestnet,
5956
5963
  // eslint-disable-next-line @typescript-eslint/naming-convention
5957
- 666666666: chain$3,
5964
+ 7979: dosChain,
5958
5965
  // eslint-disable-next-line @typescript-eslint/naming-convention
5959
- 13473: chain$2,
5966
+ 3939: dosChainTestnet,
5960
5967
  // eslint-disable-next-line @typescript-eslint/naming-convention
5961
- 13371: chain$d,
5968
+ 204: chain,
5962
5969
  // eslint-disable-next-line @typescript-eslint/naming-convention
5963
- 11155420: chain$1,
5970
+ 5611: opBNBTestnet,
5964
5971
  // eslint-disable-next-line @typescript-eslint/naming-convention
5965
- 10: chain,
5972
+ 1946: soneiumMinato,
5966
5973
  };
5967
5974
 
5968
5975
  class EvmProvider {
package/dist/index.d.ts CHANGED
@@ -142,7 +142,8 @@ declare enum ThirdPartyOAuthProvider {
142
142
  PLAYFAB = "playfab",
143
143
  SUPABASE = "supabase",
144
144
  CUSTOM = "custom",
145
- OIDC = "oidc"
145
+ OIDC = "oidc",
146
+ TELEGRAM_MINI_APP = "telegramMiniApp"
146
147
  }
147
148
  declare enum BasicAuthProvider {
148
149
  EMAIL = "email",
@@ -154,6 +155,7 @@ declare const AUTH_PROVIDER: {
154
155
  readonly google: "google";
155
156
  readonly twitter: "twitter";
156
157
  readonly telegram: "telegram";
158
+ readonly telegramMiniApp: "telegramMiniApp";
157
159
  readonly discord: "discord";
158
160
  readonly facebook: "facebook";
159
161
  readonly epicGames: "epic_games";
package/dist/index.js CHANGED
@@ -3202,7 +3202,7 @@ class KeyPair extends SigningKey {
3202
3202
  }
3203
3203
  }
3204
3204
 
3205
- const VERSION = '0.8.9';
3205
+ const VERSION = '0.8.11';
3206
3206
 
3207
3207
  var Event;
3208
3208
  (function (Event) {
@@ -4136,6 +4136,7 @@ var ThirdPartyOAuthProvider;
4136
4136
  ThirdPartyOAuthProvider["SUPABASE"] = "supabase";
4137
4137
  ThirdPartyOAuthProvider["CUSTOM"] = "custom";
4138
4138
  ThirdPartyOAuthProvider["OIDC"] = "oidc";
4139
+ ThirdPartyOAuthProvider["TELEGRAM_MINI_APP"] = "telegramMiniApp";
4139
4140
  })(ThirdPartyOAuthProvider || (ThirdPartyOAuthProvider = {}));
4140
4141
  var BasicAuthProvider;
4141
4142
  (function (BasicAuthProvider) {
@@ -4809,7 +4810,7 @@ class TypedEventEmitter {
4809
4810
  }
4810
4811
  }
4811
4812
 
4812
- const chain$o = {
4813
+ const chain$m = {
4813
4814
  chain: 'BSC',
4814
4815
  chainId: 56,
4815
4816
  explorers: [
@@ -4870,7 +4871,7 @@ const chain$o = {
4870
4871
  testnet: false,
4871
4872
  };
4872
4873
 
4873
- const chain$n = {
4874
+ const chain$l = {
4874
4875
  chain: 'BSC',
4875
4876
  chainId: 97,
4876
4877
  explorers: [
@@ -4911,7 +4912,7 @@ const chain$n = {
4911
4912
  testnet: true,
4912
4913
  };
4913
4914
 
4914
- const chain$m = {
4915
+ const chain$k = {
4915
4916
  name: 'Base',
4916
4917
  chain: 'ETH',
4917
4918
  rpc: [
@@ -4956,7 +4957,7 @@ const chain$m = {
4956
4957
  slug: 'base',
4957
4958
  };
4958
4959
 
4959
- const chain$l = {
4960
+ const chain$j = {
4960
4961
  chain: 'ETH',
4961
4962
  chainId: 84532,
4962
4963
  explorers: [
@@ -4995,7 +4996,7 @@ const chain$l = {
4995
4996
  testnet: true,
4996
4997
  };
4997
4998
 
4998
- const chain$k = {
4999
+ const chain$i = {
4999
5000
  name: 'Beam',
5000
5001
  chainId: 4337,
5001
5002
  chain: 'BEAM',
@@ -5032,7 +5033,7 @@ const chain$k = {
5032
5033
  testnet: false,
5033
5034
  };
5034
5035
 
5035
- const chain$j = {
5036
+ const chain$h = {
5036
5037
  name: 'Beam Testnet',
5037
5038
  chainId: 13337,
5038
5039
  chain: 'BEAM',
@@ -5069,7 +5070,7 @@ const chain$j = {
5069
5070
  testnet: true,
5070
5071
  };
5071
5072
 
5072
- const chain$i = {
5073
+ const chain$g = {
5073
5074
  chain: 'AVAX',
5074
5075
  chainId: 43113,
5075
5076
  explorers: [
@@ -5105,7 +5106,7 @@ const chain$i = {
5105
5106
  testnet: true,
5106
5107
  };
5107
5108
 
5108
- const chain$h = {
5109
+ const chain$f = {
5109
5110
  chain: 'AVAX',
5110
5111
  chainId: 43114,
5111
5112
  explorers: [
@@ -5146,7 +5147,7 @@ const chain$h = {
5146
5147
  testnet: false,
5147
5148
  };
5148
5149
 
5149
- const chain$g = {
5150
+ const chain$e = {
5150
5151
  chain: 'ETH',
5151
5152
  chainId: 11155111,
5152
5153
  explorers: [
@@ -5192,156 +5193,7 @@ const chain$g = {
5192
5193
  title: 'Ethereum Testnet Sepolia',
5193
5194
  };
5194
5195
 
5195
- const chain$f = {
5196
- chain: 'ETH',
5197
- chainId: 59140,
5198
- explorers: [
5199
- {
5200
- name: 'Etherscan',
5201
- url: 'https://goerli.lineascan.build',
5202
- standard: 'EIP3091',
5203
- icon: {
5204
- url: 'ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH',
5205
- width: 97,
5206
- height: 102,
5207
- format: 'svg',
5208
- },
5209
- },
5210
- {
5211
- name: 'Blockscout',
5212
- url: 'https://explorer.goerli.linea.build',
5213
- standard: 'EIP3091',
5214
- icon: {
5215
- url: 'ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH',
5216
- width: 97,
5217
- height: 102,
5218
- format: 'svg',
5219
- },
5220
- },
5221
- ],
5222
- faucets: ['https://faucetlink.to/goerli'],
5223
- icon: {
5224
- url: 'ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH',
5225
- width: 97,
5226
- height: 102,
5227
- format: 'svg',
5228
- },
5229
- infoURL: 'https://linea.build',
5230
- name: 'Linea Testnet',
5231
- nativeCurrency: {
5232
- name: 'Linea Ether',
5233
- symbol: 'ETH',
5234
- decimals: 18,
5235
- },
5236
- networkId: 59140,
5237
- parent: {
5238
- type: 'L2',
5239
- chain: 'eip155-5',
5240
- bridges: [
5241
- {
5242
- url: 'https://goerli.hop.exchange/#/send?token=ETH&sourceNetwork=ethereum&destNetwork=linea',
5243
- },
5244
- ],
5245
- },
5246
- rpc: [
5247
- 'https://rpc.goerli.linea.build',
5248
- 'wss://rpc.goerli.linea.build',
5249
- ],
5250
- shortName: 'linea-testnet',
5251
- slug: 'linea-testnet',
5252
- status: 'active',
5253
- testnet: true,
5254
- title: 'Linea Goerli Testnet',
5255
- };
5256
-
5257
- const chain$e = {
5258
- chain: 'GNO',
5259
- chainId: 10200,
5260
- explorers: [
5261
- {
5262
- name: 'blockscout',
5263
- url: 'https://gnosis-chiado.blockscout.com',
5264
- standard: 'EIP3091',
5265
- icon: {
5266
- url: 'ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM',
5267
- width: 551,
5268
- height: 540,
5269
- format: 'png',
5270
- },
5271
- },
5272
- ],
5273
- faucets: ['https://gnosisfaucet.com'],
5274
- icon: {
5275
- url: 'ipfs://bafybeidk4swpgdyqmpz6shd5onvpaujvwiwthrhypufnwr6xh3dausz2dm',
5276
- width: 1800,
5277
- height: 1800,
5278
- format: 'png',
5279
- },
5280
- infoURL: 'https://docs.gnosischain.com',
5281
- name: 'Gnosis Chiado Testnet',
5282
- nativeCurrency: {
5283
- name: 'Chiado xDAI',
5284
- symbol: 'XDAI',
5285
- decimals: 18,
5286
- },
5287
- networkId: 10200,
5288
- rpc: [
5289
- 'https://rpc.chiadochain.net',
5290
- 'https://rpc.chiado.gnosis.gateway.fm',
5291
- 'wss://rpc.chiadochain.net/wss',
5292
- 'https://gnosis-chiado-rpc.publicnode.com',
5293
- 'wss://gnosis-chiado-rpc.publicnode.com',
5294
- 'https://gnosis-chiado.drpc.org',
5295
- 'wss://gnosis-chiado.drpc.org',
5296
- ],
5297
- shortName: 'chi',
5298
- slip44: 1,
5299
- slug: 'gnosis-chiado-testnet',
5300
- testnet: true,
5301
- };
5302
-
5303
5196
  const chain$d = {
5304
- chain: 'Immutable zkEVM',
5305
- chainId: 13371,
5306
- explorers: [
5307
- {
5308
- name: 'Immutable explorer',
5309
- url: 'https://explorer.immutable.com',
5310
- standard: 'EIP3091',
5311
- icon: {
5312
- url: 'ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw',
5313
- width: 1168,
5314
- height: 1168,
5315
- format: 'png',
5316
- },
5317
- },
5318
- ],
5319
- faucets: ['https://docs.immutable.com/docs/zkEVM/guides/faucet'],
5320
- icon: {
5321
- url: 'ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw',
5322
- width: 1168,
5323
- height: 1168,
5324
- format: 'png',
5325
- },
5326
- infoURL: 'https://www.immutable.com',
5327
- name: 'Immutable zkEVM',
5328
- nativeCurrency: {
5329
- name: 'IMX',
5330
- symbol: 'IMX',
5331
- decimals: 18,
5332
- },
5333
- networkId: 13371,
5334
- rpc: [
5335
- 'https://rpc.immutable.com',
5336
- 'https://immutable-zkevm.drpc.org',
5337
- 'wss://immutable-zkevm.drpc.org',
5338
- ],
5339
- shortName: 'imx',
5340
- slug: 'immutable-zkevm',
5341
- testnet: false,
5342
- };
5343
-
5344
- const chain$c = {
5345
5197
  chain: 'ETH',
5346
5198
  chainId: 421614,
5347
5199
  explorers: [
@@ -5378,7 +5230,7 @@ const chain$c = {
5378
5230
  title: 'Arbitrum Sepolia Rollup Testnet',
5379
5231
  };
5380
5232
 
5381
- const chain$b = {
5233
+ const chain$c = {
5382
5234
  chain: 'ETH',
5383
5235
  chainId: 42161,
5384
5236
  explorers: [
@@ -5440,7 +5292,7 @@ const chain$b = {
5440
5292
  testnet: false,
5441
5293
  };
5442
5294
 
5443
- const chain$a = {
5295
+ const chain$b = {
5444
5296
  chain: 'ETH',
5445
5297
  chainId: 42170,
5446
5298
  explorers: [
@@ -5495,7 +5347,7 @@ const chain$a = {
5495
5347
  testnet: false,
5496
5348
  };
5497
5349
 
5498
- const chain$9 = {
5350
+ const chain$a = {
5499
5351
  chain: 'Polygon',
5500
5352
  chainId: 137,
5501
5353
  explorers: [
@@ -5551,7 +5403,7 @@ const chain$9 = {
5551
5403
  testnet: false,
5552
5404
  };
5553
5405
 
5554
- const chain$8 = {
5406
+ const chain$9 = {
5555
5407
  chain: 'Polygon',
5556
5408
  chainId: 80002,
5557
5409
  explorers: [
@@ -5588,7 +5440,7 @@ const chain$8 = {
5588
5440
  title: 'Polygon Amoy Testnet',
5589
5441
  };
5590
5442
 
5591
- const chain$7 = {
5443
+ const chain$8 = {
5592
5444
  chain: 'Ancient8',
5593
5445
  chainId: 28122024,
5594
5446
  explorers: [
@@ -5620,7 +5472,7 @@ const chain$7 = {
5620
5472
  testnet: true,
5621
5473
  };
5622
5474
 
5623
- const chain$6 = {
5475
+ const chain$7 = {
5624
5476
  chain: 'Ancient8',
5625
5477
  chainId: 888888888,
5626
5478
  explorers: [
@@ -5651,7 +5503,7 @@ const chain$6 = {
5651
5503
  testnet: false,
5652
5504
  };
5653
5505
 
5654
- const chain$5 = {
5506
+ const chain$6 = {
5655
5507
  chain: 'ETH',
5656
5508
  chainId: 999999999,
5657
5509
  explorers: [
@@ -5683,7 +5535,7 @@ const chain$5 = {
5683
5535
  testnet: true,
5684
5536
  };
5685
5537
 
5686
- const chain$4 = {
5538
+ const chain$5 = {
5687
5539
  chain: 'ETH',
5688
5540
  chainId: 7777777,
5689
5541
  explorers: [
@@ -5716,7 +5568,7 @@ const chain$4 = {
5716
5568
  testnet: false,
5717
5569
  };
5718
5570
 
5719
- const chain$3 = {
5571
+ const chain$4 = {
5720
5572
  chain: 'Degen',
5721
5573
  chainId: 666666666,
5722
5574
  explorers: [],
@@ -5743,7 +5595,7 @@ const chain$3 = {
5743
5595
  title: 'Degen Chain',
5744
5596
  };
5745
5597
 
5746
- const chain$2 = {
5598
+ const chain$3 = {
5747
5599
  chain: 'Immutable zkEVM',
5748
5600
  chainId: 13473,
5749
5601
  explorers: [
@@ -5785,7 +5637,7 @@ const chain$2 = {
5785
5637
  testnet: true,
5786
5638
  };
5787
5639
 
5788
- const chain$1 = {
5640
+ const chain$2 = {
5789
5641
  chain: 'ETH',
5790
5642
  chainId: 11155420,
5791
5643
  explorers: [
@@ -5832,7 +5684,7 @@ const chain$1 = {
5832
5684
  testnet: true,
5833
5685
  };
5834
5686
 
5835
- const chain = {
5687
+ const chain$1 = {
5836
5688
  chain: 'ETH',
5837
5689
  chainId: 10,
5838
5690
  explorers: [
@@ -5889,57 +5741,212 @@ const chain = {
5889
5741
  testnet: false,
5890
5742
  };
5891
5743
 
5744
+ const tiktrixTestnet = {
5745
+ name: 'TikTrix Testnet',
5746
+ title: 'TikTrix Testnet',
5747
+ chain: 'tiktrix-testnet',
5748
+ rpc: ['https://tiktrix-rpc.xyz'],
5749
+ nativeCurrency: {
5750
+ name: 'tTTX',
5751
+ symbol: 'tTTX',
5752
+ decimals: 18,
5753
+ },
5754
+ shortName: 'tiktrix-testnet',
5755
+ chainId: 62092,
5756
+ explorers: [
5757
+ {
5758
+ name: 'TikTrix Testnet Explorer',
5759
+ url: 'https://tiktrix.xyz',
5760
+ standard: 'EIP3091',
5761
+ },
5762
+ ],
5763
+ testnet: true,
5764
+ slug: 'tiktrix-testnet',
5765
+ };
5766
+
5767
+ const dosChain = {
5768
+ name: 'DOS Chain',
5769
+ title: 'DOS Chain',
5770
+ chain: 'dos-chain',
5771
+ rpc: ['https://main.doschain.com'],
5772
+ nativeCurrency: {
5773
+ name: 'DOS Chain',
5774
+ symbol: 'DOS',
5775
+ decimals: 18,
5776
+ },
5777
+ shortName: 'dos',
5778
+ chainId: 7979,
5779
+ testnet: false,
5780
+ explorers: [
5781
+ {
5782
+ name: 'DOS Chain Explorer',
5783
+ url: 'https://doscan.io',
5784
+ standard: 'EIP3091',
5785
+ },
5786
+ ],
5787
+ slug: 'dos-chain',
5788
+ };
5789
+
5790
+ const dosChainTestnet = {
5791
+ name: 'DOS Chain Testnet',
5792
+ title: 'DOS Chain Testnet',
5793
+ chain: 'dos-chain-testnet',
5794
+ rpc: ['https://test.doschain.com'],
5795
+ nativeCurrency: {
5796
+ name: 'DOS Chain Testnet',
5797
+ symbol: 'DOS',
5798
+ decimals: 18,
5799
+ },
5800
+ shortName: 'dos-testnet',
5801
+ chainId: 3939,
5802
+ explorers: [
5803
+ {
5804
+ name: 'DOS Chain Testnet Explorer',
5805
+ url: 'https://test.doscan.io',
5806
+ standard: 'EIP3091',
5807
+ },
5808
+ ],
5809
+ testnet: true,
5810
+ slug: 'dos-chain-testnet',
5811
+ };
5812
+
5813
+ const chain = {
5814
+ name: 'opBNB',
5815
+ chain: 'opBNB',
5816
+ rpc: [
5817
+ 'https://opbnb-mainnet-rpc.bnbchain.org',
5818
+ ],
5819
+ nativeCurrency: {
5820
+ name: 'BNB',
5821
+ symbol: 'BNB',
5822
+ decimals: 18,
5823
+ },
5824
+ shortName: 'opbnb',
5825
+ chainId: 204,
5826
+ networkId: 204,
5827
+ explorers: [
5828
+ {
5829
+ name: 'opBNB (BSCScan)',
5830
+ url: 'https://opbnb.bscscan.com',
5831
+ standard: 'EIP3091',
5832
+ },
5833
+ ],
5834
+ testnet: false,
5835
+ slug: 'opbnb',
5836
+ parent: {
5837
+ chain: 'bsc',
5838
+ type: 'L2',
5839
+ bridges: [
5840
+ {
5841
+ url: 'https://opbnb-mainnet-rpc.bnbchain.org',
5842
+ },
5843
+ ],
5844
+ },
5845
+ };
5846
+
5847
+ const opBNBTestnet = {
5848
+ name: 'opBNB Testnet',
5849
+ title: 'opBNB Testnet',
5850
+ chain: 'opbnb-testnet',
5851
+ rpc: ['https://opbnb-testnet-rpc.bnbchain.org'],
5852
+ nativeCurrency: {
5853
+ name: 'tBNB',
5854
+ symbol: 'tBNB',
5855
+ decimals: 18,
5856
+ },
5857
+ shortName: 'opbnb-testnet',
5858
+ chainId: 5611,
5859
+ explorers: [
5860
+ {
5861
+ name: 'opbnbscan',
5862
+ url: 'https://testnet.opbnbscan.com',
5863
+ standard: 'EIP3091',
5864
+ },
5865
+ ],
5866
+ testnet: true,
5867
+ slug: 'opbnb-testnet',
5868
+ };
5869
+
5870
+ const soneiumMinato = {
5871
+ name: 'Soneium Minato Testnet',
5872
+ title: 'Soneium Minato Testnet',
5873
+ chain: 'soneium-minato-testnet',
5874
+ rpc: ['https://rpc.minato.soneium.org'],
5875
+ nativeCurrency: {
5876
+ name: 'Sepolia Ether',
5877
+ symbol: 'ETH',
5878
+ decimals: 18,
5879
+ },
5880
+ shortName: 'soneium-minato',
5881
+ chainId: 1946,
5882
+ explorers: [
5883
+ {
5884
+ name: 'Blockscout',
5885
+ url: 'https://explorer-testnet.soneium.org',
5886
+ standard: 'EIP3091',
5887
+ },
5888
+ ],
5889
+ testnet: true,
5890
+ slug: 'soneium-minato-testnet',
5891
+ };
5892
+
5892
5893
  const chainMap = {
5893
5894
  // eslint-disable-next-line @typescript-eslint/naming-convention
5894
- 56: chain$o,
5895
+ 56: chain$m,
5896
+ // eslint-disable-next-line @typescript-eslint/naming-convention
5897
+ 97: chain$l,
5898
+ // eslint-disable-next-line @typescript-eslint/naming-convention
5899
+ 8453: chain$k,
5900
+ // eslint-disable-next-line @typescript-eslint/naming-convention
5901
+ 84532: chain$j,
5895
5902
  // eslint-disable-next-line @typescript-eslint/naming-convention
5896
- 97: chain$n,
5903
+ 4337: chain$i,
5897
5904
  // eslint-disable-next-line @typescript-eslint/naming-convention
5898
- 8453: chain$m,
5905
+ 13337: chain$h,
5899
5906
  // eslint-disable-next-line @typescript-eslint/naming-convention
5900
- 84532: chain$l,
5907
+ 43113: chain$g,
5901
5908
  // eslint-disable-next-line @typescript-eslint/naming-convention
5902
- 4337: chain$k,
5909
+ 43114: chain$f,
5903
5910
  // eslint-disable-next-line @typescript-eslint/naming-convention
5904
- 13337: chain$j,
5911
+ 11155111: chain$e,
5905
5912
  // eslint-disable-next-line @typescript-eslint/naming-convention
5906
- 43113: chain$i,
5913
+ 421614: chain$d,
5907
5914
  // eslint-disable-next-line @typescript-eslint/naming-convention
5908
- 43114: chain$h,
5915
+ 42161: chain$c,
5909
5916
  // eslint-disable-next-line @typescript-eslint/naming-convention
5910
- 11155111: chain$g,
5917
+ 42170: chain$b,
5911
5918
  // eslint-disable-next-line @typescript-eslint/naming-convention
5912
- 59140: chain$f,
5919
+ 137: chain$a,
5913
5920
  // eslint-disable-next-line @typescript-eslint/naming-convention
5914
- 10200: chain$e,
5921
+ 80002: chain$9,
5915
5922
  // eslint-disable-next-line @typescript-eslint/naming-convention
5916
- 421614: chain$c,
5923
+ 28122024: chain$8,
5917
5924
  // eslint-disable-next-line @typescript-eslint/naming-convention
5918
- 42161: chain$b,
5925
+ 888888888: chain$7,
5919
5926
  // eslint-disable-next-line @typescript-eslint/naming-convention
5920
- 42170: chain$a,
5927
+ 999999999: chain$6,
5921
5928
  // eslint-disable-next-line @typescript-eslint/naming-convention
5922
- 137: chain$9,
5929
+ 7777777: chain$5,
5923
5930
  // eslint-disable-next-line @typescript-eslint/naming-convention
5924
- 80002: chain$8,
5931
+ 666666666: chain$4,
5925
5932
  // eslint-disable-next-line @typescript-eslint/naming-convention
5926
- 28122024: chain$7,
5933
+ 13473: chain$3,
5927
5934
  // eslint-disable-next-line @typescript-eslint/naming-convention
5928
- 888888888: chain$6,
5935
+ 11155420: chain$2,
5929
5936
  // eslint-disable-next-line @typescript-eslint/naming-convention
5930
- 999999999: chain$5,
5937
+ 10: chain$1,
5931
5938
  // eslint-disable-next-line @typescript-eslint/naming-convention
5932
- 7777777: chain$4,
5939
+ 62092: tiktrixTestnet,
5933
5940
  // eslint-disable-next-line @typescript-eslint/naming-convention
5934
- 666666666: chain$3,
5941
+ 7979: dosChain,
5935
5942
  // eslint-disable-next-line @typescript-eslint/naming-convention
5936
- 13473: chain$2,
5943
+ 3939: dosChainTestnet,
5937
5944
  // eslint-disable-next-line @typescript-eslint/naming-convention
5938
- 13371: chain$d,
5945
+ 204: chain,
5939
5946
  // eslint-disable-next-line @typescript-eslint/naming-convention
5940
- 11155420: chain$1,
5947
+ 5611: opBNBTestnet,
5941
5948
  // eslint-disable-next-line @typescript-eslint/naming-convention
5942
- 10: chain,
5949
+ 1946: soneiumMinato,
5943
5950
  };
5944
5951
 
5945
5952
  class EvmProvider {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfort/openfort-js",
3
- "version": "0.8.9",
3
+ "version": "0.8.11",
4
4
  "author": "Openfort (https://www.openfort.xyz)",
5
5
  "bugs": "https://github.com/openfort-xyz/openfort-js/issues",
6
6
  "repository": "openfort-xyz/openfort-js.git",