react-native-nitro-ark 0.0.83 → 0.0.84

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.
Files changed (41) hide show
  1. package/cpp/generated/ark_cxx.h +0 -13
  2. package/lib/typescript/src/NitroArk.nitro.d.ts +0 -4
  3. package/lib/typescript/src/NitroArk.nitro.d.ts.map +1 -1
  4. package/lib/typescript/src/index.d.ts +1 -1
  5. package/lib/typescript/src/index.d.ts.map +1 -1
  6. package/nitrogen/generated/android/NitroArk+autolinking.cmake +1 -1
  7. package/nitrogen/generated/android/NitroArk+autolinking.gradle +1 -1
  8. package/nitrogen/generated/android/NitroArkOnLoad.cpp +1 -1
  9. package/nitrogen/generated/android/NitroArkOnLoad.hpp +1 -1
  10. package/nitrogen/generated/android/kotlin/com/margelo/nitro/nitroark/NitroArkOnLoad.kt +1 -1
  11. package/nitrogen/generated/ios/NitroArk+autolinking.rb +2 -2
  12. package/nitrogen/generated/ios/NitroArk-Swift-Cxx-Bridge.cpp +1 -1
  13. package/nitrogen/generated/ios/NitroArk-Swift-Cxx-Bridge.hpp +1 -1
  14. package/nitrogen/generated/ios/NitroArk-Swift-Cxx-Umbrella.hpp +1 -1
  15. package/nitrogen/generated/ios/NitroArkAutolinking.mm +1 -1
  16. package/nitrogen/generated/ios/NitroArkAutolinking.swift +1 -1
  17. package/nitrogen/generated/shared/c++/ArkoorPaymentResult.hpp +19 -11
  18. package/nitrogen/generated/shared/c++/BarkArkInfo.hpp +37 -29
  19. package/nitrogen/generated/shared/c++/BarkConfigOpts.hpp +43 -35
  20. package/nitrogen/generated/shared/c++/BarkCreateOpts.hpp +28 -20
  21. package/nitrogen/generated/shared/c++/BarkMovement.hpp +55 -47
  22. package/nitrogen/generated/shared/c++/BarkMovementDestination.hpp +19 -11
  23. package/nitrogen/generated/shared/c++/BarkMovementSubsystem.hpp +16 -8
  24. package/nitrogen/generated/shared/c++/BarkSendManyOutput.hpp +16 -8
  25. package/nitrogen/generated/shared/c++/BarkVtxo.hpp +31 -23
  26. package/nitrogen/generated/shared/c++/BoardResult.hpp +16 -8
  27. package/nitrogen/generated/shared/c++/Bolt11Invoice.hpp +19 -11
  28. package/nitrogen/generated/shared/c++/HybridNitroArkSpec.cpp +1 -1
  29. package/nitrogen/generated/shared/c++/HybridNitroArkSpec.hpp +1 -1
  30. package/nitrogen/generated/shared/c++/KeyPairResult.hpp +16 -8
  31. package/nitrogen/generated/shared/c++/LightningReceive.hpp +25 -17
  32. package/nitrogen/generated/shared/c++/LightningSendResult.hpp +28 -20
  33. package/nitrogen/generated/shared/c++/NewAddressResult.hpp +19 -11
  34. package/nitrogen/generated/shared/c++/OffchainBalanceResult.hpp +25 -17
  35. package/nitrogen/generated/shared/c++/OnchainBalanceResult.hpp +22 -14
  36. package/nitrogen/generated/shared/c++/OnchainPaymentResult.hpp +19 -11
  37. package/nitrogen/generated/shared/c++/RoundStatus.hpp +28 -20
  38. package/nitrogen/generated/shared/c++/RoundStatusType.hpp +1 -1
  39. package/package.json +4 -4
  40. package/src/NitroArk.nitro.ts +0 -7
  41. package/src/index.tsx +0 -1
