@swapkit/sdk 2.1.7 → 2.2.0
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 -2
- package/dist/index.js.map +3 -3
- package/package.json +9 -9
- package/src/index.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{SwapKit as
|
|
1
|
+
import{SwapKit as i}from"@swapkit/core";import{ChainflipPlugin as a}from"@swapkit/plugin-chainflip";import{EVMPlugin as e}from"@swapkit/plugin-evm";import{KadoPlugin as p}from"@swapkit/plugin-kado";import{RadixPlugin as l}from"@swapkit/plugin-radix";import{MayachainPlugin as m,ThorchainPlugin as f}from"@swapkit/plugin-thorchain";import{wallets as n}from"@swapkit/wallets";export*from"@swapkit/core";export*from"@swapkit/tokens";import{SwapKitApi as M}from"@swapkit/api";var s={...a,...e,...p,...m,...f,...l},c=({plugins:t,wallets:o,...r}={})=>{return i({...r,wallets:o||n,plugins:t||s})};export{s as defaultPlugins,c as createSwapKit,M as SwapKitApi};
|
|
2
2
|
|
|
3
|
-
//# debugId=
|
|
3
|
+
//# debugId=5CD963166F2FD9A064756E2164756E21
|
package/dist/index.js.map
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/index.ts"],
|
|
4
4
|
"sourcesContent": [
|
|
5
|
-
"import { SwapKit, type SwapKitParams } from \"@swapkit/core\";\nimport { ChainflipPlugin } from \"@swapkit/plugin-chainflip\";\nimport { EVMPlugin } from \"@swapkit/plugin-evm\";\nimport { KadoPlugin } from \"@swapkit/plugin-kado\";\nimport { RadixPlugin } from \"@swapkit/plugin-radix\";\nimport { MayachainPlugin, ThorchainPlugin } from \"@swapkit/plugin-thorchain\";\nimport { wallets as defaultWallets } from \"@swapkit/wallets\";\n\nexport * from \"@swapkit/core\";\nexport * from \"@swapkit/tokens\";\n\
|
|
5
|
+
"import { SwapKit, type SwapKitParams } from \"@swapkit/core\";\nimport { ChainflipPlugin } from \"@swapkit/plugin-chainflip\";\nimport { EVMPlugin } from \"@swapkit/plugin-evm\";\nimport { KadoPlugin } from \"@swapkit/plugin-kado\";\nimport { RadixPlugin } from \"@swapkit/plugin-radix\";\nimport { MayachainPlugin, ThorchainPlugin } from \"@swapkit/plugin-thorchain\";\nimport { wallets as defaultWallets } from \"@swapkit/wallets\";\n\nexport * from \"@swapkit/core\";\nexport * from \"@swapkit/tokens\";\n\nexport const defaultPlugins = {\n ...ChainflipPlugin,\n ...EVMPlugin,\n ...KadoPlugin,\n ...MayachainPlugin,\n ...ThorchainPlugin,\n ...RadixPlugin,\n};\n\nexport const createSwapKit = <P extends typeof defaultPlugins, W extends typeof defaultWallets>({\n plugins,\n wallets,\n ...extendParams\n}: SwapKitParams<P, W> = {}) => {\n return SwapKit({\n ...extendParams,\n wallets: wallets || defaultWallets,\n plugins: plugins || defaultPlugins,\n });\n};\n\nexport { SwapKitApi } from \"@swapkit/api\";\n"
|
|
6
6
|
],
|
|
7
|
-
"mappings": "AAAA,kBAAS,sBACT,0BAAS,kCACT,oBAAS,4BACT,qBAAS,6BACT,sBAAS,8BACT,0BAAS,qBAAiB,kCAC1B,kBAAS,yBAET,2BACA,6BAuBA,qBAAS,
|
|
8
|
-
"debugId": "
|
|
7
|
+
"mappings": "AAAA,kBAAS,sBACT,0BAAS,kCACT,oBAAS,4BACT,qBAAS,6BACT,sBAAS,8BACT,0BAAS,qBAAiB,kCAC1B,kBAAS,yBAET,2BACA,6BAuBA,qBAAS,qBArBF,IAAM,EAAiB,IACzB,KACA,KACA,KACA,KACA,KACA,CACL,EAEa,EAAgB,EAC3B,UACA,aACG,GACoB,CAAC,IAAM,CAC9B,OAAO,EAAQ,IACV,EACH,QAAS,GAAW,EACpB,QAAS,GAAW,CACtB,CAAC",
|
|
8
|
+
"debugId": "5CD963166F2FD9A064756E2164756E21",
|
|
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.0
|
|
5
|
-
"@swapkit/core": "3.2.
|
|
6
|
-
"@swapkit/plugin-chainflip": "1.
|
|
7
|
-
"@swapkit/plugin-evm": "1.3.
|
|
8
|
-
"@swapkit/plugin-kado": "0.2.
|
|
9
|
-
"@swapkit/plugin-radix": "1.3.
|
|
10
|
-
"@swapkit/plugin-thorchain": "2.2.
|
|
4
|
+
"@swapkit/api": "2.1.0",
|
|
5
|
+
"@swapkit/core": "3.2.3",
|
|
6
|
+
"@swapkit/plugin-chainflip": "1.5.0",
|
|
7
|
+
"@swapkit/plugin-evm": "1.3.8",
|
|
8
|
+
"@swapkit/plugin-kado": "0.2.2",
|
|
9
|
+
"@swapkit/plugin-radix": "1.3.4",
|
|
10
|
+
"@swapkit/plugin-thorchain": "2.2.2",
|
|
11
11
|
"@swapkit/tokens": "1.11.0",
|
|
12
|
-
"@swapkit/wallets": "2.0.
|
|
12
|
+
"@swapkit/wallets": "2.0.4"
|
|
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.
|
|
35
|
+
"version": "2.2.0"
|
|
36
36
|
}
|
package/src/index.ts
CHANGED