@lightsparkdev/lightspark-sdk 1.8.10 → 1.9.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/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # @lightsparkdev/lightspark-sdk
2
2
 
3
+ ## 1.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - b1f160b: - Bolt 12 Offer support
8
+
9
+ - Introduced new GraphQL mutations and objects for Bolt #12 offers:
10
+ - `createOffer()` / `CreateOffer` GQL
11
+ - `payOffer()` / `PayOffer` GQL
12
+ - New `Offer`, `OfferData`, `PayOfferInput`, etc.
13
+ - Updated `LightsparkClient` to include `createOffer()` and `payOffer()` methods (with max fees, no‐amount usage, etc.).
14
+ - CJS + ESM reorganization
15
+
16
+ - Changed `package.json` main entry to `index.cjs` and refined `"exports"` to ensure correct ESM/CJS usage.
17
+ - Added `.attw.json` and `"package-types"` script for type mismatch checks.
18
+
19
+ - New typed objects
20
+
21
+ - Implemented `CurrencyAmountInput` plus expansions (e.g. `CreateOfferInput`), enabling more flexible payments.
22
+ - Extended invoice logic for Bolt12/UMA with new fields (e.g. partial amounts, expiry times).
23
+
24
+ - Housekeeping
25
+ - Minor updates for remote signing & LN usage (some expansions to the `LightsparkClient` for `payUmaInvoice`, etc.).
26
+ - Consolidated sub‐exports to ensure consistency with the new dual‐module approach.
27
+
28
+ ### Patch Changes
29
+
30
+ - Updated dependencies [b1f160b]
31
+ - @lightsparkdev/core@1.3.0
32
+ - @lightsparkdev/crypto-wasm@0.1.12
33
+
3
34
  ## 1.8.10
4
35
 
5
36
  ### Patch Changes
package/README.md CHANGED
@@ -120,18 +120,3 @@ $ cd examples/node-scripts
120
120
  $ npm install
121
121
  $ npx ts-node createInvoice.ts -a "100" -m "Whasssupppp"
122
122
  ```
123
-
124
- ### Streaming Wallet Extension
125
-
126
- This example is meant to be used in conjunction with the [Lightspark streaming sats demo](https://app.lightspark.com/demos/streaming). It can be built and installed as a Chrome extension by running (from root js-sdk directory):
127
-
128
- ```bash
129
- $ yarn
130
- $ yarn build
131
- ```
132
-
133
- Then, go to `chrome://extensions` and click "Load unpacked" and select the `apps/examples/streaming-wallet-extension/build` directory.
134
-
135
- When the extension is installed, it will automatically open the streaming sats demo page. You can then click extension icon to open the extension popup, which will give you the ability to create a test account with 2 nodes - a viewer node (which acts as your wallet for the demo), and a creator node, which simulates the wallet of the creator of the streaming content. The page will reload and you'll be able to start streaming sats as the video plays!
136
-
137
- To see how it works, check out the background directory in the extension code. It uses the SDK to create an invoice on behalf of the creator node, then uses the SDK to pay the invoice on behalf of the viewer node. It also uses the SDK to get the current balance of both nodes and listen for transaction updates, which it broadcasts to the webpage.
@@ -139,6 +139,7 @@ var CurrencyUnit = /* @__PURE__ */ ((CurrencyUnit2) => {
139
139
  CurrencyUnit2["MILLISATOSHI"] = "MILLISATOSHI";
140
140
  CurrencyUnit2["USD"] = "USD";
141
141
  CurrencyUnit2["MXN"] = "MXN";
142
+ CurrencyUnit2["PHP"] = "PHP";
142
143
  CurrencyUnit2["NANOBITCOIN"] = "NANOBITCOIN";
143
144
  CurrencyUnit2["MICROBITCOIN"] = "MICROBITCOIN";
144
145
  CurrencyUnit2["MILLIBITCOIN"] = "MILLIBITCOIN";
@@ -7506,13 +7507,13 @@ query FetchAccountToChannelsConnection($bitcoin_network: BitcoinNetwork!, $light
7506
7507
  }
7507
7508
  });
7508
7509
  }