@@ -815,7 +815,6 @@ namespace bark_cxx {
815
815
  struct SendManyOutput;
816
816
  enum class RefreshModeType : ::std::uint8_t;
817
817
  struct LightningReceive;
818
- struct LightningReceiveBalance;
819
818
  struct OffchainBalance;
820
819
  struct OnChainBalance;
821
820
  struct KeyPairResult;
@@ -993,18 +992,6 @@ struct LightningReceive final {
993
992
  };
994
993
  #endif // CXXBRIDGE1_STRUCT_bark_cxx$LightningReceive
995
994
 
996
- #ifndef CXXBRIDGE1_STRUCT_bark_cxx$LightningReceiveBalance
997
- #define CXXBRIDGE1_STRUCT_bark_cxx$LightningReceiveBalance
998
- struct LightningReceiveBalance final {
999
- // Sum of all pending lightning invoices
1000
- ::std::uint64_t total CXX_DEFAULT_VALUE(0);
1001
- // Sum of all invoices for which we received the HTLC VTXOs
1002
- ::std::uint64_t claimable CXX_DEFAULT_VALUE(0);
1003
-
1004
- using IsRelocatable = ::std::true_type;
1005
- };
1006
- #endif // CXXBRIDGE1_STRUCT_bark_cxx$LightningReceiveBalance
1007
-
1008
995
  #ifndef CXXBRIDGE1_STRUCT_bark_cxx$OffchainBalance
1009
996
  #define CXXBRIDGE1_STRUCT_bark_cxx$OffchainBalance
1010
997
  struct OffchainBalance final {
@@ -71,10 +71,6 @@ export interface OnchainPaymentResult {
71
71
  amount_sat: number;
72
72
  destination_address: string;
73
73
  }
74
- export interface LightningReceiveBalance {
75
- total: number;
76
- claimable: number;
77
- }
78
74
  export interface OffchainBalanceResult {
79
75
  spendable: number;
80
76
  pending_lightning_send: number;
@@ -1 +1 @@
1
- {"version":3,"file":"NitroArk.nitro.d.ts","sourceRoot":"","sources":["../../../src/NitroArk.nitro.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAM/D,MAAM,WAAW,cAAc;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,6BAA6B,CAAC,EAAE,MAAM,CAAC;IACvC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,gBAAgB,EAAE,MAAM,CAAC;IACzB,+BAA+B,EAAE,MAAM,CAAC;CACzC;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;A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AAM,GAAG,IAAI,CAAC,CAAC;IAC1B,wBAAwB,CACtB,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,OAAO,EACb,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC7B,4BAA4B,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAG3D,gBAAgB,CACd,OAAO,EAAE,MAAM,EAAE,EACjB,kBAAkB,EAAE,MAAM,GACzB,OAAO,CAAC,WAAW,CAAC,CAAC;IACxB,WAAW,CAAC,kBAAkB,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;CAC/D"}
@@ -324,5 +324,5 @@ export declare function offboardSpecific(vtxoIds: string[], destinationAddress:
324
324
  * @returns A promise resolving to the round status.
325
325
  */
326
326
  export declare function offboardAll(destinationAddress: string): Promise<RoundStatus>;
327
- export type { NitroArk, BarkCreateOpts, BarkConfigOpts, BarkArkInfo, Bolt11Invoice, BoardResult, BarkSendManyOutput, ArkoorPaymentResult, LightningSendResult, OnchainPaymentResult, OffchainBalanceResult, OnchainBalanceResult, NewAddressResult, KeyPairResult, LightningReceive, LightningReceiveBalance, RoundStatus, } from './NitroArk.nitro';
327
+ export type { NitroArk, BarkCreateOpts, BarkConfigOpts, BarkArkInfo, Bolt11Invoice, BoardResult, BarkSendManyOutput, ArkoorPaymentResult, LightningSendResult, OnchainPaymentResult, OffchainBalanceResult, OnchainBalanceResult, NewAddressResult, KeyPairResult, LightningReceive, RoundStatus, } from './NitroArk.nitro';
328
328
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,QAAQ,EACR,cAAc,EACd,WAAW,EACX,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EAC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AkB,CAAC"}
@@ -2,7 +2,7 @@
2
2
  # NitroArk+autolinking.cmake
3
3
  # This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
4
  # https://github.com/mrousavy/nitro
5
- # Copyright © 2025 Marc Rousavy @ Margelo
5
+ # Copyright © 2026 Marc Rousavy @ Margelo
6
6
  #
7
7
 
8
8
  # This is a CMake file that adds all files generated by Nitrogen
@@ -2,7 +2,7 @@
2
2
  /// NitroArk+autolinking.gradle
3
3
  /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
4
  /// https://github.com/mrousavy/nitro
5
- /// Copyright © 2025 Marc Rousavy @ Margelo
5
+ /// Copyright © 2026 Marc Rousavy @ Margelo
6
6
  ///
7
7
 
8
8
  /// This is a Gradle file that adds all files generated by Nitrogen
@@ -2,7 +2,7 @@
2
2
  /// NitroArkOnLoad.cpp
3
3
  /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
4
  /// https://github.com/mrousavy/nitro
5
- /// Copyright © 2025 Marc Rousavy @ Margelo
5
+ /// Copyright © 2026 Marc Rousavy @ Margelo
6
6
  ///
7
7
 
8
8
  #ifndef BUILDING_NITROARK_WITH_GENERATED_CMAKE_PROJECT
@@ -2,7 +2,7 @@
2
2
  /// NitroArkOnLoad.hpp
3
3
  /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
4
  /// https://github.com/mrousavy/nitro
5
- /// Copyright © 2025 Marc Rousavy @ Margelo
5
+ /// Copyright © 2026 Marc Rousavy @ Margelo
6
6
  ///
7
7
 
8
8
  #include <jni.h>
@@ -2,7 +2,7 @@
2
2
  /// NitroArkOnLoad.kt
3
3
  /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
4
  /// https://github.com/mrousavy/nitro
5
- /// Copyright © 2025 Marc Rousavy @ Margelo
5
+ /// Copyright © 2026 Marc Rousavy @ Margelo
6
6
  ///
7
7
 
8
8
  package com.margelo.nitro.nitroark
@@ -2,7 +2,7 @@
2
2
  # NitroArk+autolinking.rb
3
3
  # This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
4
  # https://github.com/mrousavy/nitro
5
- # Copyright © 2025 Marc Rousavy @ Margelo
5
+ # Copyright © 2026 Marc Rousavy @ Margelo
6
6
  #
7
7
 
8
8
  # This is a Ruby script that adds all files generated by Nitrogen
@@ -52,7 +52,7 @@ def add_nitrogen_files(spec)
52
52
  spec.pod_target_xcconfig = current_pod_target_xcconfig.merge({
53
53
  # Use C++ 20
54
54
  "CLANG_CXX_LANGUAGE_STANDARD" => "c++20",
55
- # Enables C++ <-> Swift interop (by default it's only C)
55
+ # Enables C++ <-> Swift interop (by default it's only ObjC)
56
56
  "SWIFT_OBJC_INTEROP_MODE" => "objcxx",
57
57
  # Enables stricter modular headers
58
58
  "DEFINES_MODULE" => "YES",
@@ -2,7 +2,7 @@
2
2
  /// NitroArk-Swift-Cxx-Bridge.cpp
3
3
  /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
4
  /// https://github.com/mrousavy/nitro
5
- /// Copyright © 2025 Marc Rousavy @ Margelo
5
+ /// Copyright © 2026 Marc Rousavy @ Margelo
6
6
  ///
7
7
 
8
8
  #include "NitroArk-Swift-Cxx-Bridge.hpp"
@@ -2,7 +2,7 @@
2
2
  /// NitroArk-Swift-Cxx-Bridge.hpp
3
3
  /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
4
  /// https://github.com/mrousavy/nitro
5
- /// Copyright © 2025 Marc Rousavy @ Margelo
5
+ /// Copyright © 2026 Marc Rousavy @ Margelo
6
6
  ///
7
7
 
8
8
  #pragma once
@@ -2,7 +2,7 @@
2
2
  /// NitroArk-Swift-Cxx-Umbrella.hpp
3
3
  /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
4
  /// https://github.com/mrousavy/nitro
5
- /// Copyright © 2025 Marc Rousavy @ Margelo
5
+ /// Copyright © 2026 Marc Rousavy @ Margelo
6
6
  ///
7
7
 
8
8
  #pragma once
@@ -2,7 +2,7 @@
2
2
  /// NitroArkAutolinking.mm
3
3
  /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
4
  /// https://github.com/mrousavy/nitro
5
- /// Copyright © 2025 Marc Rousavy @ Margelo
5
+ /// Copyright © 2026 Marc Rousavy @ Margelo
6
6
  ///
7
7
 
8
8
  #import <Foundation/Foundation.h>
@@ -2,7 +2,7 @@
2
2
  /// NitroArkAutolinking.swift
3
3
  /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
4
  /// https://github.com/mrousavy/nitro
5
- /// Copyright © 2025 Marc Rousavy @ Margelo
5
+ /// Copyright © 2026 Marc Rousavy @ Margelo
6
6
  ///
7
7
 
8
8
  public final class NitroArkAutolinking {
@@ -2,7 +2,7 @@
2
2
  /// ArkoorPaymentResult.hpp
3
3
  /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
4
  /// https://github.com/mrousavy/nitro
5
- /// Copyright © 2025 Marc Rousavy @ Margelo
5
+ /// Copyright © 2026 Marc Rousavy @ Margelo
6
6
  ///
7
7
 
8
8
  #pragma once
@@ -22,6 +22,11 @@
22
22
  #else
23
23
  #error NitroModules cannot be found! Are you sure you installed NitroModules properly?
24
24
  #endif
25
+ #if __has_include(<NitroModules/PropNameIDCache.hpp>)
26
+ #include <NitroModules/PropNameIDCache.hpp>
27
+ #else
28
+ #error NitroModules cannot be found! Are you sure you installed NitroModules properly?
29
+ #endif
25
30
 
26
31
  // Forward declaration of `BarkVtxo` to properly resolve imports.
27
32
  namespace margelo::nitro::nitroark { struct BarkVtxo; }
@@ -35,7 +40,7 @@ namespace margelo::nitro::nitroark {
35
40
  /**
36
41
  * A struct which can be represented as a JavaScript object (ArkoorPaymentResult).
37
42
  */
38
- struct ArkoorPaymentResult {
43
+ struct ArkoorPaymentResult final {
39
44
  public:
40
45
  double amount_sat SWIFT_PRIVATE;
41
46
  std::string destination_pubkey SWIFT_PRIVATE;
@@ -44,6 +49,9 @@ namespace margelo::nitro::nitroark {
44
49
  public:
45
50
  ArkoorPaymentResult() = default;
46
51
  explicit ArkoorPaymentResult(double amount_sat, std::string destination_pubkey, std::vector<BarkVtxo> vtxos): amount_sat(amount_sat), destination_pubkey(destination_pubkey), vtxos(vtxos) {}
52
+
53
+ public:
54
+ friend bool operator==(const ArkoorPaymentResult& lhs, const ArkoorPaymentResult& rhs) = default;
47
55
  };
48
56
 
49
57
  } // namespace margelo::nitro::nitroark
@@ -56,16 +64,16 @@ namespace margelo::nitro {
56
64
  static inline margelo::nitro::nitroark::ArkoorPaymentResult fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
57
65
  jsi::Object obj = arg.asObject(runtime);
58
66
  return margelo::nitro::nitroark::ArkoorPaymentResult(
59
- JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "amount_sat")),
60
- JSIConverter<std::string>::fromJSI(runtime, obj.getProperty(runtime, "destination_pubkey")),
61
- JSIConverter<std::vector<margelo::nitro::nitroark::BarkVtxo>>::fromJSI(runtime, obj.getProperty(runtime, "vtxos"))
67
+ JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "amount_sat"))),
68
+ JSIConverter<std::string>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "destination_pubkey"))),
69
+ JSIConverter<std::vector<margelo::nitro::nitroark::BarkVtxo>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "vtxos")))
62
70
  );
