lightning 10.3.0 → 10.3.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,6 +1,6 @@
1
1
  # Versions
2
2
 
3
- ## 10.3.0
3
+ ## 10.3.1
4
4
 
5
5
  - `getConfiguration`: Add method to get the configuration file options
6
6
 
@@ -0,0 +1,30 @@
1
+ import type {
2
+ AuthenticatedLightningArgs,
3
+ AuthenticatedLightningMethod,
4
+ } from '../../typescript';
5
+
6
+ export type GetConfigurationArgs = AuthenticatedLightningArgs;
7
+
8
+ export type GetConfigurationResult = {
9
+ /** Log Line String */
10
+ log: string[];
11
+ options: {
12
+ /** Option Type String */
13
+ type: string;
14
+ /** Option Value String */
15
+ value: string;
16
+ }[];
17
+ };
18
+
19
+ /**
20
+ * Get the current configuration file settings and the output log
21
+ *
22
+ * Requires `info:read`, `offchain:read`, `onchain:read`, `peers:read`
23
+ permissions
24
+ *
25
+ * This method is not supported on LND 0.17.3 and below
26
+ */
27
+ export const getConfiguration: AuthenticatedLightningMethod<
28
+ GetConfigurationArgs,
29
+ GetConfigurationResult
30
+ >;
@@ -1,5 +1,6 @@
1
1
  export * from './get_autopilot';
2
2
  export * from './get_channel';
3
+ export * from './get_configuration';
3
4
  export * from './get_identity';
4
5
  export * from './get_methods';
5
6
  export * from './get_network_centrality';
package/package.json CHANGED
@@ -53,5 +53,5 @@
53
53
  "directory": "test/typescript"
54
54
  },
55
55
  "types": "index.d.ts",
56
- "version": "10.3.0"
56
+ "version": "10.3.1"
57
57
  }