7509
- async getTransactions(client, first = void 0, after = void 0, types = void 0, afterDate = void 0, beforeDate = void 0, bitcoinNetwork = void 0, lightningNodeId = void 0, statuses = void 0, excludeFailures = void 0) {
7510
+ async getTransactions(client, first = void 0, after = void 0, types = void 0, afterDate = void 0, beforeDate = void 0, bitcoinNetwork = void 0, lightningNodeId = void 0, statuses = void 0, excludeFailures = void 0, maxAmount = void 0, minAmount = void 0) {
7510
7511
  return await client.executeRawQuery({
7511
7512
  queryPayload: `
7512
- query FetchAccountToTransactionsConnection($first: Int, $after: String, $types: [TransactionType!], $after_date: DateTime, $before_date: DateTime, $bitcoin_network: BitcoinNetwork, $lightning_node_id: ID, $statuses: [TransactionStatus!], $exclude_failures: TransactionFailures) {
7513
+ query FetchAccountToTransactionsConnection($first: Int, $after: String, $types: [TransactionType!], $after_date: DateTime, $before_date: DateTime, $bitcoin_network: BitcoinNetwork, $lightning_node_id: ID, $statuses: [TransactionStatus!], $exclude_failures: TransactionFailures, $max_amount: CurrencyAmountInput, $min_amount: CurrencyAmountInput) {
7513
7514
  current_account {
7514
7515
  ... on Account {
7515
- transactions(, first: $first, after: $after, types: $types, after_date: $after_date, before_date: $before_date, bitcoin_network: $bitcoin_network, lightning_node_id: $lightning_node_id, statuses: $statuses, exclude_failures: $exclude_failures) {
7516
+ transactions(, first: $first, after: $after, types: $types, after_date: $after_date, before_date: $before_date, bitcoin_network: $bitcoin_network, lightning_node_id: $lightning_node_id, statuses: $statuses, exclude_failures: $exclude_failures, max_amount: $max_amount, min_amount: $min_amount) {
7516
7517
  __typename
7517
7518
  account_to_transactions_connection_count: count
7518
7519
  account_to_transactions_connection_page_info: page_info {
@@ -8110,7 +8111,9 @@ query FetchAccountToTransactionsConnection($first: Int, $after: String, $types:
8110
8111
  bitcoin_network: bitcoinNetwork,
8111
8112
  lightning_node_id: lightningNodeId,
8112
8113
  statuses,
8113
- exclude_failures: excludeFailures
8114
+ exclude_failures: excludeFailures,
8115
+ max_amount: maxAmount,
8116
+ min_amount: minAmount
8114
8117
  },
8115
8118
  constructObject: (json) => {
8116
8119
  const connection = json["current_account"]["transactions"];
@@ -8118,13 +8121,13 @@ query FetchAccountToTransactionsConnection($first: Int, $after: String, $types:
8118
8121
  }
8119
8122
  });
8120
8123
  }
8121
- async getPaymentRequests(client, first = void 0, after = void 0, afterDate = void 0, beforeDate = void 0, bitcoinNetwork = void 0, lightningNodeId = void 0) {
8124
+ async getPaymentRequests(client, first = void 0, after = void 0, afterDate = void 0, beforeDate = void 0, bitcoinNetwork = void 0, lightningNodeId = void 0, maxAmount = void 0, minAmount = void 0) {
8122
8125
  return await client.executeRawQuery({
8123
8126
  queryPayload: `
8124
- query FetchAccountToPaymentRequestsConnection($first: Int, $after: String, $after_date: DateTime, $before_date: DateTime, $bitcoin_network: BitcoinNetwork, $lightning_node_id: ID) {
8127
+ query FetchAccountToPaymentRequestsConnection($first: Int, $after: String, $after_date: DateTime, $before_date: DateTime, $bitcoin_network: BitcoinNetwork, $lightning_node_id: ID, $max_amount: CurrencyAmountInput, $min_amount: CurrencyAmountInput) {
8125
8128
  current_account {
8126
8129
  ... on Account {
8127
- payment_requests(, first: $first, after: $after, after_date: $after_date, before_date: $before_date, bitcoin_network: $bitcoin_network, lightning_node_id: $lightning_node_id) {
8130
+ payment_requests(, first: $first, after: $after, after_date: $after_date, before_date: $before_date, bitcoin_network: $bitcoin_network, lightning_node_id: $lightning_node_id, max_amount: $max_amount, min_amount: $min_amount) {
8128
8131
  __typename
8129
8132
  account_to_payment_requests_connection_count: count
8130
8133
  account_to_payment_requests_connection_page_info: page_info {
@@ -8456,7 +8459,9 @@ query FetchAccountToPaymentRequestsConnection($first: Int, $after: String, $afte
8456
8459
  after_date: afterDate,
8457
8460
  before_date: beforeDate,
8458
8461
  bitcoin_network: bitcoinNetwork,
8459
- lightning_node_id: lightningNodeId
8462
+ lightning_node_id: lightningNodeId,
8463
+ max_amount: maxAmount,
8464
+ min_amount: minAmount
8460
8465
  },
8461
8466
  constructObject: (json) => {
8462
8467
  const connection = json["current_account"]["payment_requests"];
@@ -8464,13 +8469,13 @@ query FetchAccountToPaymentRequestsConnection($first: Int, $after: String, $afte
8464
8469
  }
8465
8470
  });
8466
8471
  }
8467
- async getWithdrawalRequests(client, first = void 0, after = void 0, bitcoinNetworks = void 0, statuses = void 0, nodeIds = void 0, idempotencyKeys = void 0, afterDate = void 0, beforeDate = void 0) {
8472
+ async getWithdrawalRequests(client, first = void 0, after = void 0, bitcoinNetworks = void 0, statuses = void 0, nodeIds = void 0, idempotencyKeys = void 0, afterDate = void 0, beforeDate = void 0, maxAmount = void 0, minAmount = void 0) {
8468
8473
  return await client.executeRawQuery({
8469
8474
  queryPayload: `
8470
- query FetchAccountToWithdrawalRequestsConnection($first: Int, $after: String, $bitcoin_networks: [BitcoinNetwork!], $statuses: [WithdrawalRequestStatus!], $node_ids: [ID!], $idempotency_keys: [String!], $after_date: DateTime, $before_date: DateTime) {
8475
+ query FetchAccountToWithdrawalRequestsConnection($first: Int, $after: String, $bitcoin_networks: [BitcoinNetwork!], $statuses: [WithdrawalRequestStatus!], $node_ids: [ID!], $idempotency_keys: [String!], $after_date: DateTime, $before_date: DateTime, $max_amount: CurrencyAmountInput, $min_amount: CurrencyAmountInput) {
8471
8476
  current_account {
8472
8477
  ... on Account {
8473
- withdrawal_requests(, first: $first, after: $after, bitcoin_networks: $bitcoin_networks, statuses: $statuses, node_ids: $node_ids, idempotency_keys: $idempotency_keys, after_date: $after_date, before_date: $before_date) {
8478
+ withdrawal_requests(, first: $first, after: $after, bitcoin_networks: $bitcoin_networks, statuses: $statuses, node_ids: $node_ids, idempotency_keys: $idempotency_keys, after_date: $after_date, before_date: $before_date, max_amount: $max_amount, min_amount: $min_amount) {
8474
8479
  __typename
8475
8480
  account_to_withdrawal_requests_connection_count: count
8476
8481
  account_to_withdrawal_requests_connection_page_info: page_info {
@@ -8548,7 +8553,9 @@ query FetchAccountToWithdrawalRequestsConnection($first: Int, $after: String, $b
8548
8553
  node_ids: nodeIds,
8549
8554
  idempotency_keys: idempotencyKeys,
8550
8555
  after_date: afterDate,
8551
- before_date: beforeDate
8556
+ before_date: beforeDate,
8557
+ max_amount: maxAmount,
8558
+ min_amount: minAmount
8552
8559
  },
8553
8560
  constructObject: (json) => {
8554
8561
  const connection = json["current_account"]["withdrawal_requests"];
@@ -10236,6 +10243,110 @@ ${FRAGMENT31}
10236
10243
  };
10237
10244
  };
10238
10245
 
10246
+ // src/objects/Offer.ts
10247
+ import { isObject as isObject28 } from "@lightsparkdev/core";
10248
+ var OfferFromJson = (obj) => {
10249
+ return {
10250
+ id: obj["offer_id"],
10251
+ createdAt: obj["offer_created_at"],
10252
+ updatedAt: obj["offer_updated_at"],
10253
+ dataId: obj["offer_data"].id,
10254
+ encodedOffer: obj["offer_encoded_offer"],
10255
+ typename: "Offer",
10256
+ amount: !!obj["offer_amount"] ? CurrencyAmountFromJson(obj["offer_amount"]) : void 0,
10257
+ description: obj["offer_description"]
10258
+ };
10259
+ };
10260
+ var FRAGMENT32 = `
10261
+ fragment OfferFragment on Offer {
10262
+ __typename
10263
+ offer_id: id
10264
+ offer_created_at: created_at
10265
+ offer_updated_at: updated_at
10266
+ offer_data: data {
10267
+ id
10268
+ }
10269
+ offer_encoded_offer: encoded_offer
10270
+ offer_amount: amount {
10271
+ __typename
10272
+ currency_amount_original_value: original_value
10273
+ currency_amount_original_unit: original_unit
10274
+ currency_amount_preferred_currency_unit: preferred_currency_unit
10275
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
10276
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
10277
+ }
10278
+ offer_description: description
10279
+ }`;
10280
+ var getOfferQuery = (id) => {
10281
+ return {
10282
+ queryPayload: `
10283
+ query GetOffer($id: ID!) {
10284
+ entity(id: $id) {
10285
+ ... on Offer {
10286
+ ...OfferFragment
10287
+ }
10288
+ }
10289
+ }
10290
+
10291
+ ${FRAGMENT32}
10292
+ `,
10293
+ variables: { id },
10294
+ constructObject: (data) => isObject28(data) && "entity" in data && isObject28(data.entity) ? OfferFromJson(data.entity) : null
10295
+ };
10296
+ };
10297
+
10298
+ // src/objects/OfferData.ts
10299
+ import { isObject as isObject29 } from "@lightsparkdev/core";
10300
+ var OfferDataFromJson = (obj) => {
10301
+ return {
10302
+ id: obj["offer_data_id"],
10303
+ createdAt: obj["offer_data_created_at"],
10304
+ updatedAt: obj["offer_data_updated_at"],
10305
+ encodedOffer: obj["offer_data_encoded_offer"],
10306
+ bitcoinNetworks: obj["offer_data_bitcoin_networks"].map(
10307
+ (e) => BitcoinNetwork_default[e]
10308
+ ),
10309
+ typename: "OfferData",
10310
+ amount: !!obj["offer_data_amount"] ? CurrencyAmountFromJson(obj["offer_data_amount"]) : void 0,
10311
+ expiresAt: obj["offer_data_expires_at"]
10312
+ };
10313
+ };
10314
+ var FRAGMENT33 = `
10315
+ fragment OfferDataFragment on OfferData {
10316
+ __typename
10317
+ offer_data_id: id
10318
+ offer_data_created_at: created_at
10319
+ offer_data_updated_at: updated_at
10320
+ offer_data_amount: amount {
10321
+ __typename
10322
+ currency_amount_original_value: original_value
10323
+ currency_amount_original_unit: original_unit
10324
+ currency_amount_preferred_currency_unit: preferred_currency_unit
10325
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
10326
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
10327
+ }
10328
+ offer_data_encoded_offer: encoded_offer
10329
+ offer_data_bitcoin_networks: bitcoin_networks
10330
+ offer_data_expires_at: expires_at
10331
+ }`;
10332
+ var getOfferDataQuery = (id) => {
10333
+ return {
10334
+ queryPayload: `
10335
+ query GetOfferData($id: ID!) {
10336
+ entity(id: $id) {
10337
+ ... on OfferData {
10338
+ ...OfferDataFragment
10339
+ }
10340
+ }
10341
+ }
10342
+
10343
+ ${FRAGMENT33}
10344
+ `,
10345
+ variables: { id },
10346
+ constructObject: (data) => isObject29(data) && "entity" in data && isObject29(data.entity) ? OfferDataFromJson(data.entity) : null
10347
+ };
10348
+ };
10349
+
10239
10350
  // src/objects/OnChainFeeTarget.ts
10240
10351
  var OnChainFeeTarget = /* @__PURE__ */ ((OnChainFeeTarget2) => {
10241
10352
  OnChainFeeTarget2["FUTURE_VALUE"] = "FUTURE_VALUE";
@@ -10248,7 +10359,7 @@ var OnChainFeeTarget = /* @__PURE__ */ ((OnChainFeeTarget2) => {
10248
10359
  var OnChainFeeTarget_default = OnChainFeeTarget;
10249
10360
 
10250
10361
  // src/objects/OnChainTransaction.ts
10251
- import { LightsparkException as LightsparkException10, isObject as isObject28 } from "@lightsparkdev/core";
10362
+ import { LightsparkException as LightsparkException10, isObject as isObject30 } from "@lightsparkdev/core";
10252
10363
  var OnChainTransactionFromJson = (obj) => {
10253
10364
  if (obj["__typename"] == "ChannelClosingTransaction") {
10254
10365
  return {
@@ -10327,7 +10438,7 @@ var OnChainTransactionFromJson = (obj) => {
10327
10438
  `Couldn't find a concrete type for interface OnChainTransaction corresponding to the typename=${obj["__typename"]}`
10328
10439
  );
10329
10440
  };
10330
- var FRAGMENT32 = `
10441
+ var FRAGMENT34 = `
10331
10442
  fragment OnChainTransactionFragment on OnChainTransaction {
10332
10443
  __typename
10333
10444
  ... on ChannelClosingTransaction {
@@ -10470,10 +10581,10 @@ query GetOnChainTransaction($id: ID!) {
10470
10581
  }
10471
10582
  }
10472
10583
 
10473
- ${FRAGMENT32}
10584
+ ${FRAGMENT34}
10474
10585
  `,
10475
10586
  variables: { id },
10476
- constructObject: (data) => isObject28(data) && "entity" in data && isObject28(data.entity) ? OnChainTransactionFromJson(data.entity) : null
10587
+ constructObject: (data) => isObject30(data) && "entity" in data && isObject30(data.entity) ? OnChainTransactionFromJson(data.entity) : null
10477
10588
  };
10478
10589
  };
10479
10590
 
@@ -10513,7 +10624,7 @@ var RiskRating = /* @__PURE__ */ ((RiskRating2) => {
10513
10624
  var RiskRating_default = RiskRating;
10514
10625
 
10515
10626
  // src/objects/RoutingTransaction.ts
10516
- import { isObject as isObject29 } from "@lightsparkdev/core";
10627
+ import { isObject as isObject31 } from "@lightsparkdev/core";
10517
10628
  var RoutingTransactionFromJson = (obj) => {
10518
10629
  return {
10519
10630
  id: obj["routing_transaction_id"],
@@ -10531,7 +10642,7 @@ var RoutingTransactionFromJson = (obj) => {
10531
10642
  failureReason: !!obj["routing_transaction_failure_reason"] ? RoutingTransactionFailureReason_default[obj["routing_transaction_failure_reason"]] ?? RoutingTransactionFailureReason_default.FUTURE_VALUE : null
10532
10643
  };
10533
10644
  };
10534
- var FRAGMENT33 = `
10645
+ var FRAGMENT35 = `
10535
10646
  fragment RoutingTransactionFragment on RoutingTransaction {
10536
10647
  __typename
10537
10648
  routing_transaction_id: id
@@ -10579,15 +10690,15 @@ query GetRoutingTransaction($id: ID!) {
10579
10690
  }
10580
10691
  }
10581
10692
 
10582
- ${FRAGMENT33}
10693
+ ${FRAGMENT35}
10583
10694
  `,
10584
10695
  variables: { id },
10585
- constructObject: (data) => isObject29(data) && "entity" in data && isObject29(data.entity) ? RoutingTransactionFromJson(data.entity) : null
10696
+ constructObject: (data) => isObject31(data) && "entity" in data && isObject31(data.entity) ? RoutingTransactionFromJson(data.entity) : null
10586
10697
  };
10587
10698
  };
10588
10699
 
10589
10700
  // src/objects/Signable.ts
10590
- import { isObject as isObject30 } from "@lightsparkdev/core";
10701
+ import { isObject as isObject32 } from "@lightsparkdev/core";
10591
10702
  var SignableFromJson = (obj) => {
10592
10703
  return {
10593
10704
  id: obj["signable_id"],
@@ -10596,7 +10707,7 @@ var SignableFromJson = (obj) => {
10596
10707
  typename: "Signable"
10597
10708
  };
10598
10709
  };
10599
- var FRAGMENT34 = `
10710
+ var FRAGMENT36 = `
10600
10711
  fragment SignableFragment on Signable {
10601
10712
  __typename
10602
10713
  signable_id: id
@@ -10614,10 +10725,10 @@ query GetSignable($id: ID!) {
10614
10725
  }
10615
10726
  }
10616
10727
 
10617
- ${FRAGMENT34}
10728
+ ${FRAGMENT36}
10618
10729
  `,
10619
10730
  variables: { id },
10620
- constructObject: (data) => isObject30(data) && "entity" in data && isObject30(data.entity) ? SignableFromJson(data.entity) : null
10731
+ constructObject: (data) => isObject32(data) && "entity" in data && isObject32(data.entity) ? SignableFromJson(data.entity) : null
10621
10732
  };
10622
10733
  };
10623
10734
 
@@ -10651,7 +10762,7 @@ var TransactionUpdateFromJson = (obj) => {
10651
10762
  transactionHash: obj["transaction_hash"]
10652
10763
  };
10653
10764
  };
10654
- var FRAGMENT35 = `
10765
+ var FRAGMENT37 = `
10655
10766
  fragment TransactionUpdateFragment on Transaction {
10656
10767
  __typename
10657
10768
  id
@@ -10671,7 +10782,7 @@ fragment TransactionUpdateFragment on Transaction {
10671
10782
  }`;
10672
10783
 
10673
10784
  // src/objects/UmaInvitation.ts
10674
- import { isObject as isObject31 } from "@lightsparkdev/core";
10785
+ import { isObject as isObject33 } from "@lightsparkdev/core";
10675
10786
  var UmaInvitationFromJson = (obj) => {
10676
10787
  return {
10677
10788
  id: obj["uma_invitation_id"],
@@ -10686,7 +10797,7 @@ var UmaInvitationFromJson = (obj) => {
10686
10797
  incentivesIneligibilityReason: !!obj["uma_invitation_incentives_ineligibility_reason"] ? IncentivesIneligibilityReason_default[obj["uma_invitation_incentives_ineligibility_reason"]] ?? IncentivesIneligibilityReason_default.FUTURE_VALUE : null
10687
10798
  };
10688
10799
  };
10689
- var FRAGMENT36 = `
10800
+ var FRAGMENT38 = `
10690
10801
  fragment UmaInvitationFragment on UmaInvitation {
10691
10802
  __typename
10692
10803
  uma_invitation_id: id
@@ -10710,10 +10821,10 @@ query GetUmaInvitation($id: ID!) {
10710
10821
  }
10711
10822
  }
10712
10823
 
10713
- ${FRAGMENT36}
10824
+ ${FRAGMENT38}
10714
10825
  `,
10715
10826
  variables: { id },
10716
- constructObject: (data) => isObject31(data) && "entity" in data && isObject31(data.entity) ? UmaInvitationFromJson(data.entity) : null
10827
+ constructObject: (data) => isObject33(data) && "entity" in data && isObject33(data.entity) ? UmaInvitationFromJson(data.entity) : null
10717
10828
  };
10718
10829
  };
10719
10830
 
@@ -10747,7 +10858,7 @@ var WithdrawalFeeEstimateOutputFromJson = (obj) => {
10747
10858
  )
10748
10859
  };
10749
10860
  };
10750
- var FRAGMENT37 = `
10861
+ var FRAGMENT39 = `
10751
10862
  fragment WithdrawalFeeEstimateOutputFragment on WithdrawalFeeEstimateOutput {
10752
10863
  __typename
10753
10864
  withdrawal_fee_estimate_output_fee_estimate: fee_estimate {
@@ -10785,7 +10896,7 @@ export {
10785
10896
  IncentivesIneligibilityReason_default,
10786
10897
  IncentivesStatus_default,
10787
10898
  UmaInvitationFromJson,
10788
- FRAGMENT36 as FRAGMENT5,
10899
+ FRAGMENT38 as FRAGMENT5,
10789
10900
  getUmaInvitationQuery,
10790
10901
  Permission_default,
10791
10902
  ApiTokenFromJson,
@@ -10823,9 +10934,9 @@ export {
10823
10934
  FRAGMENT16 as FRAGMENT12,
10824
10935
  getTransactionQuery,
10825
10936
  TransactionUpdateFromJson,
10826
- FRAGMENT35 as FRAGMENT13,
10937
+ FRAGMENT37 as FRAGMENT13,
10827
10938
  WithdrawalFeeEstimateOutputFromJson,
10828
- FRAGMENT37 as FRAGMENT14,
10939
+ FRAGMENT39 as FRAGMENT14,
10829
10940
  getLightsparkNodeQuery,
10830
10941
  WalletStatus_default,
10831
10942
  Wallet_default,
@@ -10840,6 +10951,8 @@ export {
10840
10951
  getDepositQuery,
10841
10952
  getLightningTransactionQuery,
10842
10953
  getLightsparkNodeOwnerQuery,
10954
+ getOfferQuery,
10955
+ getOfferDataQuery,
10843
10956
  OnChainFeeTarget_default,
10844
10957
  getOnChainTransactionQuery,
10845
10958
  PaymentDirection_default,