63
71
  }
64
72
  static inline jsi::Value toJSI(jsi::Runtime& runtime, const margelo::nitro::nitroark::ArkoorPaymentResult& arg) {
65
73
  jsi::Object obj(runtime);
66
- obj.setProperty(runtime, "amount_sat", JSIConverter<double>::toJSI(runtime, arg.amount_sat));
67
- obj.setProperty(runtime, "destination_pubkey", JSIConverter<std::string>::toJSI(runtime, arg.destination_pubkey));
68
- obj.setProperty(runtime, "vtxos", JSIConverter<std::vector<margelo::nitro::nitroark::BarkVtxo>>::toJSI(runtime, arg.vtxos));
74
+ obj.setProperty(runtime, PropNameIDCache::get(runtime, "amount_sat"), JSIConverter<double>::toJSI(runtime, arg.amount_sat));
75
+ obj.setProperty(runtime, PropNameIDCache::get(runtime, "destination_pubkey"), JSIConverter<std::string>::toJSI(runtime, arg.destination_pubkey));
76
+ obj.setProperty(runtime, PropNameIDCache::get(runtime, "vtxos"), JSIConverter<std::vector<margelo::nitro::nitroark::BarkVtxo>>::toJSI(runtime, arg.vtxos));
69
77
  return obj;
70
78
  }
