@buildonspark/spark-sdk 0.2.13 → 0.3.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.
Files changed (661) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +1 -0
  3. package/android/build/.transforms/2fa2e793098c1ca59a62960f96213e98/results.bin +1 -0
  4. package/android/build/.transforms/2fa2e793098c1ca59a62960f96213e98/transformed/classes/classes_dex/classes.dex +0 -0
  5. package/android/build/.transforms/308f88be04db7858a872b0f370068acf/results.bin +1 -0
  6. package/android/build/.transforms/308f88be04db7858a872b0f370068acf/transformed/classes/classes_dex/classes.dex +0 -0
  7. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/results.bin +1 -0
  8. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/sparkfrost/BuildConfig.dex +0 -0
  9. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/sparkfrost/SparkFrostModule$Companion.dex +0 -0
  10. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/sparkfrost/SparkFrostModule.dex +0 -0
  11. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/sparkfrost/SparkFrostPackage.dex +0 -0
  12. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/Disposable$Companion.dex +0 -0
  13. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/Disposable.dex +0 -0
  14. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/DummyTx$Companion.dex +0 -0
  15. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/DummyTx.dex +0 -0
  16. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/Exception$ErrorHandler.dex +0 -0
  17. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/Exception$Spark.dex +0 -0
  18. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/Exception.dex +0 -0
  19. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverter$DefaultImpls.dex +0 -0
  20. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverter.dex +0 -0
  21. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterBoolean.dex +0 -0
  22. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterByteArray.dex +0 -0
  23. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterMapStringByteArray.dex +0 -0
  24. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterMapStringTypeSigningCommitment.dex +0 -0
  25. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterOptionalByteArray.dex +0 -0
  26. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterRustBuffer$DefaultImpls.dex +0 -0
  27. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterRustBuffer.dex +0 -0
  28. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterSequenceString.dex +0 -0
  29. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterString.dex +0 -0
  30. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeDummyTx.dex +0 -0
  31. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeError.dex +0 -0
  32. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeKeyPackage.dex +0 -0
  33. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeNonceResult.dex +0 -0
  34. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeSigningCommitment.dex +0 -0
  35. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeSigningNonce.dex +0 -0
  36. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeTransactionResult.dex +0 -0
  37. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterUInt.dex +0 -0
  38. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterULong.dex +0 -0
  39. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterUShort.dex +0 -0
  40. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/ForeignBytes$ByValue.dex +0 -0
  41. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/ForeignBytes.dex +0 -0
  42. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/InternalException.dex +0 -0
  43. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/KeyPackage$Companion.dex +0 -0
  44. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/KeyPackage.dex +0 -0
  45. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/NoPointer.dex +0 -0
  46. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/NonceResult$Companion.dex +0 -0
  47. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/NonceResult.dex +0 -0
  48. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/RustBuffer$ByReference.dex +0 -0
  49. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/RustBuffer$ByValue.dex +0 -0
  50. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/RustBuffer$Companion.dex +0 -0
  51. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/RustBuffer.dex +0 -0
  52. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/RustBufferByReference.dex +0 -0
  53. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/SigningCommitment$Companion.dex +0 -0
  54. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/SigningCommitment.dex +0 -0
  55. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/SigningNonce$Companion.dex +0 -0
  56. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/SigningNonce.dex +0 -0
  57. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/Spark_frostKt.dex +0 -0
  58. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/TransactionResult$Companion.dex +0 -0
  59. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/TransactionResult.dex +0 -0
  60. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiCallbackInterfaceFree.dex +0 -0
  61. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFuture$UniffiByValue.dex +0 -0
  62. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFuture.dex +0 -0
  63. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteF32.dex +0 -0
  64. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteF64.dex +0 -0
  65. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteI16.dex +0 -0
  66. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteI32.dex +0 -0
  67. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteI64.dex +0 -0
  68. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteI8.dex +0 -0
  69. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompletePointer.dex +0 -0
  70. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteRustBuffer.dex +0 -0
  71. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteU16.dex +0 -0
  72. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteU32.dex +0 -0
  73. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteU64.dex +0 -0
  74. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteU8.dex +0 -0
  75. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteVoid.dex +0 -0
  76. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureFree.dex +0 -0
  77. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructF32$UniffiByValue.dex +0 -0
  78. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructF32.dex +0 -0
  79. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructF64$UniffiByValue.dex +0 -0
  80. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructF64.dex +0 -0
  81. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI16$UniffiByValue.dex +0 -0
  82. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI16.dex +0 -0
  83. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI32$UniffiByValue.dex +0 -0
  84. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI32.dex +0 -0
  85. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI64$UniffiByValue.dex +0 -0
  86. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI64.dex +0 -0
  87. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI8$UniffiByValue.dex +0 -0
  88. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI8.dex +0 -0
  89. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructPointer$UniffiByValue.dex +0 -0
  90. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructPointer.dex +0 -0
  91. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructRustBuffer$UniffiByValue.dex +0 -0
  92. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructRustBuffer.dex +0 -0
  93. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU16$UniffiByValue.dex +0 -0
  94. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU16.dex +0 -0
  95. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU32$UniffiByValue.dex +0 -0
  96. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU32.dex +0 -0
  97. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU64$UniffiByValue.dex +0 -0
  98. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU64.dex +0 -0
  99. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU8$UniffiByValue.dex +0 -0
  100. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU8.dex +0 -0
  101. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructVoid$UniffiByValue.dex +0 -0
  102. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructVoid.dex +0 -0
  103. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiHandleMap.dex +0 -0
  104. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiLib$Companion.dex +0 -0
  105. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiLib.dex +0 -0
  106. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiNullRustCallStatusErrorHandler.dex +0 -0
  107. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiRustCallStatus$ByValue.dex +0 -0
  108. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiRustCallStatus$Companion.dex +0 -0
  109. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiRustCallStatus.dex +0 -0
  110. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiRustCallStatusErrorHandler.dex +0 -0
  111. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiRustFutureContinuationCallback.dex +0 -0
  112. package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  113. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/results.bin +1 -0
  114. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/sparkfrost/BuildConfig.dex +0 -0
  115. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/sparkfrost/SparkFrostModule$Companion.dex +0 -0
  116. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/sparkfrost/SparkFrostModule.dex +0 -0
  117. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/sparkfrost/SparkFrostPackage.dex +0 -0
  118. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/Disposable$Companion.dex +0 -0
  119. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/Disposable.dex +0 -0
  120. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/DummyTx$Companion.dex +0 -0
  121. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/DummyTx.dex +0 -0
  122. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/Exception$ErrorHandler.dex +0 -0
  123. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/Exception$Spark.dex +0 -0
  124. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/Exception.dex +0 -0
  125. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverter$DefaultImpls.dex +0 -0
  126. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverter.dex +0 -0
  127. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterBoolean.dex +0 -0
  128. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterByteArray.dex +0 -0
  129. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterMapStringByteArray.dex +0 -0
  130. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterMapStringTypeSigningCommitment.dex +0 -0
  131. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterOptionalByteArray.dex +0 -0
  132. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterRustBuffer$DefaultImpls.dex +0 -0
  133. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterRustBuffer.dex +0 -0
  134. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterSequenceString.dex +0 -0
  135. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterString.dex +0 -0
  136. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeDummyTx.dex +0 -0
  137. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeError.dex +0 -0
  138. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeKeyPackage.dex +0 -0
  139. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeNonceResult.dex +0 -0
  140. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeSigningCommitment.dex +0 -0
  141. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeSigningNonce.dex +0 -0
  142. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeTransactionResult.dex +0 -0
  143. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterUInt.dex +0 -0
  144. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterULong.dex +0 -0
  145. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterUShort.dex +0 -0
  146. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/ForeignBytes$ByValue.dex +0 -0
  147. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/ForeignBytes.dex +0 -0
  148. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/InternalException.dex +0 -0
  149. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/KeyPackage$Companion.dex +0 -0
  150. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/KeyPackage.dex +0 -0
  151. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/NoPointer.dex +0 -0
  152. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/NonceResult$Companion.dex +0 -0
  153. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/NonceResult.dex +0 -0
  154. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/RustBuffer$ByReference.dex +0 -0
  155. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/RustBuffer$ByValue.dex +0 -0
  156. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/RustBuffer$Companion.dex +0 -0
  157. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/RustBuffer.dex +0 -0
  158. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/RustBufferByReference.dex +0 -0
  159. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/SigningCommitment$Companion.dex +0 -0
  160. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/SigningCommitment.dex +0 -0
  161. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/SigningNonce$Companion.dex +0 -0
  162. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/SigningNonce.dex +0 -0
  163. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/Spark_frostKt.dex +0 -0
  164. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/TransactionResult$Companion.dex +0 -0
  165. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/TransactionResult.dex +0 -0
  166. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiCallbackInterfaceFree.dex +0 -0
  167. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFuture$UniffiByValue.dex +0 -0
  168. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFuture.dex +0 -0
  169. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteF32.dex +0 -0
  170. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteF64.dex +0 -0
  171. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteI16.dex +0 -0
  172. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteI32.dex +0 -0
  173. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteI64.dex +0 -0
  174. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteI8.dex +0 -0
  175. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompletePointer.dex +0 -0
  176. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteRustBuffer.dex +0 -0
  177. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteU16.dex +0 -0
  178. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteU32.dex +0 -0
  179. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteU64.dex +0 -0
  180. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteU8.dex +0 -0
  181. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteVoid.dex +0 -0
  182. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureFree.dex +0 -0
  183. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructF32$UniffiByValue.dex +0 -0
  184. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructF32.dex +0 -0
  185. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructF64$UniffiByValue.dex +0 -0
  186. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructF64.dex +0 -0
  187. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI16$UniffiByValue.dex +0 -0
  188. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI16.dex +0 -0
  189. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI32$UniffiByValue.dex +0 -0
  190. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI32.dex +0 -0
  191. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI64$UniffiByValue.dex +0 -0
  192. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI64.dex +0 -0
  193. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI8$UniffiByValue.dex +0 -0
  194. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI8.dex +0 -0
  195. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructPointer$UniffiByValue.dex +0 -0
  196. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructPointer.dex +0 -0
  197. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructRustBuffer$UniffiByValue.dex +0 -0
  198. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructRustBuffer.dex +0 -0
  199. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU16$UniffiByValue.dex +0 -0
  200. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU16.dex +0 -0
  201. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU32$UniffiByValue.dex +0 -0
  202. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU32.dex +0 -0
  203. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU64$UniffiByValue.dex +0 -0
  204. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU64.dex +0 -0
  205. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU8$UniffiByValue.dex +0 -0
  206. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU8.dex +0 -0
  207. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructVoid$UniffiByValue.dex +0 -0
  208. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructVoid.dex +0 -0
  209. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiHandleMap.dex +0 -0
  210. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiLib$Companion.dex +0 -0
  211. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiLib.dex +0 -0
  212. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiNullRustCallStatusErrorHandler.dex +0 -0
  213. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiRustCallStatus$ByValue.dex +0 -0
  214. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiRustCallStatus$Companion.dex +0 -0
  215. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiRustCallStatus.dex +0 -0
  216. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiRustCallStatusErrorHandler.dex +0 -0
  217. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiRustFutureContinuationCallback.dex +0 -0
  218. package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  219. package/android/build/generated/source/buildConfig/debug/com/sparkfrost/BuildConfig.java +10 -0
  220. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +7 -0
  221. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
  222. package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
  223. package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
  224. package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  225. package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  226. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -0
  227. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
  228. package/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +2 -0
  229. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
  230. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
  231. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
  232. package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/buildonspark_spark-sdk_debug.kotlin_module +0 -0
  233. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/sparkfrost/BuildConfig.class +0 -0
  234. package/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/arm64-v8a/libspark_frost.so +0 -0
  235. package/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/arm64-v8a/libuniffi_spark_frost.so +0 -0
  236. package/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/armeabi-v7a/libspark_frost.so +0 -0
  237. package/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/armeabi-v7a/libuniffi_spark_frost.so +0 -0
  238. package/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/x86/libspark_frost.so +0 -0
  239. package/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/x86/libuniffi_spark_frost.so +0 -0
  240. package/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/x86_64/libspark_frost.so +0 -0
  241. package/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/x86_64/libuniffi_spark_frost.so +0 -0
  242. package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +2 -0
  243. package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +7 -0
  244. package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/arm64-v8a/libspark_frost.so +0 -0
  245. package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/arm64-v8a/libuniffi_spark_frost.so +0 -0
  246. package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/armeabi-v7a/libspark_frost.so +0 -0
  247. package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/armeabi-v7a/libuniffi_spark_frost.so +0 -0
  248. package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/x86/libspark_frost.so +0 -0
  249. package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/x86/libuniffi_spark_frost.so +0 -0
  250. package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/x86_64/libspark_frost.so +0 -0
  251. package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/x86_64/libuniffi_spark_frost.so +0 -0
  252. package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +7 -0
  253. package/android/build/intermediates/merged_native_libs/debug/mergeDebugNativeLibs/out/lib/arm64-v8a/libspark_frost.so +0 -0
  254. package/android/build/intermediates/merged_native_libs/debug/mergeDebugNativeLibs/out/lib/arm64-v8a/libuniffi_spark_frost.so +0 -0
  255. package/android/build/intermediates/merged_native_libs/debug/mergeDebugNativeLibs/out/lib/armeabi-v7a/libspark_frost.so +0 -0
  256. package/android/build/intermediates/merged_native_libs/debug/mergeDebugNativeLibs/out/lib/armeabi-v7a/libuniffi_spark_frost.so +0 -0
  257. package/android/build/intermediates/merged_native_libs/debug/mergeDebugNativeLibs/out/lib/x86/libspark_frost.so +0 -0
  258. package/android/build/intermediates/merged_native_libs/debug/mergeDebugNativeLibs/out/lib/x86/libuniffi_spark_frost.so +0 -0
  259. package/android/build/intermediates/merged_native_libs/debug/mergeDebugNativeLibs/out/lib/x86_64/libspark_frost.so +0 -0
  260. package/android/build/intermediates/merged_native_libs/debug/mergeDebugNativeLibs/out/lib/x86_64/libuniffi_spark_frost.so +0 -0
  261. package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
  262. package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
  263. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/buildonspark_spark-sdk_debug.kotlin_module +0 -0
  264. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/sparkfrost/BuildConfig.class +0 -0
  265. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/sparkfrost/SparkFrostModule$Companion.class +0 -0
  266. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/sparkfrost/SparkFrostModule.class +0 -0
  267. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/sparkfrost/SparkFrostPackage.class +0 -0
  268. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/Disposable$Companion.class +0 -0
  269. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/Disposable.class +0 -0
  270. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/DummyTx$Companion.class +0 -0
  271. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/DummyTx.class +0 -0
  272. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/Exception$ErrorHandler.class +0 -0
  273. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/Exception$Spark.class +0 -0
  274. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/Exception.class +0 -0
  275. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverter$DefaultImpls.class +0 -0
  276. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverter.class +0 -0
  277. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterBoolean.class +0 -0
  278. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterByteArray.class +0 -0
  279. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterMapStringByteArray.class +0 -0
  280. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterMapStringTypeSigningCommitment.class +0 -0
  281. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterOptionalByteArray.class +0 -0
  282. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterRustBuffer$DefaultImpls.class +0 -0
  283. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterRustBuffer.class +0 -0
  284. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterSequenceString.class +0 -0
  285. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterString.class +0 -0
  286. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterTypeDummyTx.class +0 -0
  287. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterTypeError.class +0 -0
  288. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterTypeKeyPackage.class +0 -0
  289. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterTypeNonceResult.class +0 -0
  290. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterTypeSigningCommitment.class +0 -0
  291. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterTypeSigningNonce.class +0 -0
  292. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterTypeTransactionResult.class +0 -0
  293. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterUInt.class +0 -0
  294. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterULong.class +0 -0
  295. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterUShort.class +0 -0
  296. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/ForeignBytes$ByValue.class +0 -0
  297. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/ForeignBytes.class +0 -0
  298. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/InternalException.class +0 -0
  299. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/KeyPackage$Companion.class +0 -0
  300. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/KeyPackage.class +0 -0
  301. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/NoPointer.class +0 -0
  302. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/NonceResult$Companion.class +0 -0
  303. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/NonceResult.class +0 -0
  304. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/RustBuffer$ByReference.class +0 -0
  305. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/RustBuffer$ByValue.class +0 -0
  306. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/RustBuffer$Companion.class +0 -0
  307. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/RustBuffer.class +0 -0
  308. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/RustBufferByReference.class +0 -0
  309. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/SigningCommitment$Companion.class +0 -0
  310. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/SigningCommitment.class +0 -0
  311. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/SigningNonce$Companion.class +0 -0
  312. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/SigningNonce.class +0 -0
  313. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/Spark_frostKt.class +0 -0
  314. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/TransactionResult$Companion.class +0 -0
  315. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/TransactionResult.class +0 -0
  316. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiCallbackInterfaceFree.class +0 -0
  317. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFuture$UniffiByValue.class +0 -0
  318. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFuture.class +0 -0
  319. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompleteF32.class +0 -0
  320. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompleteF64.class +0 -0
  321. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompleteI16.class +0 -0
  322. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompleteI32.class +0 -0
  323. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompleteI64.class +0 -0
  324. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompleteI8.class +0 -0
  325. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompletePointer.class +0 -0
  326. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompleteRustBuffer.class +0 -0
  327. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompleteU16.class +0 -0
  328. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompleteU32.class +0 -0
  329. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompleteU64.class +0 -0
  330. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompleteU8.class +0 -0
  331. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompleteVoid.class +0 -0
  332. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureFree.class +0 -0
  333. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructF32$UniffiByValue.class +0 -0
  334. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructF32.class +0 -0
  335. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructF64$UniffiByValue.class +0 -0
  336. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructF64.class +0 -0
  337. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructI16$UniffiByValue.class +0 -0
  338. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructI16.class +0 -0
  339. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructI32$UniffiByValue.class +0 -0
  340. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructI32.class +0 -0
  341. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructI64$UniffiByValue.class +0 -0
  342. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructI64.class +0 -0
  343. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructI8$UniffiByValue.class +0 -0
  344. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructI8.class +0 -0
  345. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructPointer$UniffiByValue.class +0 -0
  346. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructPointer.class +0 -0
  347. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructRustBuffer$UniffiByValue.class +0 -0
  348. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructRustBuffer.class +0 -0
  349. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructU16$UniffiByValue.class +0 -0
  350. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructU16.class +0 -0
  351. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructU32$UniffiByValue.class +0 -0
  352. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructU32.class +0 -0
  353. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructU64$UniffiByValue.class +0 -0
  354. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructU64.class +0 -0
  355. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructU8$UniffiByValue.class +0 -0
  356. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructU8.class +0 -0
  357. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructVoid$UniffiByValue.class +0 -0
  358. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructVoid.class +0 -0
  359. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiHandleMap.class +0 -0
  360. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiLib$Companion.class +0 -0
  361. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiLib.class +0 -0
  362. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiNullRustCallStatusErrorHandler.class +0 -0
  363. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiRustCallStatus$ByValue.class +0 -0
  364. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiRustCallStatus$Companion.class +0 -0
  365. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiRustCallStatus.class +0 -0
  366. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiRustCallStatusErrorHandler.class +0 -0
  367. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiRustFutureContinuationCallback.class +0 -0
  368. package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  369. package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +1 -0
  370. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
  371. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  372. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  373. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
  374. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  375. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
  376. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
  377. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  378. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  379. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  380. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  381. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  382. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  383. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
  384. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  385. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  386. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  387. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  388. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  389. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  390. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
  391. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
  392. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
  393. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
  394. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
  395. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
  396. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
  397. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
  398. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/inline-functions.tab +0 -0
  399. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/inline-functions.tab.keystream +0 -0
  400. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/inline-functions.tab.keystream.len +0 -0
  401. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/inline-functions.tab.len +0 -0
  402. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/inline-functions.tab.values.at +0 -0
  403. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/inline-functions.tab_i +0 -0
  404. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/inline-functions.tab_i.len +0 -0
  405. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  406. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  407. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  408. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  409. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  410. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  411. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
  412. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab +0 -0
  413. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream +0 -0
  414. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream.len +0 -0
  415. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.len +0 -0
  416. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.values.at +0 -0
  417. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i +0 -0
  418. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i.len +0 -0
  419. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
  420. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  421. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  422. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  423. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values +0 -0
  424. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  425. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.s +1 -0
  426. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  427. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
  428. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  429. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  430. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  431. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  432. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  433. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  434. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
  435. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  436. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
  437. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
  438. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
  439. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  440. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
  441. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
  442. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  443. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  444. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  445. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  446. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  447. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  448. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
  449. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
  450. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
  451. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  452. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  453. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
  454. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  455. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
  456. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
  457. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
  458. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  459. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  460. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
  461. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  462. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
  463. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
  464. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
  465. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
  466. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  467. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
  468. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
  469. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
  470. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
  471. package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
  472. package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
  473. package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
  474. package/android/build/outputs/logs/manifest-merger-debug-report.txt +16 -0
  475. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  476. package/android/build/tmp/kotlin-classes/debug/META-INF/buildonspark_spark-sdk_debug.kotlin_module +0 -0
  477. package/android/build/tmp/kotlin-classes/debug/com/sparkfrost/SparkFrostModule$Companion.class +0 -0
  478. package/android/build/tmp/kotlin-classes/debug/com/sparkfrost/SparkFrostModule.class +0 -0
  479. package/android/build/tmp/kotlin-classes/debug/com/sparkfrost/SparkFrostPackage.class +0 -0
  480. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/Disposable$Companion.class +0 -0
  481. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/Disposable.class +0 -0
  482. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/DummyTx$Companion.class +0 -0
  483. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/DummyTx.class +0 -0
  484. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/Exception$ErrorHandler.class +0 -0
  485. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/Exception$Spark.class +0 -0
  486. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/Exception.class +0 -0
  487. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverter$DefaultImpls.class +0 -0
  488. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverter.class +0 -0
  489. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterBoolean.class +0 -0
  490. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterByteArray.class +0 -0
  491. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterMapStringByteArray.class +0 -0
  492. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterMapStringTypeSigningCommitment.class +0 -0
  493. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterOptionalByteArray.class +0 -0
  494. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterRustBuffer$DefaultImpls.class +0 -0
  495. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterRustBuffer.class +0 -0
  496. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterSequenceString.class +0 -0
  497. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterString.class +0 -0
  498. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterTypeDummyTx.class +0 -0
  499. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterTypeError.class +0 -0
  500. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterTypeKeyPackage.class +0 -0
  501. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterTypeNonceResult.class +0 -0
  502. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterTypeSigningCommitment.class +0 -0
  503. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterTypeSigningNonce.class +0 -0
  504. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterTypeTransactionResult.class +0 -0
  505. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterUInt.class +0 -0
  506. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterULong.class +0 -0
  507. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterUShort.class +0 -0
  508. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/ForeignBytes$ByValue.class +0 -0
  509. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/ForeignBytes.class +0 -0
  510. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/InternalException.class +0 -0
  511. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/KeyPackage$Companion.class +0 -0
  512. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/KeyPackage.class +0 -0
  513. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/NoPointer.class +0 -0
  514. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/NonceResult$Companion.class +0 -0
  515. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/NonceResult.class +0 -0
  516. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/RustBuffer$ByReference.class +0 -0
  517. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/RustBuffer$ByValue.class +0 -0
  518. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/RustBuffer$Companion.class +0 -0
  519. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/RustBuffer.class +0 -0
  520. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/RustBufferByReference.class +0 -0
  521. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/SigningCommitment$Companion.class +0 -0
  522. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/SigningCommitment.class +0 -0
  523. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/SigningNonce$Companion.class +0 -0
  524. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/SigningNonce.class +0 -0
  525. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/Spark_frostKt.class +0 -0
  526. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/TransactionResult$Companion.class +0 -0
  527. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/TransactionResult.class +0 -0
  528. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiCallbackInterfaceFree.class +0 -0
  529. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFuture$UniffiByValue.class +0 -0
  530. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFuture.class +0 -0
  531. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompleteF32.class +0 -0
  532. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompleteF64.class +0 -0
  533. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompleteI16.class +0 -0
  534. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompleteI32.class +0 -0
  535. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompleteI64.class +0 -0
  536. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompleteI8.class +0 -0
  537. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompletePointer.class +0 -0
  538. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompleteRustBuffer.class +0 -0
  539. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompleteU16.class +0 -0
  540. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompleteU32.class +0 -0
  541. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompleteU64.class +0 -0
  542. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompleteU8.class +0 -0
  543. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompleteVoid.class +0 -0
  544. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureFree.class +0 -0
  545. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructF32$UniffiByValue.class +0 -0
  546. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructF32.class +0 -0
  547. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructF64$UniffiByValue.class +0 -0
  548. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructF64.class +0 -0
  549. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructI16$UniffiByValue.class +0 -0
  550. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructI16.class +0 -0
  551. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructI32$UniffiByValue.class +0 -0
  552. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructI32.class +0 -0
  553. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructI64$UniffiByValue.class +0 -0
  554. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructI64.class +0 -0
  555. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructI8$UniffiByValue.class +0 -0
  556. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructI8.class +0 -0
  557. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructPointer$UniffiByValue.class +0 -0
  558. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructPointer.class +0 -0
  559. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructRustBuffer$UniffiByValue.class +0 -0
  560. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructRustBuffer.class +0 -0
  561. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructU16$UniffiByValue.class +0 -0
  562. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructU16.class +0 -0
  563. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructU32$UniffiByValue.class +0 -0
  564. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructU32.class +0 -0
  565. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructU64$UniffiByValue.class +0 -0
  566. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructU64.class +0 -0
  567. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructU8$UniffiByValue.class +0 -0
  568. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructU8.class +0 -0
  569. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructVoid$UniffiByValue.class +0 -0
  570. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructVoid.class +0 -0
  571. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiHandleMap.class +0 -0
  572. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiLib$Companion.class +0 -0
  573. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiLib.class +0 -0
  574. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiNullRustCallStatusErrorHandler.class +0 -0
  575. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiRustCallStatus$ByValue.class +0 -0
  576. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiRustCallStatus$Companion.class +0 -0
  577. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiRustCallStatus.class +0 -0
  578. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiRustCallStatusErrorHandler.class +0 -0
  579. package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiRustFutureContinuationCallback.class +0 -0
  580. package/dist/bare/index.cjs +931 -221
  581. package/dist/bare/index.d.cts +149 -57
  582. package/dist/bare/index.d.ts +149 -57
  583. package/dist/bare/index.js +865 -210
  584. package/dist/bare/{wasm-F5QFVBNZ.js → wasm-K4VEMHRK.js} +64 -12
  585. package/dist/{chunk-CKHJFQUA.js → chunk-62SSODEF.js} +2 -2
  586. package/dist/{chunk-XXTWWW6L.js → chunk-73GJOG5R.js} +37 -5
  587. package/dist/{chunk-5VWGOHED.js → chunk-MGCUXELA.js} +250 -12
  588. package/dist/{chunk-TB7DG5CU.js → chunk-MH7BMOLL.js} +1 -1
  589. package/dist/{chunk-LX45BCZW.js → chunk-RFP7E7TK.js} +604 -197
  590. package/dist/{client-DVuA5-7M.d.cts → client-DUFejFfn.d.cts} +2 -2
  591. package/dist/{client-D7KDa4Ih.d.ts → client-DrjQwET9.d.ts} +2 -2
  592. package/dist/debug.cjs +929 -226
  593. package/dist/debug.d.cts +10 -6
  594. package/dist/debug.d.ts +10 -6
  595. package/dist/debug.js +4 -4
  596. package/dist/graphql/objects/index.d.cts +3 -3
  597. package/dist/graphql/objects/index.d.ts +3 -3
  598. package/dist/index.cjs +935 -225
  599. package/dist/index.d.cts +7 -7
  600. package/dist/index.d.ts +7 -7
  601. package/dist/index.js +13 -6
  602. package/dist/index.node.cjs +934 -224
  603. package/dist/index.node.d.cts +7 -7
  604. package/dist/index.node.d.ts +7 -7
  605. package/dist/index.node.js +12 -5
  606. package/dist/{logging-CaNpBgiE.d.ts → logging-DBQP4xwp.d.ts} +5 -5
  607. package/dist/{logging-BfTyKwqb.d.cts → logging-Rw9YSBp4.d.cts} +5 -5
  608. package/dist/native/index.cjs +934 -224
  609. package/dist/native/index.d.cts +127 -22
  610. package/dist/native/index.d.ts +127 -22
  611. package/dist/native/index.js +866 -210
  612. package/dist/native/{wasm-3YAXKQ7F.js → wasm-KT5NZXRN.js} +64 -12
  613. package/dist/proto/spark.cjs +250 -12
  614. package/dist/proto/spark.d.cts +1 -1
  615. package/dist/proto/spark.d.ts +1 -1
  616. package/dist/proto/spark.js +11 -1
  617. package/dist/proto/spark_token.cjs +240 -4
  618. package/dist/proto/spark_token.d.cts +4 -1
  619. package/dist/proto/spark_token.d.ts +4 -1
  620. package/dist/proto/spark_token.js +2 -2
  621. package/dist/{spark-C7OG9mGJ.d.cts → spark-CLz4-Ln8.d.cts} +31 -3
  622. package/dist/{spark-C7OG9mGJ.d.ts → spark-CLz4-Ln8.d.ts} +31 -3
  623. package/dist/{spark-wallet-Dvh1BLP6.d.cts → spark-wallet-DAHB55v6.d.cts} +143 -61
  624. package/dist/{spark-wallet-D0Df_P_x.d.ts → spark-wallet-DW0_1REx.d.ts} +143 -61
  625. package/dist/{spark-wallet.node-bGmy8-T8.d.ts → spark-wallet.node-CFSOZ0ea.d.cts} +1 -1
  626. package/dist/{spark-wallet.node-B3V8_fgw.d.cts → spark-wallet.node-CIqbulUR.d.ts} +1 -1
  627. package/dist/spark_bindings/wasm/index.cjs +64 -12
  628. package/dist/spark_bindings/wasm/index.js +64 -12
  629. package/dist/tests/test-utils.cjs +383 -42
  630. package/dist/tests/test-utils.d.cts +10 -6
  631. package/dist/tests/test-utils.d.ts +10 -6
  632. package/dist/tests/test-utils.js +12 -6
  633. package/dist/{token-transactions-D1ta-sHH.d.cts → token-transactions-HH_7O9pv.d.cts} +2 -2
  634. package/dist/{token-transactions-DINiKBzd.d.ts → token-transactions-Inr6k6Wf.d.ts} +2 -2
  635. package/dist/types/index.cjs +245 -12
  636. package/dist/types/index.d.cts +2 -2
  637. package/dist/types/index.d.ts +2 -2
  638. package/dist/types/index.js +2 -2
  639. package/package.json +4 -4
  640. package/src/constants.ts +20 -6
  641. package/src/index.ts +2 -2
  642. package/src/proto/spark.ts +279 -12
  643. package/src/proto/spark_token.ts +42 -3
  644. package/src/services/token-transactions.ts +66 -8
  645. package/src/services/transfer.ts +3 -1
  646. package/src/spark-wallet/proto-descriptors.ts +1 -1
  647. package/src/spark-wallet/spark-wallet.ts +548 -177
  648. package/src/spark-wallet/types.ts +75 -5
  649. package/src/spark_bindings/wasm/index.ts +66 -12
  650. package/src/spark_descriptors.pb +0 -0
  651. package/src/tests/address.test.ts +42 -11
  652. package/src/tests/integration/address.test.ts +1 -1
  653. package/src/tests/integration/token-output.test.ts +83 -0
  654. package/src/tests/integration/transfer.test.ts +330 -7
  655. package/src/tests/test-utils.ts +7 -0
  656. package/src/tests/token-hashing.test.ts +5 -5
  657. package/src/tests/xchain-address.test.ts +3 -3
  658. package/src/utils/address.ts +58 -31
  659. package/src/utils/fetch.ts +1 -1
  660. package/src/utils/transaction.ts +8 -8
  661. /package/{dist/chunk-BYXBJQAS.js → android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt} +0 -0
