@swapkit/sdk 2.3.12 → 2.3.13
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.js +2 -1
- package/dist/index.js.map +2 -2
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// @bun
|
|
1
2
|
import{SwapKit as o}from"@swapkit/core";import{ChainflipPlugin as i}from"@swapkit/plugin-chainflip";import{EVMPlugin as l}from"@swapkit/plugin-evm";import{RadixPlugin as p}from"@swapkit/plugin-radix";import{SolanaPlugin as r}from"@swapkit/plugin-solana";import{MayachainPlugin as n,ThorchainPlugin as s}from"@swapkit/plugin-thorchain";import{wallets as m}from"@swapkit/wallets";export*from"@swapkit/core";import{getTokenIcon as K,tokenLists as h}from"@swapkit/tokens";import{SwapKitApi as M}from"@swapkit/api";var f={...i,...l,...n,...s,...r,...p},w=({plugins:t,wallets:e,...a}={})=>{return o({...a,wallets:e||m,plugins:t||f})};export{h as tokenLists,K as getTokenIcon,f as defaultPlugins,w as createSwapKit,M as SwapKitApi};
|
|
2
3
|
|
|
3
|
-
//# debugId=
|
|
4
|
+
//# debugId=699306A3933C385A64756E2164756E21
|
package/dist/index.js.map
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"sourcesContent": [
|
|
5
5
|
"import { type PluginsType, SwapKit, type SwapKitParams, type WalletsType } from \"@swapkit/core\";\nimport { ChainflipPlugin } from \"@swapkit/plugin-chainflip\";\nimport { EVMPlugin } from \"@swapkit/plugin-evm\";\nimport { RadixPlugin } from \"@swapkit/plugin-radix\";\nimport { SolanaPlugin } from \"@swapkit/plugin-solana\";\nimport { MayachainPlugin, ThorchainPlugin } from \"@swapkit/plugin-thorchain\";\nimport { wallets as defaultWallets } from \"@swapkit/wallets\";\n\nexport * from \"@swapkit/core\";\nexport { getTokenIcon, tokenLists } from \"@swapkit/tokens\";\n\nexport const defaultPlugins = {\n ...ChainflipPlugin,\n ...EVMPlugin,\n ...MayachainPlugin,\n ...ThorchainPlugin,\n ...SolanaPlugin,\n ...RadixPlugin,\n};\n\nexport const createSwapKit = <\n P extends PluginsType = typeof defaultPlugins,\n W extends WalletsType = typeof defaultWallets,\n>({\n plugins,\n wallets,\n ...extendParams\n}: SwapKitParams<P, W> = {}) => {\n return SwapKit<P, W>({\n ...extendParams,\n wallets: (wallets || defaultWallets) as W,\n plugins: (plugins || defaultPlugins) as P,\n });\n};\n\nexport { SwapKitApi } from \"@swapkit/api\";\n"
|
|
6
6
|
],
|
|
7
|
-
"mappings": "AAAA,kBAA2B,sBAC3B,0BAAS,kCACT,oBAAS,4BACT,sBAAS,8BACT,uBAAS,+BACT,0BAAS,qBAAiB,kCAC1B,kBAAS,yBAET,2BACA,uBAAS,gBAAc,wBA0BvB,qBAAS,qBAxBF,IAAM,EAAiB,IACzB,KACA,KACA,KACA,KACA,KACA,CACL,EAEa,EAAgB,EAI3B,UACA,aACG,GACoB,CAAC,IAAM,CAC9B,OAAO,EAAc,IAChB,EACH,QAAU,GAAW,EACrB,QAAU,GAAW,CACvB,CAAC",
|
|
8
|
-
"debugId": "
|
|
7
|
+
"mappings": ";AAAA,kBAA2B,sBAC3B,0BAAS,kCACT,oBAAS,4BACT,sBAAS,8BACT,uBAAS,+BACT,0BAAS,qBAAiB,kCAC1B,kBAAS,yBAET,2BACA,uBAAS,gBAAc,wBA0BvB,qBAAS,qBAxBF,IAAM,EAAiB,IACzB,KACA,KACA,KACA,KACA,KACA,CACL,EAEa,EAAgB,EAI3B,UACA,aACG,GACoB,CAAC,IAAM,CAC9B,OAAO,EAAc,IAChB,EACH,QAAU,GAAW,EACrB,QAAU,GAAW,CACvB,CAAC",
|
|
8
|
+
"debugId": "699306A3933C385A64756E2164756E21",
|
|
9
9
|
"names": []
|
|
10
10
|
}
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "swapkit-oss",
|
|
3
3
|
"dependencies": {
|
|
4
|
-
"@swapkit/api": "2.8.
|
|
5
|
-
"@swapkit/core": "3.3.
|
|
6
|
-
"@swapkit/plugin-chainflip": "2.2.
|
|
7
|
-
"@swapkit/plugin-evm": "1.4.
|
|
8
|
-
"@swapkit/plugin-radix": "1.4.
|
|
9
|
-
"@swapkit/plugin-solana": "0.2.
|
|
10
|
-
"@swapkit/plugin-thorchain": "2.5.
|
|
11
|
-
"@swapkit/tokens": "2.5.
|
|
12
|
-
"@swapkit/wallets": "2.1.
|
|
4
|
+
"@swapkit/api": "2.8.3",
|
|
5
|
+
"@swapkit/core": "3.3.11",
|
|
6
|
+
"@swapkit/plugin-chainflip": "2.2.7",
|
|
7
|
+
"@swapkit/plugin-evm": "1.4.7",
|
|
8
|
+
"@swapkit/plugin-radix": "1.4.7",
|
|
9
|
+
"@swapkit/plugin-solana": "0.2.7",
|
|
10
|
+
"@swapkit/plugin-thorchain": "2.5.10",
|
|
11
|
+
"@swapkit/tokens": "2.5.3",
|
|
12
|
+
"@swapkit/wallets": "2.1.12"
|
|
13
13
|
},
|
|
14
14
|
"description": "SwapKit - SDK",
|
|
15
15
|
"files": [
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
},
|
|
33
33
|
"type": "module",
|
|
34
34
|
"types": "./src/index.ts",
|
|
35
|
-
"version": "2.3.
|
|
35
|
+
"version": "2.3.13"
|
|
36
36
|
}
|