71
79
  static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
@@ -76,9 +84,9 @@ namespace margelo::nitro {
76
84
  if (!nitro::isPlainObject(runtime, obj)) {
77
85
  return false;
78
86
  }
79
- if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "amount_sat"))) return false;
80
- if (!JSIConverter<std::string>::canConvert(runtime, obj.getProperty(runtime, "destination_pubkey"))) return false;
81
- if (!JSIConverter<std::vector<margelo::nitro::nitroark::BarkVtxo>>::canConvert(runtime, obj.getProperty(runtime, "vtxos"))) return false;
87
+ if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "amount_sat")))) return false;
88
+ if (!JSIConverter<std::string>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "destination_pubkey")))) return false;
89
+ if (!JSIConverter<std::vector<margelo::nitro::nitroark::BarkVtxo>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "vtxos")))) return false;
82
90
  return true;
83
91
  }
84
92
  };
@@ -2,7 +2,7 @@
2
2
  /// BarkArkInfo.hpp
3
3
  /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
4
  /// https://github.com/mrousavy/nitro
5
- /// Copyright © 2025 Marc Rousavy @ Margelo
5
+ /// Copyright © 2026 Marc Rousavy @ Margelo
6
6
  ///
7
7
 
8
8
  #pragma once
@@ -22,6 +22,11 @@
22
22
  #else
23
23
  #error NitroModules cannot be found! Are you sure you installed NitroModules properly?
24
24
  #endif
25
+ #if __has_include(<NitroModules/PropNameIDCache.hpp>)
26
+ #include <NitroModules/PropNameIDCache.hpp>
27
+ #else
28
+ #error NitroModules cannot be found! Are you sure you installed NitroModules properly?
29
+ #endif
25
30
 
26
31
 
27
32
 
