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/openapi.yaml CHANGED
@@ -2,7 +2,7 @@ openapi: 3.1.0
2
2
 
3
3
  info:
4
4
  title: thunder-bridge, the endpoint your own service serves
5
- version: 1.0.0
5
+ version: 1.2.0
6
6
  license:
7
7
  name: MIT
8
8
  identifier: MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thunder-bridge",
3
- "version": "1.0.0",
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": ["./dist/server.d.ts"]
20
+ "server": [
21
+ "./dist/server.d.ts"
22
+ ]
21
23
  }
22
24
  },
23
25
  "exports": {
24
26
  ".": {
25
- "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
26
- "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" }
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": { "types": "./dist/server.d.ts", "default": "./dist/server.js" },
30
- "require": { "types": "./dist/server.d.cts", "default": "./dist/server.cjs" }
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 format --write src test",
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.4.16",
51
- "@types/node": "^24.13.3",
52
- "tsup": "^8.0.0",
53
- "typescript": "^5.5.0",
54
- "vitest": "^4.1.10"
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
- "uqr": "^0.1.2"
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
  }