@reserve-protocol/sdk 0.0.1
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/README.md +106 -0
- package/dist/index.d.mts +131645 -0
- package/dist/index.mjs +26525 -0
- package/package.json +65 -0
package/package.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@reserve-protocol/sdk",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Core TypeScript SDK for DTF interface integrations.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"dtf",
|
|
7
|
+
"sdk",
|
|
8
|
+
"typescript"
|
|
9
|
+
],
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"files": [
|
|
12
|
+
"dist"
|
|
13
|
+
],
|
|
14
|
+
"type": "module",
|
|
15
|
+
"sideEffects": false,
|
|
16
|
+
"main": "./dist/index.mjs",
|
|
17
|
+
"module": "./dist/index.mjs",
|
|
18
|
+
"types": "./dist/index.d.mts",
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./dist/index.d.mts",
|
|
22
|
+
"import": "./dist/index.mjs",
|
|
23
|
+
"default": "./dist/index.mjs"
|
|
24
|
+
},
|
|
25
|
+
"./package.json": "./package.json"
|
|
26
|
+
},
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@graphql-typed-document-node/core": "^3.2.0",
|
|
32
|
+
"@reserve-protocol/dtf-rebalance-lib": "^3.2.1",
|
|
33
|
+
"decimal.js-light": "^2.5.1",
|
|
34
|
+
"graphql": "^16.13.2",
|
|
35
|
+
"graphql-request": "^7.4.0",
|
|
36
|
+
"viem": "^2.48.8",
|
|
37
|
+
"zod": "^4.4.2",
|
|
38
|
+
"@reserve-protocol/dtf-catalog": "0.0.1"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@graphql-codegen/cli": "^6.3.1",
|
|
42
|
+
"@graphql-codegen/typed-document-node": "^6.1.8",
|
|
43
|
+
"@graphql-codegen/typescript": "^5.0.10",
|
|
44
|
+
"@graphql-codegen/typescript-operations": "^5.1.0",
|
|
45
|
+
"@types/node": "^24.12.2",
|
|
46
|
+
"tsdown": "^0.21.10",
|
|
47
|
+
"tsx": "^4.21.0",
|
|
48
|
+
"typescript": "^6.0.3",
|
|
49
|
+
"vitest": "^4.1.5",
|
|
50
|
+
"@dtf-interface/tsconfig": "0.0.0"
|
|
51
|
+
},
|
|
52
|
+
"engines": {
|
|
53
|
+
"node": ">=24"
|
|
54
|
+
},
|
|
55
|
+
"scripts": {
|
|
56
|
+
"build": "tsdown",
|
|
57
|
+
"clean": "rm -rf dist *.tsbuildinfo",
|
|
58
|
+
"dev": "tsdown --watch",
|
|
59
|
+
"graphql:codegen": "graphql-codegen --config codegen.yml",
|
|
60
|
+
"playground:index": "tsx playground/index-dtf.ts",
|
|
61
|
+
"test": "vitest run --passWithNoTests",
|
|
62
|
+
"test:smoke:index": "RUN_INDEX_DTF_SMOKE=1 vitest run --passWithNoTests src/index-dtf/live-smoke.test.ts",
|
|
63
|
+
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
64
|
+
}
|
|
65
|
+
}
|