@@ -32,7 +37,7 @@ namespace margelo::nitro::nitroark {
32
37
  /**
33
38
  * A struct which can be represented as a JavaScript object (BarkArkInfo).
34
39
  */
35
- struct BarkArkInfo {
40
+ struct BarkArkInfo final {
36
41
  public:
37
42
  std::string network SWIFT_PRIVATE;
38
43
  std::string server_pubkey SWIFT_PRIVATE;
@@ -47,6 +52,9 @@ namespace margelo::nitro::nitroark {
47
52
  public:
48
53
  BarkArkInfo() = default;
49
54
  explicit BarkArkInfo(std::string network, std::string server_pubkey, double round_interval, double nb_round_nonces, double vtxo_exit_delta, double vtxo_expiry_delta, double htlc_send_expiry_delta, double max_vtxo_amount, double required_board_confirmations): network(network), server_pubkey(server_pubkey), round_interval(round_interval), nb_round_nonces(nb_round_nonces), vtxo_exit_delta(vtxo_exit_delta), vtxo_expiry_delta(vtxo_expiry_delta), htlc_send_expiry_delta(htlc_send_expiry_delta), max_vtxo_amount(max_vtxo_amount), required_board_confirmations(required_board_confirmations) {}
55
+
56
+ public:
57
+ friend bool operator==(const BarkArkInfo& lhs, const BarkArkInfo& rhs) = default;
50
58
  };
51
59
 
52
60
  } // namespace margelo::nitro::nitroark
@@ -59,28 +67,28 @@ namespace margelo::nitro {
59
67
  static inline margelo::nitro::nitroark::BarkArkInfo fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
60
68
  jsi::Object obj = arg.asObject(runtime);
61
69
  return margelo::nitro::nitroark::BarkArkInfo(
62
- JSIConverter<std::string>::fromJSI(runtime, obj.getProperty(runtime, "network")),
63
- JSIConverter<std::string>::fromJSI(runtime, obj.getProperty(runtime, "server_pubkey")),
64
- JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "round_interval")),
65
- JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "nb_round_nonces")),
66
- JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "vtxo_exit_delta")),
67
- JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "vtxo_expiry_delta")),
68
- JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "htlc_send_expiry_delta")),
69
- JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "max_vtxo_amount")),
70
- JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "required_board_confirmations"))
70
+ JSIConverter<std::string>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "network"))),
71
+ JSIConverter<std::string>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "server_pubkey"))),
72
+ JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "round_interval"))),
73
+ JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "nb_round_nonces"))),
74
+ JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "vtxo_exit_delta"))),
75
+ JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "vtxo_expiry_delta"))),
76
+ JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "htlc_send_expiry_delta"))),
77
+ JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "max_vtxo_amount"))),
78
+ JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "required_board_confirmations")))
71
79
  );
72
80
  }
73
81
  static inline jsi::Value toJSI(jsi::Runtime& runtime, const margelo::nitro::nitroark::BarkArkInfo& arg) {
74
82
  jsi::Object obj(runtime);
75
- obj.setProperty(runtime, "network", JSIConverter<std::string>::toJSI(runtime, arg.network));
76
- obj.setProperty(runtime, "server_pubkey", JSIConverter<std::string>::toJSI(runtime, arg.server_pubkey));
77
- obj.setProperty(runtime, "round_interval", JSIConverter<double>::toJSI(runtime, arg.round_interval));
78
- obj.setProperty(runtime, "nb_round_nonces", JSIConverter<double>::toJSI(runtime, arg.nb_round_nonces));
79
- obj.setProperty(runtime, "vtxo_exit_delta", JSIConverter<double>::toJSI(runtime, arg.vtxo_exit_delta));
80
- obj.setProperty(runtime, "vtxo_expiry_delta", JSIConverter<double>::toJSI(runtime, arg.vtxo_expiry_delta));
81
- obj.setProperty(runtime, "htlc_send_expiry_delta", JSIConverter<double>::toJSI(runtime, arg.htlc_send_expiry_delta));
82
- obj.setProperty(runtime, "max_vtxo_amount", JSIConverter<double>::toJSI(runtime, arg.max_vtxo_amount));
83
- obj.setProperty(runtime, "required_board_confirmations", JSIConverter<double>::toJSI(runtime, arg.required_board_confirmations));
83
+ obj.setProperty(runtime, PropNameIDCache::get(runtime, "network"), JSIConverter<std::string>::toJSI(runtime, arg.network));
84
+ obj.setProperty(runtime, PropNameIDCache::get(runtime, "server_pubkey"), JSIConverter<std::string>::toJSI(runtime, arg.server_pubkey));
85
+ obj.setProperty(runtime, PropNameIDCache::get(runtime, "round_interval"), JSIConverter<double>::toJSI(runtime, arg.round_interval));
86
+ obj.setProperty(runtime, PropNameIDCache::get(runtime, "nb_round_nonces"), JSIConverter<double>::toJSI(runtime, arg.nb_round_nonces));
87
+ obj.setProperty(runtime, PropNameIDCache::get(runtime, "vtxo_exit_delta"), JSIConverter<double>::toJSI(runtime, arg.vtxo_exit_delta));
88
+ obj.setProperty(runtime, PropNameIDCache::get(runtime, "vtxo_expiry_delta"), JSIConverter<double>::toJSI(runtime, arg.vtxo_expiry_delta));
89
+ obj.setProperty(runtime, PropNameIDCache::get(runtime, "htlc_send_expiry_delta"), JSIConverter<double>::toJSI(runtime, arg.htlc_send_expiry_delta));
90
+ obj.setProperty(runtime, PropNameIDCache::get(runtime, "max_vtxo_amount"), JSIConverter<double>::toJSI(runtime, arg.max_vtxo_amount));
91
+ obj.setProperty(runtime, PropNameIDCache::get(runtime, "required_board_confirmations"), JSIConverter<double>::toJSI(runtime, arg.required_board_confirmations));
84
92
  return obj;
85
93
  }
