@tcswap/sdk 4.2.16

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.
@@ -0,0 +1,4 @@
1
+ var{defineProperty:e,getOwnPropertyNames:f,getOwnPropertyDescriptor:i}=Object,g=Object.prototype.hasOwnProperty,j=(c,a,d)=>{for(let b of f(a))if(!g.call(c,b)&&b!=="default")e(c,b,{get:()=>a[b],enumerable:!0});if(d){for(let b of f(a))if(!g.call(d,b)&&b!=="default")e(d,b,{get:()=>a[b],enumerable:!0});return d}};var h=new WeakMap,k=(c)=>{var a=h.get(c),d;if(a)return a;if(a=e({},"__esModule",{value:!0}),c&&typeof c==="object"||typeof c==="function")f(c).map((b)=>!g.call(a,b)&&e(a,b,{get:()=>c[b],enumerable:!(d=i(c,b))||d.enumerable}));return h.set(c,a),a};var l=(c,a)=>{for(var d in a)e(c,d,{get:a[d],enumerable:!0,configurable:!0,set:(b)=>a[d]=()=>b})};
2
+
3
+ //# debugId=F5092547B293B50764756E2164756E21
4
+ //# sourceMappingURL=chunk-84ny82sx.js.map
@@ -0,0 +1,9 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [
5
+ ],
6
+ "mappings": "",
7
+ "debugId": "F5092547B293B50764756E2164756E21",
8
+ "names": []
9
+ }
package/dist/core.cjs ADDED
@@ -0,0 +1,4 @@
1
+ var o={};module.exports=e(o);r(o,require("@tcswap/core"),module.exports);
2
+
3
+ //# debugId=968F3BDEAD33476C64756E2164756E21
4
+ //# sourceMappingURL=core.cjs.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/core.ts"],
4
+ "sourcesContent": [
5
+ "export * from \"@tcswap/core\";\n"
6
+ ],
7
+ "mappings": "6BAAA",
8
+ "debugId": "968F3BDEAD33476C64756E2164756E21",
9
+ "names": []
10
+ }
package/dist/core.js ADDED
@@ -0,0 +1,4 @@
1
+ export*from"@tcswap/core";
2
+
3
+ //# debugId=A78CE58CE7EC992464756E2164756E21
4
+ //# sourceMappingURL=core.js.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/core.ts"],
4
+ "sourcesContent": [
5
+ "export * from \"@tcswap/core\";\n"
6
+ ],
7
+ "mappings": "AAAA",
8
+ "debugId": "A78CE58CE7EC992464756E2164756E21",
9
+ "names": []
10
+ }
package/dist/index.cjs ADDED
@@ -0,0 +1,4 @@
1
+ var q={};r(q,{xamanWallet:()=>V.xamanWallet,walletconnectWallet:()=>U.walletconnectWallet,walletSelectorWallet:()=>Z.walletSelectorWallet,vultisigWallet:()=>T.vultisigWallet,tronlinkWallet:()=>R.tronlinkWallet,trezorWallet:()=>N.trezorWallet,talismanWallet:()=>G.talismanWallet,radixWallet:()=>E.radixWallet,polkadotWallet:()=>C.polkadotWallet,phantomWallet:()=>j.phantomWallet,passkeysWallet:()=>D.passkeysWallet,onekeyWallet:()=>$.onekeyWallet,okxWallet:()=>_.okxWallet,ledgerWallet:()=>Y.ledgerWallet,keystoreWallet:()=>X.keystoreWallet,keplrWallet:()=>Q.keplrWallet,keepkeyWallet:()=>L.keepkeyWallet,keepkeyBexWallet:()=>O.keepkeyBexWallet,exodusWallet:()=>b,evmWallet:()=>K.evmWallet,defaultWallets:()=>y,defaultPlugins:()=>h,ctrlWallet:()=>J.ctrlWallet,createUSwap:()=>W,coinbaseWallet:()=>I.coinbaseWallet,bitgetWallet:()=>H.bitgetWallet});module.exports=g(q);var B=require("@tcswap/core"),M=require("@tcswap/plugins/chainflip"),z=require("@tcswap/plugins/evm"),S=require("@tcswap/plugins/garden"),f=require("@tcswap/plugins/near"),v=require("@tcswap/plugins/radix"),P=require("@tcswap/plugins/solana"),F=require("@tcswap/plugins/thorchain"),H=require("@tcswap/wallets/bitget"),I=require("@tcswap/wallets/coinbase"),J=require("@tcswap/wallets/ctrl"),K=require("@tcswap/wallets/evm-extensions"),L=require("@tcswap/wallets/keepkey"),O=require("@tcswap/wallets/keepkey-bex"),Q=require("@tcswap/wallets/keplr"),X=require("@tcswap/wallets/keystore"),Y=require("@tcswap/wallets/ledger"),Z=require("@tcswap/wallets/near-wallet-selector"),_=require("@tcswap/wallets/okx"),$=require("@tcswap/wallets/onekey"),D=require("@tcswap/wallets/passkeys"),j=require("@tcswap/wallets/phantom"),C=require("@tcswap/wallets/polkadotjs"),E=require("@tcswap/wallets/radix"),G=require("@tcswap/wallets/talisman"),N=require("@tcswap/wallets/trezor"),R=require("@tcswap/wallets/tronlink"),T=require("@tcswap/wallets/vultisig"),U=require("@tcswap/wallets/walletconnect"),V=require("@tcswap/wallets/xaman");A(q,require("@tcswap/core"),module.exports);A(q,require("@tcswap/helpers"),module.exports);A(q,require("@tcswap/helpers/api"),module.exports);A(q,require("@tcswap/plugins"),module.exports);A(q,require("@tcswap/plugins/chainflip"),module.exports);A(q,require("@tcswap/plugins/evm"),module.exports);A(q,require("@tcswap/plugins/near"),module.exports);A(q,require("@tcswap/plugins/radix"),module.exports);A(q,require("@tcswap/plugins/solana"),module.exports);A(q,require("@tcswap/plugins/thorchain"),module.exports);A(q,require("@tcswap/toolboxes"),module.exports);A(q,require("@tcswap/toolboxes/cosmos"),module.exports);A(q,require("@tcswap/toolboxes/evm"),module.exports);A(q,require("@tcswap/toolboxes/radix"),module.exports);A(q,require("@tcswap/toolboxes/solana"),module.exports);A(q,require("@tcswap/toolboxes/substrate"),module.exports);A(q,require("@tcswap/toolboxes/utxo"),module.exports);A(q,require("@tcswap/wallets"),module.exports);var b={...D.passkeysWallet,connectExodusWallet:D.passkeysWallet.connectPasskeys};var h={...M.ChainflipPlugin,...z.EVMPlugin,...F.MayachainPlugin,...F.ThorchainPlugin,...v.RadixPlugin,...P.SolanaPlugin,...f.NearPlugin,...S.GardenPlugin},y={...H.bitgetWallet,...I.coinbaseWallet,...J.ctrlWallet,...K.evmWallet,...b,...O.keepkeyBexWallet,...L.keepkeyWallet,...Q.keplrWallet,...X.keystoreWallet,...Y.ledgerWallet,..._.okxWallet,...$.onekeyWallet,...j.phantomWallet,...C.polkadotWallet,...D.passkeysWallet,...E.radixWallet,...G.talismanWallet,...N.trezorWallet,...R.tronlinkWallet,...T.vultisigWallet,...Z.walletSelectorWallet,...U.walletconnectWallet,...V.xamanWallet};function W({config:m,plugins:d,wallets:x}={}){let u={...h,...d},k={...y,...x};return B.USwap({config:m,plugins:u,wallets:k})}
2
+
3
+ //# debugId=53E8B56161410EFC64756E2164756E21
4
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/index.ts"],
4
+ "sourcesContent": [
5
+ "/**\n * Modifications © 2025 Horizontal Systems.\n */\n\n// This should be cleared from unnecessary imports and migrate to:\n// - `sdk/toolboxes`\n// - `sdk/plugins`\n// - `sdk/wallets`\nimport { USwap, type USwapConfigState } from \"@tcswap/core\";\nimport type { createPlugin } from \"@tcswap/plugins\";\nimport { ChainflipPlugin } from \"@tcswap/plugins/chainflip\";\nimport { EVMPlugin } from \"@tcswap/plugins/evm\";\nimport { GardenPlugin } from \"@tcswap/plugins/garden\";\nimport { NearPlugin } from \"@tcswap/plugins/near\";\nimport { RadixPlugin } from \"@tcswap/plugins/radix\";\nimport { SolanaPlugin } from \"@tcswap/plugins/solana\";\nimport { MayachainPlugin, ThorchainPlugin } from \"@tcswap/plugins/thorchain\";\nimport type { createWallet } from \"@tcswap/wallets\";\n\nimport { bitgetWallet } from \"@tcswap/wallets/bitget\";\nimport { coinbaseWallet } from \"@tcswap/wallets/coinbase\";\nimport { ctrlWallet } from \"@tcswap/wallets/ctrl\";\nimport { evmWallet } from \"@tcswap/wallets/evm-extensions\";\nimport { keepkeyWallet } from \"@tcswap/wallets/keepkey\";\nimport { keepkeyBexWallet } from \"@tcswap/wallets/keepkey-bex\";\nimport { keplrWallet } from \"@tcswap/wallets/keplr\";\nimport { keystoreWallet } from \"@tcswap/wallets/keystore\";\nimport { ledgerWallet } from \"@tcswap/wallets/ledger\";\nimport { walletSelectorWallet } from \"@tcswap/wallets/near-wallet-selector\";\nimport { okxWallet } from \"@tcswap/wallets/okx\";\nimport { onekeyWallet } from \"@tcswap/wallets/onekey\";\nimport { passkeysWallet } from \"@tcswap/wallets/passkeys\";\nimport { phantomWallet } from \"@tcswap/wallets/phantom\";\nimport { polkadotWallet } from \"@tcswap/wallets/polkadotjs\";\nimport { radixWallet } from \"@tcswap/wallets/radix\";\nimport { talismanWallet } from \"@tcswap/wallets/talisman\";\nimport { trezorWallet } from \"@tcswap/wallets/trezor\";\nimport { tronlinkWallet } from \"@tcswap/wallets/tronlink\";\nimport { vultisigWallet } from \"@tcswap/wallets/vultisig\";\nimport { walletconnectWallet } from \"@tcswap/wallets/walletconnect\";\nimport { xamanWallet } from \"@tcswap/wallets/xaman\";\n\nexport * from \"@tcswap/core\";\nexport * from \"@tcswap/helpers\";\nexport * from \"@tcswap/helpers/api\";\nexport * from \"@tcswap/plugins\";\nexport * from \"@tcswap/plugins/chainflip\";\nexport * from \"@tcswap/plugins/evm\";\nexport * from \"@tcswap/plugins/near\";\nexport * from \"@tcswap/plugins/radix\";\nexport * from \"@tcswap/plugins/solana\";\nexport * from \"@tcswap/plugins/thorchain\";\nexport * from \"@tcswap/toolboxes\";\nexport * from \"@tcswap/toolboxes/cosmos\";\nexport * from \"@tcswap/toolboxes/evm\";\nexport * from \"@tcswap/toolboxes/radix\";\nexport * from \"@tcswap/toolboxes/solana\";\nexport * from \"@tcswap/toolboxes/substrate\";\nexport * from \"@tcswap/toolboxes/utxo\";\nexport * from \"@tcswap/wallets\";\n\nconst exodusWallet = { ...passkeysWallet, connectExodusWallet: passkeysWallet.connectPasskeys };\n\nexport {\n bitgetWallet,\n coinbaseWallet,\n ctrlWallet,\n evmWallet,\n exodusWallet,\n keepkeyBexWallet,\n keepkeyWallet,\n keplrWallet,\n keystoreWallet,\n ledgerWallet,\n okxWallet,\n onekeyWallet,\n passkeysWallet,\n phantomWallet,\n polkadotWallet,\n radixWallet,\n talismanWallet,\n trezorWallet,\n tronlinkWallet,\n vultisigWallet,\n walletSelectorWallet,\n walletconnectWallet,\n xamanWallet,\n};\n\nexport const defaultPlugins = {\n ...ChainflipPlugin,\n ...EVMPlugin,\n ...MayachainPlugin,\n ...ThorchainPlugin,\n ...RadixPlugin,\n ...SolanaPlugin,\n ...NearPlugin,\n ...GardenPlugin,\n};\n\nexport const defaultWallets = {\n ...bitgetWallet,\n ...coinbaseWallet,\n ...ctrlWallet,\n ...evmWallet,\n ...exodusWallet,\n ...keepkeyBexWallet,\n ...keepkeyWallet,\n ...keplrWallet,\n ...keystoreWallet,\n ...ledgerWallet,\n ...okxWallet,\n ...onekeyWallet,\n ...phantomWallet,\n ...polkadotWallet,\n ...passkeysWallet,\n ...radixWallet,\n ...talismanWallet,\n ...trezorWallet,\n ...tronlinkWallet,\n ...vultisigWallet,\n ...walletSelectorWallet,\n ...walletconnectWallet,\n ...xamanWallet,\n} as ReturnType<typeof createWallet>;\n\nexport function createUSwap<\n Plugins extends ReturnType<typeof createPlugin>,\n Wallets extends ReturnType<typeof createWallet>,\n>({ config, plugins, wallets }: { config?: USwapConfigState; plugins?: Plugins; wallets?: Wallets } = {}) {\n const mergedPlugins = { ...defaultPlugins, ...plugins };\n const mergedWallets = { ...defaultWallets, ...wallets };\n\n return USwap({ config: config, plugins: mergedPlugins, wallets: mergedWallets });\n}\n"
6
+ ],
7
+ "mappings": "m2BAQ6C,IAA7C,0BAEA,uCACA,iCACA,oCACA,kCACA,mCACA,oCACA,uCAGA,oCACA,sCACA,kCACA,4CACA,qCACA,yCACA,mCACA,sCACA,oCACA,kDACA,iCACA,oCACA,sCACA,qCACA,wCACA,mCACA,sCACA,oCACA,sCACA,sCACA,2CACA,mCAEA,4CACA,+CACA,mDACA,+CACA,yDACA,mDACA,oDACA,qDACA,sDACA,yDACA,iDACA,wDACA,qDACA,uDACA,wDACA,2DACA,sDACA,+CAEA,IAAM,EAAe,IAAK,iBAAgB,oBAAqB,iBAAe,eAAgB,EA4BvF,IAAM,EAAiB,IACzB,qBACA,eACA,qBACA,qBACA,iBACA,kBACA,gBACA,cACL,EAEa,EAAiB,IACzB,kBACA,oBACA,gBACA,eACA,KACA,sBACA,mBACA,iBACA,oBACA,kBACA,eACA,kBACA,mBACA,oBACA,oBACA,iBACA,oBACA,kBACA,oBACA,oBACA,0BACA,yBACA,aACL,EAEO,SAAS,CAGf,EAAG,SAAQ,UAAS,WAAiF,CAAC,EAAG,CACxG,IAAM,EAAgB,IAAK,KAAmB,CAAQ,EAChD,EAAgB,IAAK,KAAmB,CAAQ,EAEtD,OAAO,QAAM,CAAE,OAAQ,EAAQ,QAAS,EAAe,QAAS,CAAc,CAAC",
8
+ "debugId": "53E8B56161410EFC64756E2164756E21",
9
+ "names": []
10
+ }
package/dist/index.js ADDED
@@ -0,0 +1,4 @@
1
+ import{USwap as J}from"@tcswap/core";import{ChainflipPlugin as K}from"@tcswap/plugins/chainflip";import{EVMPlugin as L}from"@tcswap/plugins/evm";import{GardenPlugin as O}from"@tcswap/plugins/garden";import{NearPlugin as Q}from"@tcswap/plugins/near";import{RadixPlugin as X}from"@tcswap/plugins/radix";import{SolanaPlugin as Y}from"@tcswap/plugins/solana";import{MayachainPlugin as Z,ThorchainPlugin as _}from"@tcswap/plugins/thorchain";import{bitgetWallet as $}from"@tcswap/wallets/bitget";import{coinbaseWallet as j}from"@tcswap/wallets/coinbase";import{ctrlWallet as C}from"@tcswap/wallets/ctrl";import{evmWallet as E}from"@tcswap/wallets/evm-extensions";import{keepkeyWallet as G}from"@tcswap/wallets/keepkey";import{keepkeyBexWallet as N}from"@tcswap/wallets/keepkey-bex";import{keplrWallet as R}from"@tcswap/wallets/keplr";import{keystoreWallet as T}from"@tcswap/wallets/keystore";import{ledgerWallet as U}from"@tcswap/wallets/ledger";import{walletSelectorWallet as V}from"@tcswap/wallets/near-wallet-selector";import{okxWallet as B}from"@tcswap/wallets/okx";import{onekeyWallet as M}from"@tcswap/wallets/onekey";import{passkeysWallet as q}from"@tcswap/wallets/passkeys";import{phantomWallet as z}from"@tcswap/wallets/phantom";import{polkadotWallet as S}from"@tcswap/wallets/polkadotjs";import{radixWallet as f}from"@tcswap/wallets/radix";import{talismanWallet as v}from"@tcswap/wallets/talisman";import{trezorWallet as P}from"@tcswap/wallets/trezor";import{tronlinkWallet as b}from"@tcswap/wallets/tronlink";import{vultisigWallet as h}from"@tcswap/wallets/vultisig";import{walletconnectWallet as y}from"@tcswap/wallets/walletconnect";import{xamanWallet as m}from"@tcswap/wallets/xaman";export*from"@tcswap/core";export*from"@tcswap/helpers";export*from"@tcswap/helpers/api";export*from"@tcswap/plugins";export*from"@tcswap/plugins/chainflip";export*from"@tcswap/plugins/evm";export*from"@tcswap/plugins/near";export*from"@tcswap/plugins/radix";export*from"@tcswap/plugins/solana";export*from"@tcswap/plugins/thorchain";export*from"@tcswap/toolboxes";export*from"@tcswap/toolboxes/cosmos";export*from"@tcswap/toolboxes/evm";export*from"@tcswap/toolboxes/radix";export*from"@tcswap/toolboxes/solana";export*from"@tcswap/toolboxes/substrate";export*from"@tcswap/toolboxes/utxo";export*from"@tcswap/wallets";var d={...q,connectExodusWallet:q.connectPasskeys};var x={...K,...L,...Z,..._,...X,...Y,...Q,...O},u={...$,...j,...C,...E,...d,...N,...G,...R,...T,...U,...B,...M,...z,...S,...q,...f,...v,...P,...b,...h,...V,...y,...m};function $q({config:A,plugins:D,wallets:F}={}){let H={...x,...D},I={...u,...F};return J({config:A,plugins:H,wallets:I})}export{m as xamanWallet,y as walletconnectWallet,V as walletSelectorWallet,h as vultisigWallet,b as tronlinkWallet,P as trezorWallet,v as talismanWallet,f as radixWallet,S as polkadotWallet,z as phantomWallet,q as passkeysWallet,M as onekeyWallet,B as okxWallet,U as ledgerWallet,T as keystoreWallet,R as keplrWallet,G as keepkeyWallet,N as keepkeyBexWallet,d as exodusWallet,E as evmWallet,u as defaultWallets,x as defaultPlugins,C as ctrlWallet,$q as createUSwap,j as coinbaseWallet,$ as bitgetWallet};
2
+
3
+ //# debugId=A631ECB42169F84764756E2164756E21
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/index.ts"],
4
+ "sourcesContent": [
5
+ "/**\n * Modifications © 2025 Horizontal Systems.\n */\n\n// This should be cleared from unnecessary imports and migrate to:\n// - `sdk/toolboxes`\n// - `sdk/plugins`\n// - `sdk/wallets`\nimport { USwap, type USwapConfigState } from \"@tcswap/core\";\nimport type { createPlugin } from \"@tcswap/plugins\";\nimport { ChainflipPlugin } from \"@tcswap/plugins/chainflip\";\nimport { EVMPlugin } from \"@tcswap/plugins/evm\";\nimport { GardenPlugin } from \"@tcswap/plugins/garden\";\nimport { NearPlugin } from \"@tcswap/plugins/near\";\nimport { RadixPlugin } from \"@tcswap/plugins/radix\";\nimport { SolanaPlugin } from \"@tcswap/plugins/solana\";\nimport { MayachainPlugin, ThorchainPlugin } from \"@tcswap/plugins/thorchain\";\nimport type { createWallet } from \"@tcswap/wallets\";\n\nimport { bitgetWallet } from \"@tcswap/wallets/bitget\";\nimport { coinbaseWallet } from \"@tcswap/wallets/coinbase\";\nimport { ctrlWallet } from \"@tcswap/wallets/ctrl\";\nimport { evmWallet } from \"@tcswap/wallets/evm-extensions\";\nimport { keepkeyWallet } from \"@tcswap/wallets/keepkey\";\nimport { keepkeyBexWallet } from \"@tcswap/wallets/keepkey-bex\";\nimport { keplrWallet } from \"@tcswap/wallets/keplr\";\nimport { keystoreWallet } from \"@tcswap/wallets/keystore\";\nimport { ledgerWallet } from \"@tcswap/wallets/ledger\";\nimport { walletSelectorWallet } from \"@tcswap/wallets/near-wallet-selector\";\nimport { okxWallet } from \"@tcswap/wallets/okx\";\nimport { onekeyWallet } from \"@tcswap/wallets/onekey\";\nimport { passkeysWallet } from \"@tcswap/wallets/passkeys\";\nimport { phantomWallet } from \"@tcswap/wallets/phantom\";\nimport { polkadotWallet } from \"@tcswap/wallets/polkadotjs\";\nimport { radixWallet } from \"@tcswap/wallets/radix\";\nimport { talismanWallet } from \"@tcswap/wallets/talisman\";\nimport { trezorWallet } from \"@tcswap/wallets/trezor\";\nimport { tronlinkWallet } from \"@tcswap/wallets/tronlink\";\nimport { vultisigWallet } from \"@tcswap/wallets/vultisig\";\nimport { walletconnectWallet } from \"@tcswap/wallets/walletconnect\";\nimport { xamanWallet } from \"@tcswap/wallets/xaman\";\n\nexport * from \"@tcswap/core\";\nexport * from \"@tcswap/helpers\";\nexport * from \"@tcswap/helpers/api\";\nexport * from \"@tcswap/plugins\";\nexport * from \"@tcswap/plugins/chainflip\";\nexport * from \"@tcswap/plugins/evm\";\nexport * from \"@tcswap/plugins/near\";\nexport * from \"@tcswap/plugins/radix\";\nexport * from \"@tcswap/plugins/solana\";\nexport * from \"@tcswap/plugins/thorchain\";\nexport * from \"@tcswap/toolboxes\";\nexport * from \"@tcswap/toolboxes/cosmos\";\nexport * from \"@tcswap/toolboxes/evm\";\nexport * from \"@tcswap/toolboxes/radix\";\nexport * from \"@tcswap/toolboxes/solana\";\nexport * from \"@tcswap/toolboxes/substrate\";\nexport * from \"@tcswap/toolboxes/utxo\";\nexport * from \"@tcswap/wallets\";\n\nconst exodusWallet = { ...passkeysWallet, connectExodusWallet: passkeysWallet.connectPasskeys };\n\nexport {\n bitgetWallet,\n coinbaseWallet,\n ctrlWallet,\n evmWallet,\n exodusWallet,\n keepkeyBexWallet,\n keepkeyWallet,\n keplrWallet,\n keystoreWallet,\n ledgerWallet,\n okxWallet,\n onekeyWallet,\n passkeysWallet,\n phantomWallet,\n polkadotWallet,\n radixWallet,\n talismanWallet,\n trezorWallet,\n tronlinkWallet,\n vultisigWallet,\n walletSelectorWallet,\n walletconnectWallet,\n xamanWallet,\n};\n\nexport const defaultPlugins = {\n ...ChainflipPlugin,\n ...EVMPlugin,\n ...MayachainPlugin,\n ...ThorchainPlugin,\n ...RadixPlugin,\n ...SolanaPlugin,\n ...NearPlugin,\n ...GardenPlugin,\n};\n\nexport const defaultWallets = {\n ...bitgetWallet,\n ...coinbaseWallet,\n ...ctrlWallet,\n ...evmWallet,\n ...exodusWallet,\n ...keepkeyBexWallet,\n ...keepkeyWallet,\n ...keplrWallet,\n ...keystoreWallet,\n ...ledgerWallet,\n ...okxWallet,\n ...onekeyWallet,\n ...phantomWallet,\n ...polkadotWallet,\n ...passkeysWallet,\n ...radixWallet,\n ...talismanWallet,\n ...trezorWallet,\n ...tronlinkWallet,\n ...vultisigWallet,\n ...walletSelectorWallet,\n ...walletconnectWallet,\n ...xamanWallet,\n} as ReturnType<typeof createWallet>;\n\nexport function createUSwap<\n Plugins extends ReturnType<typeof createPlugin>,\n Wallets extends ReturnType<typeof createWallet>,\n>({ config, plugins, wallets }: { config?: USwapConfigState; plugins?: Plugins; wallets?: Wallets } = {}) {\n const mergedPlugins = { ...defaultPlugins, ...plugins };\n const mergedWallets = { ...defaultWallets, ...wallets };\n\n return USwap({ config: config, plugins: mergedPlugins, wallets: mergedWallets });\n}\n"
6
+ ],
7
+ "mappings": "AAQA,gBAAS,qBAET,0BAAS,kCACT,oBAAS,4BACT,uBAAS,+BACT,qBAAS,6BACT,sBAAS,8BACT,uBAAS,+BACT,0BAAS,qBAAiB,kCAG1B,uBAAS,+BACT,yBAAS,iCACT,qBAAS,6BACT,oBAAS,uCACT,wBAAS,gCACT,2BAAS,oCACT,sBAAS,8BACT,yBAAS,iCACT,uBAAS,+BACT,+BAAS,6CACT,oBAAS,4BACT,uBAAS,+BACT,yBAAS,iCACT,wBAAS,gCACT,yBAAS,mCACT,sBAAS,8BACT,yBAAS,iCACT,uBAAS,+BACT,yBAAS,iCACT,yBAAS,iCACT,8BAAS,sCACT,sBAAS,8BAET,0BACA,6BACA,iCACA,6BACA,uCACA,iCACA,kCACA,mCACA,oCACA,uCACA,+BACA,sCACA,mCACA,qCACA,sCACA,yCACA,oCACA,6BAEA,IAAM,EAAe,IAAK,EAAgB,oBAAqB,EAAe,eAAgB,EA4BvF,IAAM,EAAiB,IACzB,KACA,KACA,KACA,KACA,KACA,KACA,KACA,CACL,EAEa,EAAiB,IACzB,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,CACL,EAEO,SAAS,EAGf,EAAG,SAAQ,UAAS,WAAiF,CAAC,EAAG,CACxG,IAAM,EAAgB,IAAK,KAAmB,CAAQ,EAChD,EAAgB,IAAK,KAAmB,CAAQ,EAEtD,OAAO,EAAM,CAAE,OAAQ,EAAQ,QAAS,EAAe,QAAS,CAAc,CAAC",
8
+ "debugId": "A631ECB42169F84764756E2164756E21",
9
+ "names": []
10
+ }
@@ -0,0 +1,4 @@
1
+ var o={};module.exports=e(o);r(o,require("@tcswap/plugins"),module.exports);r(o,require("@tcswap/plugins/chainflip"),module.exports);r(o,require("@tcswap/plugins/evm"),module.exports);r(o,require("@tcswap/plugins/near"),module.exports);r(o,require("@tcswap/plugins/radix"),module.exports);r(o,require("@tcswap/plugins/solana"),module.exports);r(o,require("@tcswap/plugins/thorchain"),module.exports);
2
+
3
+ //# debugId=E213C0682B0D1A5A64756E2164756E21
4
+ //# sourceMappingURL=plugins.cjs.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/plugins.ts"],
4
+ "sourcesContent": [
5
+ "export * from \"@tcswap/plugins\";\nexport * from \"@tcswap/plugins/chainflip\";\nexport * from \"@tcswap/plugins/evm\";\nexport * from \"@tcswap/plugins/near\";\nexport * from \"@tcswap/plugins/radix\";\nexport * from \"@tcswap/plugins/solana\";\nexport * from \"@tcswap/plugins/thorchain\";\n"
6
+ ],
7
+ "mappings": "6BAAA,+CACA,yDACA,mDACA,oDACA,qDACA,sDACA",
8
+ "debugId": "E213C0682B0D1A5A64756E2164756E21",
9
+ "names": []
10
+ }
@@ -0,0 +1,4 @@
1
+ export*from"@tcswap/plugins";export*from"@tcswap/plugins/chainflip";export*from"@tcswap/plugins/evm";export*from"@tcswap/plugins/near";export*from"@tcswap/plugins/radix";export*from"@tcswap/plugins/solana";export*from"@tcswap/plugins/thorchain";
2
+
3
+ //# debugId=C249AB77DDD8C71764756E2164756E21
4
+ //# sourceMappingURL=plugins.js.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/plugins.ts"],
4
+ "sourcesContent": [
5
+ "export * from \"@tcswap/plugins\";\nexport * from \"@tcswap/plugins/chainflip\";\nexport * from \"@tcswap/plugins/evm\";\nexport * from \"@tcswap/plugins/near\";\nexport * from \"@tcswap/plugins/radix\";\nexport * from \"@tcswap/plugins/solana\";\nexport * from \"@tcswap/plugins/thorchain\";\n"
6
+ ],
7
+ "mappings": "AAAA,6BACA,uCACA,iCACA,kCACA,mCACA,oCACA",
8
+ "debugId": "C249AB77DDD8C71764756E2164756E21",
9
+ "names": []
10
+ }
@@ -0,0 +1,4 @@
1
+ var o={};module.exports=e(o);r(o,require("@tcswap/server"),module.exports);
2
+
3
+ //# debugId=71F636760E9F965D64756E2164756E21
4
+ //# sourceMappingURL=server.cjs.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/server.ts"],
4
+ "sourcesContent": [
5
+ "export * from \"@tcswap/server\";\n"
6
+ ],
7
+ "mappings": "6BAAA",
8
+ "debugId": "71F636760E9F965D64756E2164756E21",
9
+ "names": []
10
+ }
package/dist/server.js ADDED
@@ -0,0 +1,4 @@
1
+ export*from"@tcswap/server";
2
+
3
+ //# debugId=D114C4DBFDADFEFB64756E2164756E21
4
+ //# sourceMappingURL=server.js.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/server.ts"],
4
+ "sourcesContent": [
5
+ "export * from \"@tcswap/server\";\n"
6
+ ],
7
+ "mappings": "AAAA",
8
+ "debugId": "D114C4DBFDADFEFB64756E2164756E21",
9
+ "names": []
10
+ }
@@ -0,0 +1,2 @@
1
+ export * from "@tcswap/core";
2
+ //# sourceMappingURL=core.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../src/core.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}