@tcswap/server 4.0.59
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 +4 -0
- package/dist/index.cjs.map +10 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +10 -0
- package/dist/types/helpers.d.ts +4 -0
- package/dist/types/helpers.d.ts.map +1 -0
- package/dist/types/index.d.ts +13 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/keystore.d.ts +2 -0
- package/dist/types/keystore.d.ts.map +1 -0
- package/dist/types/tokens.d.ts +2 -0
- package/dist/types/tokens.d.ts.map +1 -0
- package/dist/types/toolboxes.d.ts +12 -0
- package/dist/types/toolboxes.d.ts.map +1 -0
- package/package.json +34 -0
- package/src/helpers.ts +3 -0
- package/src/index.ts +12 -0
- package/src/keystore.ts +1 -0
- package/src/tokens.ts +1 -0
- package/src/toolboxes.ts +11 -0
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var{defineProperty:t,getOwnPropertyNames:x,getOwnPropertyDescriptor:c}=Object,a=Object.prototype.hasOwnProperty,r=(m,f,p)=>{for(let e of x(f))if(!a.call(m,e)&&e!=="default")t(m,e,{get:()=>f[e],enumerable:!0});if(p){for(let e of x(f))if(!a.call(p,e)&&e!=="default")t(p,e,{get:()=>f[e],enumerable:!0});return p}};var b=new WeakMap,d=(m)=>{var f=b.get(m),p;if(f)return f;if(f=t({},"__esModule",{value:!0}),m&&typeof m==="object"||typeof m==="function")x(m).map((e)=>!a.call(f,e)&&t(f,e,{get:()=>m[e],enumerable:!(p=c(m,e))||p.enumerable}));return b.set(m,f),f};var o={};module.exports=d(o);r(o,require("@tcswap/helpers"),module.exports);r(o,require("@tcswap/helpers/api"),module.exports);r(o,require("@tcswap/helpers/contracts"),module.exports);r(o,require("@tcswap/tokens"),module.exports);r(o,require("@tcswap/toolboxes"),module.exports);r(o,require("@tcswap/toolboxes/cosmos"),module.exports);r(o,require("@tcswap/toolboxes/evm"),module.exports);r(o,require("@tcswap/toolboxes/radix"),module.exports);r(o,require("@tcswap/toolboxes/solana"),module.exports);r(o,require("@tcswap/toolboxes/substrate"),module.exports);r(o,require("@tcswap/toolboxes/utxo"),module.exports);r(o,require("@tcswap/wallet-keystore"),module.exports);
|
|
2
|
+
|
|
3
|
+
//# debugId=681F35A2C80181E164756E2164756E21
|
|
4
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/index.ts"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"export * from \"@tcswap/helpers\";\nexport * from \"@tcswap/helpers/api\";\nexport * from \"@tcswap/helpers/contracts\";\nexport * from \"@tcswap/tokens\";\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/wallet-keystore\";\n"
|
|
6
|
+
],
|
|
7
|
+
"mappings": "2kBAAA,+CACA,mDACA,yDACA,8CACA,iDACA,wDACA,qDACA,uDACA,wDACA,2DACA,sDACA",
|
|
8
|
+
"debugId": "681F35A2C80181E164756E2164756E21",
|
|
9
|
+
"names": []
|
|
10
|
+
}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export*from"@tcswap/helpers";export*from"@tcswap/helpers/api";export*from"@tcswap/helpers/contracts";export*from"@tcswap/tokens";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/wallet-keystore";
|
|
2
|
+
|
|
3
|
+
//# debugId=3B8B97447D1BB44364756E2164756E21
|
|
4
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/index.ts"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"export * from \"@tcswap/helpers\";\nexport * from \"@tcswap/helpers/api\";\nexport * from \"@tcswap/helpers/contracts\";\nexport * from \"@tcswap/tokens\";\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/wallet-keystore\";\n"
|
|
6
|
+
],
|
|
7
|
+
"mappings": "AAAA,6BACA,iCACA,uCACA,4BACA,+BACA,sCACA,mCACA,qCACA,sCACA,yCACA,oCACA",
|
|
8
|
+
"debugId": "3B8B97447D1BB44364756E2164756E21",
|
|
9
|
+
"names": []
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/helpers.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "@tcswap/helpers";
|
|
2
|
+
export * from "@tcswap/helpers/api";
|
|
3
|
+
export * from "@tcswap/helpers/contracts";
|
|
4
|
+
export * from "@tcswap/tokens";
|
|
5
|
+
export * from "@tcswap/toolboxes";
|
|
6
|
+
export * from "@tcswap/toolboxes/cosmos";
|
|
7
|
+
export * from "@tcswap/toolboxes/evm";
|
|
8
|
+
export * from "@tcswap/toolboxes/radix";
|
|
9
|
+
export * from "@tcswap/toolboxes/solana";
|
|
10
|
+
export * from "@tcswap/toolboxes/substrate";
|
|
11
|
+
export * from "@tcswap/toolboxes/utxo";
|
|
12
|
+
export * from "@tcswap/wallet-keystore";
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keystore.d.ts","sourceRoot":"","sources":["../../src/keystore.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../src/tokens.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from "@tcswap/toolboxes";
|
|
2
|
+
export * from "@tcswap/toolboxes/cosmos";
|
|
3
|
+
export * from "@tcswap/toolboxes/evm";
|
|
4
|
+
export * from "@tcswap/toolboxes/near";
|
|
5
|
+
export * from "@tcswap/toolboxes/radix";
|
|
6
|
+
export * from "@tcswap/toolboxes/ripple";
|
|
7
|
+
export * from "@tcswap/toolboxes/solana";
|
|
8
|
+
export * from "@tcswap/toolboxes/substrate";
|
|
9
|
+
export * from "@tcswap/toolboxes/ton";
|
|
10
|
+
export * from "@tcswap/toolboxes/tron";
|
|
11
|
+
export * from "@tcswap/toolboxes/utxo";
|
|
12
|
+
//# sourceMappingURL=toolboxes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolboxes.d.ts","sourceRoot":"","sources":["../../src/toolboxes.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"author": "swapkit-oss",
|
|
3
|
+
"dependencies": {
|
|
4
|
+
"@tcswap/helpers": "4.5.15",
|
|
5
|
+
"@tcswap/tokens": "4.1.5",
|
|
6
|
+
"@tcswap/toolboxes": "4.3.15",
|
|
7
|
+
"@tcswap/wallet-keystore": "4.1.15"
|
|
8
|
+
},
|
|
9
|
+
"description": "USwap - Server SDK",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"bun": "./src/index.ts",
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"require": "./dist/index.cjs",
|
|
15
|
+
"types": "./dist/types/index.d.ts"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"files": ["dist/", "src/"],
|
|
19
|
+
"homepage": "https://github.com/thorchain/TCSwap",
|
|
20
|
+
"license": "Apache-2.0",
|
|
21
|
+
"name": "@tcswap/server",
|
|
22
|
+
"repository": { "directory": "packages/server", "type": "git", "url": "git+https://github.com/thorchain/TCSwap.git" },
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "bun run ./build.ts",
|
|
25
|
+
"build:clean": "rm -rf dist && bun run ./build.ts",
|
|
26
|
+
"clean": "rm -rf dist node_modules *.tsbuildinfo",
|
|
27
|
+
"test": "echo 'bun test'",
|
|
28
|
+
"test:ci": "echo 'bun test --coverage'",
|
|
29
|
+
"type-check": "bun tsc --noEmit",
|
|
30
|
+
"type-check:go": "tsgo"
|
|
31
|
+
},
|
|
32
|
+
"type": "module",
|
|
33
|
+
"version": "4.0.59"
|
|
34
|
+
}
|
package/src/helpers.ts
ADDED
package/src/index.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from "@tcswap/helpers";
|
|
2
|
+
export * from "@tcswap/helpers/api";
|
|
3
|
+
export * from "@tcswap/helpers/contracts";
|
|
4
|
+
export * from "@tcswap/tokens";
|
|
5
|
+
export * from "@tcswap/toolboxes";
|
|
6
|
+
export * from "@tcswap/toolboxes/cosmos";
|
|
7
|
+
export * from "@tcswap/toolboxes/evm";
|
|
8
|
+
export * from "@tcswap/toolboxes/radix";
|
|
9
|
+
export * from "@tcswap/toolboxes/solana";
|
|
10
|
+
export * from "@tcswap/toolboxes/substrate";
|
|
11
|
+
export * from "@tcswap/toolboxes/utxo";
|
|
12
|
+
export * from "@tcswap/wallet-keystore";
|
package/src/keystore.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@tcswap/wallet-keystore";
|
package/src/tokens.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@tcswap/tokens";
|
package/src/toolboxes.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "@tcswap/toolboxes";
|
|
2
|
+
export * from "@tcswap/toolboxes/cosmos";
|
|
3
|
+
export * from "@tcswap/toolboxes/evm";
|
|
4
|
+
export * from "@tcswap/toolboxes/near";
|
|
5
|
+
export * from "@tcswap/toolboxes/radix";
|
|
6
|
+
export * from "@tcswap/toolboxes/ripple";
|
|
7
|
+
export * from "@tcswap/toolboxes/solana";
|
|
8
|
+
export * from "@tcswap/toolboxes/substrate";
|
|
9
|
+
export * from "@tcswap/toolboxes/ton";
|
|
10
|
+
export * from "@tcswap/toolboxes/tron";
|
|
11
|
+
export * from "@tcswap/toolboxes/utxo";
|