86
94
  static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
@@ -91,15 +99,15 @@ namespace margelo::nitro {
91
99
  if (!nitro::isPlainObject(runtime, obj)) {
92
100
  return false;
93
101
  }
94
- if (!JSIConverter<std::string>::canConvert(runtime, obj.getProperty(runtime, "network"))) return false;
95
- if (!JSIConverter<std::string>::canConvert(runtime, obj.getProperty(runtime, "server_pubkey"))) return false;
96
- if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "round_interval"))) return false;
97
- if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "nb_round_nonces"))) return false;
98
- if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "vtxo_exit_delta"))) return false;
99
- if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "vtxo_expiry_delta"))) return false;
100
- if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "htlc_send_expiry_delta"))) return false;
101
- if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "max_vtxo_amount"))) return false;
102
- if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "required_board_confirmations"))) return false;
102
+ if (!JSIConverter<std::string>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "network")))) return false;
103
+ if (!JSIConverter<std::string>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "server_pubkey")))) return false;
104
+ if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "round_interval")))) return false;
105
+ if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "nb_round_nonces")))) return false;
106
+ if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "vtxo_exit_delta")))) return false;
107
+ if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "vtxo_expiry_delta")))) return false;
108
+ if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "htlc_send_expiry_delta")))) return false;
109
+ if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "max_vtxo_amount")))) return false;
110
+ if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "required_board_confirmations")))) return false;
103
111
  return true;
104
112
  }
105
113
  };
@@ -2,7 +2,7 @@
2
2
  /// BarkConfigOpts.hpp
3
3
  /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
4
  /// https://github.com/mrousavy/nitro
5
- /// Copyright © 2025 Marc Rousavy @ Margelo
5
+ /// Copyright © 2026 Marc Rousavy @ Margelo
6
6
  ///
7
7
 
8
8
  #pragma once
@@ -22,6 +22,11 @@
22
22
  #else
23
23
  #error NitroModules cannot be found! Are you sure you installed NitroModules properly?
24
24
  #endif
25
+ #if __has_include(<NitroModules/PropNameIDCache.hpp>)
26
+ #include <NitroModules/PropNameIDCache.hpp>
27
+ #else
28
+ #error NitroModules cannot be found! Are you sure you installed NitroModules properly?
29
+ #endif
25
30
 
26
31
 
27
32
 
