@buildonspark/spark-sdk 0.2.12 → 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.
- package/CHANGELOG.md +23 -0
- package/README.md +1 -0
- package/android/build/.transforms/2fa2e793098c1ca59a62960f96213e98/results.bin +1 -0
- package/android/build/.transforms/2fa2e793098c1ca59a62960f96213e98/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/308f88be04db7858a872b0f370068acf/results.bin +1 -0
- package/android/build/.transforms/308f88be04db7858a872b0f370068acf/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/results.bin +1 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/sparkfrost/BuildConfig.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/sparkfrost/SparkFrostModule$Companion.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/sparkfrost/SparkFrostModule.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/sparkfrost/SparkFrostPackage.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/Disposable$Companion.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/Disposable.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/DummyTx$Companion.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/DummyTx.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/Exception$ErrorHandler.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/Exception$Spark.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/Exception.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverter$DefaultImpls.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverter.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterBoolean.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterByteArray.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterMapStringByteArray.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterMapStringTypeSigningCommitment.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterOptionalByteArray.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterRustBuffer$DefaultImpls.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterRustBuffer.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterSequenceString.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterString.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeDummyTx.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeError.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeKeyPackage.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeNonceResult.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeSigningCommitment.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeSigningNonce.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeTransactionResult.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterUInt.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterULong.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterUShort.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/ForeignBytes$ByValue.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/ForeignBytes.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/InternalException.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/KeyPackage$Companion.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/KeyPackage.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/NoPointer.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/NonceResult$Companion.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/NonceResult.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/RustBuffer$ByReference.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/RustBuffer$ByValue.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/RustBuffer$Companion.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/RustBuffer.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/RustBufferByReference.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/SigningCommitment$Companion.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/SigningCommitment.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/SigningNonce$Companion.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/SigningNonce.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/Spark_frostKt.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/TransactionResult$Companion.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/TransactionResult.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiCallbackInterfaceFree.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFuture$UniffiByValue.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFuture.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteF32.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteF64.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteI16.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteI32.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteI64.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteI8.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompletePointer.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteRustBuffer.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteU16.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteU32.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteU64.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteU8.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteVoid.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureFree.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructF32$UniffiByValue.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructF32.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructF64$UniffiByValue.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructF64.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI16$UniffiByValue.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI16.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI32$UniffiByValue.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI32.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI64$UniffiByValue.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI64.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI8$UniffiByValue.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI8.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructPointer$UniffiByValue.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructPointer.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructRustBuffer$UniffiByValue.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructRustBuffer.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU16$UniffiByValue.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU16.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU32$UniffiByValue.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU32.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU64$UniffiByValue.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU64.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU8$UniffiByValue.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU8.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructVoid$UniffiByValue.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructVoid.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiHandleMap.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiLib$Companion.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiLib.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiNullRustCallStatusErrorHandler.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiRustCallStatus$ByValue.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiRustCallStatus$Companion.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiRustCallStatus.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiRustCallStatusErrorHandler.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiRustFutureContinuationCallback.dex +0 -0
- package/android/build/.transforms/d819d94cb3e52e68905ed95c389cd8f7/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/results.bin +1 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/sparkfrost/BuildConfig.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/sparkfrost/SparkFrostModule$Companion.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/sparkfrost/SparkFrostModule.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/sparkfrost/SparkFrostPackage.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/Disposable$Companion.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/Disposable.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/DummyTx$Companion.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/DummyTx.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/Exception$ErrorHandler.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/Exception$Spark.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/Exception.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverter$DefaultImpls.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverter.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterBoolean.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterByteArray.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterMapStringByteArray.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterMapStringTypeSigningCommitment.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterOptionalByteArray.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterRustBuffer$DefaultImpls.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterRustBuffer.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterSequenceString.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterString.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeDummyTx.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeError.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeKeyPackage.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeNonceResult.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeSigningCommitment.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeSigningNonce.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterTypeTransactionResult.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterUInt.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterULong.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/FfiConverterUShort.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/ForeignBytes$ByValue.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/ForeignBytes.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/InternalException.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/KeyPackage$Companion.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/KeyPackage.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/NoPointer.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/NonceResult$Companion.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/NonceResult.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/RustBuffer$ByReference.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/RustBuffer$ByValue.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/RustBuffer$Companion.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/RustBuffer.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/RustBufferByReference.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/SigningCommitment$Companion.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/SigningCommitment.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/SigningNonce$Companion.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/SigningNonce.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/Spark_frostKt.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/TransactionResult$Companion.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/TransactionResult.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiCallbackInterfaceFree.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFuture$UniffiByValue.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFuture.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteF32.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteF64.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteI16.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteI32.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteI64.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteI8.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompletePointer.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteRustBuffer.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteU16.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteU32.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteU64.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteU8.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureCompleteVoid.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureFree.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructF32$UniffiByValue.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructF32.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructF64$UniffiByValue.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructF64.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI16$UniffiByValue.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI16.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI32$UniffiByValue.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI32.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI64$UniffiByValue.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI64.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI8$UniffiByValue.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructI8.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructPointer$UniffiByValue.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructPointer.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructRustBuffer$UniffiByValue.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructRustBuffer.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU16$UniffiByValue.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU16.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU32$UniffiByValue.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU32.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU64$UniffiByValue.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU64.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU8$UniffiByValue.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructU8.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructVoid$UniffiByValue.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiForeignFutureStructVoid.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiHandleMap.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiLib$Companion.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiLib.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiNullRustCallStatusErrorHandler.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiRustCallStatus$ByValue.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiRustCallStatus$Companion.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiRustCallStatus.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiRustCallStatusErrorHandler.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/spark_frost/UniffiRustFutureContinuationCallback.dex +0 -0
- package/android/build/.transforms/eeae79802474dca0798910d9ef9c0328/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/generated/source/buildConfig/debug/com/sparkfrost/BuildConfig.java +10 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +7 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
- package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
- package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
- package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
- package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/buildonspark_spark-sdk_debug.kotlin_module +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/sparkfrost/BuildConfig.class +0 -0
- package/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/arm64-v8a/libspark_frost.so +0 -0
- package/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/arm64-v8a/libuniffi_spark_frost.so +0 -0
- package/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/armeabi-v7a/libspark_frost.so +0 -0
- package/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/armeabi-v7a/libuniffi_spark_frost.so +0 -0
- package/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/x86/libspark_frost.so +0 -0
- package/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/x86/libuniffi_spark_frost.so +0 -0
- package/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/x86_64/libspark_frost.so +0 -0
- package/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/x86_64/libuniffi_spark_frost.so +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +2 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +7 -0
- package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/arm64-v8a/libspark_frost.so +0 -0
- package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/arm64-v8a/libuniffi_spark_frost.so +0 -0
- package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/armeabi-v7a/libspark_frost.so +0 -0
- package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/armeabi-v7a/libuniffi_spark_frost.so +0 -0
- package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/x86/libspark_frost.so +0 -0
- package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/x86/libuniffi_spark_frost.so +0 -0
- package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/x86_64/libspark_frost.so +0 -0
- package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/x86_64/libuniffi_spark_frost.so +0 -0
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +7 -0
- package/android/build/intermediates/merged_native_libs/debug/mergeDebugNativeLibs/out/lib/arm64-v8a/libspark_frost.so +0 -0
- package/android/build/intermediates/merged_native_libs/debug/mergeDebugNativeLibs/out/lib/arm64-v8a/libuniffi_spark_frost.so +0 -0
- package/android/build/intermediates/merged_native_libs/debug/mergeDebugNativeLibs/out/lib/armeabi-v7a/libspark_frost.so +0 -0
- package/android/build/intermediates/merged_native_libs/debug/mergeDebugNativeLibs/out/lib/armeabi-v7a/libuniffi_spark_frost.so +0 -0
- package/android/build/intermediates/merged_native_libs/debug/mergeDebugNativeLibs/out/lib/x86/libspark_frost.so +0 -0
- package/android/build/intermediates/merged_native_libs/debug/mergeDebugNativeLibs/out/lib/x86/libuniffi_spark_frost.so +0 -0
- package/android/build/intermediates/merged_native_libs/debug/mergeDebugNativeLibs/out/lib/x86_64/libspark_frost.so +0 -0
- package/android/build/intermediates/merged_native_libs/debug/mergeDebugNativeLibs/out/lib/x86_64/libuniffi_spark_frost.so +0 -0
- package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/buildonspark_spark-sdk_debug.kotlin_module +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/sparkfrost/BuildConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/sparkfrost/SparkFrostModule$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/sparkfrost/SparkFrostModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/sparkfrost/SparkFrostPackage.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/Disposable$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/Disposable.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/DummyTx$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/DummyTx.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/Exception$ErrorHandler.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/Exception$Spark.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/Exception.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverter$DefaultImpls.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverter.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterBoolean.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterByteArray.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterMapStringByteArray.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterMapStringTypeSigningCommitment.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterOptionalByteArray.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterRustBuffer$DefaultImpls.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterRustBuffer.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterSequenceString.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterString.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterTypeDummyTx.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterTypeError.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterTypeKeyPackage.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterTypeNonceResult.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterTypeSigningCommitment.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterTypeSigningNonce.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterTypeTransactionResult.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterUInt.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterULong.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/FfiConverterUShort.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/ForeignBytes$ByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/ForeignBytes.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/InternalException.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/KeyPackage$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/KeyPackage.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/NoPointer.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/NonceResult$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/NonceResult.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/RustBuffer$ByReference.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/RustBuffer$ByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/RustBuffer$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/RustBuffer.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/RustBufferByReference.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/SigningCommitment$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/SigningCommitment.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/SigningNonce$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/SigningNonce.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/Spark_frostKt.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/TransactionResult$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/TransactionResult.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiCallbackInterfaceFree.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFuture$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFuture.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompleteF32.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompleteF64.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompleteI16.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompleteI32.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompleteI64.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompleteI8.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompletePointer.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompleteRustBuffer.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompleteU16.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompleteU32.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompleteU64.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompleteU8.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureCompleteVoid.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureFree.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructF32$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructF32.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructF64$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructF64.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructI16$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructI16.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructI32$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructI32.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructI64$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructI64.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructI8$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructI8.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructPointer$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructPointer.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructRustBuffer$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructRustBuffer.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructU16$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructU16.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructU32$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructU32.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructU64$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructU64.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructU8$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructU8.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructVoid$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiForeignFutureStructVoid.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiHandleMap.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiLib$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiLib.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiNullRustCallStatusErrorHandler.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiRustCallStatus$ByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiRustCallStatus$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiRustCallStatus.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiRustCallStatusErrorHandler.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/spark_frost/UniffiRustFutureContinuationCallback.class +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +1 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/inline-functions.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/inline-functions.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/inline-functions.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/inline-functions.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/inline-functions.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/inline-functions.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/inline-functions.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.s +1 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +16 -0
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/buildonspark_spark-sdk_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/sparkfrost/SparkFrostModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/sparkfrost/SparkFrostModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/sparkfrost/SparkFrostPackage.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/Disposable$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/Disposable.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/DummyTx$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/DummyTx.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/Exception$ErrorHandler.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/Exception$Spark.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/Exception.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverter$DefaultImpls.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverter.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterBoolean.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterByteArray.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterMapStringByteArray.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterMapStringTypeSigningCommitment.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterOptionalByteArray.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterRustBuffer$DefaultImpls.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterRustBuffer.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterSequenceString.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterString.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterTypeDummyTx.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterTypeError.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterTypeKeyPackage.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterTypeNonceResult.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterTypeSigningCommitment.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterTypeSigningNonce.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterTypeTransactionResult.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterUInt.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterULong.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/FfiConverterUShort.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/ForeignBytes$ByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/ForeignBytes.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/InternalException.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/KeyPackage$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/KeyPackage.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/NoPointer.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/NonceResult$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/NonceResult.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/RustBuffer$ByReference.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/RustBuffer$ByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/RustBuffer$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/RustBuffer.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/RustBufferByReference.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/SigningCommitment$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/SigningCommitment.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/SigningNonce$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/SigningNonce.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/Spark_frostKt.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/TransactionResult$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/TransactionResult.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiCallbackInterfaceFree.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFuture$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFuture.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompleteF32.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompleteF64.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompleteI16.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompleteI32.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompleteI64.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompleteI8.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompletePointer.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompleteRustBuffer.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompleteU16.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompleteU32.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompleteU64.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompleteU8.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureCompleteVoid.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureFree.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructF32$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructF32.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructF64$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructF64.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructI16$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructI16.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructI32$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructI32.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructI64$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructI64.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructI8$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructI8.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructPointer$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructPointer.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructRustBuffer$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructRustBuffer.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructU16$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructU16.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructU32$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructU32.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructU64$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructU64.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructU8$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructU8.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructVoid$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiForeignFutureStructVoid.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiHandleMap.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiLib$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiLib.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiNullRustCallStatusErrorHandler.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiRustCallStatus$ByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiRustCallStatus$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiRustCallStatus.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiRustCallStatusErrorHandler.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/spark_frost/UniffiRustFutureContinuationCallback.class +0 -0
- package/dist/bare/index.cjs +989 -258
- package/dist/bare/index.d.cts +172 -65
- package/dist/bare/index.d.ts +172 -65
- package/dist/bare/index.js +923 -247
- package/dist/bare/{wasm-F5QFVBNZ.js → wasm-K4VEMHRK.js} +64 -12
- package/dist/{chunk-NQMQVXR5.js → chunk-62SSODEF.js} +2 -2
- package/dist/{chunk-XXTWWW6L.js → chunk-73GJOG5R.js} +37 -5
- package/dist/{chunk-5VWGOHED.js → chunk-MGCUXELA.js} +250 -12
- package/dist/{chunk-TB7DG5CU.js → chunk-MH7BMOLL.js} +1 -1
- package/dist/{chunk-OEK3R57K.js → chunk-RFP7E7TK.js} +662 -234
- package/dist/{client-DVuA5-7M.d.cts → client-DUFejFfn.d.cts} +2 -2
- package/dist/{client-D7KDa4Ih.d.ts → client-DrjQwET9.d.ts} +2 -2
- package/dist/debug.cjs +987 -263
- package/dist/debug.d.cts +10 -6
- package/dist/debug.d.ts +10 -6
- package/dist/debug.js +4 -4
- package/dist/graphql/objects/index.d.cts +3 -3
- package/dist/graphql/objects/index.d.ts +3 -3
- package/dist/index.cjs +993 -262
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +13 -6
- package/dist/index.node.cjs +992 -261
- package/dist/index.node.d.cts +7 -7
- package/dist/index.node.d.ts +7 -7
- package/dist/index.node.js +12 -5
- package/dist/{logging-ClNhGzus.d.ts → logging-DBQP4xwp.d.ts} +5 -5
- package/dist/{logging-D3kvES69.d.cts → logging-Rw9YSBp4.d.cts} +5 -5
- package/dist/native/index.cjs +992 -261
- package/dist/native/index.d.cts +150 -30
- package/dist/native/index.d.ts +150 -30
- package/dist/native/index.js +924 -247
- package/dist/native/{wasm-3YAXKQ7F.js → wasm-KT5NZXRN.js} +64 -12
- package/dist/proto/spark.cjs +250 -12
- package/dist/proto/spark.d.cts +1 -1
- package/dist/proto/spark.d.ts +1 -1
- package/dist/proto/spark.js +11 -1
- package/dist/proto/spark_token.cjs +240 -4
- package/dist/proto/spark_token.d.cts +4 -1
- package/dist/proto/spark_token.d.ts +4 -1
- package/dist/proto/spark_token.js +2 -2
- package/dist/{spark-C7OG9mGJ.d.cts → spark-CLz4-Ln8.d.cts} +31 -3
- package/dist/{spark-C7OG9mGJ.d.ts → spark-CLz4-Ln8.d.ts} +31 -3
- package/dist/{spark-wallet-Dg5IRQe2.d.cts → spark-wallet-DAHB55v6.d.cts} +166 -69
- package/dist/{spark-wallet-DiHSU-pz.d.ts → spark-wallet-DW0_1REx.d.ts} +166 -69
- package/dist/{spark-wallet.node-DSWb18zh.d.cts → spark-wallet.node-CFSOZ0ea.d.cts} +1 -1
- package/dist/{spark-wallet.node-BZrxwomN.d.ts → spark-wallet.node-CIqbulUR.d.ts} +1 -1
- package/dist/spark_bindings/wasm/index.cjs +64 -12
- package/dist/spark_bindings/wasm/index.js +64 -12
- package/dist/tests/test-utils.cjs +383 -42
- package/dist/tests/test-utils.d.cts +10 -6
- package/dist/tests/test-utils.d.ts +10 -6
- package/dist/tests/test-utils.js +12 -6
- package/dist/{token-transactions-B-WqFYpW.d.cts → token-transactions-HH_7O9pv.d.cts} +2 -2
- package/dist/{token-transactions-DovxHIxV.d.ts → token-transactions-Inr6k6Wf.d.ts} +2 -2
- package/dist/types/index.cjs +245 -12
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +2 -2
- package/package.json +6 -6
- package/src/constants.ts +20 -6
- package/src/index.ts +2 -2
- package/src/proto/spark.ts +279 -12
- package/src/proto/spark_token.ts +42 -3
- package/src/services/token-transactions.ts +66 -8
- package/src/services/transfer.ts +3 -27
- package/src/spark-wallet/proto-descriptors.ts +22 -0
- package/src/spark-wallet/proto-hash.ts +743 -0
- package/src/spark-wallet/proto-reflection.ts +193 -0
- package/src/spark-wallet/spark-wallet.ts +618 -201
- package/src/spark-wallet/types.ts +75 -5
- package/src/spark_bindings/wasm/index.ts +66 -12
- package/src/spark_descriptors.pb +0 -0
- package/src/tests/address.test.ts +42 -11
- package/src/tests/bufbuild-reflection.test.ts +151 -0
- package/src/tests/cross-language-hash.test.ts +79 -0
- package/src/tests/integration/address.test.ts +3 -12
- package/src/tests/integration/ssp/static_deposit.test.ts +15 -9
- package/src/tests/integration/static_deposit.test.ts +26 -0
- package/src/tests/integration/token-output.test.ts +83 -0
- package/src/tests/integration/transfer.test.ts +330 -131
- package/src/tests/test-utils.ts +7 -0
- package/src/tests/token-hashing.test.ts +5 -5
- package/src/tests/xchain-address.test.ts +3 -3
- package/src/utils/address.ts +58 -31
- package/src/utils/fetch.ts +1 -1
- package/src/utils/transaction.ts +8 -8
- /package/{dist/chunk-BYXBJQAS.js → android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt} +0 -0
package/dist/native/index.cjs
CHANGED
|
@@ -1111,14 +1111,34 @@ function signFrost({
|
|
|
1111
1111
|
statechainCommitments,
|
|
1112
1112
|
adaptorPubKey
|
|
1113
1113
|
}) {
|
|
1114
|
-
|
|
1114
|
+
const logMsg = JSON.stringify({
|
|
1115
1115
|
message: (0, import_utils12.bytesToHex)(message),
|
|
1116
|
-
keyPackage
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
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
|
-
|
|
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
|
-
|
|
1166
|
+
const logMsg = JSON.stringify({
|
|
1142
1167
|
message: (0, import_utils12.bytesToHex)(message),
|
|
1143
|
-
statechainCommitments
|
|
1144
|
-
|
|
1145
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
8067
|
-
writer.uint32(
|
|
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
|
|
8121
|
-
if (tag !==
|
|
8382
|
+
case 10: {
|
|
8383
|
+
if (tag !== 82) {
|
|
8122
8384
|
break;
|
|
8123
8385
|
}
|
|
8124
|
-
message.
|
|
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
|
-
|
|
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.
|
|
8167
|
-
obj.
|
|
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.
|
|
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 (
|
|
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 =
|
|
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 =
|
|
18979
|
-
var INITIAL_DIRECT_SEQUENCE =
|
|
18980
|
-
var TEST_UNILATERAL_SEQUENCE =
|
|
18981
|
-
var TEST_UNILATERAL_DIRECT_SEQUENCE =
|
|
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:
|
|
19253
|
-
nextDirectSequence:
|
|
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:
|
|
19297
|
-
nextDirectSequence:
|
|
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 =
|
|
19956
|
-
var isBun =
|
|
19957
|
-
var
|
|
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(
|
|
@@ -26775,24 +27110,6 @@ var TransferService = class extends BaseTransferService {
|
|
|
26775
27110
|
throw new Error(`Error finalizing node signatures in transfer: ${error}`);
|
|
26776
27111
|
}
|
|
26777
27112
|
}
|
|
26778
|
-
async cancelTransfer(transfer, operatorAddress) {
|
|
26779
|
-
const sparkClient = await this.connectionManager.createSparkClient(operatorAddress);
|
|
26780
|
-
try {
|
|
26781
|
-
const response = await sparkClient.cancel_transfer({
|
|
26782
|
-
transferId: transfer.id,
|
|
26783
|
-
senderIdentityPublicKey: await this.config.signer.getIdentityPublicKey()
|
|
26784
|
-
});
|
|
26785
|
-
return response.transfer;
|
|
26786
|
-
} catch (error) {
|
|
26787
|
-
throw new NetworkError(
|
|
26788
|
-
"Failed to cancel transfer",
|
|
26789
|
-
{
|
|
26790
|
-
method: "POST"
|
|
26791
|
-
},
|
|
26792
|
-
error
|
|
26793
|
-
);
|
|
26794
|
-
}
|
|
26795
|
-
}
|
|
26796
27113
|
async queryPendingTransfersBySender(operatorAddress) {
|
|
26797
27114
|
const sparkClient = await this.connectionManager.createSparkClient(operatorAddress);
|
|
26798
27115
|
try {
|
|
@@ -30527,6 +30844,7 @@ function validateTokenTransaction(finalTokenTransaction, partialTokenTransaction
|
|
|
30527
30844
|
|
|
30528
30845
|
// src/services/token-transactions.ts
|
|
30529
30846
|
var MAX_TOKEN_OUTPUTS = 500;
|
|
30847
|
+
var QUERY_TOKEN_OUTPUTS_PAGE_SIZE = 100;
|
|
30530
30848
|
var TokenTransactionService = class {
|
|
30531
30849
|
config;
|
|
30532
30850
|
connectionManager;
|
|
@@ -31215,6 +31533,36 @@ var TokenTransactionService = class {
|
|
|
31215
31533
|
}
|
|
31216
31534
|
}
|
|
31217
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
|
+
}
|
|
31218
31566
|
if (this.config.getTokenTransactionVersion() === "V0") {
|
|
31219
31567
|
return this.fetchOwnedTokenOutputsV0(params);
|
|
31220
31568
|
} else {
|
|
@@ -31267,13 +31615,30 @@ var TokenTransactionService = class {
|
|
|
31267
31615
|
this.config.getCoordinatorAddress()
|
|
31268
31616
|
);
|
|
31269
31617
|
try {
|
|
31270
|
-
const
|
|
31271
|
-
|
|
31272
|
-
|
|
31273
|
-
|
|
31274
|
-
|
|
31275
|
-
|
|
31276
|
-
|
|
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;
|
|
31277
31642
|
} catch (error) {
|
|
31278
31643
|
throw new NetworkError(
|
|
31279
31644
|
"Failed to fetch owned token outputs",
|
|
@@ -32146,6 +32511,17 @@ async function withRetry(operation, options = {}) {
|
|
|
32146
32511
|
throw new Error("Unexpected retry loop exit");
|
|
32147
32512
|
}
|
|
32148
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
|
+
|
|
32149
32525
|
// src/spark-wallet/spark-wallet.ts
|
|
32150
32526
|
var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
32151
32527
|
config;
|
|
@@ -32259,7 +32635,7 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
32259
32635
|
path: deposit.id
|
|
32260
32636
|
});
|
|
32261
32637
|
this.emit(
|
|
32262
|
-
|
|
32638
|
+
SparkWalletEvent.DepositConfirmed,
|
|
32263
32639
|
deposit.id,
|
|
32264
32640
|
(await this.getBalance()).balance
|
|
32265
32641
|
);
|
|
@@ -32323,7 +32699,7 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
32323
32699
|
break;
|
|
32324
32700
|
}
|
|
32325
32701
|
if (data.event?.$case === "connected") {
|
|
32326
|
-
this.emit(
|
|
32702
|
+
this.emit(SparkWalletEvent.StreamConnected);
|
|
32327
32703
|
retryCount = 0;
|
|
32328
32704
|
}
|
|
32329
32705
|
if (data.event?.$case === "transfer" && data.event.transfer.transfer && claimedTransfersIds.includes(data.event.transfer.transfer.id)) {
|
|
@@ -32345,7 +32721,7 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
32345
32721
|
if (retryCount < MAX_RETRIES) {
|
|
32346
32722
|
retryCount++;
|
|
32347
32723
|
this.emit(
|
|
32348
|
-
|
|
32724
|
+
SparkWalletEvent.StreamReconnecting,
|
|
32349
32725
|
retryCount,
|
|
32350
32726
|
MAX_RETRIES,
|
|
32351
32727
|
backoffDelay,
|
|
@@ -32365,7 +32741,10 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
32365
32741
|
}
|
|
32366
32742
|
}
|
|
32367
32743
|
} else {
|
|
32368
|
-
this.emit(
|
|
32744
|
+
this.emit(
|
|
32745
|
+
SparkWalletEvent.StreamDisconnected,
|
|
32746
|
+
"Max reconnection attempts reached"
|
|
32747
|
+
);
|
|
32369
32748
|
break;
|
|
32370
32749
|
}
|
|
32371
32750
|
}
|
|
@@ -32465,6 +32844,10 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
32465
32844
|
verifyKey(pubkey1, pubkey2, verifyingKey) {
|
|
32466
32845
|
return (0, import_utils24.equalBytes)(addPublicKeys(pubkey1, pubkey2), verifyingKey);
|
|
32467
32846
|
}
|
|
32847
|
+
popOrThrow(arr, msg) {
|
|
32848
|
+
if (!arr || arr.length === 0) throw new ValidationError(msg);
|
|
32849
|
+
return arr.pop();
|
|
32850
|
+
}
|
|
32468
32851
|
async selectLeaves(targetAmounts) {
|
|
32469
32852
|
if (targetAmounts.length === 0) {
|
|
32470
32853
|
throw new ValidationError("Target amounts must be non-empty", {
|
|
@@ -32518,7 +32901,11 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
32518
32901
|
}
|
|
32519
32902
|
}
|
|
32520
32903
|
totalAmount += amount;
|
|
32521
|
-
results2.
|
|
32904
|
+
if (results2.has(targetAmount)) {
|
|
32905
|
+
results2.get(targetAmount).push(nodes);
|
|
32906
|
+
} else {
|
|
32907
|
+
results2.set(targetAmount, [nodes]);
|
|
32908
|
+
}
|
|
32522
32909
|
}
|
|
32523
32910
|
return {
|
|
32524
32911
|
results: results2,
|
|
@@ -32645,17 +33032,60 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
32645
33032
|
* @param {Object} params - Parameters for the sats payment
|
|
32646
33033
|
* @param {number} params.amount - The amount of sats to receive
|
|
32647
33034
|
* @param {string} [params.memo] - The memo for the payment
|
|
32648
|
-
* @param {string} [params.
|
|
33035
|
+
* @param {string} [params.senderSparkAddress] - The spark address of the expected sender
|
|
32649
33036
|
* @param {Date} [params.expiryTime] - The expiry time of the payment
|
|
32650
|
-
* @returns {Promise<SparkAddressFormat>} The Spark
|
|
33037
|
+
* @returns {Promise<SparkAddressFormat>} The Spark invoice for the sats payment
|
|
32651
33038
|
*/
|
|
32652
33039
|
async createSatsInvoice({
|
|
32653
33040
|
amount,
|
|
32654
33041
|
memo,
|
|
32655
|
-
|
|
33042
|
+
senderSparkAddress,
|
|
32656
33043
|
expiryTime
|
|
32657
33044
|
}) {
|
|
32658
|
-
|
|
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
|
+
);
|
|
32659
33089
|
}
|
|
32660
33090
|
/**
|
|
32661
33091
|
* Creates a Spark invoice for a tokens payment on Spark.
|
|
@@ -32664,15 +33094,15 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
32664
33094
|
* @param {bigint} [params.amount] - The amount of tokens to receive
|
|
32665
33095
|
* @param {Bech32mTokenIdentifier} [params.tokenIdentifier] - The token identifier
|
|
32666
33096
|
* @param {string} [params.memo] - The memo for the payment
|
|
32667
|
-
* @param {string} [params.
|
|
33097
|
+
* @param {string} [params.senderSparkAddress] - The spark address of the expected sender
|
|
32668
33098
|
* @param {Date} [params.expiryTime] - The expiry time of the payment
|
|
32669
|
-
* @returns {Promise<SparkAddressFormat>} The Spark
|
|
33099
|
+
* @returns {Promise<SparkAddressFormat>} The Spark invoice for the tokens payment
|
|
32670
33100
|
*/
|
|
32671
33101
|
async createTokensInvoice({
|
|
32672
33102
|
amount,
|
|
32673
33103
|
tokenIdentifier,
|
|
32674
33104
|
memo,
|
|
32675
|
-
|
|
33105
|
+
senderSparkAddress,
|
|
32676
33106
|
expiryTime
|
|
32677
33107
|
}) {
|
|
32678
33108
|
const MAX_UINT128 = BigInt(2 ** 128 - 1);
|
|
@@ -32697,12 +33127,15 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
32697
33127
|
amount: amount ? (0, import_utils24.numberToVarBytesBE)(amount) : void 0
|
|
32698
33128
|
}
|
|
32699
33129
|
};
|
|
33130
|
+
const senderPublicKey = senderSparkAddress ? (0, import_utils24.hexToBytes)(
|
|
33131
|
+
decodeSparkAddress(senderSparkAddress, this.config.getNetworkType()).identityPublicKey
|
|
33132
|
+
) : void 0;
|
|
32700
33133
|
const invoiceFields = {
|
|
32701
33134
|
version: 1,
|
|
32702
33135
|
id: (0, import_uuidv75.uuidv7obj)().bytes,
|
|
32703
33136
|
paymentType: protoPayment,
|
|
32704
33137
|
memo: memo ?? void 0,
|
|
32705
|
-
senderPublicKey
|
|
33138
|
+
senderPublicKey,
|
|
32706
33139
|
expiryTime: expiryTime ?? void 0
|
|
32707
33140
|
};
|
|
32708
33141
|
validateSparkInvoiceFields(invoiceFields);
|
|
@@ -33231,7 +33664,6 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
33231
33664
|
message: e.message,
|
|
33232
33665
|
stack: e.stack
|
|
33233
33666
|
});
|
|
33234
|
-
await this.cancelAllSenderInitiatedTransfers();
|
|
33235
33667
|
throw new Error(`Failed to request leaves swap: ${e}`);
|
|
33236
33668
|
}
|
|
33237
33669
|
}
|
|
@@ -33694,6 +34126,64 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
33694
34126
|
});
|
|
33695
34127
|
return tx.hex;
|
|
33696
34128
|
}
|
|
34129
|
+
/**
|
|
34130
|
+
* Refunds a static deposit and broadcasts the transaction to the network.
|
|
34131
|
+
*
|
|
34132
|
+
* @param {Object} params - The refund parameters
|
|
34133
|
+
* @param {string} params.depositTransactionId - The ID of the transaction
|
|
34134
|
+
* @param {number} [params.outputIndex] - The index of the output
|
|
34135
|
+
* @param {string} params.destinationAddress - The destination address
|
|
34136
|
+
* @param {number} [params.satsPerVbyteFee] - The fee per vbyte to refund
|
|
34137
|
+
* @returns {Promise<string>} The transaction ID
|
|
34138
|
+
*/
|
|
34139
|
+
async refundAndBroadcastStaticDeposit({
|
|
34140
|
+
depositTransactionId,
|
|
34141
|
+
outputIndex,
|
|
34142
|
+
destinationAddress,
|
|
34143
|
+
satsPerVbyteFee
|
|
34144
|
+
}) {
|
|
34145
|
+
const txHex = await this.refundStaticDeposit({
|
|
34146
|
+
depositTransactionId,
|
|
34147
|
+
outputIndex,
|
|
34148
|
+
destinationAddress,
|
|
34149
|
+
satsPerVbyteFee
|
|
34150
|
+
});
|
|
34151
|
+
return await this.broadcastTx(txHex);
|
|
34152
|
+
}
|
|
34153
|
+
/**
|
|
34154
|
+
* Broadcasts a transaction to the network.
|
|
34155
|
+
*
|
|
34156
|
+
* @param {string} txHex - The hex of the transaction
|
|
34157
|
+
* @returns {Promise<string>} The transaction ID
|
|
34158
|
+
*/
|
|
34159
|
+
async broadcastTx(txHex) {
|
|
34160
|
+
if (!txHex) {
|
|
34161
|
+
throw new ValidationError("Transaction hex cannot be empty", {
|
|
34162
|
+
field: "txHex"
|
|
34163
|
+
});
|
|
34164
|
+
}
|
|
34165
|
+
const { fetch, Headers: Headers2 } = getFetch();
|
|
34166
|
+
const baseUrl = this.config.getElectrsUrl();
|
|
34167
|
+
const headers = new Headers2();
|
|
34168
|
+
if (this.config.getNetwork() === 4 /* LOCAL */) {
|
|
34169
|
+
const localFaucet = BitcoinFaucet.getInstance();
|
|
34170
|
+
const response = await localFaucet.broadcastTx(txHex);
|
|
34171
|
+
return response;
|
|
34172
|
+
} else {
|
|
34173
|
+
if (this.config.getNetwork() === 3 /* REGTEST */) {
|
|
34174
|
+
const auth = btoa(
|
|
34175
|
+
`${ELECTRS_CREDENTIALS.username}:${ELECTRS_CREDENTIALS.password}`
|
|
34176
|
+
);
|
|
34177
|
+
headers.set("Authorization", `Basic ${auth}`);
|
|
34178
|
+
}
|
|
34179
|
+
const response = await fetch(`${baseUrl}/tx`, {
|
|
34180
|
+
method: "POST",
|
|
34181
|
+
body: txHex,
|
|
34182
|
+
headers
|
|
34183
|
+
});
|
|
34184
|
+
return response.text();
|
|
34185
|
+
}
|
|
34186
|
+
}
|
|
33697
34187
|
async getStaticDepositSigningPayload(transactionID, outputIndex, network, requestType, creditAmountSats, sspSignature) {
|
|
33698
34188
|
const encoder = new TextEncoder();
|
|
33699
34189
|
const parts = [];
|
|
@@ -34118,63 +34608,150 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
34118
34608
|
}
|
|
34119
34609
|
);
|
|
34120
34610
|
}
|
|
34121
|
-
|
|
34122
|
-
|
|
34123
|
-
|
|
34124
|
-
|
|
34125
|
-
|
|
34126
|
-
|
|
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);
|
|
34127
34650
|
}
|
|
34128
|
-
|
|
34129
|
-
|
|
34130
|
-
|
|
34131
|
-
|
|
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 };
|
|
34132
34683
|
});
|
|
34133
|
-
|
|
34684
|
+
if (idsToRemove.size > 0) {
|
|
34685
|
+
this.leaves = this.leaves.filter((leaf) => !idsToRemove.has(leaf.id));
|
|
34686
|
+
}
|
|
34687
|
+
return jobs;
|
|
34688
|
+
});
|
|
34134
34689
|
const signerIdentityPublicKey = await this.config.signer.getIdentityPublicKey();
|
|
34135
|
-
const
|
|
34136
|
-
|
|
34137
|
-
|
|
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
|
+
})
|
|
34138
34726
|
);
|
|
34139
|
-
return
|
|
34140
|
-
|
|
34141
|
-
|
|
34142
|
-
|
|
34143
|
-
|
|
34144
|
-
|
|
34145
|
-
const
|
|
34146
|
-
|
|
34147
|
-
|
|
34148
|
-
|
|
34149
|
-
|
|
34150
|
-
|
|
34151
|
-
|
|
34152
|
-
newKeyDerivation: {
|
|
34153
|
-
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
|
+
);
|
|
34154
34740
|
}
|
|
34155
|
-
|
|
34156
|
-
);
|
|
34157
|
-
const transfer = await this.transferService.sendTransferWithKeyTweaks(
|
|
34158
|
-
leafKeyTweaks,
|
|
34159
|
-
(0, import_utils24.hexToBytes)(receiverAddress.identityPublicKey)
|
|
34160
|
-
);
|
|
34161
|
-
const leavesToRemove = new Set(leavesToSend.map((leaf) => leaf.id));
|
|
34162
|
-
this.leaves = this.leaves.filter((leaf) => !leavesToRemove.has(leaf.id));
|
|
34163
|
-
if (isSelfTransfer) {
|
|
34164
|
-
const transactionId = transfer.id;
|
|
34165
|
-
const pendingTransfer = await this.transferService.queryTransfer(transactionId);
|
|
34166
|
-
if (pendingTransfer) {
|
|
34167
|
-
await this.claimTransfer({
|
|
34168
|
-
transfer: pendingTransfer,
|
|
34169
|
-
optimize: true
|
|
34170
|
-
});
|
|
34741
|
+
batch.push(this.toSendTweak(nodes[i]));
|
|
34171
34742
|
}
|
|
34743
|
+
keyTweaksForAmount.push(batch);
|
|
34172
34744
|
}
|
|
34173
|
-
|
|
34174
|
-
|
|
34175
|
-
|
|
34176
|
-
|
|
34177
|
-
|
|
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
|
+
};
|
|
34178
34755
|
}
|
|
34179
34756
|
async checkExtendTimeLockNodes(nodes) {
|
|
34180
34757
|
const nodesToExtend = [];
|
|
@@ -34332,7 +34909,7 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
34332
34909
|
}
|
|
34333
34910
|
if (emit) {
|
|
34334
34911
|
this.emit(
|
|
34335
|
-
|
|
34912
|
+
SparkWalletEvent.TransferClaimed,
|
|
34336
34913
|
transfer.id,
|
|
34337
34914
|
(await this.getBalance()).balance
|
|
34338
34915
|
);
|
|
@@ -34350,10 +34927,20 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
34350
34927
|
emit,
|
|
34351
34928
|
optimize
|
|
34352
34929
|
}) {
|
|
34353
|
-
const onError = (context) => {
|
|
34930
|
+
const onError = async (context) => {
|
|
34354
34931
|
const error = context.error;
|
|
34355
34932
|
if (error instanceof RPCError && error.originalError instanceof import_nice_grpc_common3.ClientError && error.originalError.code === import_nice_grpc_common3.Status.ALREADY_EXISTS) {
|
|
34356
|
-
|
|
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;
|
|
34357
34944
|
}
|
|
34358
34945
|
return;
|
|
34359
34946
|
};
|
|
@@ -34432,24 +35019,6 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
34432
35019
|
(result) => result.status === "fulfilled" && result.value !== null
|
|
34433
35020
|
).map((result) => result.value);
|
|
34434
35021
|
}
|
|
34435
|
-
/**
|
|
34436
|
-
* Cancels all sender-initiated transfers.
|
|
34437
|
-
*
|
|
34438
|
-
* @returns {Promise<void>}
|
|
34439
|
-
* @private
|
|
34440
|
-
*/
|
|
34441
|
-
async cancelAllSenderInitiatedTransfers() {
|
|
34442
|
-
for (const operator of Object.values(this.config.getSigningOperators())) {
|
|
34443
|
-
const transfers = await this.transferService.queryPendingTransfersBySender(
|
|
34444
|
-
operator.address
|
|
34445
|
-
);
|
|
34446
|
-
for (const transfer of transfers.transfers) {
|
|
34447
|
-
if (transfer.status === 0 /* TRANSFER_STATUS_SENDER_INITIATED */) {
|
|
34448
|
-
await this.transferService.cancelTransfer(transfer, operator.address);
|
|
34449
|
-
}
|
|
34450
|
-
}
|
|
34451
|
-
}
|
|
34452
|
-
}
|
|
34453
35022
|
// ***** Lightning Flow *****
|
|
34454
35023
|
/**
|
|
34455
35024
|
* Creates a Lightning invoice for receiving payments.
|
|
@@ -34674,7 +35243,13 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
34674
35243
|
expected: `${totalAmount} sats`
|
|
34675
35244
|
});
|
|
34676
35245
|
}
|
|
34677
|
-
|
|
35246
|
+
const selectedLeaves = (await this.selectLeaves([totalAmount])).get(
|
|
35247
|
+
totalAmount
|
|
35248
|
+
);
|
|
35249
|
+
let leaves = this.popOrThrow(
|
|
35250
|
+
selectedLeaves,
|
|
35251
|
+
`no leaves for ${totalAmount}`
|
|
35252
|
+
);
|
|
34678
35253
|
leaves = await this.checkRefreshTimelockNodes(leaves);
|
|
34679
35254
|
leaves = await this.checkExtendTimeLockNodes(leaves);
|
|
34680
35255
|
const leavesToSend = await Promise.all(
|
|
@@ -34712,7 +35287,7 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
34712
35287
|
);
|
|
34713
35288
|
const sspResponse = await sspClient.requestLightningSend({
|
|
34714
35289
|
encodedInvoice: invoice,
|
|
34715
|
-
idempotencyKey:
|
|
35290
|
+
idempotencyKey: (0, import_uuidv75.uuidv7)(),
|
|
34716
35291
|
amountSats: isZeroAmountInvoice ? amountSatsToSend : void 0
|
|
34717
35292
|
});
|
|
34718
35293
|
if (!sspResponse) {
|
|
@@ -34731,99 +35306,237 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
34731
35306
|
expected: "Non-empty array"
|
|
34732
35307
|
});
|
|
34733
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 = [];
|
|
34734
35399
|
const identityPublicKey = await this.getIdentityPublicKey();
|
|
34735
|
-
|
|
34736
|
-
const decoded = sparkInvoices.map((input, index) => {
|
|
35400
|
+
sparkInvoices.forEach((input) => {
|
|
34737
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
|
+
}
|
|
34738
35413
|
const addressData = decodeSparkAddress(
|
|
34739
35414
|
invoice,
|
|
34740
35415
|
this.config.getNetworkType()
|
|
34741
35416
|
);
|
|
34742
35417
|
if (!addressData.sparkInvoiceFields) {
|
|
34743
|
-
|
|
34744
|
-
|
|
34745
|
-
|
|
34746
|
-
|
|
35418
|
+
invalidInvoices.push({
|
|
35419
|
+
invoice,
|
|
35420
|
+
error: new ValidationError("Missing invoice fields", {
|
|
35421
|
+
field: "invoice",
|
|
35422
|
+
value: invoice,
|
|
35423
|
+
expected: "Valid invoice fields"
|
|
35424
|
+
})
|
|
34747
35425
|
});
|
|
35426
|
+
return;
|
|
34748
35427
|
}
|
|
34749
35428
|
const fields = addressData.sparkInvoiceFields;
|
|
34750
|
-
if (fields.paymentType?.type === "sats") {
|
|
34751
|
-
throw new NotImplementedError("Sats payments are not supported yet");
|
|
34752
|
-
}
|
|
34753
35429
|
if (fields.expiryTime) {
|
|
34754
35430
|
if (fields.expiryTime.getTime() <= Date.now()) {
|
|
34755
|
-
|
|
34756
|
-
|
|
34757
|
-
|
|
34758
|
-
|
|
34759
|
-
|
|
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
|
+
})
|
|
34760
35438
|
});
|
|
35439
|
+
return;
|
|
34761
35440
|
}
|
|
34762
35441
|
}
|
|
34763
|
-
if (fields.paymentType?.type !== "tokens") {
|
|
34764
|
-
throw new ValidationError("Invalid payment type", {
|
|
34765
|
-
field: "paymentType",
|
|
34766
|
-
value: fields.paymentType,
|
|
34767
|
-
expected: "tokens",
|
|
34768
|
-
index
|
|
34769
|
-
});
|
|
34770
|
-
}
|
|
34771
35442
|
if (fields.senderPublicKey && fields.senderPublicKey !== identityPublicKey) {
|
|
34772
|
-
|
|
34773
|
-
|
|
35443
|
+
invalidInvoices.push({
|
|
35444
|
+
invoice,
|
|
35445
|
+
error: new ValidationError("Sender public key mismatch", {
|
|
35446
|
+
field: "invoice",
|
|
35447
|
+
value: fields.senderPublicKey,
|
|
35448
|
+
expected: identityPublicKey
|
|
35449
|
+
})
|
|
34774
35450
|
});
|
|
35451
|
+
return;
|
|
34775
35452
|
}
|
|
34776
|
-
|
|
34777
|
-
|
|
34778
|
-
|
|
34779
|
-
|
|
34780
|
-
|
|
34781
|
-
|
|
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
|
+
})
|
|
34782
35536
|
});
|
|
34783
35537
|
}
|
|
34784
|
-
if (!firstTokenIdentifierHexSeen) {
|
|
34785
|
-
firstTokenIdentifierHexSeen = tokenIdentifierHex;
|
|
34786
|
-
} else if (tokenIdentifierHex !== firstTokenIdentifierHexSeen) {
|
|
34787
|
-
throw new ValidationError(
|
|
34788
|
-
"All spark invoices must have the same token identifier",
|
|
34789
|
-
{
|
|
34790
|
-
field: "sparkInvoices",
|
|
34791
|
-
value: sparkInvoices,
|
|
34792
|
-
expected: "All invoices reference the same token identifier",
|
|
34793
|
-
index
|
|
34794
|
-
}
|
|
34795
|
-
);
|
|
34796
|
-
}
|
|
34797
|
-
let tokenAmount = fields.paymentType.amount ?? amount;
|
|
34798
|
-
if (!tokenAmount) {
|
|
34799
|
-
throw new ValidationError(
|
|
34800
|
-
"Missing token amount. Provide an amount in the invoice or as a parameter.",
|
|
34801
|
-
{
|
|
34802
|
-
field: "amount",
|
|
34803
|
-
index
|
|
34804
|
-
}
|
|
34805
|
-
);
|
|
34806
|
-
}
|
|
34807
|
-
return {
|
|
34808
|
-
invoice,
|
|
34809
|
-
tokenIdentifierHex,
|
|
34810
|
-
tokenAmount
|
|
34811
|
-
};
|
|
34812
|
-
});
|
|
34813
|
-
await this.syncTokenOutputs();
|
|
34814
|
-
const bech32mTokenIdentifier = encodeBech32mTokenIdentifier({
|
|
34815
|
-
tokenIdentifier: (0, import_utils24.hexToBytes)(firstTokenIdentifierHexSeen),
|
|
34816
|
-
network: this.config.getNetworkType()
|
|
34817
|
-
});
|
|
34818
|
-
const receiverOutputs = decoded.map((d) => ({
|
|
34819
|
-
tokenIdentifier: bech32mTokenIdentifier,
|
|
34820
|
-
tokenAmount: d.tokenAmount,
|
|
34821
|
-
receiverSparkAddress: d.invoice
|
|
34822
|
-
}));
|
|
34823
|
-
return this.tokenTransactionService.tokenTransfer({
|
|
34824
|
-
tokenOutputs: this.tokenOutputs,
|
|
34825
|
-
receiverOutputs
|
|
34826
35538
|
});
|
|
35539
|
+
return { satsInvoices, tokenInvoices, invalidInvoices };
|
|
34827
35540
|
}
|
|
34828
35541
|
/**
|
|
34829
35542
|
* Gets fee estimate for sending Lightning payments.
|
|
@@ -34922,7 +35635,12 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
34922
35635
|
let leavesToSendToSsp = [];
|
|
34923
35636
|
let leavesToSendToSE = [];
|
|
34924
35637
|
if (deductFeeFromWithdrawalAmount) {
|
|
34925
|
-
leavesToSendToSsp = targetAmountSats ?
|
|
35638
|
+
leavesToSendToSsp = targetAmountSats ? this.popOrThrow(
|
|
35639
|
+
(await this.selectLeaves([targetAmountSats])).get(
|
|
35640
|
+
targetAmountSats
|
|
35641
|
+
),
|
|
35642
|
+
`no leaves for ${targetAmountSats}`
|
|
35643
|
+
) : this.leaves;
|
|
34926
35644
|
if (fee > leavesToSendToSsp.reduce((acc, leaf) => acc + leaf.value, 0)) {
|
|
34927
35645
|
throw new ValidationError(
|
|
34928
35646
|
"The fee for the withdrawal is greater than the target withdrawal amount",
|
|
@@ -34945,8 +35663,14 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
34945
35663
|
);
|
|
34946
35664
|
}
|
|
34947
35665
|
const leaves = await this.selectLeaves([targetAmountSats, fee]);
|
|
34948
|
-
const leavesForTargetAmount =
|
|
34949
|
-
|
|
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
|
+
);
|
|
34950
35674
|
if (!leavesForTargetAmount || !leavesForFee) {
|
|
34951
35675
|
throw new Error("Failed to select leaves for target amount and fee");
|
|
34952
35676
|
}
|
|
@@ -35037,7 +35761,10 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
35037
35761
|
expected: "smaller or equal to " + Number.MAX_SAFE_INTEGER
|
|
35038
35762
|
});
|
|
35039
35763
|
}
|
|
35040
|
-
let leaves =
|
|
35764
|
+
let leaves = this.popOrThrow(
|
|
35765
|
+
(await this.selectLeaves([amountSats])).get(amountSats),
|
|
35766
|
+
`no leaves for ${amountSats}`
|
|
35767
|
+
);
|
|
35041
35768
|
leaves = await this.checkRefreshTimelockNodes(leaves);
|
|
35042
35769
|
leaves = await this.checkExtendTimeLockNodes(leaves);
|
|
35043
35770
|
const feeEstimate = await sspClient.getCoopExitFeeQuote({
|
|
@@ -35713,6 +36440,9 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
35713
36440
|
offset += pageSize;
|
|
35714
36441
|
}
|
|
35715
36442
|
}
|
|
36443
|
+
async isOptimizationInProgress() {
|
|
36444
|
+
return this.optimizationInProgress;
|
|
36445
|
+
}
|
|
35716
36446
|
getOtelTraceUrls() {
|
|
35717
36447
|
const soConfig = this.config.getSigningOperators();
|
|
35718
36448
|
const sspBaseUrl = this.config.getSspBaseUrl();
|
|
@@ -35822,9 +36552,6 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
35822
36552
|
}
|
|
35823
36553
|
};
|
|
35824
36554
|
|
|
35825
|
-
// src/spark-wallet/types.ts
|
|
35826
|
-
init_buffer();
|
|
35827
|
-
|
|
35828
36555
|
// src/native/index.ts
|
|
35829
36556
|
setCrypto(globalThis.crypto);
|
|
35830
36557
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -35848,6 +36575,7 @@ setCrypto(globalThis.crypto);
|
|
|
35848
36575
|
SparkSDKError,
|
|
35849
36576
|
SparkSdkLogger,
|
|
35850
36577
|
SparkWallet,
|
|
36578
|
+
SparkWalletEvent,
|
|
35851
36579
|
TEST_UNILATERAL_DIRECT_SEQUENCE,
|
|
35852
36580
|
TEST_UNILATERAL_SEQUENCE,
|
|
35853
36581
|
TokenTransactionService,
|
|
@@ -35857,6 +36585,7 @@ setCrypto(globalThis.crypto);
|
|
|
35857
36585
|
addPublicKeys,
|
|
35858
36586
|
applyAdaptorToSignature,
|
|
35859
36587
|
applyAdditiveTweakToPublicKey,
|
|
36588
|
+
assertBech32,
|
|
35860
36589
|
bech32mDecode,
|
|
35861
36590
|
bigIntToPrivateKey,
|
|
35862
36591
|
checkIfSelectedOutputsAreAvailable,
|
|
@@ -35919,6 +36648,8 @@ setCrypto(globalThis.crypto);
|
|
|
35919
36648
|
getTxId,
|
|
35920
36649
|
getTxIdNoReverse,
|
|
35921
36650
|
isEphemeralAnchorOutput,
|
|
36651
|
+
isLegacySparkAddress,
|
|
36652
|
+
isSafeForNumber,
|
|
35922
36653
|
isTxBroadcast,
|
|
35923
36654
|
isValidPublicKey,
|
|
35924
36655
|
isValidSparkAddress,
|