lightning 10.6.0 → 10.6.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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Versions
2
2
 
3
+ ## 10.6.1
4
+
5
+ - `addAdvertisedFeature`: Add typescript definitions
6
+
3
7
  ## 10.6.0
4
8
 
5
9
  - `addAdvertisedFeature`: Add method to advertise a feature bit support
@@ -0,0 +1,20 @@
1
+ import {
2
+ AuthenticatedLightningArgs,
3
+ AuthenticatedLightningMethod,
4
+ } from '../../typescript/shared';
5
+
6
+ export type AddAdvertisedFeature = AuthenticatedLightningArgs<{
7
+ /** BOLT 09 Feature Bit Number */
8
+ feature: number;
9
+ }>;
10
+
11
+ /**
12
+ * Add an advertised feature to the graph node announcement
13
+ *
14
+ * Note: this method is not supported in LND versions 0.14.5 and below
15
+ *
16
+ * Requires LND built with `peersrpc` build tag
17
+ *
18
+ * Requires `peers:write` permissions
19
+ */
20
+ export const addAdvertisedFeature: AuthenticatedLightningMethod<AddAdvertisedFeature>;
@@ -1,3 +1,4 @@
1
+ export * from './add_advertised_feature';
1
2
  export * from './add_external_socket';
2
3
  export * from './add_peer';
3
4
  export * from './get_peers';
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "dependencies": {
10
10
  "@grpc/grpc-js": "1.10.1",
11
11
  "@grpc/proto-loader": "0.7.10",
12
- "@types/node": "20.11.19",
12
+ "@types/node": "20.11.20",
13
13
  "@types/request": "2.48.12",
14
14
  "@types/ws": "8.5.10",
15
15
  "async": "3.2.5",
@@ -22,11 +22,11 @@
22
22
  "invoices": "3.0.0",
23
23
  "psbt": "3.0.0",
24
24
  "tiny-secp256k1": "2.2.3",
25
- "type-fest": "4.10.2"
25
+ "type-fest": "4.10.3"
26
26
  },
27
27
  "description": "Lightning Network client library",
28
28
  "devDependencies": {
29
- "tsd": "0.30.4",
29
+ "tsd": "0.30.7",
30
30
  "typescript": "5.3.3"
31
31
  },
32
32
  "engines": {
@@ -53,5 +53,5 @@
53
53
  "directory": "test/typescript"
54
54
  },
55
55
  "types": "index.d.ts",
56
- "version": "10.6.0"
56
+ "version": "10.6.1"
57
57
  }