@@ -33,7 +38,7 @@ namespace margelo::nitro::nitroark {
33
38
  /**
34
39
  * A struct which can be represented as a JavaScript object (BarkConfigOpts).
35
40
  */
36
- struct BarkConfigOpts {
41
+ struct BarkConfigOpts final {
37
42
  public:
38
43
  std::optional<std::string> ark SWIFT_PRIVATE;
39
44
  std::optional<std::string> esplora SWIFT_PRIVATE;
@@ -50,6 +55,9 @@ namespace margelo::nitro::nitroark {
50
55
  public:
51
56
  BarkConfigOpts() = default;
52
57
  explicit BarkConfigOpts(std::optional<std::string> ark, std::optional<std::string> esplora, std::optional<std::string> bitcoind, std::optional<std::string> bitcoind_cookie, std::optional<std::string> bitcoind_user, std::optional<std::string> bitcoind_pass, std::optional<double> vtxo_refresh_expiry_threshold, std::optional<double> fallback_fee_rate, double htlc_recv_claim_delta, double vtxo_exit_margin, double round_tx_required_confirmations): ark(ark), esplora(esplora), bitcoind(bitcoind), bitcoind_cookie(bitcoind_cookie), bitcoind_user(bitcoind_user), bitcoind_pass(bitcoind_pass), vtxo_refresh_expiry_threshold(vtxo_refresh_expiry_threshold), fallback_fee_rate(fallback_fee_rate), htlc_recv_claim_delta(htlc_recv_claim_delta), vtxo_exit_margin(vtxo_exit_margin), round_tx_required_confirmations(round_tx_required_confirmations) {}
58
+
59
+ public:
60
+ friend bool operator==(const BarkConfigOpts& lhs, const BarkConfigOpts& rhs) = default;
53
61
  };
54
62
 
55
63
  } // namespace margelo::nitro::nitroark
@@ -62,32 +70,32 @@ namespace margelo::nitro {
62
70
  static inline margelo::nitro::nitroark::BarkConfigOpts fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
63
71
  jsi::Object obj = arg.asObject(runtime);
64
72
  return margelo::nitro::nitroark::BarkConfigOpts(
65
- JSIConverter<std::optional<std::string>>::fromJSI(runtime, obj.getProperty(runtime, "ark")),
66
- JSIConverter<std::optional<std::string>>::fromJSI(runtime, obj.getProperty(runtime, "esplora")),
67
- JSIConverter<std::optional<std::string>>::fromJSI(runtime, obj.getProperty(runtime, "bitcoind")),
68
- JSIConverter<std::optional<std::string>>::fromJSI(runtime, obj.getProperty(runtime, "bitcoind_cookie")),
69
- JSIConverter<std::optional<std::string>>::fromJSI(runtime, obj.getProperty(runtime, "bitcoind_user")),
70
- JSIConverter<std::optional<std::string>>::fromJSI(runtime, obj.getProperty(runtime, "bitcoind_pass")),
71
- JSIConverter<std::optional<double>>::fromJSI(runtime, obj.getProperty(runtime, "vtxo_refresh_expiry_threshold")),
72
- JSIConverter<std::optional<double>>::fromJSI(runtime, obj.getProperty(runtime, "fallback_fee_rate")),
73
- JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "htlc_recv_claim_delta")),
74
- JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "vtxo_exit_margin")),
75
- JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "round_tx_required_confirmations"))
73
+ JSIConverter<std::optional<std::string>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "ark"))),
74
+ JSIConverter<std::optional<std::string>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "esplora"))),
75
+ JSIConverter<std::optional<std::string>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "bitcoind"))),
76
+ JSIConverter<std::optional<std::string>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "bitcoind_cookie"))),
77
+ JSIConverter<std::optional<std::string>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "bitcoind_user"))),
78
+ JSIConverter<std::optional<std::string>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "bitcoind_pass"))),
79
+ JSIConverter<std::optional<double>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "vtxo_refresh_expiry_threshold"))),
80
+ JSIConverter<std::optional<double>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "fallback_fee_rate"))),
81
+ JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "htlc_recv_claim_delta"))),
82
+ JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "vtxo_exit_margin"))),
83
+ JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "round_tx_required_confirmations")))
76
84
  );
77
85
  }
