@swapkit/tokens 1.0.0-rc.26 → 1.0.0-rc.27
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 +1 -1
- package/dist/index.d.ts +0 -79
- package/dist/index.es.js +17 -42
- package/package.json +4 -4
- package/src/index.ts +0 -1
- package/src/tokenLists/Native.ts +0 -25
package/dist/index.d.ts
CHANGED
|
@@ -23410,85 +23410,6 @@ export declare const MayaList: {
|
|
|
23410
23410
|
readonly logo: "https://static.thorswap.net/logo.png";
|
|
23411
23411
|
};
|
|
23412
23412
|
|
|
23413
|
-
export declare const NativeList: {
|
|
23414
|
-
readonly name: "native-l1";
|
|
23415
|
-
readonly timestamp: "2023-10-17T00:00:00.000Z";
|
|
23416
|
-
readonly version: {
|
|
23417
|
-
readonly major: 1;
|
|
23418
|
-
readonly minor: 0;
|
|
23419
|
-
readonly patch: 0;
|
|
23420
|
-
};
|
|
23421
|
-
readonly keywords: readonly ["Native"];
|
|
23422
|
-
readonly tokens: readonly [{
|
|
23423
|
-
readonly address: "1C9";
|
|
23424
|
-
readonly chain: "BNB";
|
|
23425
|
-
readonly identifier: "BNB.ETH-1C9";
|
|
23426
|
-
readonly decimals: 8;
|
|
23427
|
-
}, {
|
|
23428
|
-
readonly address: "1DE";
|
|
23429
|
-
readonly chain: "BNB";
|
|
23430
|
-
readonly identifier: "BNB.BTCB-1DE";
|
|
23431
|
-
readonly decimals: 8;
|
|
23432
|
-
}, {
|
|
23433
|
-
readonly address: "645";
|
|
23434
|
-
readonly chain: "BNB";
|
|
23435
|
-
readonly identifier: "BNB.AVA-645";
|
|
23436
|
-
readonly decimals: 8;
|
|
23437
|
-
}, {
|
|
23438
|
-
readonly address: "8C2";
|
|
23439
|
-
readonly chain: "BNB";
|
|
23440
|
-
readonly identifier: "BNB.TWT-8C2";
|
|
23441
|
-
readonly decimals: 8;
|
|
23442
|
-
}, {
|
|
23443
|
-
readonly address: "BD1";
|
|
23444
|
-
readonly chain: "BNB";
|
|
23445
|
-
readonly identifier: "BNB.BUSD-BD1";
|
|
23446
|
-
readonly decimals: 8;
|
|
23447
|
-
}, {
|
|
23448
|
-
readonly chain: "AVAX";
|
|
23449
|
-
readonly identifier: "AVAX.AVAX";
|
|
23450
|
-
readonly decimals: 18;
|
|
23451
|
-
}, {
|
|
23452
|
-
readonly chain: "BCH";
|
|
23453
|
-
readonly identifier: "BCH.BCH";
|
|
23454
|
-
readonly decimals: 8;
|
|
23455
|
-
}, {
|
|
23456
|
-
readonly chain: "BNB";
|
|
23457
|
-
readonly identifier: "BNB.BNB";
|
|
23458
|
-
readonly decimals: 8;
|
|
23459
|
-
}, {
|
|
23460
|
-
readonly chain: "BSC";
|
|
23461
|
-
readonly identifier: "BSC.BNB";
|
|
23462
|
-
readonly decimals: 18;
|
|
23463
|
-
}, {
|
|
23464
|
-
readonly chain: "BTC";
|
|
23465
|
-
readonly identifier: "BTC.BTC";
|
|
23466
|
-
readonly decimals: 8;
|
|
23467
|
-
}, {
|
|
23468
|
-
readonly chain: "DOGE";
|
|
23469
|
-
readonly identifier: "DOGE.DOGE";
|
|
23470
|
-
readonly decimals: 8;
|
|
23471
|
-
}, {
|
|
23472
|
-
readonly chain: "ETH";
|
|
23473
|
-
readonly identifier: "ETH.ETH";
|
|
23474
|
-
readonly decimals: 18;
|
|
23475
|
-
}, {
|
|
23476
|
-
readonly chain: "GAIA";
|
|
23477
|
-
readonly identifier: "GAIA.ATOM";
|
|
23478
|
-
readonly decimals: 6;
|
|
23479
|
-
}, {
|
|
23480
|
-
readonly chain: "LTC";
|
|
23481
|
-
readonly identifier: "LTC.LTC";
|
|
23482
|
-
readonly decimals: 8;
|
|
23483
|
-
}, {
|
|
23484
|
-
readonly chain: "THOR";
|
|
23485
|
-
readonly identifier: "THOR.RUNE";
|
|
23486
|
-
readonly decimals: 8;
|
|
23487
|
-
}];
|
|
23488
|
-
readonly count: 15;
|
|
23489
|
-
readonly logo: "https://static.thorswap.net/logo.png";
|
|
23490
|
-
};
|
|
23491
|
-
|
|
23492
23413
|
export declare const OneInchList: {
|
|
23493
23414
|
readonly name: "Trust Wallet: Ethereum";
|
|
23494
23415
|
readonly timestamp: "2021-11-09T22:30:24.689Z";
|
package/dist/index.es.js
CHANGED
|
@@ -28306,30 +28306,6 @@ const e = {
|
|
|
28306
28306
|
count: 9,
|
|
28307
28307
|
logo: "https://static.thorswap.net/logo.png"
|
|
28308
28308
|
}, i = {
|
|
28309
|
-
name: "native-l1",
|
|
28310
|
-
timestamp: "2023-10-17T00:00:00.000Z",
|
|
28311
|
-
version: { major: 1, minor: 0, patch: 0 },
|
|
28312
|
-
keywords: ["Native"],
|
|
28313
|
-
tokens: [
|
|
28314
|
-
{ address: "1C9", chain: "BNB", identifier: "BNB.ETH-1C9", decimals: 8 },
|
|
28315
|
-
{ address: "1DE", chain: "BNB", identifier: "BNB.BTCB-1DE", decimals: 8 },
|
|
28316
|
-
{ address: "645", chain: "BNB", identifier: "BNB.AVA-645", decimals: 8 },
|
|
28317
|
-
{ address: "8C2", chain: "BNB", identifier: "BNB.TWT-8C2", decimals: 8 },
|
|
28318
|
-
{ address: "BD1", chain: "BNB", identifier: "BNB.BUSD-BD1", decimals: 8 },
|
|
28319
|
-
{ chain: "AVAX", identifier: "AVAX.AVAX", decimals: 18 },
|
|
28320
|
-
{ chain: "BCH", identifier: "BCH.BCH", decimals: 8 },
|
|
28321
|
-
{ chain: "BNB", identifier: "BNB.BNB", decimals: 8 },
|
|
28322
|
-
{ chain: "BSC", identifier: "BSC.BNB", decimals: 18 },
|
|
28323
|
-
{ chain: "BTC", identifier: "BTC.BTC", decimals: 8 },
|
|
28324
|
-
{ chain: "DOGE", identifier: "DOGE.DOGE", decimals: 8 },
|
|
28325
|
-
{ chain: "ETH", identifier: "ETH.ETH", decimals: 18 },
|
|
28326
|
-
{ chain: "GAIA", identifier: "GAIA.ATOM", decimals: 6 },
|
|
28327
|
-
{ chain: "LTC", identifier: "LTC.LTC", decimals: 8 },
|
|
28328
|
-
{ chain: "THOR", identifier: "THOR.RUNE", decimals: 8 }
|
|
28329
|
-
],
|
|
28330
|
-
count: 15,
|
|
28331
|
-
logo: "https://static.thorswap.net/logo.png"
|
|
28332
|
-
}, E = {
|
|
28333
28309
|
name: "PancakeSwap Extended",
|
|
28334
28310
|
timestamp: "2023-12-01T03:32:22.984Z",
|
|
28335
28311
|
version: { major: 2, minor: 16, patch: 167 },
|
|
@@ -30474,7 +30450,7 @@ const e = {
|
|
|
30474
30450
|
],
|
|
30475
30451
|
count: 356,
|
|
30476
30452
|
logo: "https://s2.coinmarketcap.com/static/img/coins/64x64/7186.png"
|
|
30477
|
-
},
|
|
30453
|
+
}, E = {
|
|
30478
30454
|
name: "PancakeSwap Ethereum Default",
|
|
30479
30455
|
timestamp: "2023-12-05T07:15:42.575Z",
|
|
30480
30456
|
version: { major: 1, minor: 0, patch: 34 },
|
|
@@ -30789,7 +30765,7 @@ const e = {
|
|
|
30789
30765
|
],
|
|
30790
30766
|
count: 51,
|
|
30791
30767
|
logo: "https://s2.coinmarketcap.com/static/img/coins/64x64/7186.png"
|
|
30792
|
-
},
|
|
30768
|
+
}, c = {
|
|
30793
30769
|
name: "Pangolin Tokenlist",
|
|
30794
30770
|
timestamp: "2023-08-08T13:00:00+00:00",
|
|
30795
30771
|
version: { major: 11, minor: 0, patch: 0 },
|
|
@@ -31800,7 +31776,7 @@ const e = {
|
|
|
31800
31776
|
],
|
|
31801
31777
|
count: 167,
|
|
31802
31778
|
logo: "https://static.thorswap.net/token-list/images/avax.png-0x60781c2586d68229fde47564546784ab3faca982.png"
|
|
31803
|
-
},
|
|
31779
|
+
}, A = {
|
|
31804
31780
|
name: "Stargate Arbitrum",
|
|
31805
31781
|
timestamp: "1701730530527",
|
|
31806
31782
|
tokens: [
|
|
@@ -31831,7 +31807,7 @@ const e = {
|
|
|
31831
31807
|
],
|
|
31832
31808
|
count: 4,
|
|
31833
31809
|
logo: "https://static.thorswap.net/token-list/images/eth.stg-0xaf5191b0de278c7286d6c7cc6ab6bb8a73ba2cd6.png"
|
|
31834
|
-
},
|
|
31810
|
+
}, f = {
|
|
31835
31811
|
tokens: [
|
|
31836
31812
|
{
|
|
31837
31813
|
address: "0x111111111117dC0aa78b770fA6A738034120C302",
|
|
@@ -34776,7 +34752,7 @@ const e = {
|
|
|
34776
34752
|
],
|
|
34777
34753
|
count: 490,
|
|
34778
34754
|
logo: "https://static.thorswap.net/token-list/images/eth.sushi-0x6b3595068778dd592e39a122f4f5a5cf09c90fe2.png"
|
|
34779
|
-
},
|
|
34755
|
+
}, C = {
|
|
34780
34756
|
name: "thorchain",
|
|
34781
34757
|
timestamp: "2023-12-05T15:17:50.113Z",
|
|
34782
34758
|
version: { major: 1, minor: 0, patch: 0 },
|
|
@@ -34951,7 +34927,7 @@ const e = {
|
|
|
34951
34927
|
],
|
|
34952
34928
|
count: 41,
|
|
34953
34929
|
logo: "https://app.thorswap.finance/assets/asset-rune-43bdc185.svg"
|
|
34954
|
-
},
|
|
34930
|
+
}, B = {
|
|
34955
34931
|
name: "Trader Joe Default",
|
|
34956
34932
|
timestamp: "2021-11-20T00:00:00+00:00",
|
|
34957
34933
|
version: { major: 223, minor: 4, patch: 0 },
|
|
@@ -35620,7 +35596,7 @@ const e = {
|
|
|
35620
35596
|
],
|
|
35621
35597
|
count: 110,
|
|
35622
35598
|
logo: "https://static.thorswap.net/token-list/images/avax.joe-0x6e84a6216ea6dacc71ee8e6b0a5b7322eebc0fdd.png"
|
|
35623
|
-
},
|
|
35599
|
+
}, s = {
|
|
35624
35600
|
name: "Uniswap Labs Default",
|
|
35625
35601
|
timestamp: "2023-11-13T15:59:22.657Z",
|
|
35626
35602
|
version: { major: 11, minor: 9, patch: 0 },
|
|
@@ -37116,7 +37092,7 @@ const e = {
|
|
|
37116
37092
|
],
|
|
37117
37093
|
count: 248,
|
|
37118
37094
|
logo: "https://static.thorswap.net/token-list/images/eth.uni-0x1f9840a85d5af5bf1d1762f925bdaddc4201f984.png"
|
|
37119
|
-
},
|
|
37095
|
+
}, D = {
|
|
37120
37096
|
name: "Woofi Avalanche",
|
|
37121
37097
|
timestamp: "2023-05-10T04:35:02.814Z",
|
|
37122
37098
|
version: { major: 1, minor: 0, patch: 0 },
|
|
@@ -37165,15 +37141,14 @@ const e = {
|
|
|
37165
37141
|
export {
|
|
37166
37142
|
d as CoinGeckoList,
|
|
37167
37143
|
a as MayaList,
|
|
37168
|
-
i as NativeList,
|
|
37169
37144
|
e as OneInchList,
|
|
37170
|
-
|
|
37171
|
-
|
|
37172
|
-
|
|
37173
|
-
|
|
37174
|
-
|
|
37175
|
-
|
|
37176
|
-
|
|
37177
|
-
|
|
37178
|
-
|
|
37145
|
+
E as PancakeswapETHList,
|
|
37146
|
+
i as PancakeswapList,
|
|
37147
|
+
c as PangolinList,
|
|
37148
|
+
A as StargateARBList,
|
|
37149
|
+
f as SushiswapList,
|
|
37150
|
+
C as ThorchainList,
|
|
37151
|
+
B as TraderjoeList,
|
|
37152
|
+
s as UniswapList,
|
|
37153
|
+
D as WoofiList
|
|
37179
37154
|
};
|
package/package.json
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
"fs-extra": "11.1.1",
|
|
8
8
|
"vite": "4.5.0",
|
|
9
9
|
"vitest": "0.34.6",
|
|
10
|
-
"@internal/config": "0.0.0-rc.
|
|
11
|
-
"@swapkit/api": "1.0.0-rc.
|
|
12
|
-
"@swapkit/types": "1.0.0-rc.
|
|
10
|
+
"@internal/config": "0.0.0-rc.11",
|
|
11
|
+
"@swapkit/api": "1.0.0-rc.25",
|
|
12
|
+
"@swapkit/types": "1.0.0-rc.25"
|
|
13
13
|
},
|
|
14
14
|
"eslintConfig": {
|
|
15
15
|
"extends": "../../../internal/eslint-config"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"repository": "https://github.com/thorswap/SwapKit.git",
|
|
38
38
|
"type": "module",
|
|
39
39
|
"types": "./dist/index.d.ts",
|
|
40
|
-
"version": "1.0.0-rc.
|
|
40
|
+
"version": "1.0.0-rc.27",
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "vite build",
|
|
43
43
|
"generate-tokens": "node ./scripts/fetchTokenLists.js",
|
package/src/index.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export { list as OneInchList } from './tokenLists/1inch.ts';
|
|
2
2
|
export { list as CoinGeckoList } from './tokenLists/Coingecko.ts';
|
|
3
3
|
export { list as MayaList } from './tokenLists/Maya.ts';
|
|
4
|
-
export { list as NativeList } from './tokenLists/Native.ts';
|
|
5
4
|
export { list as PancakeswapList } from './tokenLists/Pancakeswap.ts';
|
|
6
5
|
export { list as PancakeswapETHList } from './tokenLists/Pancakeswapeth.ts';
|
|
7
6
|
export { list as PangolinList } from './tokenLists/Pangolin.ts';
|
package/src/tokenLists/Native.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export const list = {
|
|
2
|
-
name: 'native-l1',
|
|
3
|
-
timestamp: '2023-10-17T00:00:00.000Z',
|
|
4
|
-
version: { major: 1, minor: 0, patch: 0 },
|
|
5
|
-
keywords: ['Native'],
|
|
6
|
-
tokens: [
|
|
7
|
-
{ address: '1C9', chain: 'BNB', identifier: 'BNB.ETH-1C9', decimals: 8 },
|
|
8
|
-
{ address: '1DE', chain: 'BNB', identifier: 'BNB.BTCB-1DE', decimals: 8 },
|
|
9
|
-
{ address: '645', chain: 'BNB', identifier: 'BNB.AVA-645', decimals: 8 },
|
|
10
|
-
{ address: '8C2', chain: 'BNB', identifier: 'BNB.TWT-8C2', decimals: 8 },
|
|
11
|
-
{ address: 'BD1', chain: 'BNB', identifier: 'BNB.BUSD-BD1', decimals: 8 },
|
|
12
|
-
{ chain: 'AVAX', identifier: 'AVAX.AVAX', decimals: 18 },
|
|
13
|
-
{ chain: 'BCH', identifier: 'BCH.BCH', decimals: 8 },
|
|
14
|
-
{ chain: 'BNB', identifier: 'BNB.BNB', decimals: 8 },
|
|
15
|
-
{ chain: 'BSC', identifier: 'BSC.BNB', decimals: 18 },
|
|
16
|
-
{ chain: 'BTC', identifier: 'BTC.BTC', decimals: 8 },
|
|
17
|
-
{ chain: 'DOGE', identifier: 'DOGE.DOGE', decimals: 8 },
|
|
18
|
-
{ chain: 'ETH', identifier: 'ETH.ETH', decimals: 18 },
|
|
19
|
-
{ chain: 'GAIA', identifier: 'GAIA.ATOM', decimals: 6 },
|
|
20
|
-
{ chain: 'LTC', identifier: 'LTC.LTC', decimals: 8 },
|
|
21
|
-
{ chain: 'THOR', identifier: 'THOR.RUNE', decimals: 8 },
|
|
22
|
-
],
|
|
23
|
-
count: 15,
|
|
24
|
-
logo: 'https://static.thorswap.net/logo.png',
|
|
25
|
-
} as const;
|