@swapkit/tokens 4.2.3 → 4.2.5
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/chunk-0yd8hw10.js +1 -0
- package/dist/chunk-xhhjdx2r.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/types/index.d.ts +3 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lists/hypercore.d.ts +19 -0
- package/dist/types/lists/hypercore.d.ts.map +1 -0
- package/dist/types/lists/index.d.ts +1 -0
- package/dist/types/lists/index.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={count:2,keywords:[],name:"HYPERCORE",provider:"HYPERCORE",timestamp:"2026-04-13T00:00:00.000Z",tokens:[{identifier:"HYPERCORE.HYPE-HYPE:0x0d01dc56dcaaca66ad901c959b4011ec"},{decimals:6,identifier:"HYPERCORE.USDC-USDC:0x6d1e7cde53ba9467b783cb7c530ce054"}],version:{major:1,minor:0,patch:0}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-mrqbjh18.js";var e={count:2,keywords:[],name:"HYPERCORE",provider:"HYPERCORE",timestamp:"2026-04-13T00:00:00.000Z",tokens:[{identifier:"HYPERCORE.HYPE-HYPE:0x0d01dc56dcaaca66ad901c959b4011ec"},{decimals:6,identifier:"HYPERCORE.USDC-USDC:0x6d1e7cde53ba9467b783cb7c530ce054"}],version:{major:1,minor:0,patch:0}};export{e as list};
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var K={};F(K,{loadTokenLists:()=>H});module.exports=E(K);var C=require("ts-pattern"),G=["chainflip","
|
|
1
|
+
var K={};F(K,{loadTokenLists:()=>H});module.exports=E(K);var C=require("ts-pattern"),G=["chainflip","garden","harbor","hypercore","jupiter","mayachain","near","okx","oneinch","pancakeswap","sushiswap","thorchain","traderjoe","uniswap","uniswapv3"];async function H(q){let z=q||G,A={};for(let B of z){let D=await J(B);A[B]=D}return A}async function J(q){let{list:z}=await C.match(q).with("chainflip",()=>import("./chunk-batsb004.js")).with("garden",()=>import("./chunk-e09rm7kq.js")).with("harbor",()=>import("./chunk-9z6pf09c.js")).with("hypercore",()=>import("./chunk-0yd8hw10.js")).with("jupiter",()=>import("./chunk-j9degx67.js")).with("mayachain",()=>import("./chunk-8gfvzysc.js")).with("near",()=>import("./chunk-e89sjp6m.js")).with("okx",()=>import("./chunk-8m468nf3.js")).with("oneinch",()=>import("./chunk-yk7aqeyn.js")).with("pancakeswap",()=>import("./chunk-wwg89zwv.js")).with("sushiswap",()=>import("./chunk-8f0hb9gt.js")).with("thorchain",()=>import("./chunk-wd3ngt13.js")).with("traderjoe",()=>import("./chunk-41p7cb4m.js")).with("uniswap",()=>import("./chunk-mhwwkajb.js")).with("uniswapv3",()=>import("./chunk-e97ybv68.js")).otherwise(()=>{return console.warn(`Token list ${q} not found`),{list:[]}});return z}
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as q}from"./chunk-mrqbjh18.js";import{match as E}from"ts-pattern";var F=["chainflip","
|
|
1
|
+
import{a as q}from"./chunk-mrqbjh18.js";import{match as E}from"ts-pattern";var F=["chainflip","garden","harbor","hypercore","jupiter","mayachain","near","okx","oneinch","pancakeswap","sushiswap","thorchain","traderjoe","uniswap","uniswapv3"];async function J(z){let A=z||F,B={};for(let C of A){let D=await G(C);B[C]=D}return B}async function G(z){let{list:A}=await E(z).with("chainflip",()=>import("./chunk-jq2bykw6.js")).with("garden",()=>import("./chunk-5abta3fw.js")).with("harbor",()=>import("./chunk-en3wxvq7.js")).with("hypercore",()=>import("./chunk-xhhjdx2r.js")).with("jupiter",()=>import("./chunk-95vxsq69.js")).with("mayachain",()=>import("./chunk-14jw16s3.js")).with("near",()=>import("./chunk-adfqan6s.js")).with("okx",()=>import("./chunk-sejbpyv7.js")).with("oneinch",()=>import("./chunk-dpcmh8d0.js")).with("pancakeswap",()=>import("./chunk-qrc869dt.js")).with("sushiswap",()=>import("./chunk-gbeecqff.js")).with("thorchain",()=>import("./chunk-9yxg1kn2.js")).with("traderjoe",()=>import("./chunk-7c8z7wz8.js")).with("uniswap",()=>import("./chunk-pg7phmpn.js")).with("uniswapv3",()=>import("./chunk-wrvxyr5j.js")).otherwise(()=>{return console.warn(`Token list ${z} not found`),{list:[]}});return A}export{J as loadTokenLists};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type * as tokenLists from "./lists";
|
|
2
|
-
type ListOfTokens = Exclude<keyof typeof tokenLists, "JupiterList" | "OneInchList" | "PancakeswapList" | "SushiswapList" | "TraderjoeV2List">;
|
|
2
|
+
type ListOfTokens = Exclude<keyof typeof tokenLists, "HyperCoreList" | "JupiterList" | "OneInchList" | "PancakeswapList" | "SushiswapList" | "TraderjoeV2List">;
|
|
3
3
|
export type TokenLists = {
|
|
4
4
|
chainflip: typeof tokenLists.ChainflipList;
|
|
5
|
-
jupiter: typeof tokenLists.JupiterList;
|
|
6
5
|
garden: typeof tokenLists.GardenList;
|
|
7
6
|
harbor: typeof tokenLists.HarborList;
|
|
7
|
+
hypercore: typeof tokenLists.HyperCoreList;
|
|
8
|
+
jupiter: typeof tokenLists.JupiterList;
|
|
8
9
|
mayachain: typeof tokenLists.MayaList;
|
|
9
10
|
near: typeof tokenLists.NearList;
|
|
10
11
|
okx: typeof tokenLists.OkxList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,UAAU,MAAM,SAAS,CAAC;AAE3C,KAAK,YAAY,GAAG,OAAO,CACzB,MAAM,OAAO,UAAU,EACvB,aAAa,GAAG,aAAa,GAAG,iBAAiB,GAAG,eAAe,GAAG,iBAAiB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.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AAC,MAAM,CAAC,CAAC,YAAY,CAAC,CAAC;AAoB3F,wBAAsB,cAAc,CAAC,CAAC,SAAS,aAAa,EAAE,EAAE,WAAW,CAAC,EAAE,CAAC,cAEtD,GAAG,oCAU3B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const list: {
|
|
2
|
+
readonly count: 2;
|
|
3
|
+
readonly keywords: readonly [];
|
|
4
|
+
readonly name: "HYPERCORE";
|
|
5
|
+
readonly provider: "HYPERCORE";
|
|
6
|
+
readonly timestamp: "2026-04-13T00:00:00.000Z";
|
|
7
|
+
readonly tokens: readonly [{
|
|
8
|
+
readonly identifier: "HYPERCORE.HYPE-HYPE:0x0d01dc56dcaaca66ad901c959b4011ec";
|
|
9
|
+
}, {
|
|
10
|
+
readonly decimals: 6;
|
|
11
|
+
readonly identifier: "HYPERCORE.USDC-USDC:0x6d1e7cde53ba9467b783cb7c530ce054";
|
|
12
|
+
}];
|
|
13
|
+
readonly version: {
|
|
14
|
+
readonly major: 1;
|
|
15
|
+
readonly minor: 0;
|
|
16
|
+
readonly patch: 0;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=hypercore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hypercore.d.ts","sourceRoot":"","sources":["../../../src/lists/hypercore.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;CAWP,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { list as ChainflipList } from "./chainflip";
|
|
2
2
|
export { list as GardenList } from "./garden";
|
|
3
3
|
export { list as HarborList } from "./harbor";
|
|
4
|
+
export { list as HyperCoreList } from "./hypercore";
|
|
4
5
|
export { list as JupiterList } from "./jupiter";
|
|
5
6
|
export { list as MayaList } from "./mayachain";
|
|
6
7
|
export { list as NearList } from "./near";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lists/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,IAAI,IAAI,eAAe,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,IAAI,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lists/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,IAAI,IAAI,eAAe,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,IAAI,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,cAAc,CAAC"}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"author": "swapkit-dev",
|
|
3
3
|
"dependencies": { "ts-pattern": "^5.9.0" },
|
|
4
4
|
"description": "SwapKit - Tokens",
|
|
5
|
-
"devDependencies": { "@swapkit/helpers": "4.12.
|
|
5
|
+
"devDependencies": { "@swapkit/helpers": "4.12.9", "ts-pattern": "^5.9.0" },
|
|
6
6
|
"exports": {
|
|
7
7
|
".": { "default": "./dist/index.js", "require": "./dist/index.cjs", "types": "./dist/types/index.d.ts" }
|
|
8
8
|
},
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
"type-check:go": "tsgo"
|
|
22
22
|
},
|
|
23
23
|
"type": "module",
|
|
24
|
-
"version": "4.2.
|
|
24
|
+
"version": "4.2.5"
|
|
25
25
|
}
|