78
86
  static inline jsi::Value toJSI(jsi::Runtime& runtime, const margelo::nitro::nitroark::BarkConfigOpts& arg) {
79
87
  jsi::Object obj(runtime);
80
- obj.setProperty(runtime, "ark", JSIConverter<std::optional<std::string>>::toJSI(runtime, arg.ark));
81
- obj.setProperty(runtime, "esplora", JSIConverter<std::optional<std::string>>::toJSI(runtime, arg.esplora));
82
- obj.setProperty(runtime, "bitcoind", JSIConverter<std::optional<std::string>>::toJSI(runtime, arg.bitcoind));
83
- obj.setProperty(runtime, "bitcoind_cookie", JSIConverter<std::optional<std::string>>::toJSI(runtime, arg.bitcoind_cookie));
84
- obj.setProperty(runtime, "bitcoind_user", JSIConverter<std::optional<std::string>>::toJSI(runtime, arg.bitcoind_user));
85
- obj.setProperty(runtime, "bitcoind_pass", JSIConverter<std::optional<std::string>>::toJSI(runtime, arg.bitcoind_pass));
86
- obj.setProperty(runtime, "vtxo_refresh_expiry_threshold", JSIConverter<std::optional<double>>::toJSI(runtime, arg.vtxo_refresh_expiry_threshold));
87
- obj.setProperty(runtime, "fallback_fee_rate", JSIConverter<std::optional<double>>::toJSI(runtime, arg.fallback_fee_rate));
88
- obj.setProperty(runtime, "htlc_recv_claim_delta", JSIConverter<double>::toJSI(runtime, arg.htlc_recv_claim_delta));
89
- obj.setProperty(runtime, "vtxo_exit_margin", JSIConverter<double>::toJSI(runtime, arg.vtxo_exit_margin));
90
- obj.setProperty(runtime, "round_tx_required_confirmations", JSIConverter<double>::toJSI(runtime, arg.round_tx_required_confirmations));
88
+ obj.setProperty(runtime, PropNameIDCache::get(runtime, "ark"), JSIConverter<std::optional<std::string>>::toJSI(runtime, arg.ark));
89
+ obj.setProperty(runtime, PropNameIDCache::get(runtime, "esplora"), JSIConverter<std::optional<std::string>>::toJSI(runtime, arg.esplora));
90
+ obj.setProperty(runtime, PropNameIDCache::get(runtime, "bitcoind"), JSIConverter<std::optional<std::string>>::toJSI(runtime, arg.bitcoind));
91
+ obj.setProperty(runtime, PropNameIDCache::get(runtime, "bitcoind_cookie"), JSIConverter<std::optional<std::string>>::toJSI(runtime, arg.bitcoind_cookie));
92
+ obj.setProperty(runtime, PropNameIDCache::get(runtime, "bitcoind_user"), JSIConverter<std::optional<std::string>>::toJSI(runtime, arg.bitcoind_user));
93
+ obj.setProperty(runtime, PropNameIDCache::get(runtime, "bitcoind_pass"), JSIConverter<std::optional<std::string>>::toJSI(runtime, arg.bitcoind_pass));
94
+ obj.setProperty(runtime, PropNameIDCache::get(runtime, "vtxo_refresh_expiry_threshold"), JSIConverter<std::optional<double>>::toJSI(runtime, arg.vtxo_refresh_expiry_threshold));
95
+ obj.setProperty(runtime, PropNameIDCache::get(runtime, "fallback_fee_rate"), JSIConverter<std::optional<double>>::toJSI(runtime, arg.fallback_fee_rate));
96
+ obj.setProperty(runtime, PropNameIDCache::get(runtime, "htlc_recv_claim_delta"), JSIConverter<double>::toJSI(runtime, arg.htlc_recv_claim_delta));
97
+ obj.setProperty(runtime, PropNameIDCache::get(runtime, "vtxo_exit_margin"), JSIConverter<double>::toJSI(runtime, arg.vtxo_exit_margin));
98
+ obj.setProperty(runtime, PropNameIDCache::get(runtime, "round_tx_required_confirmations"), JSIConverter<double>::toJSI(runtime, arg.round_tx_required_confirmations));
91
99
  return obj;
92
100
  }
93
101
  static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
@@ -98,17 +106,17 @@ namespace margelo::nitro {
98
106
  if (!nitro::isPlainObject(runtime, obj)) {
99
107
  return false;
100
108
  }
101
- if (!JSIConverter<std::optional<std::string>>::canConvert(runtime, obj.getProperty(runtime, "ark"))) return false;
102
- if (!JSIConverter<std::optional<std::string>>::canConvert(runtime, obj.getProperty(runtime, "esplora"))) return false;
103
- if (!JSIConverter<std::optional<std::string>>::canConvert(runtime, obj.getProperty(runtime, "bitcoind"))) return false;
104
- if (!JSIConverter<std::optional<std::string>>::canConvert(runtime, obj.getProperty(runtime, "bitcoind_cookie"))) return false;
105
- if (!JSIConverter<std::optional<std::string>>::canConvert(runtime, obj.getProperty(runtime, "bitcoind_user"))) return false;
106
- if (!JSIConverter<std::optional<std::string>>::canConvert(runtime, obj.getProperty(runtime, "bitcoind_pass"))) return false;
107
- if (!JSIConverter<std::optional<double>>::canConvert(runtime, obj.getProperty(runtime, "vtxo_refresh_expiry_threshold"))) return false;
108
- if (!JSIConverter<std::optional<double>>::canConvert(runtime, obj.getProperty(runtime, "fallback_fee_rate"))) return false;
109
- if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "htlc_recv_claim_delta"))) return false;
110
- if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "vtxo_exit_margin"))) return false;
111
- if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "round_tx_required_confirmations"))) return false;
109
+ if (!JSIConverter<std::optional<std::string>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "ark")))) return false;
110
+ if (!JSIConverter<std::optional<std::string>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "esplora")))) return false;
111
+ if (!JSIConverter<std::optional<std::string>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "bitcoind")))) return false;
112
+ if (!JSIConverter<std::optional<std::string>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "bitcoind_cookie")))) return false;
113
+ if (!JSIConverter<std::optional<std::string>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "bitcoind_user")))) return false;
114
+ if (!JSIConverter<std::optional<std::string>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "bitcoind_pass")))) return false;
115
+ if (!JSIConverter<std::optional<double>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "vtxo_refresh_expiry_threshold")))) return false;
116
+ if (!JSIConverter<std::optional<double>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "fallback_fee_rate")))) return false;
117
+ if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "htlc_recv_claim_delta")))) return false;
118
+ if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "vtxo_exit_margin")))) return false;
119
+ if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "round_tx_required_confirmations")))) return false;
112
120
  return true;
113
121
  }
114
122
  };