thunder-bridge 1.0.0 → 1.3.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/README.md +96 -4
- package/dist/index.cjs +1650 -1302
- package/dist/index.d.cts +214 -170
- package/dist/index.d.ts +214 -170
- package/dist/index.js +1646 -1301
- package/dist/{rail-CL9QkiHo.d.cts → rail-DZzlN-bi.d.cts} +166 -1
- package/dist/{rail-CL9QkiHo.d.ts → rail-DZzlN-bi.d.ts} +166 -1
- package/dist/server.cjs +976 -382
- package/dist/server.d.cts +47 -41
- package/dist/server.d.ts +47 -41
- package/dist/server.js +966 -382
- package/openapi.yaml +1 -1
- package/package.json +33 -13
package/openapi.yaml
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "thunder-bridge",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Trustless JavaScript client for the Thunder Bridge Lightning payment gateway. Proves the invoice came from your own wallet before the payer sees it.",
|
|
5
5
|
"author": "i-am-fatik",
|
|
6
6
|
"homepage": "https://agora.gripe/en/tools/thunder-bridge",
|
|
@@ -17,17 +17,31 @@
|
|
|
17
17
|
"types": "./dist/index.d.ts",
|
|
18
18
|
"typesVersions": {
|
|
19
19
|
"*": {
|
|
20
|
-
"server": [
|
|
20
|
+
"server": [
|
|
21
|
+
"./dist/server.d.ts"
|
|
22
|
+
]
|
|
21
23
|
}
|
|
22
24
|
},
|
|
23
25
|
"exports": {
|
|
24
26
|
".": {
|
|
25
|
-
"import": {
|
|
26
|
-
|
|
27
|
+
"import": {
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"default": "./dist/index.js"
|
|
30
|
+
},
|
|
31
|
+
"require": {
|
|
32
|
+
"types": "./dist/index.d.cts",
|
|
33
|
+
"default": "./dist/index.cjs"
|
|
34
|
+
}
|
|
27
35
|
},
|
|
28
36
|
"./server": {
|
|
29
|
-
"import": {
|
|
30
|
-
|
|
37
|
+
"import": {
|
|
38
|
+
"types": "./dist/server.d.ts",
|
|
39
|
+
"default": "./dist/server.js"
|
|
40
|
+
},
|
|
41
|
+
"require": {
|
|
42
|
+
"types": "./dist/server.d.cts",
|
|
43
|
+
"default": "./dist/server.cjs"
|
|
44
|
+
}
|
|
31
45
|
}
|
|
32
46
|
},
|
|
33
47
|
"files": [
|
|
@@ -42,16 +56,16 @@
|
|
|
42
56
|
"test": "vitest run",
|
|
43
57
|
"test:watch": "vitest",
|
|
44
58
|
"typecheck": "tsc --noEmit && tsc -p tsconfig.test.json",
|
|
45
|
-
"format": "biome
|
|
59
|
+
"format": "biome check --write src test",
|
|
46
60
|
"check:pkg": "npx --yes publint && npx --yes @arethetypeswrong/cli --pack .",
|
|
47
61
|
"prepublishOnly": "npm run build && npx --yes publint"
|
|
48
62
|
},
|
|
49
63
|
"devDependencies": {
|
|
50
|
-
"@biomejs/biome": "^2.
|
|
51
|
-
"@types/node": "^
|
|
52
|
-
"tsup": "^8.
|
|
53
|
-
"typescript": "^
|
|
54
|
-
"vitest": "^4.1.
|
|
64
|
+
"@biomejs/biome": "^2.5.11",
|
|
65
|
+
"@types/node": "^26.4.0",
|
|
66
|
+
"tsup": "^8.5.1",
|
|
67
|
+
"typescript": "^6.0.3",
|
|
68
|
+
"vitest": "^4.1.11"
|
|
55
69
|
},
|
|
56
70
|
"keywords": [
|
|
57
71
|
"lightning",
|
|
@@ -64,6 +78,12 @@
|
|
|
64
78
|
],
|
|
65
79
|
"license": "MIT",
|
|
66
80
|
"dependencies": {
|
|
67
|
-
"
|
|
81
|
+
"@noble/ciphers": "2.4.0",
|
|
82
|
+
"@noble/curves": "2.4.0",
|
|
83
|
+
"@noble/hashes": "2.4.0",
|
|
84
|
+
"uqr": "^0.1.3"
|
|
85
|
+
},
|
|
86
|
+
"overrides": {
|
|
87
|
+
"esbuild": "^0.28.2"
|
|
68
88
|
}
|
|
69
89
|
}
|