@@ -1111,14 +1111,34 @@ function signFrost({
1111
1111
  statechainCommitments,
1112
1112
  adaptorPubKey
1113
1113
  }) {
1114
- SparkSdkLogger.get(LOGGER_NAMES.wasm).trace("signFrost", {
1114
+ const logMsg = JSON.stringify({
1115
1115
  message: (0, import_utils12.bytesToHex)(message),
1116
- keyPackage,
1117
- nonce,
1118
- selfCommitment,
1119
- statechainCommitments
1116
+ keyPackage: {
1117
+ secretKey: (0, import_utils12.bytesToHex)(keyPackage.secretKey),
1118
+ publicKey: (0, import_utils12.bytesToHex)(keyPackage.publicKey),
1119
+ verifyingKey: (0, import_utils12.bytesToHex)(keyPackage.verifyingKey)
1120
+ },
1121
+ nonce: {
1122
+ hiding: (0, import_utils12.bytesToHex)(nonce.hiding),
1123
+ binding: (0, import_utils12.bytesToHex)(nonce.binding)
1124
+ },
1125
+ selfCommitment: {
1126
+ hiding: (0, import_utils12.bytesToHex)(selfCommitment.hiding),
1127
+ binding: (0, import_utils12.bytesToHex)(selfCommitment.binding)
1128
+ },
1129
+ statechainCommitments: Object.fromEntries(
1130
+ Object.entries(statechainCommitments ?? {}).map(([k, v]) => [
1131
+ k,
1132
+ {
1133
+ hiding: (0, import_utils12.bytesToHex)(v.hiding),
1134
+ binding: (0, import_utils12.bytesToHex)(v.binding)
1135
+ }
1136
+ ])
1137
+ ),
1138
+ adaptorPubKey: adaptorPubKey ? (0, import_utils12.bytesToHex)(adaptorPubKey) : void 0
1120
1139
  });
1121
- return wasm_sign_frost(
1140
+ SparkSdkLogger.get(LOGGER_NAMES.wasm).trace("signFrost", logMsg);
1141
+ const result = wasm_sign_frost(
1122
1142
  message,
1123
1143
  createKeyPackage(keyPackage),
1124
1144
  createSigningNonce2(nonce),
@@ -1126,6 +1146,11 @@ function signFrost({
1126
1146
  statechainCommitments,
1127
1147
  adaptorPubKey
1128
1148
  );
1149
+ SparkSdkLogger.get(LOGGER_NAMES.wasm).trace(
1150
+ "signFrost result",
1151
+ (0, import_utils12.bytesToHex)(result)
1152
+ );
1153
+ return result;
1129
1154
  }
1130
1155
  function aggregateFrost({
1131
1156
  message,
@@ -1138,18 +1163,40 @@ function aggregateFrost({
1138
1163
  verifyingKey,
1139
1164
  adaptorPubKey
1140
1165
  }) {
1141
- SparkSdkLogger.get(LOGGER_NAMES.wasm).trace("aggregateFrost", {
1166
+ const logMsg = JSON.stringify({
1142
1167
  message: (0, import_utils12.bytesToHex)(message),
1143
- statechainCommitments,
1144
- selfCommitment,
1145
- statechainSignatures,
1168
+ statechainCommitments: Object.fromEntries(
1169
+ Object.entries(statechainCommitments ?? {}).map(([k, v]) => [
1170
+ k,
1171
+ {
1172
+ hiding: (0, import_utils12.bytesToHex)(v.hiding),
1173
+ binding: (0, import_utils12.bytesToHex)(v.binding)
1174
+ }
1175
+ ])
1176
+ ),
1177
+ selfCommitment: {
1178
+ hiding: (0, import_utils12.bytesToHex)(selfCommitment.hiding),
1179
+ binding: (0, import_utils12.bytesToHex)(selfCommitment.binding)
1180
+ },
1181
+ statechainSignatures: Object.fromEntries(
1182
+ Object.entries(statechainSignatures ?? {}).map(([k, v]) => [
1183
+ k,
1184
+ (0, import_utils12.bytesToHex)(v)
1185
+ ])
1186
+ ),
1146
1187
  selfSignature: (0, import_utils12.bytesToHex)(selfSignature),
1147
- statechainPublicKeys,
1188
+ statechainPublicKeys: Object.fromEntries(
1189
+ Object.entries(statechainPublicKeys ?? {}).map(([k, v]) => [
1190
+ k,
1191
+ (0, import_utils12.bytesToHex)(v)
1192
+ ])
1193
+ ),
1148
1194
  selfPublicKey: (0, import_utils12.bytesToHex)(selfPublicKey),
1149
1195
  verifyingKey: (0, import_utils12.bytesToHex)(verifyingKey),
1150
1196
  adaptorPubKey: adaptorPubKey ? (0, import_utils12.bytesToHex)(adaptorPubKey) : void 0
1151
1197
  });
1152
- return wasm_aggregate_frost(
1198
+ SparkSdkLogger.get(LOGGER_NAMES.wasm).trace("aggregateFrost", logMsg);
1199
+ const result = wasm_aggregate_frost(
1153
1200
  message,
1154
1201
  statechainCommitments,
1155
1202
  createSigningCommitment2(selfCommitment),
@@ -1160,6 +1207,11 @@ function aggregateFrost({
1160
1207
  verifyingKey,
1161
1208
  adaptorPubKey
1162
1209
  );
1210
+ SparkSdkLogger.get(LOGGER_NAMES.wasm).trace(
1211
+ "aggregateFrost result",
1212
+ (0, import_utils12.bytesToHex)(result)
1213
+ );
1214
+ return result;
1163
1215
  }
1164
1216
  function createDummyTx({
1165
1217
  address: address2,
@@ -1386,6 +1438,7 @@ __export(index_exports, {
1386
1438
  SparkSDKError: () => SparkSDKError,
1387
1439
  SparkSdkLogger: () => SparkSdkLogger,
1388
1440
  SparkWallet: () => SparkWallet,
1441
+ SparkWalletEvent: () => SparkWalletEvent,
1389
1442
  TEST_UNILATERAL_DIRECT_SEQUENCE: () => TEST_UNILATERAL_DIRECT_SEQUENCE,
1390
1443
  TEST_UNILATERAL_SEQUENCE: () => TEST_UNILATERAL_SEQUENCE,
1391
1444
  TokenTransactionService: () => TokenTransactionService,
@@ -1395,6 +1448,7 @@ __export(index_exports, {
1395
1448
  addPublicKeys: () => addPublicKeys,
1396
1449
  applyAdaptorToSignature: () => applyAdaptorToSignature,
1397
1450
  applyAdditiveTweakToPublicKey: () => applyAdditiveTweakToPublicKey,
1451
+ assertBech32: () => assertBech32,
1398
1452
  bech32mDecode: () => bech32mDecode,
1399
1453
  bigIntToPrivateKey: () => bigIntToPrivateKey,
1400
1454
  checkIfSelectedOutputsAreAvailable: () => checkIfSelectedOutputsAreAvailable,
@@ -1457,6 +1511,8 @@ __export(index_exports, {
1457
1511
  getTxId: () => getTxId,
1458
1512
  getTxIdNoReverse: () => getTxIdNoReverse,
1459
1513
  isEphemeralAnchorOutput: () => isEphemeralAnchorOutput,
1514
+ isLegacySparkAddress: () => isLegacySparkAddress,
1515
+ isSafeForNumber: () => isSafeForNumber,
1460
1516
  isTxBroadcast: () => isTxBroadcast,
1461
1517
  isValidPublicKey: () => isValidPublicKey,
1462
1518
  isValidSparkAddress: () => isValidSparkAddress,
@@ -1938,6 +1994,31 @@ function networkToJSON(object) {
1938
1994
  return "UNRECOGNIZED";
1939
1995
  }
1940
1996
  }
1997
+ function directionFromJSON(object) {
1998
+ switch (object) {
1999
+ case 0:
2000
+ case "NEXT":
2001
+ return 0 /* NEXT */;
2002
+ case 1:
2003
+ case "PREVIOUS":
2004
+ return 1 /* PREVIOUS */;
2005
+ case -1:
2006
+ case "UNRECOGNIZED":
2007
+ default:
2008
+ return -1 /* UNRECOGNIZED */;
2009
+ }
2010
+ }
2011
+ function directionToJSON(object) {
2012
+ switch (object) {
2013
+ case 0 /* NEXT */:
2014
+ return "NEXT";
2015
+ case 1 /* PREVIOUS */:
2016
+ return "PREVIOUS";
2017
+ case -1 /* UNRECOGNIZED */:
2018
+ default:
2019
+ return "UNRECOGNIZED";
2020
+ }
2021
+ }
1941
2022
  function tokenTransactionStatusFromJSON(object) {
1942
2023
  switch (object) {
1943
2024
  case 0:
@@ -2533,6 +2614,187 @@ var DepositEvent = {
2533
2614
  return message;
2534
2615
  }
2535
2616
  };
2617
+ function createBasePageRequest() {
2618
+ return { pageSize: 0, cursor: "", direction: 0 };
2619
+ }
2620
+ var PageRequest = {
2621
+ encode(message, writer = new import_wire4.BinaryWriter()) {
2622
+ if (message.pageSize !== 0) {
2623
+ writer.uint32(8).int32(message.pageSize);
2624
+ }
2625
+ if (message.cursor !== "") {
2626
+ writer.uint32(18).string(message.cursor);
2627
+ }
2628
+ if (message.direction !== 0) {
2629
+ writer.uint32(24).int32(message.direction);
2630
+ }
2631
+ return writer;
2632
+ },
2633
+ decode(input, length) {
2634
+ const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
2635
+ const end = length === void 0 ? reader.len : reader.pos + length;
2636
+ const message = createBasePageRequest();
2637
+ while (reader.pos < end) {
2638
+ const tag = reader.uint32();
2639
+ switch (tag >>> 3) {
2640
+ case 1: {
2641
+ if (tag !== 8) {
2642
+ break;
2643
+ }
2644
+ message.pageSize = reader.int32();
2645
+ continue;
2646
+ }
2647
+ case 2: {
2648
+ if (tag !== 18) {
2649
+ break;
2650
+ }
2651
+ message.cursor = reader.string();
2652
+ continue;
2653
+ }
2654
+ case 3: {
2655
+ if (tag !== 24) {
2656
+ break;
2657
+ }
2658
+ message.direction = reader.int32();
2659
+ continue;
2660
+ }
2661
+ }
2662
+ if ((tag & 7) === 4 || tag === 0) {
2663
+ break;
2664
+ }
2665
+ reader.skip(tag & 7);
2666
+ }
2667
+ return message;
2668
+ },
2669
+ fromJSON(object) {
2670
+ return {
2671
+ pageSize: isSet3(object.pageSize) ? globalThis.Number(object.pageSize) : 0,
2672
+ cursor: isSet3(object.cursor) ? globalThis.String(object.cursor) : "",
2673
+ direction: isSet3(object.direction) ? directionFromJSON(object.direction) : 0
2674
+ };
2675
+ },
2676
+ toJSON(message) {
2677
+ const obj = {};
2678
+ if (message.pageSize !== 0) {
2679
+ obj.pageSize = Math.round(message.pageSize);
2680
+ }
2681
+ if (message.cursor !== "") {
2682
+ obj.cursor = message.cursor;
2683
+ }
2684
+ if (message.direction !== 0) {
2685
+ obj.direction = directionToJSON(message.direction);
2686
+ }
2687
+ return obj;
2688
+ },
2689
+ create(base) {
2690
+ return PageRequest.fromPartial(base ?? {});
2691
+ },
2692
+ fromPartial(object) {
2693
+ const message = createBasePageRequest();
2694
+ message.pageSize = object.pageSize ?? 0;
2695
+ message.cursor = object.cursor ?? "";
2696
+ message.direction = object.direction ?? 0;
2697
+ return message;
2698
+ }
2699
+ };
2700
+ function createBasePageResponse() {
2701
+ return { hasNextPage: false, hasPreviousPage: false, nextCursor: "", previousCursor: "" };
2702
+ }
2703
+ var PageResponse = {
2704
+ encode(message, writer = new import_wire4.BinaryWriter()) {
2705
+ if (message.hasNextPage !== false) {
2706
+ writer.uint32(8).bool(message.hasNextPage);
2707
+ }
2708
+ if (message.hasPreviousPage !== false) {
2709
+ writer.uint32(16).bool(message.hasPreviousPage);
2710
+ }
2711
+ if (message.nextCursor !== "") {
2712
+ writer.uint32(26).string(message.nextCursor);
2713
+ }
2714
+ if (message.previousCursor !== "") {
2715
+ writer.uint32(34).string(message.previousCursor);
2716
+ }
2717
+ return writer;
2718
+ },
2719
+ decode(input, length) {
2720
+ const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
2721
+ const end = length === void 0 ? reader.len : reader.pos + length;
2722
+ const message = createBasePageResponse();
2723
+ while (reader.pos < end) {
2724
+ const tag = reader.uint32();
2725
+ switch (tag >>> 3) {
2726
+ case 1: {
2727
+ if (tag !== 8) {
2728
+ break;
2729
+ }
2730
+ message.hasNextPage = reader.bool();
2731
+ continue;
2732
+ }
2733
+ case 2: {
2734
+ if (tag !== 16) {
2735
+ break;
2736
+ }
2737
+ message.hasPreviousPage = reader.bool();
2738
+ continue;
2739
+ }
2740
+ case 3: {
2741
+ if (tag !== 26) {
2742
+ break;
2743
+ }
2744
+ message.nextCursor = reader.string();
2745
+ continue;
2746
+ }
2747
+ case 4: {
2748
+ if (tag !== 34) {
2749
+ break;
2750
+ }
2751
+ message.previousCursor = reader.string();
2752
+ continue;
2753
+ }
2754
+ }
2755
+ if ((tag & 7) === 4 || tag === 0) {
2756
+ break;
2757
+ }
2758
+ reader.skip(tag & 7);
2759
+ }
2760
+ return message;
2761
+ },
2762
+ fromJSON(object) {
2763
+ return {
2764
+ hasNextPage: isSet3(object.hasNextPage) ? globalThis.Boolean(object.hasNextPage) : false,
2765
+ hasPreviousPage: isSet3(object.hasPreviousPage) ? globalThis.Boolean(object.hasPreviousPage) : false,
2766
+ nextCursor: isSet3(object.nextCursor) ? globalThis.String(object.nextCursor) : "",
2767
+ previousCursor: isSet3(object.previousCursor) ? globalThis.String(object.previousCursor) : ""
2768
+ };
2769
+ },
2770
+ toJSON(message) {
2771
+ const obj = {};
2772
+ if (message.hasNextPage !== false) {
2773
+ obj.hasNextPage = message.hasNextPage;
2774
+ }
2775
+ if (message.hasPreviousPage !== false) {
2776
+ obj.hasPreviousPage = message.hasPreviousPage;
2777
+ }
2778
+ if (message.nextCursor !== "") {
2779
+ obj.nextCursor = message.nextCursor;
2780
+ }
2781
+ if (message.previousCursor !== "") {
2782
+ obj.previousCursor = message.previousCursor;
2783
+ }
2784
+ return obj;
2785
+ },
2786
+ create(base) {
2787
+ return PageResponse.fromPartial(base ?? {});
2788
+ },
2789
+ fromPartial(object) {
2790
+ const message = createBasePageResponse();
2791
+ message.hasNextPage = object.hasNextPage ?? false;
2792
+ message.hasPreviousPage = object.hasPreviousPage ?? false;
2793
+ message.nextCursor = object.nextCursor ?? "";
2794
+ message.previousCursor = object.previousCursor ?? "";
2795
+ return message;
2796
+ }
2797
+ };
2536
2798
  function createBaseDepositAddressProof() {
2537
2799
  return { addressSignatures: {}, proofOfPossessionSignature: new Uint8Array(0) };
2538
2800
  }
@@ -8040,7 +8302,7 @@ function createBaseStartTransferRequest() {
8040
8302
  receiverIdentityPublicKey: new Uint8Array(0),
8041
8303
  expiryTime: void 0,
8042
8304
  transferPackage: void 0,
8043
- sparkPaymentIntent: ""
8305
+ sparkInvoice: ""
8044
8306
  };
8045
8307
  }
8046
8308
  var StartTransferRequest = {
@@ -8063,8 +8325,8 @@ var StartTransferRequest = {
8063
8325
  if (message.transferPackage !== void 0) {
8064
8326
  TransferPackage.encode(message.transferPackage, writer.uint32(58).fork()).join();
8065
8327
  }
8066
- if (message.sparkPaymentIntent !== "") {
8067
- writer.uint32(74).string(message.sparkPaymentIntent);
8328
+ if (message.sparkInvoice !== "") {
8329
+ writer.uint32(82).string(message.sparkInvoice);
8068
8330
  }
8069
8331
  return writer;
8070
8332
  },
@@ -8117,11 +8379,11 @@ var StartTransferRequest = {
8117
8379
  message.transferPackage = TransferPackage.decode(reader, reader.uint32());
8118
8380
  continue;
8119
8381
  }
8120
- case 9: {
8121
- if (tag !== 74) {
8382
+ case 10: {
8383
+ if (tag !== 82) {
8122
8384
  break;
8123
8385
  }
8124
- message.sparkPaymentIntent = reader.string();
8386
+ message.sparkInvoice = reader.string();
8125
8387
  continue;
8126
8388
  }
8127
8389
  }
@@ -8140,7 +8402,7 @@ var StartTransferRequest = {
8140
8402
  receiverIdentityPublicKey: isSet3(object.receiverIdentityPublicKey) ? bytesFromBase642(object.receiverIdentityPublicKey) : new Uint8Array(0),
8141
8403
  expiryTime: isSet3(object.expiryTime) ? fromJsonTimestamp(object.expiryTime) : void 0,
8142
8404
  transferPackage: isSet3(object.transferPackage) ? TransferPackage.fromJSON(object.transferPackage) : void 0,
8143
- sparkPaymentIntent: isSet3(object.sparkPaymentIntent) ? globalThis.String(object.sparkPaymentIntent) : ""
8405
+ sparkInvoice: isSet3(object.sparkInvoice) ? globalThis.String(object.sparkInvoice) : ""
8144
8406
  };
8145
8407
  },
8146
8408
  toJSON(message) {
@@ -8163,8 +8425,8 @@ var StartTransferRequest = {
8163
8425
  if (message.transferPackage !== void 0) {
8164
8426
  obj.transferPackage = TransferPackage.toJSON(message.transferPackage);
8165
8427
  }
8166
- if (message.sparkPaymentIntent !== "") {
8167
- obj.sparkPaymentIntent = message.sparkPaymentIntent;
8428
+ if (message.sparkInvoice !== "") {
8429
+ obj.sparkInvoice = message.sparkInvoice;
8168
8430
  }
8169
8431
  return obj;
8170
8432
  },
@@ -8179,7 +8441,7 @@ var StartTransferRequest = {
8179
8441
  message.receiverIdentityPublicKey = object.receiverIdentityPublicKey ?? new Uint8Array(0);
8180
8442
  message.expiryTime = object.expiryTime ?? void 0;
8181
8443
  message.transferPackage = object.transferPackage !== void 0 && object.transferPackage !== null ? TransferPackage.fromPartial(object.transferPackage) : void 0;
8182
- message.sparkPaymentIntent = object.sparkPaymentIntent ?? "";
8444
+ message.sparkInvoice = object.sparkInvoice ?? "";
8183
8445
  return message;
8184
8446
  }
8185
8447
  };
@@ -9009,7 +9271,8 @@ function createBaseTransfer() {
9009
9271
  leaves: [],
9010
9272
  createdTime: void 0,
9011
9273
  updatedTime: void 0,
9012
- type: 0
9274
+ type: 0,
9275
+ sparkInvoice: ""
9013
9276
  };
9014
9277
  }
9015
9278
  var Transfer = {
@@ -9044,6 +9307,9 @@ var Transfer = {
9044
9307
  if (message.type !== 0) {
9045
9308
  writer.uint32(80).int32(message.type);
9046
9309
  }
9310
+ if (message.sparkInvoice !== "") {
9311
+ writer.uint32(90).string(message.sparkInvoice);
9312
+ }
9047
9313
  return writer;
9048
9314
  },
9049
9315
  decode(input, length) {
@@ -9123,6 +9389,13 @@ var Transfer = {
9123
9389
  message.type = reader.int32();
9124
9390
  continue;
9125
9391
  }
9392
+ case 11: {
9393
+ if (tag !== 90) {
9394
+ break;
9395
+ }
9396
+ message.sparkInvoice = reader.string();
9397
+ continue;
9398
+ }
9126
9399
  }
9127
9400
  if ((tag & 7) === 4 || tag === 0) {
9128
9401
  break;
@@ -9142,7 +9415,8 @@ var Transfer = {
9142
9415
  leaves: globalThis.Array.isArray(object?.leaves) ? object.leaves.map((e) => TransferLeaf.fromJSON(e)) : [],
9143
9416
  createdTime: isSet3(object.createdTime) ? fromJsonTimestamp(object.createdTime) : void 0,
9144
9417
  updatedTime: isSet3(object.updatedTime) ? fromJsonTimestamp(object.updatedTime) : void 0,
9145
- type: isSet3(object.type) ? transferTypeFromJSON(object.type) : 0
9418
+ type: isSet3(object.type) ? transferTypeFromJSON(object.type) : 0,
9419
+ sparkInvoice: isSet3(object.sparkInvoice) ? globalThis.String(object.sparkInvoice) : ""
9146
9420
  };
9147
9421
  },
9148
9422
  toJSON(message) {
@@ -9177,6 +9451,9 @@ var Transfer = {
9177
9451
  if (message.type !== 0) {
9178
9452
  obj.type = transferTypeToJSON(message.type);
9179
9453
  }
9454
+ if (message.sparkInvoice !== "") {
9455
+ obj.sparkInvoice = message.sparkInvoice;
9456
+ }
9180
9457
  return obj;
9181
9458
  },
9182
9459
  create(base) {
@@ -9194,6 +9471,7 @@ var Transfer = {
9194
9471
  message.createdTime = object.createdTime ?? void 0;
9195
9472
  message.updatedTime = object.updatedTime ?? void 0;
9196
9473
  message.type = object.type ?? 0;
9474
+ message.sparkInvoice = object.sparkInvoice ?? "";
9197
9475
  return message;
9198
9476
  }
9199
9477
  };
@@ -16368,6 +16646,13 @@ function uint64be(value) {
16368
16646
  // src/utils/address.ts
16369
16647
  var BECH32M_LIMIT = 1024;
16370
16648
  var AddressNetwork = {
16649
+ MAINNET: "spark",
16650
+ TESTNET: "sparkt",
16651
+ REGTEST: "sparkrt",
16652
+ SIGNET: "sparks",
16653
+ LOCAL: "sparkl"
16654
+ };
16655
+ var LegacyAddressNetwork = {
16371
16656
  MAINNET: "sp",
16372
16657
  TESTNET: "spt",
16373
16658
  REGTEST: "sprt",
@@ -16415,11 +16700,11 @@ function encodeSparkAddressWithSignature(payload, signature) {
16415
16700
  function decodeSparkAddress(address2, network) {
16416
16701
  try {
16417
16702
  const decoded = bech32mDecode(address2);
16418
- if (decoded.prefix !== AddressNetwork[network]) {
16703
+ if (network !== getNetworkFromSparkAddress(address2)) {
16419
16704
  throw new ValidationError("Invalid Spark address prefix", {
16420
16705
  field: "address",
16421
16706
  value: address2,
16422
- expected: `prefix='${AddressNetwork[network]}'`
16707
+ expected: `prefix='${AddressNetwork[network]}' or '${LegacyAddressNetwork[network]}'`
16423
16708
  });
16424
16709
  }
16425
16710
  const payload = SparkAddress.decode(import_base2.bech32m.fromWords(decoded.words));
@@ -16465,18 +16750,35 @@ function decodeSparkAddress(address2, network) {
16465
16750
  );
16466
16751
  }
16467
16752
  }
16753
+ var PrefixToNetwork = Object.fromEntries(
16754
+ Object.entries(AddressNetwork).map(([k, v]) => [v, k])
16755
+ );
16756
+ var LegacyPrefixToNetwork = Object.fromEntries(
16757
+ Object.entries(LegacyAddressNetwork).map(([k, v]) => [v, k])
16758
+ );
16759
+ function getNetworkFromSparkAddress(address2) {
16760
+ const { prefix } = bech32mDecode(address2);
16761
+ const network = PrefixToNetwork[prefix] ?? LegacyPrefixToNetwork[prefix];
16762
+ if (!network) {
16763
+ throw new ValidationError("Invalid Spark address prefix", {
16764
+ field: "network",
16765
+ value: address2,
16766
+ expected: "prefix='spark1', 'sparkt1', 'sparkrt1', 'sparks1', 'sparkl1' or legacy ('sp1', 'spt1', 'sprt1', 'sps1', 'spl1')"
16767
+ });
16768
+ }
16769
+ return network;
16770
+ }
16771
+ function isLegacySparkAddress(address2) {
16772
+ try {
16773
+ const { prefix } = bech32mDecode(address2);
16774
+ return prefix in LegacyPrefixToNetwork;
16775
+ } catch (error) {
16776
+ return false;
16777
+ }
16778
+ }
16468
16779
  function isValidSparkAddress(address2) {
16469
16780
  try {
16470
- const network = Object.entries(AddressNetwork).find(
16471
- ([_, prefix]) => address2.startsWith(prefix)
16472
- )?.[0];
16473
- if (!network) {
16474
- throw new ValidationError("Invalid Spark address network", {
16475
- field: "network",
16476
- value: address2,
16477
- expected: Object.values(AddressNetwork)
16478
- });
16479
- }
16781
+ const network = getNetworkFromSparkAddress(address2);
16480
16782
  decodeSparkAddress(address2, network);
16481
16783
  return true;
16482
16784
  } catch (error) {
@@ -16672,25 +16974,16 @@ function validateSparkInvoiceSignature(invoice) {
16672
16974
  );
16673
16975
  }
16674
16976
  }
16675
- function getNetworkFromSparkAddress(address2) {
16676
- const { prefix } = bech32mDecode(address2);
16677
- const network = Object.entries(AddressNetwork).find(
16678
- ([, p]) => p === prefix
16679
- )?.[0];
16680
- if (!network) {
16681
- throw new ValidationError("Invalid Spark address network", {
16682
- field: "network",
16683
- value: address2,
16684
- expected: Object.values(AddressNetwork)
16685
- });
16686
- }
16687
- return network;
16688
- }
16689
16977
  function toProtoTimestamp(date) {
16690
16978
  const ms = date.getTime();
16691
16979
  return { seconds: Math.floor(ms / 1e3), nanos: ms % 1e3 * 1e6 };
16692
16980
  }
16981
+ function assertBech32(s) {
16982
+ const i = s.lastIndexOf("1");
16983
+ if (i <= 0 || i >= s.length - 1) throw new Error("invalid bech32 string");
16984
+ }
16693
16985
  function bech32mDecode(address2) {
16986
+ assertBech32(address2);
16694
16987
  return import_base2.bech32m.decode(address2, BECH32M_LIMIT);
16695
16988
  }
16696
16989
  function bech32mEncode(prefix, words) {
@@ -16721,6 +17014,9 @@ function encodeSparkInvoiceFieldsV1Canonical(f) {
16721
17014
  }
16722
17015
  return w.finish();
16723
17016
  }
17017
+ function isSafeForNumber(bi) {
17018
+ return bi >= BigInt(Number.MIN_SAFE_INTEGER) && bi <= BigInt(Number.MAX_SAFE_INTEGER);
17019
+ }
16724
17020
 
16725
17021
  // src/utils/adaptor-signature.ts
16726
17022
  init_buffer();
@@ -18405,7 +18701,7 @@ function mapTransferToWalletTransfer(proto, identityPublicKey, userRequest) {
18405
18701
 
18406
18702
  // src/utils/fetch.ts
18407
18703
  init_buffer();
18408
- var fetchImpl = typeof window !== "undefined" && window.fetch ? window.fetch.bind(window) : globalThis.fetch ? globalThis.fetch : null;
18704
+ var fetchImpl = typeof window !== "undefined" && window.fetch ? window.fetch.bind(window) : globalThis.fetch ? globalThis.fetch.bind(globalThis) : null;
18409
18705
  var Headers = globalThis.Headers ?? null;
18410
18706
  var getFetch = () => {
18411
18707
  if (!fetchImpl) {
@@ -18975,10 +19271,10 @@ var INITIAL_TIMELOCK = 2e3;
18975
19271
  var TEST_UNILATERAL_TIMELOCK = 100;
18976
19272
  var TIME_LOCK_INTERVAL = 100;
18977
19273
  var DIRECT_TIMELOCK_OFFSET = 50;
18978
- var INITIAL_SEQUENCE = 1 << 30 | INITIAL_TIMELOCK;
18979
- var INITIAL_DIRECT_SEQUENCE = 1 << 30 | INITIAL_TIMELOCK + DIRECT_TIMELOCK_OFFSET;
18980
- var TEST_UNILATERAL_SEQUENCE = 1 << 30 | TEST_UNILATERAL_TIMELOCK;
18981
- var TEST_UNILATERAL_DIRECT_SEQUENCE = 1 << 30 | TEST_UNILATERAL_TIMELOCK + DIRECT_TIMELOCK_OFFSET;
19274
+ var INITIAL_SEQUENCE = INITIAL_TIMELOCK;
19275
+ var INITIAL_DIRECT_SEQUENCE = INITIAL_TIMELOCK + DIRECT_TIMELOCK_OFFSET;
19276
+ var TEST_UNILATERAL_SEQUENCE = TEST_UNILATERAL_TIMELOCK;
19277
+ var TEST_UNILATERAL_DIRECT_SEQUENCE = TEST_UNILATERAL_TIMELOCK + DIRECT_TIMELOCK_OFFSET;
18982
19278
  var ESTIMATED_TX_SIZE = 191;
18983
19279
  var DEFAULT_SATS_PER_VBYTE = 5;
18984
19280
  var DEFAULT_FEE_SATS = ESTIMATED_TX_SIZE * DEFAULT_SATS_PER_VBYTE;
@@ -19249,8 +19545,8 @@ function getCurrentTimelock(currSequence) {
19249
19545
  function getTransactionSequence(currSequence) {
19250
19546
  const timelock = getCurrentTimelock(currSequence);
19251
19547
  return {
19252
- nextSequence: 1 << 30 | timelock,
19253
- nextDirectSequence: 1 << 30 | timelock + DIRECT_TIMELOCK_OFFSET
19548
+ nextSequence: timelock,
19549
+ nextDirectSequence: timelock + DIRECT_TIMELOCK_OFFSET
19254
19550
  };
19255
19551
  }
19256
19552
  function checkIfValidSequence(currSequence) {
@@ -19293,8 +19589,8 @@ function getNextTransactionSequence(currSequence, isNodeTx) {
19293
19589
  });
19294
19590
  }
19295
19591
  return {
19296
- nextSequence: 1 << 30 | nextTimelock,
19297
- nextDirectSequence: 1 << 30 | nextTimelock + DIRECT_TIMELOCK_OFFSET
19592
+ nextSequence: nextTimelock,
19593
+ nextDirectSequence: nextTimelock + DIRECT_TIMELOCK_OFFSET
19298
19594
  };
19299
19595
  }
19300
19596
  function getEphemeralAnchorOutput() {
@@ -19952,22 +20248,30 @@ var ecies = __toESM(require("eciesjs"), 1);
19952
20248
  // src/constants.ts
19953
20249
  init_buffer();
19954
20250
  var import_core9 = require("@lightsparkdev/core");
19955
- var isReactNative = typeof navigator !== "undefined" && navigator.product === "ReactNative";
19956
- var isBun = globalThis.Bun !== void 0;
19957
- var packageVersion = true ? "0.2.13" : "unknown";
20251
+ var isReactNative = "navigator" in globalThis && navigator.product === "ReactNative";
20252
+ var isBun = "Bun" in globalThis;
20253
+ var isWebExtension = (
20254
+ /* globalThis.chrome actually exists in extension contexts for all browsers for legacy reasons: */
20255
+ "chrome" in globalThis && globalThis.chrome.runtime?.id
20256
+ );
20257
+ var userAgent = "navigator" in globalThis ? globalThis.navigator.userAgent || "unknown-user-agent" : void 0;
20258
+ var packageVersion = true ? "0.3.0" : "unknown";
19958
20259
  var baseEnvStr = "unknown";
19959
20260
  if (isBun) {
19960
20261
  const bunVersion = "version" in globalThis.Bun ? globalThis.Bun.version : "unknown-version";
19961
20262
  baseEnvStr = `bun/${bunVersion}`;
19962
20263
  } else if (import_core9.isNode) {
19963
- baseEnvStr = `node/${process.version}`;
20264
+ baseEnvStr = `node/${globalThis.process.version}`;
19964
20265
  } else if (isReactNative) {
19965
20266
  baseEnvStr = "react-native";
19966
20267
  } else if (import_core9.isBare) {
19967
20268
  const bareVersion = Bare.version;
19968
20269
  baseEnvStr = `bare/${bareVersion}`;
20270
+ } else if (isWebExtension) {
20271
+ const protocol = "location" in globalThis ? globalThis.location.protocol : "";
20272
+ const extScriptType = "window" in globalThis ? "content-script" : "background-script";
20273
+ baseEnvStr = `web-extension/${protocol.replace(":", "")}/${extScriptType}/${userAgent}`;
19969
20274
  } else {
19970
- const userAgent = typeof navigator !== "undefined" && navigator.userAgent || "unknown-user-agent";
19971
20275
  baseEnvStr = `browser/${userAgent}`;
19972
20276
  }
19973
20277
  var clientEnv = `js-spark-sdk/${packageVersion} ${baseEnvStr}`;
@@ -24307,7 +24611,7 @@ var QueryTokenMetadataResponse = {
24307
24611
  }
24308
24612
  };
24309
24613
  function createBaseQueryTokenOutputsRequest2() {
24310
- return { ownerPublicKeys: [], issuerPublicKeys: [], tokenIdentifiers: [], network: 0 };
24614
+ return { ownerPublicKeys: [], issuerPublicKeys: [], tokenIdentifiers: [], network: 0, pageRequest: void 0 };
24311
24615
  }
24312
24616
  var QueryTokenOutputsRequest2 = {
24313
24617
  encode(message, writer = new import_wire8.BinaryWriter()) {
@@ -24323,6 +24627,9 @@ var QueryTokenOutputsRequest2 = {
24323
24627
  if (message.network !== 0) {
24324
24628
  writer.uint32(24).int32(message.network);
24325
24629
  }
24630
+ if (message.pageRequest !== void 0) {
24631
+ PageRequest.encode(message.pageRequest, writer.uint32(42).fork()).join();
24632
+ }
24326
24633
  return writer;
24327
24634
  },
24328
24635
  decode(input, length) {
@@ -24360,6 +24667,13 @@ var QueryTokenOutputsRequest2 = {
24360
24667
  message.network = reader.int32();
24361
24668
  continue;
24362
24669
  }
24670
+ case 5: {
24671
+ if (tag !== 42) {
24672
+ break;
24673
+ }
24674
+ message.pageRequest = PageRequest.decode(reader, reader.uint32());
24675
+ continue;
24676
+ }
24363
24677
  }
24364
24678
  if ((tag & 7) === 4 || tag === 0) {
24365
24679
  break;
@@ -24373,7 +24687,8 @@ var QueryTokenOutputsRequest2 = {
24373
24687
  ownerPublicKeys: globalThis.Array.isArray(object?.ownerPublicKeys) ? object.ownerPublicKeys.map((e) => bytesFromBase645(e)) : [],
24374
24688
  issuerPublicKeys: globalThis.Array.isArray(object?.issuerPublicKeys) ? object.issuerPublicKeys.map((e) => bytesFromBase645(e)) : [],
24375
24689
  tokenIdentifiers: globalThis.Array.isArray(object?.tokenIdentifiers) ? object.tokenIdentifiers.map((e) => bytesFromBase645(e)) : [],
24376
- network: isSet6(object.network) ? networkFromJSON(object.network) : 0
24690
+ network: isSet6(object.network) ? networkFromJSON(object.network) : 0,
24691
+ pageRequest: isSet6(object.pageRequest) ? PageRequest.fromJSON(object.pageRequest) : void 0
24377
24692
  };
24378
24693
  },
24379
24694
  toJSON(message) {
@@ -24390,6 +24705,9 @@ var QueryTokenOutputsRequest2 = {
24390
24705
  if (message.network !== 0) {
24391
24706
  obj.network = networkToJSON(message.network);
24392
24707
  }
24708
+ if (message.pageRequest !== void 0) {
24709
+ obj.pageRequest = PageRequest.toJSON(message.pageRequest);
24710
+ }
24393
24711
  return obj;
24394
24712
  },
24395
24713
  create(base) {
@@ -24401,6 +24719,7 @@ var QueryTokenOutputsRequest2 = {
24401
24719
  message.issuerPublicKeys = object.issuerPublicKeys?.map((e) => e) || [];
24402
24720
  message.tokenIdentifiers = object.tokenIdentifiers?.map((e) => e) || [];
24403
24721
  message.network = object.network ?? 0;
24722
+ message.pageRequest = object.pageRequest !== void 0 && object.pageRequest !== null ? PageRequest.fromPartial(object.pageRequest) : void 0;
24404
24723
  return message;
24405
24724
  }
24406
24725
  };
@@ -24709,13 +25028,16 @@ var OutputWithPreviousTransactionData2 = {
24709
25028
  }
24710
25029
  };
24711
25030
  function createBaseQueryTokenOutputsResponse2() {
24712
- return { outputsWithPreviousTransactionData: [] };
25031
+ return { outputsWithPreviousTransactionData: [], pageResponse: void 0 };
24713
25032
  }
24714
25033
  var QueryTokenOutputsResponse2 = {
24715
25034
  encode(message, writer = new import_wire8.BinaryWriter()) {
24716
25035
  for (const v of message.outputsWithPreviousTransactionData) {
24717
25036
  OutputWithPreviousTransactionData2.encode(v, writer.uint32(10).fork()).join();
24718
25037
  }
25038
+ if (message.pageResponse !== void 0) {
25039
+ PageResponse.encode(message.pageResponse, writer.uint32(18).fork()).join();
25040
+ }
24719
25041
  return writer;
24720
25042
  },
24721
25043
  decode(input, length) {
@@ -24734,6 +25056,13 @@ var QueryTokenOutputsResponse2 = {
24734
25056
  );
24735
25057
  continue;
24736
25058
  }
25059
+ case 2: {
25060
+ if (tag !== 18) {
25061
+ break;
25062
+ }
25063
+ message.pageResponse = PageResponse.decode(reader, reader.uint32());
25064
+ continue;
25065
+ }
24737
25066
  }
24738
25067
  if ((tag & 7) === 4 || tag === 0) {
24739
25068
  break;
@@ -24744,7 +25073,8 @@ var QueryTokenOutputsResponse2 = {
24744
25073
  },
24745
25074
  fromJSON(object) {
24746
25075
  return {
24747
- outputsWithPreviousTransactionData: globalThis.Array.isArray(object?.outputsWithPreviousTransactionData) ? object.outputsWithPreviousTransactionData.map((e) => OutputWithPreviousTransactionData2.fromJSON(e)) : []
25076
+ outputsWithPreviousTransactionData: globalThis.Array.isArray(object?.outputsWithPreviousTransactionData) ? object.outputsWithPreviousTransactionData.map((e) => OutputWithPreviousTransactionData2.fromJSON(e)) : [],
25077
+ pageResponse: isSet6(object.pageResponse) ? PageResponse.fromJSON(object.pageResponse) : void 0
24748
25078
  };
24749
25079
  },
24750
25080
  toJSON(message) {
@@ -24754,6 +25084,9 @@ var QueryTokenOutputsResponse2 = {
24754
25084
  (e) => OutputWithPreviousTransactionData2.toJSON(e)
24755
25085
  );
24756
25086
  }
25087
+ if (message.pageResponse !== void 0) {
25088
+ obj.pageResponse = PageResponse.toJSON(message.pageResponse);
25089
+ }
24757
25090
  return obj;
24758
25091
  },
24759
25092
  create(base) {
@@ -24762,6 +25095,7 @@ var QueryTokenOutputsResponse2 = {
24762
25095
  fromPartial(object) {
24763
25096
  const message = createBaseQueryTokenOutputsResponse2();
24764
25097
  message.outputsWithPreviousTransactionData = object.outputsWithPreviousTransactionData?.map((e) => OutputWithPreviousTransactionData2.fromPartial(e)) || [];
25098
+ message.pageResponse = object.pageResponse !== void 0 && object.pageResponse !== null ? PageResponse.fromPartial(object.pageResponse) : void 0;
24765
25099
  return message;
24766
25100
  }
24767
25101
  };
@@ -25889,7 +26223,7 @@ var BaseTransferService = class {
25889
26223
  }
25890
26224
  return response.transfer;
25891
26225
  }
25892
- async sendTransferWithKeyTweaks(leaves, receiverIdentityPubkey) {
26226
+ async sendTransferWithKeyTweaks(leaves, receiverIdentityPubkey, sparkInvoice) {
25893
26227
  const transferID = (0, import_uuidv72.uuidv7)();
25894
26228
  const keyTweakInputMap = await this.prepareSendTransferKeyTweaks(
25895
26229
  transferID,
@@ -25914,7 +26248,8 @@ var BaseTransferService = class {
25914
26248
  transferId: transferID,
25915
26249
  ownerIdentityPublicKey: await this.config.signer.getIdentityPublicKey(),
25916
26250
  receiverIdentityPublicKey: receiverIdentityPubkey,
25917
- transferPackage
26251
+ transferPackage,
26252
+ sparkInvoice
25918
26253
  });
25919
26254
  } catch (error) {
25920
26255
  throw new NetworkError(
@@ -30509,6 +30844,7 @@ function validateTokenTransaction(finalTokenTransaction, partialTokenTransaction
30509
30844
 
30510
30845
  // src/services/token-transactions.ts
30511
30846
  var MAX_TOKEN_OUTPUTS = 500;
30847
+ var QUERY_TOKEN_OUTPUTS_PAGE_SIZE = 100;
30512
30848
  var TokenTransactionService = class {
30513
30849
  config;
30514
30850
  connectionManager;
@@ -31197,6 +31533,36 @@ var TokenTransactionService = class {
31197
31533
  }
31198
31534
  }
31199
31535
  async fetchOwnedTokenOutputs(params) {
31536
+ const {
31537
+ ownerPublicKeys,
31538
+ issuerPublicKeys = [],
31539
+ tokenIdentifiers = []
31540
+ } = params;
31541
+ if (ownerPublicKeys.length === 0) {
31542
+ throw new ValidationError("Owner public keys cannot be empty", {
31543
+ field: "ownerPublicKeys",
31544
+ value: ownerPublicKeys,
31545
+ expected: "Non-empty array"
31546
+ });
31547
+ }
31548
+ for (const ownerPublicKey of ownerPublicKeys) {
31549
+ isValidPublicKey((0, import_utils19.bytesToHex)(ownerPublicKey));
31550
+ }
31551
+ for (const issuerPublicKey of issuerPublicKeys) {
31552
+ isValidPublicKey((0, import_utils19.bytesToHex)(issuerPublicKey));
31553
+ }
31554
+ for (const tokenIdentifier of tokenIdentifiers) {
31555
+ if (tokenIdentifier.length !== 32) {
31556
+ throw new ValidationError(
31557
+ "Token identifier must be 32 bytes (64 hex characters) long.",
31558
+ {
31559
+ field: "tokenIdentifier",
31560
+ value: tokenIdentifier,
31561
+ expected: "32 bytes"
31562
+ }
31563
+ );
31564
+ }
31565
+ }
31200
31566
  if (this.config.getTokenTransactionVersion() === "V0") {
31201
31567
  return this.fetchOwnedTokenOutputsV0(params);
31202
31568
  } else {
@@ -31249,13 +31615,30 @@ var TokenTransactionService = class {
31249
31615
  this.config.getCoordinatorAddress()
31250
31616
  );
31251
31617
  try {
31252
- const result = await tokenClient.query_token_outputs({
31253
- ownerPublicKeys,
31254
- issuerPublicKeys,
31255
- tokenIdentifiers,
31256
- network: this.config.getNetworkProto()
31257
- });
31258
- return result.outputsWithPreviousTransactionData;
31618
+ const allOutputs = [];
31619
+ let after = void 0;
31620
+ do {
31621
+ const result = await tokenClient.query_token_outputs({
31622
+ ownerPublicKeys,
31623
+ issuerPublicKeys,
31624
+ tokenIdentifiers,
31625
+ network: this.config.getNetworkProto(),
31626
+ pageRequest: {
31627
+ pageSize: QUERY_TOKEN_OUTPUTS_PAGE_SIZE,
31628
+ cursor: after,
31629
+ direction: 0 /* NEXT */
31630
+ }
31631
+ });
31632
+ if (Array.isArray(result.outputsWithPreviousTransactionData)) {
31633
+ allOutputs.push(...result.outputsWithPreviousTransactionData);
31634
+ }
31635
+ if (result.pageResponse?.hasNextPage) {
31636
+ after = result.pageResponse.nextCursor;
31637
+ } else {
31638
+ break;
31639
+ }
31640
+ } while (after);
31641
+ return allOutputs;
31259
31642
  } catch (error) {
31260
31643
  throw new NetworkError(
31261
31644
  "Failed to fetch owned token outputs",
@@ -32128,6 +32511,17 @@ async function withRetry(operation, options = {}) {
32128
32511
  throw new Error("Unexpected retry loop exit");
32129
32512
  }
32130
32513
 
32514
+ // src/spark-wallet/types.ts
32515
+ init_buffer();
32516
+ var SparkWalletEvent = {
32517
+ All: "*",
32518
+ TransferClaimed: "transfer:claimed",
32519
+ DepositConfirmed: "deposit:confirmed",
32520
+ StreamConnected: "stream:connected",
32521
+ StreamDisconnected: "stream:disconnected",
32522
+ StreamReconnecting: "stream:reconnecting"
32523
+ };
32524
+
32131
32525
  // src/spark-wallet/spark-wallet.ts
32132
32526
  var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
32133
32527
  config;
@@ -32241,7 +32635,7 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
32241
32635
  path: deposit.id
32242
32636
  });
32243
32637
  this.emit(
32244
- "deposit:confirmed",
32638
+ SparkWalletEvent.DepositConfirmed,
32245
32639
  deposit.id,
32246
32640
  (await this.getBalance()).balance
32247
32641
  );
@@ -32305,7 +32699,7 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
32305
32699
  break;
32306
32700
  }
32307
32701
  if (data.event?.$case === "connected") {
32308
- this.emit("stream:connected");
32702
+ this.emit(SparkWalletEvent.StreamConnected);
32309
32703
  retryCount = 0;
32310
32704
  }
32311
32705
  if (data.event?.$case === "transfer" && data.event.transfer.transfer && claimedTransfersIds.includes(data.event.transfer.transfer.id)) {
@@ -32327,7 +32721,7 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
32327
32721
  if (retryCount < MAX_RETRIES) {
32328
32722
  retryCount++;
32329
32723
  this.emit(
32330
- "stream:reconnecting",
32724
+ SparkWalletEvent.StreamReconnecting,
32331
32725
  retryCount,
32332
32726
  MAX_RETRIES,
32333
32727
  backoffDelay,
@@ -32347,7 +32741,10 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
32347
32741
  }
32348
32742
  }
32349
32743
  } else {
32350
- this.emit("stream:disconnected", "Max reconnection attempts reached");
32744
+ this.emit(
32745
+ SparkWalletEvent.StreamDisconnected,
32746
+ "Max reconnection attempts reached"
32747
+ );
32351
32748
  break;
32352
32749
  }
32353
32750
  }
@@ -32447,6 +32844,10 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
32447
32844
  verifyKey(pubkey1, pubkey2, verifyingKey) {
32448
32845
  return (0, import_utils24.equalBytes)(addPublicKeys(pubkey1, pubkey2), verifyingKey);
32449
32846
  }
32847
+ popOrThrow(arr, msg) {
32848
+ if (!arr || arr.length === 0) throw new ValidationError(msg);
32849
+ return arr.pop();
32850
+ }
32450
32851
  async selectLeaves(targetAmounts) {
32451
32852
  if (targetAmounts.length === 0) {
32452
32853
  throw new ValidationError("Target amounts must be non-empty", {
@@ -32500,7 +32901,11 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
32500
32901
  }
32501
32902
  }
32502
32903
  totalAmount += amount;
32503
- results2.set(targetAmount, nodes);
32904
+ if (results2.has(targetAmount)) {
32905
+ results2.get(targetAmount).push(nodes);
32906
+ } else {
32907
+ results2.set(targetAmount, [nodes]);
32908
+ }
32504
32909
  }
32505
32910
  return {
32506
32911
  results: results2,
@@ -32627,17 +33032,60 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
32627
33032
  * @param {Object} params - Parameters for the sats payment
32628
33033
  * @param {number} params.amount - The amount of sats to receive
32629
33034
  * @param {string} [params.memo] - The memo for the payment
32630
- * @param {string} [params.senderPublicKey] - The public key of the expected sender
33035
+ * @param {string} [params.senderSparkAddress] - The spark address of the expected sender
32631
33036
  * @param {Date} [params.expiryTime] - The expiry time of the payment
32632
- * @returns {Promise<SparkAddressFormat>} The Spark address for the sats payment
33037
+ * @returns {Promise<SparkAddressFormat>} The Spark invoice for the sats payment
32633
33038
  */
32634
33039
  async createSatsInvoice({
32635
33040
  amount,
32636
33041
  memo,
32637
- senderPublicKey,
33042
+ senderSparkAddress,
32638
33043
  expiryTime
32639
33044
  }) {
32640
- throw new NotImplementedError("sats invoices are not yet supported.");
33045
+ const MAX_SATS_AMOUNT = 21e14;
33046
+ if (amount && (amount < 0 || amount > MAX_SATS_AMOUNT)) {
33047
+ throw new ValidationError(
33048
+ `Amount must be between 0 and ${MAX_SATS_AMOUNT} sats`,
33049
+ {
33050
+ field: "amount",
33051
+ value: amount,
33052
+ expected: `less than or equal to ${MAX_SATS_AMOUNT}`
33053
+ }
33054
+ );
33055
+ }
33056
+ const protoPayment = {
33057
+ $case: "satsPayment",
33058
+ satsPayment: {
33059
+ amount
33060
+ }
33061
+ };
33062
+ const senderPublicKey = senderSparkAddress ? (0, import_utils24.hexToBytes)(
33063
+ decodeSparkAddress(senderSparkAddress, this.config.getNetworkType()).identityPublicKey
33064
+ ) : void 0;
33065
+ const invoiceFields = {
33066
+ version: 1,
33067
+ id: (0, import_uuidv75.uuidv7obj)().bytes,
33068
+ paymentType: protoPayment,
33069
+ memo,
33070
+ senderPublicKey,
33071
+ expiryTime: expiryTime ?? void 0
33072
+ };
33073
+ validateSparkInvoiceFields(invoiceFields);
33074
+ const identityPublicKey = await this.config.signer.getIdentityPublicKey();
33075
+ const hash = HashSparkInvoice(
33076
+ invoiceFields,
33077
+ identityPublicKey,
33078
+ this.config.getNetworkType()
33079
+ );
33080
+ const signature = await this.config.signer.signSchnorrWithIdentityKey(hash);
33081
+ return encodeSparkAddressWithSignature(
33082
+ {
33083
+ identityPublicKey: (0, import_utils24.bytesToHex)(identityPublicKey),
33084
+ network: this.config.getNetworkType(),
33085
+ sparkInvoiceFields: invoiceFields
33086
+ },
33087
+ signature
33088
+ );
32641
33089
  }
32642
33090
  /**
32643
33091
  * Creates a Spark invoice for a tokens payment on Spark.
@@ -32646,15 +33094,15 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
32646
33094
  * @param {bigint} [params.amount] - The amount of tokens to receive
32647
33095
  * @param {Bech32mTokenIdentifier} [params.tokenIdentifier] - The token identifier
32648
33096
  * @param {string} [params.memo] - The memo for the payment
32649
- * @param {string} [params.senderPublicKey] - The public key of the expected sender
33097
+ * @param {string} [params.senderSparkAddress] - The spark address of the expected sender
32650
33098
  * @param {Date} [params.expiryTime] - The expiry time of the payment
32651
- * @returns {Promise<SparkAddressFormat>} The Spark address for the tokens payment
33099
+ * @returns {Promise<SparkAddressFormat>} The Spark invoice for the tokens payment
32652
33100
  */
32653
33101
  async createTokensInvoice({
32654
33102
  amount,
32655
33103
  tokenIdentifier,
32656
33104
  memo,
32657
- senderPublicKey,
33105
+ senderSparkAddress,
32658
33106
  expiryTime
32659
33107
  }) {
32660
33108
  const MAX_UINT128 = BigInt(2 ** 128 - 1);
@@ -32679,12 +33127,15 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
32679
33127
  amount: amount ? (0, import_utils24.numberToVarBytesBE)(amount) : void 0
32680
33128
  }
32681
33129
  };
33130
+ const senderPublicKey = senderSparkAddress ? (0, import_utils24.hexToBytes)(
33131
+ decodeSparkAddress(senderSparkAddress, this.config.getNetworkType()).identityPublicKey
33132
+ ) : void 0;
32682
33133
  const invoiceFields = {
32683
33134
  version: 1,
32684
33135
  id: (0, import_uuidv75.uuidv7obj)().bytes,
32685
33136
  paymentType: protoPayment,
32686
33137
  memo: memo ?? void 0,
32687
- senderPublicKey: senderPublicKey ? (0, import_utils24.hexToBytes)(senderPublicKey) : void 0,
33138
+ senderPublicKey,
32688
33139
  expiryTime: expiryTime ?? void 0
32689
33140
  };
32690
33141
  validateSparkInvoiceFields(invoiceFields);
@@ -34157,63 +34608,150 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
34157
34608
  }
34158
34609
  );
34159
34610
  }
34160
- if (!Number.isSafeInteger(amountSats)) {
34161
- throw new ValidationError("Sats amount must be less than 2^53", {
34162
- field: "amountSats",
34163
- value: amountSats,
34164
- expected: "smaller or equal to " + Number.MAX_SAFE_INTEGER
34165
- });
34611
+ const [outcome] = await this.transferWithInvoice([
34612
+ {
34613
+ amountSats,
34614
+ receiverIdentityPubkey: (0, import_utils24.hexToBytes)(receiverAddress.identityPublicKey)
34615
+ }
34616
+ ]);
34617
+ if (!outcome) throw new Error("no transfer created");
34618
+ if (!outcome.ok) throw outcome.error;
34619
+ return outcome.transfer;
34620
+ }
34621
+ /**
34622
+ * Transfers with optional invoices.
34623
+ * Does not parse/validate invoices or enforce amount-vs-invoice.
34624
+ * If an invoice is provided, the caller must pass in the correct:
34625
+ * - amountSats
34626
+ * - receiverIdentityPubkey
34627
+ *
34628
+ * @param {TransferWithInvoiceParams[]} params - The parameters for the transfers
34629
+ * @returns {Promise<TransferWithInvoiceOutcome[]>} The outcomes of the transfers
34630
+ * @private
34631
+ */
34632
+ async transferWithInvoice(params) {
34633
+ const amountSatsArray = [];
34634
+ for (const param of params) {
34635
+ const { amountSats } = param;
34636
+ if (!Number.isSafeInteger(amountSats)) {
34637
+ throw new ValidationError("Sats amount must be less than 2^53", {
34638
+ field: "amountSats",
34639
+ value: amountSats,
34640
+ expected: "smaller or equal to " + Number.MAX_SAFE_INTEGER
34641
+ });
34642
+ }
34643
+ if (amountSats <= 0) {
34644
+ throw new ValidationError("Amount must be greater than 0", {
34645
+ field: "amountSats",
34646
+ value: amountSats
34647
+ });
34648
+ }
34649
+ amountSatsArray.push(amountSats);
34166
34650
  }
34167
- if (amountSats <= 0) {
34168
- throw new ValidationError("Amount must be greater than 0", {
34169
- field: "amountSats",
34170
- value: amountSats
34651
+ const transferJobs = await this.withLeaves(async () => {
34652
+ const selectLeavesToSendMap = await this.selectLeaves(amountSatsArray);
34653
+ for (const [amount, selection] of selectLeavesToSendMap) {
34654
+ for (let groupIndex = 0; groupIndex < selection.length; groupIndex++) {
34655
+ const group = selection[groupIndex];
34656
+ if (!group) {
34657
+ throw new ValidationError(
34658
+ `TreeNode group at index ${groupIndex} not found for amount ${amount} after selection`
34659
+ );
34660
+ }
34661
+ let available = await this.checkRefreshTimelockNodes(group);
34662
+ available = await this.checkExtendTimeLockNodes(available);
34663
+ if (available.length < group.length) {
34664
+ throw new Error(
34665
+ `Not enough available nodes after refresh/extend. Expected ${group.length}, got ${available.length}`
34666
+ );
34667
+ }
34668
+ selection[groupIndex] = available;
34669
+ }
34670
+ }
34671
+ const tweaksByAmount = this.buildTweaksByAmount(selectLeavesToSendMap);
34672
+ const idsToRemove = /* @__PURE__ */ new Set();
34673
+ const jobs = params.map((param) => {
34674
+ const { amountSats, receiverIdentityPubkey, sparkInvoice } = param;
34675
+ const leafKeyTweaks = this.popOrThrow(
34676
+ tweaksByAmount.get(amountSats),
34677
+ `no leaves key tweaks for ${amountSats}`
34678
+ );
34679
+ for (const tweak of leafKeyTweaks) {
34680
+ idsToRemove.add(tweak.leaf.id);
34681
+ }
34682
+ return { leafKeyTweaks, receiverIdentityPubkey, sparkInvoice, param };
34171
34683
  });
34172
- }
34684
+ if (idsToRemove.size > 0) {
34685
+ this.leaves = this.leaves.filter((leaf) => !idsToRemove.has(leaf.id));
34686
+ }
34687
+ return jobs;
34688
+ });
34173
34689
  const signerIdentityPublicKey = await this.config.signer.getIdentityPublicKey();
34174
- const isSelfTransfer = (0, import_utils24.equalBytes)(
34175
- signerIdentityPublicKey,
34176
- (0, import_utils24.hexToBytes)(receiverAddress.identityPublicKey)
34690
+ const outcomes = await Promise.all(
34691
+ transferJobs.map(async (job) => {
34692
+ try {
34693
+ const transfer = await this.transferService.sendTransferWithKeyTweaks(
34694
+ job.leafKeyTweaks,
34695
+ job.receiverIdentityPubkey,
34696
+ job.sparkInvoice
34697
+ );
34698
+ const isSelfTransfer = (0, import_utils24.equalBytes)(
34699
+ signerIdentityPublicKey,
34700
+ job.receiverIdentityPubkey
34701
+ );
34702
+ if (isSelfTransfer) {
34703
+ const pending = await this.transferService.queryTransfer(
34704
+ transfer.id
34705
+ );
34706
+ if (pending) {
34707
+ await this.claimTransfer({ transfer: pending, optimize: true });
34708
+ }
34709
+ }
34710
+ return {
34711
+ ok: true,
34712
+ transfer: mapTransferToWalletTransfer(
34713
+ transfer,
34714
+ (0, import_utils24.bytesToHex)(await this.config.signer.getIdentityPublicKey())
34715
+ ),
34716
+ param: job.param
34717
+ };
34718
+ } catch (error) {
34719
+ return {
34720
+ ok: false,
34721
+ error: error instanceof Error ? error : new Error(String(error)),
34722
+ param: job.param
34723
+ };
34724
+ }
34725
+ })
34177
34726
  );
34178
- return await this.withLeaves(async () => {
34179
- let leavesToSend = (await this.selectLeaves([amountSats])).get(
34180
- amountSats
34181
- );
34182
- leavesToSend = await this.checkRefreshTimelockNodes(leavesToSend);
34183
- leavesToSend = await this.checkExtendTimeLockNodes(leavesToSend);
34184
- const leafKeyTweaks = await Promise.all(
34185
- leavesToSend.map(async (leaf) => ({
34186
- leaf,
34187
- keyDerivation: {
34188
- type: "leaf" /* LEAF */,
34189
- path: leaf.id
34190
- },
34191
- newKeyDerivation: {
34192
- type: "random" /* RANDOM */
34727
+ return outcomes;
34728
+ }
34729
+ buildTweaksByAmount(selectedByAmount) {
34730
+ const tweaksByAmount = /* @__PURE__ */ new Map();
34731
+ for (const [amount, treeNodes] of selectedByAmount) {
34732
+ const keyTweaksForAmount = [];
34733
+ for (const nodes of treeNodes) {
34734
+ const batch = [];
34735
+ for (let i = 0; i < nodes.length; i++) {
34736
+ if (!nodes[i]) {
34737
+ throw new ValidationError(
34738
+ `TreeNode at index ${i} not found for amount ${amount} while building key tweaks by amount`
34739
+ );
34193
34740
  }
34194
- }))
34195
- );
34196
- const transfer = await this.transferService.sendTransferWithKeyTweaks(
34197
- leafKeyTweaks,
34198
- (0, import_utils24.hexToBytes)(receiverAddress.identityPublicKey)
34199
- );
34200
- const leavesToRemove = new Set(leavesToSend.map((leaf) => leaf.id));
34201
- this.leaves = this.leaves.filter((leaf) => !leavesToRemove.has(leaf.id));
34202
- if (isSelfTransfer) {
34203
- const transactionId = transfer.id;
34204
- const pendingTransfer = await this.transferService.queryTransfer(transactionId);
34205
- if (pendingTransfer) {
34206
- await this.claimTransfer({
34207
- transfer: pendingTransfer,
34208
- optimize: true
34209
- });
34741
+ batch.push(this.toSendTweak(nodes[i]));
34210
34742
  }
34743
+ keyTweaksForAmount.push(batch);
34211
34744
  }
34212
- return mapTransferToWalletTransfer(
34213
- transfer,
34214
- (0, import_utils24.bytesToHex)(await this.config.signer.getIdentityPublicKey())
34215
- );
34216
- });
34745
+ tweaksByAmount.set(amount, keyTweaksForAmount);
34746
+ }
34747
+ return tweaksByAmount;
34748
+ }
34749
+ toSendTweak(node) {
34750
+ return {
34751
+ leaf: node,
34752
+ keyDerivation: { type: "leaf" /* LEAF */, path: node.id },
34753
+ newKeyDerivation: { type: "random" /* RANDOM */ }
34754
+ };
34217
34755
  }
34218
34756
  async checkExtendTimeLockNodes(nodes) {
34219
34757
  const nodesToExtend = [];
@@ -34371,7 +34909,7 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
34371
34909
  }
34372
34910
  if (emit) {
34373
34911
  this.emit(
34374
- "transfer:claimed",
34912
+ SparkWalletEvent.TransferClaimed,
34375
34913
  transfer.id,
34376
34914
  (await this.getBalance()).balance
34377
34915
  );
@@ -34389,10 +34927,20 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
34389
34927
  emit,
34390
34928
  optimize
34391
34929
  }) {
34392
- const onError = (context) => {
34930
+ const onError = async (context) => {
34393
34931
  const error = context.error;
34394
34932
  if (error instanceof RPCError && error.originalError instanceof import_nice_grpc_common3.ClientError && error.originalError.code === import_nice_grpc_common3.Status.ALREADY_EXISTS) {
34395
- return [];
34933
+ const transferToUse = context.data || transfer;
34934
+ const updatedTransfer = await this.transferService.queryTransfer(
34935
+ transferToUse.id
34936
+ );
34937
+ if (!updatedTransfer) {
34938
+ return void 0;
34939
+ }
34940
+ const leaves = updatedTransfer.leaves.flatMap(
34941
+ (leaf) => leaf.leaf ? [leaf.leaf] : []
34942
+ );
34943
+ return leaves;
34396
34944
  }
34397
34945
  return;
34398
34946
  };
@@ -34695,7 +35243,13 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
34695
35243
  expected: `${totalAmount} sats`
34696
35244
  });
34697
35245
  }
34698
- let leaves = (await this.selectLeaves([totalAmount])).get(totalAmount);
35246
+ const selectedLeaves = (await this.selectLeaves([totalAmount])).get(
35247
+ totalAmount
35248
+ );
35249
+ let leaves = this.popOrThrow(
35250
+ selectedLeaves,
35251
+ `no leaves for ${totalAmount}`
35252
+ );
34699
35253
  leaves = await this.checkRefreshTimelockNodes(leaves);
34700
35254
  leaves = await this.checkExtendTimeLockNodes(leaves);
34701
35255
  const leavesToSend = await Promise.all(
@@ -34733,7 +35287,7 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
34733
35287
  );
34734
35288
  const sspResponse = await sspClient.requestLightningSend({
34735
35289
  encodedInvoice: invoice,
34736
- idempotencyKey: paymentHash,
35290
+ idempotencyKey: (0, import_uuidv75.uuidv7)(),
34737
35291
  amountSats: isZeroAmountInvoice ? amountSatsToSend : void 0
34738
35292
  });
34739
35293
  if (!sspResponse) {
@@ -34752,99 +35306,237 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
34752
35306
  expected: "Non-empty array"
34753
35307
  });
34754
35308
  }
35309
+ const satsTransactionSuccess = [];
35310
+ const satsTransactionErrors = [];
35311
+ const tokenTransactionSuccess = [];
35312
+ const tokenTransactionErrors = [];
35313
+ const { satsInvoices, tokenInvoices, invalidInvoices } = await this.groupSparkInvoicesByPaymentType(sparkInvoices);
35314
+ if (invalidInvoices.length > 0) {
35315
+ return {
35316
+ satsTransactionSuccess,
35317
+ satsTransactionErrors,
35318
+ tokenTransactionSuccess,
35319
+ tokenTransactionErrors,
35320
+ invalidInvoices
35321
+ };
35322
+ }
35323
+ if (tokenInvoices.size > 0) {
35324
+ await this.syncTokenOutputs();
35325
+ const tokenTransferTasks = [];
35326
+ for (const [identifierHex, decodedInvoices] of tokenInvoices.entries()) {
35327
+ const tokenIdentifier = (0, import_utils24.hexToBytes)(identifierHex);
35328
+ const tokenIdB32 = encodeBech32mTokenIdentifier({
35329
+ tokenIdentifier,
35330
+ network: this.config.getNetworkType()
35331
+ });
35332
+ const receiverOutputs = decodedInvoices.map((d) => ({
35333
+ tokenIdentifier: tokenIdB32,
35334
+ tokenAmount: d.amount,
35335
+ receiverSparkAddress: d.invoice
35336
+ }));
35337
+ const invoices = decodedInvoices.map(
35338
+ (d) => d.invoice
35339
+ );
35340
+ tokenTransferTasks.push(
35341
+ this.tokenTransactionService.tokenTransfer({ tokenOutputs: this.tokenOutputs, receiverOutputs }).then((txid) => ({
35342
+ ok: true,
35343
+ tokenIdentifier: tokenIdB32,
35344
+ invoices,
35345
+ txid
35346
+ })).catch((e) => ({
35347
+ ok: false,
35348
+ tokenIdentifier: tokenIdB32,
35349
+ invoices,
35350
+ error: e instanceof Error ? e : new Error(String(e))
35351
+ }))
35352
+ );
35353
+ }
35354
+ const results = await Promise.all(tokenTransferTasks);
35355
+ for (const r of results) {
35356
+ if (r.ok) {
35357
+ tokenTransactionSuccess.push({
35358
+ tokenIdentifier: r.tokenIdentifier,
35359
+ invoices: r.invoices,
35360
+ txid: r.txid
35361
+ });
35362
+ } else {
35363
+ tokenTransactionErrors.push({
35364
+ tokenIdentifier: r.tokenIdentifier,
35365
+ invoices: r.invoices,
35366
+ error: r.error
35367
+ });
35368
+ }
35369
+ }
35370
+ }
35371
+ if (satsInvoices.length > 0) {
35372
+ const transfers = await this.transferWithInvoice(satsInvoices);
35373
+ for (const transfer of transfers) {
35374
+ if (transfer.ok) {
35375
+ satsTransactionSuccess.push({
35376
+ invoice: transfer.param.sparkInvoice ?? "",
35377
+ transferResponse: transfer.transfer
35378
+ });
35379
+ } else {
35380
+ satsTransactionErrors.push({
35381
+ invoice: transfer.param.sparkInvoice ?? "",
35382
+ error: transfer.error
35383
+ });
35384
+ }
35385
+ }
35386
+ }
35387
+ return {
35388
+ satsTransactionSuccess,
35389
+ satsTransactionErrors,
35390
+ tokenTransactionSuccess,
35391
+ tokenTransactionErrors,
35392
+ invalidInvoices
35393
+ };
35394
+ }
35395
+ async groupSparkInvoicesByPaymentType(sparkInvoices) {
35396
+ const satsInvoices = [];
35397
+ const tokenInvoices = /* @__PURE__ */ new Map();
35398
+ const invalidInvoices = [];
34755
35399
  const identityPublicKey = await this.getIdentityPublicKey();
34756
- let firstTokenIdentifierHexSeen;
34757
- const decoded = sparkInvoices.map((input, index) => {
35400
+ sparkInvoices.forEach((input) => {
34758
35401
  const { invoice, amount } = input;
35402
+ if (isLegacySparkAddress(invoice)) {
35403
+ invalidInvoices.push({
35404
+ invoice,
35405
+ error: new ValidationError("Deprecated spark invoice format", {
35406
+ field: "invoice",
35407
+ value: invoice,
35408
+ expected: "Modern spark invoice format. Deprecated formats are not supported."
35409
+ })
35410
+ });
35411
+ return;
35412
+ }
34759
35413
  const addressData = decodeSparkAddress(
34760
35414
  invoice,
34761
35415
  this.config.getNetworkType()
34762
35416
  );
34763
35417
  if (!addressData.sparkInvoiceFields) {
34764
- throw new ValidationError("Spark invoice not present", {
34765
- field: "sparkInvoice",
34766
- value: invoice,
34767
- index
35418
+ invalidInvoices.push({
35419
+ invoice,
35420
+ error: new ValidationError("Missing invoice fields", {
35421
+ field: "invoice",
35422
+ value: invoice,
35423
+ expected: "Valid invoice fields"
35424
+ })
34768
35425
  });
35426
+ return;
34769
35427
  }
34770
35428
  const fields = addressData.sparkInvoiceFields;
34771
- if (fields.paymentType?.type === "sats") {
34772
- throw new NotImplementedError("Sats payments are not supported yet");
34773
- }
34774
35429
  if (fields.expiryTime) {
34775
35430
  if (fields.expiryTime.getTime() <= Date.now()) {
34776
- throw new ValidationError("Spark invoice is expired", {
34777
- field: "expiryTime",
34778
- value: fields.expiryTime,
34779
- index,
34780
- expected: "future date"
35431
+ invalidInvoices.push({
35432
+ invoice,
35433
+ error: new ValidationError("Invoice expired", {
35434
+ field: "invoice",
35435
+ value: fields.expiryTime.getTime(),
35436
+ expected: "Expiry time in the future"
35437
+ })
34781
35438
  });
35439
+ return;
34782
35440
  }
34783
35441
  }
34784
- if (fields.paymentType?.type !== "tokens") {
34785
- throw new ValidationError("Invalid payment type", {
34786
- field: "paymentType",
34787
- value: fields.paymentType,
34788
- expected: "tokens",
34789
- index
34790
- });
34791
- }
34792
35442
  if (fields.senderPublicKey && fields.senderPublicKey !== identityPublicKey) {
34793
- throw new ValidationError("Sender public key does not match", {
34794
- field: "senderPublicKey"
35443
+ invalidInvoices.push({
35444
+ invoice,
35445
+ error: new ValidationError("Sender public key mismatch", {
35446
+ field: "invoice",
35447
+ value: fields.senderPublicKey,
35448
+ expected: identityPublicKey
35449
+ })
34795
35450
  });
35451
+ return;
34796
35452
  }
34797
- const tokenIdentifierHex = fields.paymentType.tokenIdentifier;
34798
- if (!tokenIdentifierHex) {
34799
- throw new ValidationError("Token identifier missing in invoice", {
34800
- field: "paymentType.tokenIdentifier",
34801
- value: tokenIdentifierHex,
34802
- index
35453
+ if (fields.paymentType?.type === "sats") {
35454
+ const encodedAmount = fields.paymentType.amount;
35455
+ if (amount && !isSafeForNumber(amount)) {
35456
+ invalidInvoices.push({
35457
+ invoice,
35458
+ error: new ValidationError("Invalid amount", {
35459
+ field: "invoice",
35460
+ value: amount,
35461
+ expected: "Safe for number"
35462
+ })
35463
+ });
35464
+ return;
35465
+ }
35466
+ if (!encodedAmount && !amount) {
35467
+ invalidInvoices.push({
35468
+ invoice,
35469
+ error: new ValidationError(
35470
+ "No amount passed for nil amount invoice",
35471
+ {
35472
+ field: "invoice",
35473
+ expected: "Amount to fulfill passed to function for nil amount invoice"
35474
+ }
35475
+ )
35476
+ });
35477
+ return;
35478
+ }
35479
+ satsInvoices.push({
35480
+ amountSats: encodedAmount ?? Number(amount),
35481
+ receiverIdentityPubkey: (0, import_utils24.hexToBytes)(addressData.identityPublicKey),
35482
+ sparkInvoice: invoice
35483
+ });
35484
+ } else if (fields.paymentType?.type === "tokens") {
35485
+ const tokenIdentifierHex = fields.paymentType.tokenIdentifier;
35486
+ const encodedAmount = fields.paymentType.amount;
35487
+ if (!tokenIdentifierHex) {
35488
+ invalidInvoices.push({
35489
+ invoice,
35490
+ error: new ValidationError(
35491
+ "No token identifier passed for tokens invoice",
35492
+ {
35493
+ field: "invoice",
35494
+ value: invoice,
35495
+ expected: "Token identifier passed"
35496
+ }
35497
+ )
35498
+ });
35499
+ return;
35500
+ }
35501
+ if (!encodedAmount && !amount) {
35502
+ invalidInvoices.push({
35503
+ invoice,
35504
+ error: new ValidationError(
35505
+ "No amount passed for nil amount invoice",
35506
+ {
35507
+ field: "invoice",
35508
+ expected: "Amount to fulfill passed to function for nil amount invoice"
35509
+ }
35510
+ )
35511
+ });
35512
+ return;
35513
+ }
35514
+ if (!tokenInvoices.has(tokenIdentifierHex)) {
35515
+ tokenInvoices.set(tokenIdentifierHex, [
35516
+ {
35517
+ invoice,
35518
+ identifierHex: tokenIdentifierHex,
35519
+ amount: encodedAmount ?? amount
35520
+ }
35521
+ ]);
35522
+ } else {
35523
+ tokenInvoices.get(tokenIdentifierHex).push({
35524
+ invoice,
35525
+ identifierHex: tokenIdentifierHex,
35526
+ amount: encodedAmount ?? amount
35527
+ });
35528
+ }
35529
+ } else {
35530
+ invalidInvoices.push({
35531
+ invoice,
35532
+ error: new ValidationError("Invalid payment type", {
35533
+ field: "invoice",
35534
+ expected: "sats or tokens invoice"
35535
+ })
34803
35536
  });
34804
35537
  }
34805
- if (!firstTokenIdentifierHexSeen) {
34806
- firstTokenIdentifierHexSeen = tokenIdentifierHex;
34807
- } else if (tokenIdentifierHex !== firstTokenIdentifierHexSeen) {
34808
- throw new ValidationError(
34809
- "All spark invoices must have the same token identifier",
34810
- {
34811
- field: "sparkInvoices",
34812
- value: sparkInvoices,
34813
- expected: "All invoices reference the same token identifier",
34814
- index
34815
- }
34816
- );
34817
- }
34818
- let tokenAmount = fields.paymentType.amount ?? amount;
34819
- if (!tokenAmount) {
34820
- throw new ValidationError(
34821
- "Missing token amount. Provide an amount in the invoice or as a parameter.",
34822
- {
34823
- field: "amount",
34824
- index
34825
- }
34826
- );
34827
- }
34828
- return {
34829
- invoice,
34830
- tokenIdentifierHex,
34831
- tokenAmount
34832
- };
34833
- });
34834
- await this.syncTokenOutputs();
34835
- const bech32mTokenIdentifier = encodeBech32mTokenIdentifier({
34836
- tokenIdentifier: (0, import_utils24.hexToBytes)(firstTokenIdentifierHexSeen),
34837
- network: this.config.getNetworkType()
34838
- });
34839
- const receiverOutputs = decoded.map((d) => ({
34840
- tokenIdentifier: bech32mTokenIdentifier,
34841
- tokenAmount: d.tokenAmount,
34842
- receiverSparkAddress: d.invoice
34843
- }));
34844
- return this.tokenTransactionService.tokenTransfer({
34845
- tokenOutputs: this.tokenOutputs,
34846
- receiverOutputs
34847
35538
  });
35539
+ return { satsInvoices, tokenInvoices, invalidInvoices };
34848
35540
  }
34849
35541
  /**
34850
35542
  * Gets fee estimate for sending Lightning payments.
@@ -34943,7 +35635,12 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
34943
35635
  let leavesToSendToSsp = [];
34944
35636
  let leavesToSendToSE = [];
34945
35637
  if (deductFeeFromWithdrawalAmount) {
34946
- leavesToSendToSsp = targetAmountSats ? (await this.selectLeaves([targetAmountSats])).get(targetAmountSats) : this.leaves;
35638
+ leavesToSendToSsp = targetAmountSats ? this.popOrThrow(
35639
+ (await this.selectLeaves([targetAmountSats])).get(
35640
+ targetAmountSats
35641
+ ),
35642
+ `no leaves for ${targetAmountSats}`
35643
+ ) : this.leaves;
34947
35644
  if (fee > leavesToSendToSsp.reduce((acc, leaf) => acc + leaf.value, 0)) {
34948
35645
  throw new ValidationError(
34949
35646
  "The fee for the withdrawal is greater than the target withdrawal amount",
@@ -34966,8 +35663,14 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
34966
35663
  );
34967
35664
  }
34968
35665
  const leaves = await this.selectLeaves([targetAmountSats, fee]);
34969
- const leavesForTargetAmount = leaves.get(targetAmountSats);
34970
- const leavesForFee = leaves.get(fee);
35666
+ const leavesForTargetAmount = this.popOrThrow(
35667
+ leaves.get(targetAmountSats),
35668
+ `failed to get leaves leaves for targetAmount, val: ${targetAmountSats}`
35669
+ );
35670
+ const leavesForFee = this.popOrThrow(
35671
+ leaves.get(fee),
35672
+ `failed to get leaves leaves for fee, val: ${fee}`
35673
+ );
34971
35674
  if (!leavesForTargetAmount || !leavesForFee) {
34972
35675
  throw new Error("Failed to select leaves for target amount and fee");
34973
35676
  }
@@ -35058,7 +35761,10 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
35058
35761
  expected: "smaller or equal to " + Number.MAX_SAFE_INTEGER
35059
35762
  });
35060
35763
  }
35061
- let leaves = (await this.selectLeaves([amountSats])).get(amountSats);
35764
+ let leaves = this.popOrThrow(
35765
+ (await this.selectLeaves([amountSats])).get(amountSats),
35766
+ `no leaves for ${amountSats}`
35767
+ );
35062
35768
  leaves = await this.checkRefreshTimelockNodes(leaves);
35063
35769
  leaves = await this.checkExtendTimeLockNodes(leaves);
35064
35770
  const feeEstimate = await sspClient.getCoopExitFeeQuote({
@@ -35734,6 +36440,9 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
35734
36440
  offset += pageSize;
35735
36441
  }
35736
36442
  }
36443
+ async isOptimizationInProgress() {
36444
+ return this.optimizationInProgress;
36445
+ }
35737
36446
  getOtelTraceUrls() {
35738
36447
  const soConfig = this.config.getSigningOperators();
35739
36448
  const sspBaseUrl = this.config.getSspBaseUrl();
@@ -35843,9 +36552,6 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
35843
36552
  }
35844
36553
  };
35845
36554
 
35846
- // src/spark-wallet/types.ts
35847
- init_buffer();
35848
-
35849
36555
  // src/native/index.ts
35850
36556
  setCrypto(globalThis.crypto);
35851
36557
  // Annotate the CommonJS export names for ESM import in node:
@@ -35869,6 +36575,7 @@ setCrypto(globalThis.crypto);
35869
36575
  SparkSDKError,
35870
36576
  SparkSdkLogger,
35871
36577
  SparkWallet,
36578
+ SparkWalletEvent,
35872
36579
  TEST_UNILATERAL_DIRECT_SEQUENCE,
35873
36580
  TEST_UNILATERAL_SEQUENCE,
35874
36581
  TokenTransactionService,
@@ -35878,6 +36585,7 @@ setCrypto(globalThis.crypto);
35878
36585
  addPublicKeys,
35879
36586
  applyAdaptorToSignature,
35880
36587
  applyAdditiveTweakToPublicKey,
36588
+ assertBech32,
35881
36589
  bech32mDecode,
35882
36590
  bigIntToPrivateKey,
35883
36591
  checkIfSelectedOutputsAreAvailable,
@@ -35940,6 +36648,8 @@ setCrypto(globalThis.crypto);
35940
36648
  getTxId,
35941
36649
  getTxIdNoReverse,
35942
36650
  isEphemeralAnchorOutput,
36651
+ isLegacySparkAddress,
36652
+ isSafeForNumber,
35943
36653
  isTxBroadcast,
35944
36654
  isValidPublicKey,
35945
36655
  isValidSparkAddress,