@riftresearch/sdk 0.1.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/LICENSE +21 -0
- package/README.md +25 -0
- package/dist/index.d.ts +358 -0
- package/dist/index.js +1390 -0
- package/package.json +75 -0
package/package.json
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@riftresearch/sdk",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "SDK for swapping between bitcoin and evm chains",
|
|
5
|
+
"homepage": "https://github.com/riftresearch/rift-sdk#readme",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://github.com/riftresearch/rift-sdk/issues"
|
|
8
|
+
},
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"files": [
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git+https://github.com/riftresearch/rift-sdk.git"
|
|
16
|
+
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "bunup",
|
|
19
|
+
"dev": "bunup --watch",
|
|
20
|
+
"postinstall": "bun simple-git-hooks",
|
|
21
|
+
"lint": "biome check .",
|
|
22
|
+
"lint:fix": "biome check --write .",
|
|
23
|
+
"release": "bumpp --commit --push --tag",
|
|
24
|
+
"publish:npm": "bun run build && bun publish --access public",
|
|
25
|
+
"test": "bun test",
|
|
26
|
+
"test:coverage": "bun test --coverage",
|
|
27
|
+
"test:watch": "bun test --watch",
|
|
28
|
+
"type-check": "tsc --noEmit"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@biomejs/biome": "^2.3.11",
|
|
32
|
+
"@types/bun": "^1.3.6",
|
|
33
|
+
"bumpp": "^10.4.0",
|
|
34
|
+
"bunup": "^0.16.20",
|
|
35
|
+
"simple-git-hooks": "^2.13.1",
|
|
36
|
+
"typescript": "^5.9.3",
|
|
37
|
+
"viem": "^2.0.0"
|
|
38
|
+
},
|
|
39
|
+
"peerDependencies": {
|
|
40
|
+
"typescript": ">=4.5.0",
|
|
41
|
+
"viem": "^2.0.0"
|
|
42
|
+
},
|
|
43
|
+
"peerDependenciesMeta": {
|
|
44
|
+
"typescript": {
|
|
45
|
+
"optional": true
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"type": "module",
|
|
49
|
+
"exports": {
|
|
50
|
+
".": {
|
|
51
|
+
"import": {
|
|
52
|
+
"types": "./dist/index.d.ts",
|
|
53
|
+
"default": "./dist/index.js"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"./package.json": "./package.json"
|
|
57
|
+
},
|
|
58
|
+
"module": "./dist/index.js",
|
|
59
|
+
"simple-git-hooks": {
|
|
60
|
+
"pre-commit": "bun run lint && bun run type-check"
|
|
61
|
+
},
|
|
62
|
+
"types": "./dist/index.d.ts",
|
|
63
|
+
"dependencies": {
|
|
64
|
+
"@cowprotocol/sdk-config": "^0.3.0",
|
|
65
|
+
"@cowprotocol/sdk-order-book": "^0.5.1",
|
|
66
|
+
"@cowprotocol/sdk-trading": "0.4.6",
|
|
67
|
+
"@cowprotocol/sdk-viem-adapter": "0.2.0",
|
|
68
|
+
"@scure/base": "^2.0.0",
|
|
69
|
+
"@scure/btc-signer": "^2.0.1",
|
|
70
|
+
"ts-pattern": "^5.9.0"
|
|
71
|
+
},
|
|
72
|
+
"overrides": {
|
|
73
|
+
"@cowprotocol/sdk-common": "0.3.0"
|
|
74
|
+
}
|
|
75
|
+
}
|