@lightsparkdev/lightspark-sdk 1.5.11 → 1.5.13
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 +13 -0
- package/dist/{chunk-X7VPX3F3.js → chunk-FGFVWCTL.js} +234 -161
- package/dist/{index-dd1501fa.d.ts → index-2b493387.d.ts} +147 -17
- package/dist/index.cjs +227 -152
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +7 -3
- package/dist/objects/index.cjs +226 -151
- package/dist/objects/index.d.cts +1 -1
- package/dist/objects/index.d.ts +1 -1
- package/dist/objects/index.js +5 -1
- package/package.json +2 -2
- package/src/env.ts +3 -3
- package/src/objects/Account.ts +5 -0
- package/src/objects/ApiToken.ts +6 -0
- package/src/objects/AuditLogActor.ts +96 -0
- package/src/objects/CancelInvoiceInput.ts +4 -0
- package/src/objects/CancelInvoiceOutput.ts +4 -0
- package/src/objects/ChannelSnapshot.ts +68 -17
- package/src/objects/ClaimUmaInvitationInput.ts +5 -0
- package/src/objects/ClaimUmaInvitationOutput.ts +1 -0
- package/src/objects/ClaimUmaInvitationWithIncentivesInput.ts +7 -0
- package/src/objects/ClaimUmaInvitationWithIncentivesOutput.ts +1 -0
- package/src/objects/CreateApiTokenOutput.ts +1 -0
- package/src/objects/CreateInvitationWithIncentivesInput.ts +6 -0
- package/src/objects/CreateInvitationWithIncentivesOutput.ts +1 -0
- package/src/objects/CreateInvoiceInput.ts +4 -1
- package/src/objects/CreateNodeWalletAddressOutput.ts +34 -0
- package/src/objects/CreateUmaInvitationInput.ts +4 -0
- package/src/objects/CreateUmaInvitationOutput.ts +1 -0
- package/src/objects/Entity.ts +57 -45
- package/src/objects/IncomingPayment.ts +13 -0
- package/src/objects/IncomingPaymentsForInvoiceQueryInput.ts +31 -0
- package/src/objects/IncomingPaymentsForInvoiceQueryOutput.ts +71 -0
- package/src/objects/LightningTransaction.ts +12 -0
- package/src/objects/MultiSigAddressValidationParameters.ts +45 -0
- package/src/objects/OutgoingPayment.ts +14 -45
- package/src/objects/OutgoingPaymentAttempt.ts +5 -59
- package/src/objects/OutgoingPaymentsForInvoiceQueryOutput.ts +343 -1
- package/src/objects/PaymentFailureReason.ts +2 -0
- package/src/objects/Transaction.ts +12 -0
- package/src/objects/Wallet.ts +4 -0
- package/src/objects/WebhookEventType.ts +2 -0
- package/src/objects/WithdrawalRequestStatus.ts +2 -0
- package/src/objects/index.ts +11 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AuthProvider } from '@lightsparkdev/core';
|
|
2
|
-
import { W as WebhookEventType, L as LightsparkClient } from './index-
|
|
3
|
-
export { A as Account, a as AccountToApiTokensConnection, b as AccountToChannelsConnection, c as AccountToNodesConnection, d as AccountToPaymentRequestsConnection, e as AccountToTransactionsConnection, f as AccountToWalletsConnection, g as AccountToWithdrawalRequestsConnection, h as ApiToken, B as Balances,
|
|
2
|
+
import { W as WebhookEventType, L as LightsparkClient } from './index-2b493387.js';
|
|
3
|
+
export { A as Account, a as AccountToApiTokensConnection, b as AccountToChannelsConnection, c as AccountToNodesConnection, d as AccountToPaymentRequestsConnection, e as AccountToTransactionsConnection, f as AccountToWalletsConnection, g as AccountToWithdrawalRequestsConnection, h as ApiToken, j as AuditLogActor, B as Balances, l as BlockchainBalance, C as CancelInvoiceInput, m as CancelInvoiceOutput, n as Channel, o as ChannelClosingTransaction, q as ChannelFees, r as ChannelOpeningTransaction, t as ChannelSnapshot, v as ChannelStatus, w as ChannelToTransactionsConnection, x as ClaimUmaInvitationInput, y as ClaimUmaInvitationOutput, z as ClaimUmaInvitationWithIncentivesInput, D as ClaimUmaInvitationWithIncentivesOutput, E as ComplianceProvider, F as Connection, G as CreateApiTokenInput, H as CreateApiTokenOutput, I as CreateInvitationWithIncentivesInput, J as CreateInvitationWithIncentivesOutput, K as CreateInvoiceInput, M as CreateInvoiceOutput, N as CreateLnurlInvoiceInput, O as CreateNodeWalletAddressInput, P as CreateNodeWalletAddressOutput, Q as CreateTestModeInvoiceInput, R as CreateTestModeInvoiceOutput, S as CreateTestModePaymentInput, T as CreateTestModePaymentoutput, U as CreateUmaInvitationInput, V as CreateUmaInvitationOutput, X as CreateUmaInvoiceInput, Y as CurrencyAmount, Z as CurrencyUnit, _ as DailyLiquidityForecast, $ as DeclineToSignMessagesInput, a0 as DeclineToSignMessagesOutput, a1 as DeleteApiTokenInput, a2 as DeleteApiTokenOutput, a3 as Deposit, a5 as Entity, a6 as FeeEstimate, a7 as FundNodeInput, a8 as FundNodeOutput, a9 as GraphNode, aa as Hop, ac as HtlcAttemptFailureCode, ad as IdAndSignature, ae as IncentivesIneligibilityReason, af as IncentivesStatus, ag as IncomingPayment, ah as IncomingPaymentAttempt, aj as IncomingPaymentAttemptStatus, ak as IncomingPaymentToAttemptsConnection, al as IncomingPaymentsForInvoiceQueryInput, am as IncomingPaymentsForInvoiceQueryOutput, an as Invoice, ap as InvoiceData, aq as InvoiceType, ar as LightningFeeEstimateForInvoiceInput, as as LightningFeeEstimateForNodeInput, at as LightningFeeEstimateOutput, au as LightningPaymentDirection, av as LightningTransaction, ax as LightsparkNode, az as LightsparkNodeOwner, aB as LightsparkNodeStatus, aC as LightsparkNodeToChannelsConnection, aD as LightsparkNodeToDailyLiquidityForecastsConnection, aE as LightsparkNodeWithOSK, aF as LightsparkNodeWithRemoteSigning, aG as MultiSigAddressValidationParameters, aH as Node, aJ as NodeAddress, aK as NodeAddressType, aL as NodeToAddressesConnection, aM as OnChainTransaction, aO as OutgoingPayment, aP as OutgoingPaymentAttempt, aQ as OutgoingPaymentAttemptStatus, aR as OutgoingPaymentAttemptToHopsConnection, aS as OutgoingPaymentToAttemptsConnection, aT as OutgoingPaymentsForInvoiceQueryInput, aU as OutgoingPaymentsForInvoiceQueryOutput, aV as PageInfo, aW as PayInvoiceInput, aX as PayInvoiceOutput, aY as PayUmaInvoiceInput, aZ as PaymentDirection, a_ as PaymentFailureReason, a$ as PaymentRequest, b1 as PaymentRequestData, b2 as PaymentRequestStatus, b3 as Permission, b4 as PostTransactionData, b5 as RegionCode, b6 as RegisterPaymentInput, b7 as RegisterPaymentOutput, b8 as ReleaseChannelPerCommitmentSecretInput, b9 as ReleaseChannelPerCommitmentSecretOutput, ba as ReleasePaymentPreimageInput, bb as ReleasePaymentPreimageOutput, bc as RemoteSigningSubEventType, bd as RequestWithdrawalInput, be as RequestWithdrawalOutput, bf as RichText, bg as RiskRating, bh as RoutingTransaction, bj as RoutingTransactionFailureReason, bk as ScreenNodeInput, bl as ScreenNodeOutput, bm as Secret, bn as SendPaymentInput, bo as SendPaymentOutput, bp as SetInvoicePaymentHashInput, bq as SetInvoicePaymentHashOutput, br as SignInvoiceInput, bs as SignInvoiceOutput, bt as SignMessagesInput, bu as SignMessagesOutput, bv as Signable, bx as SignablePayload, bz as SignablePayloadStatus, bA as SingleNodeDashboard, bB as Transaction, bD as TransactionFailures, bE as TransactionStatus, bF as TransactionType, bG as TransactionUpdate, bH as UmaInvitation, bJ as UpdateChannelPerCommitmentPointInput, bK as UpdateChannelPerCommitmentPointOutput, bL as UpdateNodeSharedSecretInput, bM as UpdateNodeSharedSecretOutput, bN as Wallet, bO as WalletStatus, bP as WalletToPaymentRequestsConnection, bQ as WalletToTransactionsConnection, bR as WalletToWithdrawalRequestsConnection, bS as Withdrawal, bU as WithdrawalFeeEstimateInput, bV as WithdrawalFeeEstimateOutput, bW as WithdrawalMode, bX as WithdrawalRequest, bY as WithdrawalRequestStatus, bZ as WithdrawalRequestToChannelClosingTransactionsConnection, b_ as WithdrawalRequestToChannelOpeningTransactionsConnection, i as getApiTokenQuery, k as getAuditLogActorQuery, p as getChannelClosingTransactionQuery, s as getChannelOpeningTransactionQuery, u as getChannelSnapshotQuery, a4 as getDepositQuery, ab as getHopQuery, ai as getIncomingPaymentAttemptQuery, ao as getInvoiceQuery, aw as getLightningTransactionQuery, aA as getLightsparkNodeOwnerQuery, ay as getLightsparkNodeQuery, aI as getNodeQuery, aN as getOnChainTransactionQuery, b0 as getPaymentRequestQuery, bi as getRoutingTransactionQuery, by as getSignablePayloadQuery, bw as getSignableQuery, bC as getTransactionQuery, bI as getUmaInvitationQuery, bT as getWithdrawalQuery } from './index-2b493387.js';
|
|
4
4
|
import { B as BitcoinNetwork } from './BitcoinNetwork-4f6ea015.js';
|
|
5
5
|
import 'zen-observable';
|
|
6
6
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AuthProvider } from '@lightsparkdev/core';
|
|
2
|
-
import { W as WebhookEventType, L as LightsparkClient } from './index-
|
|
3
|
-
export { A as Account, a as AccountToApiTokensConnection, b as AccountToChannelsConnection, c as AccountToNodesConnection, d as AccountToPaymentRequestsConnection, e as AccountToTransactionsConnection, f as AccountToWalletsConnection, g as AccountToWithdrawalRequestsConnection, h as ApiToken, B as Balances,
|
|
2
|
+
import { W as WebhookEventType, L as LightsparkClient } from './index-2b493387.js';
|
|
3
|
+
export { A as Account, a as AccountToApiTokensConnection, b as AccountToChannelsConnection, c as AccountToNodesConnection, d as AccountToPaymentRequestsConnection, e as AccountToTransactionsConnection, f as AccountToWalletsConnection, g as AccountToWithdrawalRequestsConnection, h as ApiToken, j as AuditLogActor, B as Balances, l as BlockchainBalance, C as CancelInvoiceInput, m as CancelInvoiceOutput, n as Channel, o as ChannelClosingTransaction, q as ChannelFees, r as ChannelOpeningTransaction, t as ChannelSnapshot, v as ChannelStatus, w as ChannelToTransactionsConnection, x as ClaimUmaInvitationInput, y as ClaimUmaInvitationOutput, z as ClaimUmaInvitationWithIncentivesInput, D as ClaimUmaInvitationWithIncentivesOutput, E as ComplianceProvider, F as Connection, G as CreateApiTokenInput, H as CreateApiTokenOutput, I as CreateInvitationWithIncentivesInput, J as CreateInvitationWithIncentivesOutput, K as CreateInvoiceInput, M as CreateInvoiceOutput, N as CreateLnurlInvoiceInput, O as CreateNodeWalletAddressInput, P as CreateNodeWalletAddressOutput, Q as CreateTestModeInvoiceInput, R as CreateTestModeInvoiceOutput, S as CreateTestModePaymentInput, T as CreateTestModePaymentoutput, U as CreateUmaInvitationInput, V as CreateUmaInvitationOutput, X as CreateUmaInvoiceInput, Y as CurrencyAmount, Z as CurrencyUnit, _ as DailyLiquidityForecast, $ as DeclineToSignMessagesInput, a0 as DeclineToSignMessagesOutput, a1 as DeleteApiTokenInput, a2 as DeleteApiTokenOutput, a3 as Deposit, a5 as Entity, a6 as FeeEstimate, a7 as FundNodeInput, a8 as FundNodeOutput, a9 as GraphNode, aa as Hop, ac as HtlcAttemptFailureCode, ad as IdAndSignature, ae as IncentivesIneligibilityReason, af as IncentivesStatus, ag as IncomingPayment, ah as IncomingPaymentAttempt, aj as IncomingPaymentAttemptStatus, ak as IncomingPaymentToAttemptsConnection, al as IncomingPaymentsForInvoiceQueryInput, am as IncomingPaymentsForInvoiceQueryOutput, an as Invoice, ap as InvoiceData, aq as InvoiceType, ar as LightningFeeEstimateForInvoiceInput, as as LightningFeeEstimateForNodeInput, at as LightningFeeEstimateOutput, au as LightningPaymentDirection, av as LightningTransaction, ax as LightsparkNode, az as LightsparkNodeOwner, aB as LightsparkNodeStatus, aC as LightsparkNodeToChannelsConnection, aD as LightsparkNodeToDailyLiquidityForecastsConnection, aE as LightsparkNodeWithOSK, aF as LightsparkNodeWithRemoteSigning, aG as MultiSigAddressValidationParameters, aH as Node, aJ as NodeAddress, aK as NodeAddressType, aL as NodeToAddressesConnection, aM as OnChainTransaction, aO as OutgoingPayment, aP as OutgoingPaymentAttempt, aQ as OutgoingPaymentAttemptStatus, aR as OutgoingPaymentAttemptToHopsConnection, aS as OutgoingPaymentToAttemptsConnection, aT as OutgoingPaymentsForInvoiceQueryInput, aU as OutgoingPaymentsForInvoiceQueryOutput, aV as PageInfo, aW as PayInvoiceInput, aX as PayInvoiceOutput, aY as PayUmaInvoiceInput, aZ as PaymentDirection, a_ as PaymentFailureReason, a$ as PaymentRequest, b1 as PaymentRequestData, b2 as PaymentRequestStatus, b3 as Permission, b4 as PostTransactionData, b5 as RegionCode, b6 as RegisterPaymentInput, b7 as RegisterPaymentOutput, b8 as ReleaseChannelPerCommitmentSecretInput, b9 as ReleaseChannelPerCommitmentSecretOutput, ba as ReleasePaymentPreimageInput, bb as ReleasePaymentPreimageOutput, bc as RemoteSigningSubEventType, bd as RequestWithdrawalInput, be as RequestWithdrawalOutput, bf as RichText, bg as RiskRating, bh as RoutingTransaction, bj as RoutingTransactionFailureReason, bk as ScreenNodeInput, bl as ScreenNodeOutput, bm as Secret, bn as SendPaymentInput, bo as SendPaymentOutput, bp as SetInvoicePaymentHashInput, bq as SetInvoicePaymentHashOutput, br as SignInvoiceInput, bs as SignInvoiceOutput, bt as SignMessagesInput, bu as SignMessagesOutput, bv as Signable, bx as SignablePayload, bz as SignablePayloadStatus, bA as SingleNodeDashboard, bB as Transaction, bD as TransactionFailures, bE as TransactionStatus, bF as TransactionType, bG as TransactionUpdate, bH as UmaInvitation, bJ as UpdateChannelPerCommitmentPointInput, bK as UpdateChannelPerCommitmentPointOutput, bL as UpdateNodeSharedSecretInput, bM as UpdateNodeSharedSecretOutput, bN as Wallet, bO as WalletStatus, bP as WalletToPaymentRequestsConnection, bQ as WalletToTransactionsConnection, bR as WalletToWithdrawalRequestsConnection, bS as Withdrawal, bU as WithdrawalFeeEstimateInput, bV as WithdrawalFeeEstimateOutput, bW as WithdrawalMode, bX as WithdrawalRequest, bY as WithdrawalRequestStatus, bZ as WithdrawalRequestToChannelClosingTransactionsConnection, b_ as WithdrawalRequestToChannelOpeningTransactionsConnection, i as getApiTokenQuery, k as getAuditLogActorQuery, p as getChannelClosingTransactionQuery, s as getChannelOpeningTransactionQuery, u as getChannelSnapshotQuery, a4 as getDepositQuery, ab as getHopQuery, ai as getIncomingPaymentAttemptQuery, ao as getInvoiceQuery, aw as getLightningTransactionQuery, aA as getLightsparkNodeOwnerQuery, ay as getLightsparkNodeQuery, aI as getNodeQuery, aN as getOnChainTransactionQuery, b0 as getPaymentRequestQuery, bi as getRoutingTransactionQuery, by as getSignablePayloadQuery, bw as getSignableQuery, bC as getTransactionQuery, bI as getUmaInvitationQuery, bT as getWithdrawalQuery } from './index-2b493387.js';
|
|
4
4
|
import { B as BitcoinNetwork } from './BitcoinNetwork-4f6ea015.js';
|
|
5
5
|
import 'zen-observable';
|
|
6
6
|
|
package/dist/index.js
CHANGED
|
@@ -71,8 +71,10 @@ import {
|
|
|
71
71
|
WithdrawalRequest_default,
|
|
72
72
|
autoBind,
|
|
73
73
|
getApiTokenQuery,
|
|
74
|
+
getAuditLogActorQuery,
|
|
74
75
|
getChannelClosingTransactionQuery,
|
|
75
76
|
getChannelOpeningTransactionQuery,
|
|
77
|
+
getChannelSnapshotQuery,
|
|
76
78
|
getDepositQuery,
|
|
77
79
|
getHopQuery,
|
|
78
80
|
getIncomingPaymentAttemptQuery,
|
|
@@ -89,7 +91,7 @@ import {
|
|
|
89
91
|
getTransactionQuery,
|
|
90
92
|
getUmaInvitationQuery,
|
|
91
93
|
getWithdrawalQuery
|
|
92
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-FGFVWCTL.js";
|
|
93
95
|
import {
|
|
94
96
|
BitcoinNetwork_default
|
|
95
97
|
} from "./chunk-K6SAUSAX.js";
|
|
@@ -145,7 +147,7 @@ import {
|
|
|
145
147
|
// package.json
|
|
146
148
|
var package_default = {
|
|
147
149
|
name: "@lightsparkdev/lightspark-sdk",
|
|
148
|
-
version: "1.5.
|
|
150
|
+
version: "1.5.13",
|
|
149
151
|
description: "Lightspark JS SDK",
|
|
150
152
|
author: "Lightspark Inc.",
|
|
151
153
|
keywords: [
|
|
@@ -230,7 +232,7 @@ var package_default = {
|
|
|
230
232
|
},
|
|
231
233
|
license: "Apache-2.0",
|
|
232
234
|
dependencies: {
|
|
233
|
-
"@lightsparkdev/core": "1.0
|
|
235
|
+
"@lightsparkdev/core": "1.1.0",
|
|
234
236
|
"@lightsparkdev/crypto-wasm": "0.1.3",
|
|
235
237
|
"crypto-browserify": "^3.12.0",
|
|
236
238
|
dayjs: "^1.11.7",
|
|
@@ -2390,9 +2392,11 @@ export {
|
|
|
2390
2392
|
WithdrawalRequestStatus_default as WithdrawalRequestStatus,
|
|
2391
2393
|
assertValidBitcoinNetwork,
|
|
2392
2394
|
getApiTokenQuery,
|
|
2395
|
+
getAuditLogActorQuery,
|
|
2393
2396
|
getBitcoinNetworkOrThrow,
|
|
2394
2397
|
getChannelClosingTransactionQuery,
|
|
2395
2398
|
getChannelOpeningTransactionQuery,
|
|
2399
|
+
getChannelSnapshotQuery,
|
|
2396
2400
|
getDepositQuery,
|
|
2397
2401
|
getHopQuery,
|
|
2398
2402
|
getIncomingPaymentAttemptQuery,
|