@moneydevkit/core 0.11.0-beta.0 → 0.11.0-beta.2
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/dist/lightning-node.d.ts +2 -2
- package/package.json +2 -2
package/dist/lightning-node.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PaymentEvent } from '@moneydevkit/lightning-js';
|
|
1
|
+
import { PaymentEvent, PaymentResult } from '@moneydevkit/lightning-js';
|
|
2
2
|
type LightningModule = typeof import('@moneydevkit/lightning-js');
|
|
3
3
|
type LightningNodeConstructor = LightningModule['MdkNode'];
|
|
4
4
|
type LightningNodeOptions = ConstructorParameters<LightningNodeConstructor>[0];
|
|
@@ -34,7 +34,7 @@ export declare class MoneyDevKitNode {
|
|
|
34
34
|
ackEvent(): void;
|
|
35
35
|
/** Stop the node. Call when done polling. */
|
|
36
36
|
stopReceiving(): void;
|
|
37
|
-
pay(destination: string, amountMsat?: number):
|
|
37
|
+
pay(destination: string, amountMsat?: number): PaymentResult;
|
|
38
38
|
listChannels(): import("@moneydevkit/lightning-js").NodeChannel[];
|
|
39
39
|
syncWallets(): void;
|
|
40
40
|
syncRgs(doFullSync: boolean): number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moneydevkit/core",
|
|
3
|
-
"version": "0.11.0-beta.
|
|
3
|
+
"version": "0.11.0-beta.2",
|
|
4
4
|
"description": "Shared moneydevkit checkout core utilities",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@hookform/resolvers": "^5.0.1",
|
|
43
|
-
"@moneydevkit/lightning-js": "0.1.
|
|
43
|
+
"@moneydevkit/lightning-js": "0.1.71",
|
|
44
44
|
"@orpc/client": "1.3.0",
|
|
45
45
|
"@orpc/contract": "1.3.0",
|
|
46
46
|
"@radix-ui/react-collapsible": "^1.1.11",
|