@buildonspark/spark-sdk 0.2.13 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -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 +931 -221
- package/dist/bare/index.d.cts +149 -57
- package/dist/bare/index.d.ts +149 -57
- package/dist/bare/index.js +865 -210
- package/dist/bare/{wasm-F5QFVBNZ.js → wasm-K4VEMHRK.js} +64 -12
- package/dist/{chunk-CKHJFQUA.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-LX45BCZW.js → chunk-RFP7E7TK.js} +604 -197
- 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 +929 -226
- 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 +935 -225
- 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 +934 -224
- 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-CaNpBgiE.d.ts → logging-DBQP4xwp.d.ts} +5 -5
- package/dist/{logging-BfTyKwqb.d.cts → logging-Rw9YSBp4.d.cts} +5 -5
- package/dist/native/index.cjs +934 -224
- package/dist/native/index.d.cts +127 -22
- package/dist/native/index.d.ts +127 -22
- package/dist/native/index.js +866 -210
- 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-Dvh1BLP6.d.cts → spark-wallet-DAHB55v6.d.cts} +143 -61
- package/dist/{spark-wallet-D0Df_P_x.d.ts → spark-wallet-DW0_1REx.d.ts} +143 -61
- package/dist/{spark-wallet.node-bGmy8-T8.d.ts → spark-wallet.node-CFSOZ0ea.d.cts} +1 -1
- package/dist/{spark-wallet.node-B3V8_fgw.d.cts → 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-D1ta-sHH.d.cts → token-transactions-HH_7O9pv.d.cts} +2 -2
- package/dist/{token-transactions-DINiKBzd.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 +4 -4
- 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 -1
- package/src/spark-wallet/proto-descriptors.ts +1 -1
- package/src/spark-wallet/spark-wallet.ts +548 -177
- 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/integration/address.test.ts +1 -1
- package/src/tests/integration/token-output.test.ts +83 -0
- package/src/tests/integration/transfer.test.ts +330 -7
- 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/bare/index.cjs
CHANGED
|
@@ -1088,14 +1088,34 @@ function signFrost({
|
|
|
1088
1088
|
statechainCommitments,
|
|
1089
1089
|
adaptorPubKey
|
|
1090
1090
|
}) {
|
|
1091
|
-
|
|
1091
|
+
const logMsg = JSON.stringify({
|
|
1092
1092
|
message: (0, import_utils4.bytesToHex)(message),
|
|
1093
|
-
keyPackage
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1093
|
+
keyPackage: {
|
|
1094
|
+
secretKey: (0, import_utils4.bytesToHex)(keyPackage.secretKey),
|
|
1095
|
+
publicKey: (0, import_utils4.bytesToHex)(keyPackage.publicKey),
|
|
1096
|
+
verifyingKey: (0, import_utils4.bytesToHex)(keyPackage.verifyingKey)
|
|
1097
|
+
},
|
|
1098
|
+
nonce: {
|
|
1099
|
+
hiding: (0, import_utils4.bytesToHex)(nonce.hiding),
|
|
1100
|
+
binding: (0, import_utils4.bytesToHex)(nonce.binding)
|
|
1101
|
+
},
|
|
1102
|
+
selfCommitment: {
|
|
1103
|
+
hiding: (0, import_utils4.bytesToHex)(selfCommitment.hiding),
|
|
1104
|
+
binding: (0, import_utils4.bytesToHex)(selfCommitment.binding)
|
|
1105
|
+
},
|
|
1106
|
+
statechainCommitments: Object.fromEntries(
|
|
1107
|
+
Object.entries(statechainCommitments ?? {}).map(([k, v]) => [
|
|
1108
|
+
k,
|
|
1109
|
+
{
|
|
1110
|
+
hiding: (0, import_utils4.bytesToHex)(v.hiding),
|
|
1111
|
+
binding: (0, import_utils4.bytesToHex)(v.binding)
|
|
1112
|
+
}
|
|
1113
|
+
])
|
|
1114
|
+
),
|
|
1115
|
+
adaptorPubKey: adaptorPubKey ? (0, import_utils4.bytesToHex)(adaptorPubKey) : void 0
|
|
1097
1116
|
});
|
|
1098
|
-
|
|
1117
|
+
SparkSdkLogger.get(LOGGER_NAMES.wasm).trace("signFrost", logMsg);
|
|
1118
|
+
const result = wasm_sign_frost(
|
|
1099
1119
|
message,
|
|
1100
1120
|
createKeyPackage(keyPackage),
|
|
1101
1121
|
createSigningNonce2(nonce),
|
|
@@ -1103,6 +1123,11 @@ function signFrost({
|
|
|
1103
1123
|
statechainCommitments,
|
|
1104
1124
|
adaptorPubKey
|
|
1105
1125
|
);
|
|
1126
|
+
SparkSdkLogger.get(LOGGER_NAMES.wasm).trace(
|
|
1127
|
+
"signFrost result",
|
|
1128
|
+
(0, import_utils4.bytesToHex)(result)
|
|
1129
|
+
);
|
|
1130
|
+
return result;
|
|
1106
1131
|
}
|
|
1107
1132
|
function aggregateFrost({
|
|
1108
1133
|
message,
|
|
@@ -1115,18 +1140,40 @@ function aggregateFrost({
|
|
|
1115
1140
|
verifyingKey,
|
|
1116
1141
|
adaptorPubKey
|
|
1117
1142
|
}) {
|
|
1118
|
-
|
|
1143
|
+
const logMsg = JSON.stringify({
|
|
1119
1144
|
message: (0, import_utils4.bytesToHex)(message),
|
|
1120
|
-
statechainCommitments
|
|
1121
|
-
|
|
1122
|
-
|
|
1145
|
+
statechainCommitments: Object.fromEntries(
|
|
1146
|
+
Object.entries(statechainCommitments ?? {}).map(([k, v]) => [
|
|
1147
|
+
k,
|
|
1148
|
+
{
|
|
1149
|
+
hiding: (0, import_utils4.bytesToHex)(v.hiding),
|
|
1150
|
+
binding: (0, import_utils4.bytesToHex)(v.binding)
|
|
1151
|
+
}
|
|
1152
|
+
])
|
|
1153
|
+
),
|
|
1154
|
+
selfCommitment: {
|
|
1155
|
+
hiding: (0, import_utils4.bytesToHex)(selfCommitment.hiding),
|
|
1156
|
+
binding: (0, import_utils4.bytesToHex)(selfCommitment.binding)
|
|
1157
|
+
},
|
|
1158
|
+
statechainSignatures: Object.fromEntries(
|
|
1159
|
+
Object.entries(statechainSignatures ?? {}).map(([k, v]) => [
|
|
1160
|
+
k,
|
|
1161
|
+
(0, import_utils4.bytesToHex)(v)
|
|
1162
|
+
])
|
|
1163
|
+
),
|
|
1123
1164
|
selfSignature: (0, import_utils4.bytesToHex)(selfSignature),
|
|
1124
|
-
statechainPublicKeys
|
|
1165
|
+
statechainPublicKeys: Object.fromEntries(
|
|
1166
|
+
Object.entries(statechainPublicKeys ?? {}).map(([k, v]) => [
|
|
1167
|
+
k,
|
|
1168
|
+
(0, import_utils4.bytesToHex)(v)
|
|
1169
|
+
])
|
|
1170
|
+
),
|
|
1125
1171
|
selfPublicKey: (0, import_utils4.bytesToHex)(selfPublicKey),
|
|
1126
1172
|
verifyingKey: (0, import_utils4.bytesToHex)(verifyingKey),
|
|
1127
1173
|
adaptorPubKey: adaptorPubKey ? (0, import_utils4.bytesToHex)(adaptorPubKey) : void 0
|
|
1128
1174
|
});
|
|
1129
|
-
|
|
1175
|
+
SparkSdkLogger.get(LOGGER_NAMES.wasm).trace("aggregateFrost", logMsg);
|
|
1176
|
+
const result = wasm_aggregate_frost(
|
|
1130
1177
|
message,
|
|
1131
1178
|
statechainCommitments,
|
|
1132
1179
|
createSigningCommitment2(selfCommitment),
|
|
@@ -1137,6 +1184,11 @@ function aggregateFrost({
|
|
|
1137
1184
|
verifyingKey,
|
|
1138
1185
|
adaptorPubKey
|
|
1139
1186
|
);
|
|
1187
|
+
SparkSdkLogger.get(LOGGER_NAMES.wasm).trace(
|
|
1188
|
+
"aggregateFrost result",
|
|
1189
|
+
(0, import_utils4.bytesToHex)(result)
|
|
1190
|
+
);
|
|
1191
|
+
return result;
|
|
1140
1192
|
}
|
|
1141
1193
|
function createDummyTx({
|
|
1142
1194
|
address: address2,
|
|
@@ -1370,6 +1422,7 @@ __export(index_exports, {
|
|
|
1370
1422
|
addPublicKeys: () => addPublicKeys,
|
|
1371
1423
|
applyAdaptorToSignature: () => applyAdaptorToSignature,
|
|
1372
1424
|
applyAdditiveTweakToPublicKey: () => applyAdditiveTweakToPublicKey,
|
|
1425
|
+
assertBech32: () => assertBech32,
|
|
1373
1426
|
bech32mDecode: () => bech32mDecode,
|
|
1374
1427
|
bigIntToPrivateKey: () => bigIntToPrivateKey,
|
|
1375
1428
|
checkIfSelectedOutputsAreAvailable: () => checkIfSelectedOutputsAreAvailable,
|
|
@@ -1432,6 +1485,8 @@ __export(index_exports, {
|
|
|
1432
1485
|
getTxId: () => getTxId,
|
|
1433
1486
|
getTxIdNoReverse: () => getTxIdNoReverse,
|
|
1434
1487
|
isEphemeralAnchorOutput: () => isEphemeralAnchorOutput,
|
|
1488
|
+
isLegacySparkAddress: () => isLegacySparkAddress,
|
|
1489
|
+
isSafeForNumber: () => isSafeForNumber,
|
|
1435
1490
|
isTxBroadcast: () => isTxBroadcast,
|
|
1436
1491
|
isValidPublicKey: () => isValidPublicKey,
|
|
1437
1492
|
isValidSparkAddress: () => isValidSparkAddress,
|
|
@@ -1470,7 +1525,7 @@ var setCrypto = (cryptoImplParam) => {
|
|
|
1470
1525
|
};
|
|
1471
1526
|
|
|
1472
1527
|
// src/utils/fetch.ts
|
|
1473
|
-
var fetchImpl = typeof window !== "undefined" && window.fetch ? window.fetch.bind(window) : globalThis.fetch ? globalThis.fetch : null;
|
|
1528
|
+
var fetchImpl = typeof window !== "undefined" && window.fetch ? window.fetch.bind(window) : globalThis.fetch ? globalThis.fetch.bind(globalThis) : null;
|
|
1474
1529
|
var Headers = globalThis.Headers ?? null;
|
|
1475
1530
|
var getFetch = () => {
|
|
1476
1531
|
if (!fetchImpl) {
|
|
@@ -3940,6 +3995,31 @@ function networkToJSON(object) {
|
|
|
3940
3995
|
return "UNRECOGNIZED";
|
|
3941
3996
|
}
|
|
3942
3997
|
}
|
|
3998
|
+
function directionFromJSON(object) {
|
|
3999
|
+
switch (object) {
|
|
4000
|
+
case 0:
|
|
4001
|
+
case "NEXT":
|
|
4002
|
+
return 0 /* NEXT */;
|
|
4003
|
+
case 1:
|
|
4004
|
+
case "PREVIOUS":
|
|
4005
|
+
return 1 /* PREVIOUS */;
|
|
4006
|
+
case -1:
|
|
4007
|
+
case "UNRECOGNIZED":
|
|
4008
|
+
default:
|
|
4009
|
+
return -1 /* UNRECOGNIZED */;
|
|
4010
|
+
}
|
|
4011
|
+
}
|
|
4012
|
+
function directionToJSON(object) {
|
|
4013
|
+
switch (object) {
|
|
4014
|
+
case 0 /* NEXT */:
|
|
4015
|
+
return "NEXT";
|
|
4016
|
+
case 1 /* PREVIOUS */:
|
|
4017
|
+
return "PREVIOUS";
|
|
4018
|
+
case -1 /* UNRECOGNIZED */:
|
|
4019
|
+
default:
|
|
4020
|
+
return "UNRECOGNIZED";
|
|
4021
|
+
}
|
|
4022
|
+
}
|
|
3943
4023
|
function tokenTransactionStatusFromJSON(object) {
|
|
3944
4024
|
switch (object) {
|
|
3945
4025
|
case 0:
|
|
@@ -4535,6 +4615,187 @@ var DepositEvent = {
|
|
|
4535
4615
|
return message;
|
|
4536
4616
|
}
|
|
4537
4617
|
};
|
|
4618
|
+
function createBasePageRequest() {
|
|
4619
|
+
return { pageSize: 0, cursor: "", direction: 0 };
|
|
4620
|
+
}
|
|
4621
|
+
var PageRequest = {
|
|
4622
|
+
encode(message, writer = new import_wire4.BinaryWriter()) {
|
|
4623
|
+
if (message.pageSize !== 0) {
|
|
4624
|
+
writer.uint32(8).int32(message.pageSize);
|
|
4625
|
+
}
|
|
4626
|
+
if (message.cursor !== "") {
|
|
4627
|
+
writer.uint32(18).string(message.cursor);
|
|
4628
|
+
}
|
|
4629
|
+
if (message.direction !== 0) {
|
|
4630
|
+
writer.uint32(24).int32(message.direction);
|
|
4631
|
+
}
|
|
4632
|
+
return writer;
|
|
4633
|
+
},
|
|
4634
|
+
decode(input, length) {
|
|
4635
|
+
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
4636
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
4637
|
+
const message = createBasePageRequest();
|
|
4638
|
+
while (reader.pos < end) {
|
|
4639
|
+
const tag = reader.uint32();
|
|
4640
|
+
switch (tag >>> 3) {
|
|
4641
|
+
case 1: {
|
|
4642
|
+
if (tag !== 8) {
|
|
4643
|
+
break;
|
|
4644
|
+
}
|
|
4645
|
+
message.pageSize = reader.int32();
|
|
4646
|
+
continue;
|
|
4647
|
+
}
|
|
4648
|
+
case 2: {
|
|
4649
|
+
if (tag !== 18) {
|
|
4650
|
+
break;
|
|
4651
|
+
}
|
|
4652
|
+
message.cursor = reader.string();
|
|
4653
|
+
continue;
|
|
4654
|
+
}
|
|
4655
|
+
case 3: {
|
|
4656
|
+
if (tag !== 24) {
|
|
4657
|
+
break;
|
|
4658
|
+
}
|
|
4659
|
+
message.direction = reader.int32();
|
|
4660
|
+
continue;
|
|
4661
|
+
}
|
|
4662
|
+
}
|
|
4663
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4664
|
+
break;
|
|
4665
|
+
}
|
|
4666
|
+
reader.skip(tag & 7);
|
|
4667
|
+
}
|
|
4668
|
+
return message;
|
|
4669
|
+
},
|
|
4670
|
+
fromJSON(object) {
|
|
4671
|
+
return {
|
|
4672
|
+
pageSize: isSet3(object.pageSize) ? globalThis.Number(object.pageSize) : 0,
|
|
4673
|
+
cursor: isSet3(object.cursor) ? globalThis.String(object.cursor) : "",
|
|
4674
|
+
direction: isSet3(object.direction) ? directionFromJSON(object.direction) : 0
|
|
4675
|
+
};
|
|
4676
|
+
},
|
|
4677
|
+
toJSON(message) {
|
|
4678
|
+
const obj = {};
|
|
4679
|
+
if (message.pageSize !== 0) {
|
|
4680
|
+
obj.pageSize = Math.round(message.pageSize);
|
|
4681
|
+
}
|
|
4682
|
+
if (message.cursor !== "") {
|
|
4683
|
+
obj.cursor = message.cursor;
|
|
4684
|
+
}
|
|
4685
|
+
if (message.direction !== 0) {
|
|
4686
|
+
obj.direction = directionToJSON(message.direction);
|
|
4687
|
+
}
|
|
4688
|
+
return obj;
|
|
4689
|
+
},
|
|
4690
|
+
create(base) {
|
|
4691
|
+
return PageRequest.fromPartial(base ?? {});
|
|
4692
|
+
},
|
|
4693
|
+
fromPartial(object) {
|
|
4694
|
+
const message = createBasePageRequest();
|
|
4695
|
+
message.pageSize = object.pageSize ?? 0;
|
|
4696
|
+
message.cursor = object.cursor ?? "";
|
|
4697
|
+
message.direction = object.direction ?? 0;
|
|
4698
|
+
return message;
|
|
4699
|
+
}
|
|
4700
|
+
};
|
|
4701
|
+
function createBasePageResponse() {
|
|
4702
|
+
return { hasNextPage: false, hasPreviousPage: false, nextCursor: "", previousCursor: "" };
|
|
4703
|
+
}
|
|
4704
|
+
var PageResponse = {
|
|
4705
|
+
encode(message, writer = new import_wire4.BinaryWriter()) {
|
|
4706
|
+
if (message.hasNextPage !== false) {
|
|
4707
|
+
writer.uint32(8).bool(message.hasNextPage);
|
|
4708
|
+
}
|
|
4709
|
+
if (message.hasPreviousPage !== false) {
|
|
4710
|
+
writer.uint32(16).bool(message.hasPreviousPage);
|
|
4711
|
+
}
|
|
4712
|
+
if (message.nextCursor !== "") {
|
|
4713
|
+
writer.uint32(26).string(message.nextCursor);
|
|
4714
|
+
}
|
|
4715
|
+
if (message.previousCursor !== "") {
|
|
4716
|
+
writer.uint32(34).string(message.previousCursor);
|
|
4717
|
+
}
|
|
4718
|
+
return writer;
|
|
4719
|
+
},
|
|
4720
|
+
decode(input, length) {
|
|
4721
|
+
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
4722
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
4723
|
+
const message = createBasePageResponse();
|
|
4724
|
+
while (reader.pos < end) {
|
|
4725
|
+
const tag = reader.uint32();
|
|
4726
|
+
switch (tag >>> 3) {
|
|
4727
|
+
case 1: {
|
|
4728
|
+
if (tag !== 8) {
|
|
4729
|
+
break;
|
|
4730
|
+
}
|
|
4731
|
+
message.hasNextPage = reader.bool();
|
|
4732
|
+
continue;
|
|
4733
|
+
}
|
|
4734
|
+
case 2: {
|
|
4735
|
+
if (tag !== 16) {
|
|
4736
|
+
break;
|
|
4737
|
+
}
|
|
4738
|
+
message.hasPreviousPage = reader.bool();
|
|
4739
|
+
continue;
|
|
4740
|
+
}
|
|
4741
|
+
case 3: {
|
|
4742
|
+
if (tag !== 26) {
|
|
4743
|
+
break;
|
|
4744
|
+
}
|
|
4745
|
+
message.nextCursor = reader.string();
|
|
4746
|
+
continue;
|
|
4747
|
+
}
|
|
4748
|
+
case 4: {
|
|
4749
|
+
if (tag !== 34) {
|
|
4750
|
+
break;
|
|
4751
|
+
}
|
|
4752
|
+
message.previousCursor = reader.string();
|
|
4753
|
+
continue;
|
|
4754
|
+
}
|
|
4755
|
+
}
|
|
4756
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4757
|
+
break;
|
|
4758
|
+
}
|
|
4759
|
+
reader.skip(tag & 7);
|
|
4760
|
+
}
|
|
4761
|
+
return message;
|
|
4762
|
+
},
|
|
4763
|
+
fromJSON(object) {
|
|
4764
|
+
return {
|
|
4765
|
+
hasNextPage: isSet3(object.hasNextPage) ? globalThis.Boolean(object.hasNextPage) : false,
|
|
4766
|
+
hasPreviousPage: isSet3(object.hasPreviousPage) ? globalThis.Boolean(object.hasPreviousPage) : false,
|
|
4767
|
+
nextCursor: isSet3(object.nextCursor) ? globalThis.String(object.nextCursor) : "",
|
|
4768
|
+
previousCursor: isSet3(object.previousCursor) ? globalThis.String(object.previousCursor) : ""
|
|
4769
|
+
};
|
|
4770
|
+
},
|
|
4771
|
+
toJSON(message) {
|
|
4772
|
+
const obj = {};
|
|
4773
|
+
if (message.hasNextPage !== false) {
|
|
4774
|
+
obj.hasNextPage = message.hasNextPage;
|
|
4775
|
+
}
|
|
4776
|
+
if (message.hasPreviousPage !== false) {
|
|
4777
|
+
obj.hasPreviousPage = message.hasPreviousPage;
|
|
4778
|
+
}
|
|
4779
|
+
if (message.nextCursor !== "") {
|
|
4780
|
+
obj.nextCursor = message.nextCursor;
|
|
4781
|
+
}
|
|
4782
|
+
if (message.previousCursor !== "") {
|
|
4783
|
+
obj.previousCursor = message.previousCursor;
|
|
4784
|
+
}
|
|
4785
|
+
return obj;
|
|
4786
|
+
},
|
|
4787
|
+
create(base) {
|
|
4788
|
+
return PageResponse.fromPartial(base ?? {});
|
|
4789
|
+
},
|
|
4790
|
+
fromPartial(object) {
|
|
4791
|
+
const message = createBasePageResponse();
|
|
4792
|
+
message.hasNextPage = object.hasNextPage ?? false;
|
|
4793
|
+
message.hasPreviousPage = object.hasPreviousPage ?? false;
|
|
4794
|
+
message.nextCursor = object.nextCursor ?? "";
|
|
4795
|
+
message.previousCursor = object.previousCursor ?? "";
|
|
4796
|
+
return message;
|
|
4797
|
+
}
|
|
4798
|
+
};
|
|
4538
4799
|
function createBaseDepositAddressProof() {
|
|
4539
4800
|
return { addressSignatures: {}, proofOfPossessionSignature: new Uint8Array(0) };
|
|
4540
4801
|
}
|
|
@@ -10042,7 +10303,7 @@ function createBaseStartTransferRequest() {
|
|
|
10042
10303
|
receiverIdentityPublicKey: new Uint8Array(0),
|
|
10043
10304
|
expiryTime: void 0,
|
|
10044
10305
|
transferPackage: void 0,
|
|
10045
|
-
|
|
10306
|
+
sparkInvoice: ""
|
|
10046
10307
|
};
|
|
10047
10308
|
}
|
|
10048
10309
|
var StartTransferRequest = {
|
|
@@ -10065,8 +10326,8 @@ var StartTransferRequest = {
|
|
|
10065
10326
|
if (message.transferPackage !== void 0) {
|
|
10066
10327
|
TransferPackage.encode(message.transferPackage, writer.uint32(58).fork()).join();
|
|
10067
10328
|
}
|
|
10068
|
-
if (message.
|
|
10069
|
-
writer.uint32(
|
|
10329
|
+
if (message.sparkInvoice !== "") {
|
|
10330
|
+
writer.uint32(82).string(message.sparkInvoice);
|
|
10070
10331
|
}
|
|
10071
10332
|
return writer;
|
|
10072
10333
|
},
|
|
@@ -10119,11 +10380,11 @@ var StartTransferRequest = {
|
|
|
10119
10380
|
message.transferPackage = TransferPackage.decode(reader, reader.uint32());
|
|
10120
10381
|
continue;
|
|
10121
10382
|
}
|
|
10122
|
-
case
|
|
10123
|
-
if (tag !==
|
|
10383
|
+
case 10: {
|
|
10384
|
+
if (tag !== 82) {
|
|
10124
10385
|
break;
|
|
10125
10386
|
}
|
|
10126
|
-
message.
|
|
10387
|
+
message.sparkInvoice = reader.string();
|
|
10127
10388
|
continue;
|
|
10128
10389
|
}
|
|
10129
10390
|
}
|
|
@@ -10142,7 +10403,7 @@ var StartTransferRequest = {
|
|
|
10142
10403
|
receiverIdentityPublicKey: isSet3(object.receiverIdentityPublicKey) ? bytesFromBase642(object.receiverIdentityPublicKey) : new Uint8Array(0),
|
|
10143
10404
|
expiryTime: isSet3(object.expiryTime) ? fromJsonTimestamp(object.expiryTime) : void 0,
|
|
10144
10405
|
transferPackage: isSet3(object.transferPackage) ? TransferPackage.fromJSON(object.transferPackage) : void 0,
|
|
10145
|
-
|
|
10406
|
+
sparkInvoice: isSet3(object.sparkInvoice) ? globalThis.String(object.sparkInvoice) : ""
|
|
10146
10407
|
};
|
|
10147
10408
|
},
|
|
10148
10409
|
toJSON(message) {
|
|
@@ -10165,8 +10426,8 @@ var StartTransferRequest = {
|
|
|
10165
10426
|
if (message.transferPackage !== void 0) {
|
|
10166
10427
|
obj.transferPackage = TransferPackage.toJSON(message.transferPackage);
|
|
10167
10428
|
}
|
|
10168
|
-
if (message.
|
|
10169
|
-
obj.
|
|
10429
|
+
if (message.sparkInvoice !== "") {
|
|
10430
|
+
obj.sparkInvoice = message.sparkInvoice;
|
|
10170
10431
|
}
|
|
10171
10432
|
return obj;
|
|
10172
10433
|
},
|
|
@@ -10181,7 +10442,7 @@ var StartTransferRequest = {
|
|
|
10181
10442
|
message.receiverIdentityPublicKey = object.receiverIdentityPublicKey ?? new Uint8Array(0);
|
|
10182
10443
|
message.expiryTime = object.expiryTime ?? void 0;
|
|
10183
10444
|
message.transferPackage = object.transferPackage !== void 0 && object.transferPackage !== null ? TransferPackage.fromPartial(object.transferPackage) : void 0;
|
|
10184
|
-
message.
|
|
10445
|
+
message.sparkInvoice = object.sparkInvoice ?? "";
|
|
10185
10446
|
return message;
|
|
10186
10447
|
}
|
|
10187
10448
|
};
|
|
@@ -11011,7 +11272,8 @@ function createBaseTransfer() {
|
|
|
11011
11272
|
leaves: [],
|
|
11012
11273
|
createdTime: void 0,
|
|
11013
11274
|
updatedTime: void 0,
|
|
11014
|
-
type: 0
|
|
11275
|
+
type: 0,
|
|
11276
|
+
sparkInvoice: ""
|
|
11015
11277
|
};
|
|
11016
11278
|
}
|
|
11017
11279
|
var Transfer6 = {
|
|
@@ -11046,6 +11308,9 @@ var Transfer6 = {
|
|
|
11046
11308
|
if (message.type !== 0) {
|
|
11047
11309
|
writer.uint32(80).int32(message.type);
|
|
11048
11310
|
}
|
|
11311
|
+
if (message.sparkInvoice !== "") {
|
|
11312
|
+
writer.uint32(90).string(message.sparkInvoice);
|
|
11313
|
+
}
|
|
11049
11314
|
return writer;
|
|
11050
11315
|
},
|
|
11051
11316
|
decode(input, length) {
|
|
@@ -11125,6 +11390,13 @@ var Transfer6 = {
|
|
|
11125
11390
|
message.type = reader.int32();
|
|
11126
11391
|
continue;
|
|
11127
11392
|
}
|
|
11393
|
+
case 11: {
|
|
11394
|
+
if (tag !== 90) {
|
|
11395
|
+
break;
|
|
11396
|
+
}
|
|
11397
|
+
message.sparkInvoice = reader.string();
|
|
11398
|
+
continue;
|
|
11399
|
+
}
|
|
11128
11400
|
}
|
|
11129
11401
|
if ((tag & 7) === 4 || tag === 0) {
|
|
11130
11402
|
break;
|
|
@@ -11144,7 +11416,8 @@ var Transfer6 = {
|
|
|
11144
11416
|
leaves: globalThis.Array.isArray(object?.leaves) ? object.leaves.map((e) => TransferLeaf.fromJSON(e)) : [],
|
|
11145
11417
|
createdTime: isSet3(object.createdTime) ? fromJsonTimestamp(object.createdTime) : void 0,
|
|
11146
11418
|
updatedTime: isSet3(object.updatedTime) ? fromJsonTimestamp(object.updatedTime) : void 0,
|
|
11147
|
-
type: isSet3(object.type) ? transferTypeFromJSON(object.type) : 0
|
|
11419
|
+
type: isSet3(object.type) ? transferTypeFromJSON(object.type) : 0,
|
|
11420
|
+
sparkInvoice: isSet3(object.sparkInvoice) ? globalThis.String(object.sparkInvoice) : ""
|
|
11148
11421
|
};
|
|
11149
11422
|
},
|
|
11150
11423
|
toJSON(message) {
|
|
@@ -11179,6 +11452,9 @@ var Transfer6 = {
|
|
|
11179
11452
|
if (message.type !== 0) {
|
|
11180
11453
|
obj.type = transferTypeToJSON(message.type);
|
|
11181
11454
|
}
|
|
11455
|
+
if (message.sparkInvoice !== "") {
|
|
11456
|
+
obj.sparkInvoice = message.sparkInvoice;
|
|
11457
|
+
}
|
|
11182
11458
|
return obj;
|
|
11183
11459
|
},
|
|
11184
11460
|
create(base) {
|
|
@@ -11196,6 +11472,7 @@ var Transfer6 = {
|
|
|
11196
11472
|
message.createdTime = object.createdTime ?? void 0;
|
|
11197
11473
|
message.updatedTime = object.updatedTime ?? void 0;
|
|
11198
11474
|
message.type = object.type ?? 0;
|
|
11475
|
+
message.sparkInvoice = object.sparkInvoice ?? "";
|
|
11199
11476
|
return message;
|
|
11200
11477
|
}
|
|
11201
11478
|
};
|
|
@@ -18213,22 +18490,30 @@ var ecies = __toESM(require("eciesjs"), 1);
|
|
|
18213
18490
|
|
|
18214
18491
|
// src/constants.ts
|
|
18215
18492
|
var import_core10 = require("@lightsparkdev/core");
|
|
18216
|
-
var isReactNative =
|
|
18217
|
-
var isBun =
|
|
18218
|
-
var
|
|
18493
|
+
var isReactNative = "navigator" in globalThis && navigator.product === "ReactNative";
|
|
18494
|
+
var isBun = "Bun" in globalThis;
|
|
18495
|
+
var isWebExtension = (
|
|
18496
|
+
/* globalThis.chrome actually exists in extension contexts for all browsers for legacy reasons: */
|
|
18497
|
+
"chrome" in globalThis && globalThis.chrome.runtime?.id
|
|
18498
|
+
);
|
|
18499
|
+
var userAgent = "navigator" in globalThis ? globalThis.navigator.userAgent || "unknown-user-agent" : void 0;
|
|
18500
|
+
var packageVersion = true ? "0.3.0" : "unknown";
|
|
18219
18501
|
var baseEnvStr = "unknown";
|
|
18220
18502
|
if (isBun) {
|
|
18221
18503
|
const bunVersion = "version" in globalThis.Bun ? globalThis.Bun.version : "unknown-version";
|
|
18222
18504
|
baseEnvStr = `bun/${bunVersion}`;
|
|
18223
18505
|
} else if (import_core10.isNode) {
|
|
18224
|
-
baseEnvStr = `node/${process.version}`;
|
|
18506
|
+
baseEnvStr = `node/${globalThis.process.version}`;
|
|
18225
18507
|
} else if (isReactNative) {
|
|
18226
18508
|
baseEnvStr = "react-native";
|
|
18227
18509
|
} else if (import_core10.isBare) {
|
|
18228
18510
|
const bareVersion = Bare.version;
|
|
18229
18511
|
baseEnvStr = `bare/${bareVersion}`;
|
|
18512
|
+
} else if (isWebExtension) {
|
|
18513
|
+
const protocol = "location" in globalThis ? globalThis.location.protocol : "";
|
|
18514
|
+
const extScriptType = "window" in globalThis ? "content-script" : "background-script";
|
|
18515
|
+
baseEnvStr = `web-extension/${protocol.replace(":", "")}/${extScriptType}/${userAgent}`;
|
|
18230
18516
|
} else {
|
|
18231
|
-
const userAgent = typeof navigator !== "undefined" && navigator.userAgent || "unknown-user-agent";
|
|
18232
18517
|
baseEnvStr = `browser/${userAgent}`;
|
|
18233
18518
|
}
|
|
18234
18519
|
var clientEnv = `js-spark-sdk/${packageVersion} ${baseEnvStr}`;
|
|
@@ -22147,7 +22432,7 @@ var QueryTokenMetadataResponse = {
|
|
|
22147
22432
|
}
|
|
22148
22433
|
};
|
|
22149
22434
|
function createBaseQueryTokenOutputsRequest2() {
|
|
22150
|
-
return { ownerPublicKeys: [], issuerPublicKeys: [], tokenIdentifiers: [], network: 0 };
|
|
22435
|
+
return { ownerPublicKeys: [], issuerPublicKeys: [], tokenIdentifiers: [], network: 0, pageRequest: void 0 };
|
|
22151
22436
|
}
|
|
22152
22437
|
var QueryTokenOutputsRequest2 = {
|
|
22153
22438
|
encode(message, writer = new import_wire7.BinaryWriter()) {
|
|
@@ -22163,6 +22448,9 @@ var QueryTokenOutputsRequest2 = {
|
|
|
22163
22448
|
if (message.network !== 0) {
|
|
22164
22449
|
writer.uint32(24).int32(message.network);
|
|
22165
22450
|
}
|
|
22451
|
+
if (message.pageRequest !== void 0) {
|
|
22452
|
+
PageRequest.encode(message.pageRequest, writer.uint32(42).fork()).join();
|
|
22453
|
+
}
|
|
22166
22454
|
return writer;
|
|
22167
22455
|
},
|
|
22168
22456
|
decode(input, length) {
|
|
@@ -22200,6 +22488,13 @@ var QueryTokenOutputsRequest2 = {
|
|
|
22200
22488
|
message.network = reader.int32();
|
|
22201
22489
|
continue;
|
|
22202
22490
|
}
|
|
22491
|
+
case 5: {
|
|
22492
|
+
if (tag !== 42) {
|
|
22493
|
+
break;
|
|
22494
|
+
}
|
|
22495
|
+
message.pageRequest = PageRequest.decode(reader, reader.uint32());
|
|
22496
|
+
continue;
|
|
22497
|
+
}
|
|
22203
22498
|
}
|
|
22204
22499
|
if ((tag & 7) === 4 || tag === 0) {
|
|
22205
22500
|
break;
|
|
@@ -22213,7 +22508,8 @@ var QueryTokenOutputsRequest2 = {
|
|
|
22213
22508
|
ownerPublicKeys: globalThis.Array.isArray(object?.ownerPublicKeys) ? object.ownerPublicKeys.map((e) => bytesFromBase645(e)) : [],
|
|
22214
22509
|
issuerPublicKeys: globalThis.Array.isArray(object?.issuerPublicKeys) ? object.issuerPublicKeys.map((e) => bytesFromBase645(e)) : [],
|
|
22215
22510
|
tokenIdentifiers: globalThis.Array.isArray(object?.tokenIdentifiers) ? object.tokenIdentifiers.map((e) => bytesFromBase645(e)) : [],
|
|
22216
|
-
network: isSet6(object.network) ? networkFromJSON(object.network) : 0
|
|
22511
|
+
network: isSet6(object.network) ? networkFromJSON(object.network) : 0,
|
|
22512
|
+
pageRequest: isSet6(object.pageRequest) ? PageRequest.fromJSON(object.pageRequest) : void 0
|
|
22217
22513
|
};
|
|
22218
22514
|
},
|
|
22219
22515
|
toJSON(message) {
|
|
@@ -22230,6 +22526,9 @@ var QueryTokenOutputsRequest2 = {
|
|
|
22230
22526
|
if (message.network !== 0) {
|
|
22231
22527
|
obj.network = networkToJSON(message.network);
|
|
22232
22528
|
}
|
|
22529
|
+
if (message.pageRequest !== void 0) {
|
|
22530
|
+
obj.pageRequest = PageRequest.toJSON(message.pageRequest);
|
|
22531
|
+
}
|
|
22233
22532
|
return obj;
|
|
22234
22533
|
},
|
|
22235
22534
|
create(base) {
|
|
@@ -22241,6 +22540,7 @@ var QueryTokenOutputsRequest2 = {
|
|
|
22241
22540
|
message.issuerPublicKeys = object.issuerPublicKeys?.map((e) => e) || [];
|
|
22242
22541
|
message.tokenIdentifiers = object.tokenIdentifiers?.map((e) => e) || [];
|
|
22243
22542
|
message.network = object.network ?? 0;
|
|
22543
|
+
message.pageRequest = object.pageRequest !== void 0 && object.pageRequest !== null ? PageRequest.fromPartial(object.pageRequest) : void 0;
|
|
22244
22544
|
return message;
|
|
22245
22545
|
}
|
|
22246
22546
|
};
|
|
@@ -22549,13 +22849,16 @@ var OutputWithPreviousTransactionData2 = {
|
|
|
22549
22849
|
}
|
|
22550
22850
|
};
|
|
22551
22851
|
function createBaseQueryTokenOutputsResponse2() {
|
|
22552
|
-
return { outputsWithPreviousTransactionData: [] };
|
|
22852
|
+
return { outputsWithPreviousTransactionData: [], pageResponse: void 0 };
|
|
22553
22853
|
}
|
|
22554
22854
|
var QueryTokenOutputsResponse2 = {
|
|
22555
22855
|
encode(message, writer = new import_wire7.BinaryWriter()) {
|
|
22556
22856
|
for (const v of message.outputsWithPreviousTransactionData) {
|
|
22557
22857
|
OutputWithPreviousTransactionData2.encode(v, writer.uint32(10).fork()).join();
|
|
22558
22858
|
}
|
|
22859
|
+
if (message.pageResponse !== void 0) {
|
|
22860
|
+
PageResponse.encode(message.pageResponse, writer.uint32(18).fork()).join();
|
|
22861
|
+
}
|
|
22559
22862
|
return writer;
|
|
22560
22863
|
},
|
|
22561
22864
|
decode(input, length) {
|
|
@@ -22574,6 +22877,13 @@ var QueryTokenOutputsResponse2 = {
|
|
|
22574
22877
|
);
|
|
22575
22878
|
continue;
|
|
22576
22879
|
}
|
|
22880
|
+
case 2: {
|
|
22881
|
+
if (tag !== 18) {
|
|
22882
|
+
break;
|
|
22883
|
+
}
|
|
22884
|
+
message.pageResponse = PageResponse.decode(reader, reader.uint32());
|
|
22885
|
+
continue;
|
|
22886
|
+
}
|
|
22577
22887
|
}
|
|
22578
22888
|
if ((tag & 7) === 4 || tag === 0) {
|
|
22579
22889
|
break;
|
|
@@ -22584,7 +22894,8 @@ var QueryTokenOutputsResponse2 = {
|
|
|
22584
22894
|
},
|
|
22585
22895
|
fromJSON(object) {
|
|
22586
22896
|
return {
|
|
22587
|
-
outputsWithPreviousTransactionData: globalThis.Array.isArray(object?.outputsWithPreviousTransactionData) ? object.outputsWithPreviousTransactionData.map((e) => OutputWithPreviousTransactionData2.fromJSON(e)) : []
|
|
22897
|
+
outputsWithPreviousTransactionData: globalThis.Array.isArray(object?.outputsWithPreviousTransactionData) ? object.outputsWithPreviousTransactionData.map((e) => OutputWithPreviousTransactionData2.fromJSON(e)) : [],
|
|
22898
|
+
pageResponse: isSet6(object.pageResponse) ? PageResponse.fromJSON(object.pageResponse) : void 0
|
|
22588
22899
|
};
|
|
22589
22900
|
},
|
|
22590
22901
|
toJSON(message) {
|
|
@@ -22594,6 +22905,9 @@ var QueryTokenOutputsResponse2 = {
|
|
|
22594
22905
|
(e) => OutputWithPreviousTransactionData2.toJSON(e)
|
|
22595
22906
|
);
|
|
22596
22907
|
}
|
|
22908
|
+
if (message.pageResponse !== void 0) {
|
|
22909
|
+
obj.pageResponse = PageResponse.toJSON(message.pageResponse);
|
|
22910
|
+
}
|
|
22597
22911
|
return obj;
|
|
22598
22912
|
},
|
|
22599
22913
|
create(base) {
|
|
@@ -22602,6 +22916,7 @@ var QueryTokenOutputsResponse2 = {
|
|
|
22602
22916
|
fromPartial(object) {
|
|
22603
22917
|
const message = createBaseQueryTokenOutputsResponse2();
|
|
22604
22918
|
message.outputsWithPreviousTransactionData = object.outputsWithPreviousTransactionData?.map((e) => OutputWithPreviousTransactionData2.fromPartial(e)) || [];
|
|
22919
|
+
message.pageResponse = object.pageResponse !== void 0 && object.pageResponse !== null ? PageResponse.fromPartial(object.pageResponse) : void 0;
|
|
22605
22920
|
return message;
|
|
22606
22921
|
}
|
|
22607
22922
|
};
|
|
@@ -23776,10 +24091,10 @@ var INITIAL_TIMELOCK = 2e3;
|
|
|
23776
24091
|
var TEST_UNILATERAL_TIMELOCK = 100;
|
|
23777
24092
|
var TIME_LOCK_INTERVAL = 100;
|
|
23778
24093
|
var DIRECT_TIMELOCK_OFFSET = 50;
|
|
23779
|
-
var INITIAL_SEQUENCE =
|
|
23780
|
-
var INITIAL_DIRECT_SEQUENCE =
|
|
23781
|
-
var TEST_UNILATERAL_SEQUENCE =
|
|
23782
|
-
var TEST_UNILATERAL_DIRECT_SEQUENCE =
|
|
24094
|
+
var INITIAL_SEQUENCE = INITIAL_TIMELOCK;
|
|
24095
|
+
var INITIAL_DIRECT_SEQUENCE = INITIAL_TIMELOCK + DIRECT_TIMELOCK_OFFSET;
|
|
24096
|
+
var TEST_UNILATERAL_SEQUENCE = TEST_UNILATERAL_TIMELOCK;
|
|
24097
|
+
var TEST_UNILATERAL_DIRECT_SEQUENCE = TEST_UNILATERAL_TIMELOCK + DIRECT_TIMELOCK_OFFSET;
|
|
23783
24098
|
var ESTIMATED_TX_SIZE = 191;
|
|
23784
24099
|
var DEFAULT_SATS_PER_VBYTE = 5;
|
|
23785
24100
|
var DEFAULT_FEE_SATS = ESTIMATED_TX_SIZE * DEFAULT_SATS_PER_VBYTE;
|
|
@@ -24050,8 +24365,8 @@ function getCurrentTimelock(currSequence) {
|
|
|
24050
24365
|
function getTransactionSequence(currSequence) {
|
|
24051
24366
|
const timelock = getCurrentTimelock(currSequence);
|
|
24052
24367
|
return {
|
|
24053
|
-
nextSequence:
|
|
24054
|
-
nextDirectSequence:
|
|
24368
|
+
nextSequence: timelock,
|
|
24369
|
+
nextDirectSequence: timelock + DIRECT_TIMELOCK_OFFSET
|
|
24055
24370
|
};
|
|
24056
24371
|
}
|
|
24057
24372
|
function checkIfValidSequence(currSequence) {
|
|
@@ -24094,8 +24409,8 @@ function getNextTransactionSequence(currSequence, isNodeTx) {
|
|
|
24094
24409
|
});
|
|
24095
24410
|
}
|
|
24096
24411
|
return {
|
|
24097
|
-
nextSequence:
|
|
24098
|
-
nextDirectSequence:
|
|
24412
|
+
nextSequence: nextTimelock,
|
|
24413
|
+
nextDirectSequence: nextTimelock + DIRECT_TIMELOCK_OFFSET
|
|
24099
24414
|
};
|
|
24100
24415
|
}
|
|
24101
24416
|
function getEphemeralAnchorOutput() {
|
|
@@ -24240,7 +24555,7 @@ var BaseTransferService = class {
|
|
|
24240
24555
|
}
|
|
24241
24556
|
return response.transfer;
|
|
24242
24557
|
}
|
|
24243
|
-
async sendTransferWithKeyTweaks(leaves, receiverIdentityPubkey) {
|
|
24558
|
+
async sendTransferWithKeyTweaks(leaves, receiverIdentityPubkey, sparkInvoice) {
|
|
24244
24559
|
const transferID = (0, import_uuidv7.uuidv7)();
|
|
24245
24560
|
const keyTweakInputMap = await this.prepareSendTransferKeyTweaks(
|
|
24246
24561
|
transferID,
|
|
@@ -24265,7 +24580,8 @@ var BaseTransferService = class {
|
|
|
24265
24580
|
transferId: transferID,
|
|
24266
24581
|
ownerIdentityPublicKey: await this.config.signer.getIdentityPublicKey(),
|
|
24267
24582
|
receiverIdentityPublicKey: receiverIdentityPubkey,
|
|
24268
|
-
transferPackage
|
|
24583
|
+
transferPackage,
|
|
24584
|
+
sparkInvoice
|
|
24269
24585
|
});
|
|
24270
24586
|
} catch (error) {
|
|
24271
24587
|
throw new NetworkError(
|
|
@@ -27205,6 +27521,13 @@ function uint64be(value) {
|
|
|
27205
27521
|
// src/utils/address.ts
|
|
27206
27522
|
var BECH32M_LIMIT = 1024;
|
|
27207
27523
|
var AddressNetwork = {
|
|
27524
|
+
MAINNET: "spark",
|
|
27525
|
+
TESTNET: "sparkt",
|
|
27526
|
+
REGTEST: "sparkrt",
|
|
27527
|
+
SIGNET: "sparks",
|
|
27528
|
+
LOCAL: "sparkl"
|
|
27529
|
+
};
|
|
27530
|
+
var LegacyAddressNetwork = {
|
|
27208
27531
|
MAINNET: "sp",
|
|
27209
27532
|
TESTNET: "spt",
|
|
27210
27533
|
REGTEST: "sprt",
|
|
@@ -27252,11 +27575,11 @@ function encodeSparkAddressWithSignature(payload, signature) {
|
|
|
27252
27575
|
function decodeSparkAddress(address2, network) {
|
|
27253
27576
|
try {
|
|
27254
27577
|
const decoded = bech32mDecode(address2);
|
|
27255
|
-
if (
|
|
27578
|
+
if (network !== getNetworkFromSparkAddress(address2)) {
|
|
27256
27579
|
throw new ValidationError("Invalid Spark address prefix", {
|
|
27257
27580
|
field: "address",
|
|
27258
27581
|
value: address2,
|
|
27259
|
-
expected: `prefix='${AddressNetwork[network]}'`
|
|
27582
|
+
expected: `prefix='${AddressNetwork[network]}' or '${LegacyAddressNetwork[network]}'`
|
|
27260
27583
|
});
|
|
27261
27584
|
}
|
|
27262
27585
|
const payload = SparkAddress.decode(import_base2.bech32m.fromWords(decoded.words));
|
|
@@ -27302,18 +27625,35 @@ function decodeSparkAddress(address2, network) {
|
|
|
27302
27625
|
);
|
|
27303
27626
|
}
|
|
27304
27627
|
}
|
|
27628
|
+
var PrefixToNetwork = Object.fromEntries(
|
|
27629
|
+
Object.entries(AddressNetwork).map(([k, v]) => [v, k])
|
|
27630
|
+
);
|
|
27631
|
+
var LegacyPrefixToNetwork = Object.fromEntries(
|
|
27632
|
+
Object.entries(LegacyAddressNetwork).map(([k, v]) => [v, k])
|
|
27633
|
+
);
|
|
27634
|
+
function getNetworkFromSparkAddress(address2) {
|
|
27635
|
+
const { prefix } = bech32mDecode(address2);
|
|
27636
|
+
const network = PrefixToNetwork[prefix] ?? LegacyPrefixToNetwork[prefix];
|
|
27637
|
+
if (!network) {
|
|
27638
|
+
throw new ValidationError("Invalid Spark address prefix", {
|
|
27639
|
+
field: "network",
|
|
27640
|
+
value: address2,
|
|
27641
|
+
expected: "prefix='spark1', 'sparkt1', 'sparkrt1', 'sparks1', 'sparkl1' or legacy ('sp1', 'spt1', 'sprt1', 'sps1', 'spl1')"
|
|
27642
|
+
});
|
|
27643
|
+
}
|
|
27644
|
+
return network;
|
|
27645
|
+
}
|
|
27646
|
+
function isLegacySparkAddress(address2) {
|
|
27647
|
+
try {
|
|
27648
|
+
const { prefix } = bech32mDecode(address2);
|
|
27649
|
+
return prefix in LegacyPrefixToNetwork;
|
|
27650
|
+
} catch (error) {
|
|
27651
|
+
return false;
|
|
27652
|
+
}
|
|
27653
|
+
}
|
|
27305
27654
|
function isValidSparkAddress(address2) {
|
|
27306
27655
|
try {
|
|
27307
|
-
const network =
|
|
27308
|
-
([_, prefix]) => address2.startsWith(prefix)
|
|
27309
|
-
)?.[0];
|
|
27310
|
-
if (!network) {
|
|
27311
|
-
throw new ValidationError("Invalid Spark address network", {
|
|
27312
|
-
field: "network",
|
|
27313
|
-
value: address2,
|
|
27314
|
-
expected: Object.values(AddressNetwork)
|
|
27315
|
-
});
|
|
27316
|
-
}
|
|
27656
|
+
const network = getNetworkFromSparkAddress(address2);
|
|
27317
27657
|
decodeSparkAddress(address2, network);
|
|
27318
27658
|
return true;
|
|
27319
27659
|
} catch (error) {
|
|
@@ -27509,25 +27849,16 @@ function validateSparkInvoiceSignature(invoice) {
|
|
|
27509
27849
|
);
|
|
27510
27850
|
}
|
|
27511
27851
|
}
|
|
27512
|
-
function getNetworkFromSparkAddress(address2) {
|
|
27513
|
-
const { prefix } = bech32mDecode(address2);
|
|
27514
|
-
const network = Object.entries(AddressNetwork).find(
|
|
27515
|
-
([, p]) => p === prefix
|
|
27516
|
-
)?.[0];
|
|
27517
|
-
if (!network) {
|
|
27518
|
-
throw new ValidationError("Invalid Spark address network", {
|
|
27519
|
-
field: "network",
|
|
27520
|
-
value: address2,
|
|
27521
|
-
expected: Object.values(AddressNetwork)
|
|
27522
|
-
});
|
|
27523
|
-
}
|
|
27524
|
-
return network;
|
|
27525
|
-
}
|
|
27526
27852
|
function toProtoTimestamp(date) {
|
|
27527
27853
|
const ms = date.getTime();
|
|
27528
27854
|
return { seconds: Math.floor(ms / 1e3), nanos: ms % 1e3 * 1e6 };
|
|
27529
27855
|
}
|
|
27856
|
+
function assertBech32(s) {
|
|
27857
|
+
const i = s.lastIndexOf("1");
|
|
27858
|
+
if (i <= 0 || i >= s.length - 1) throw new Error("invalid bech32 string");
|
|
27859
|
+
}
|
|
27530
27860
|
function bech32mDecode(address2) {
|
|
27861
|
+
assertBech32(address2);
|
|
27531
27862
|
return import_base2.bech32m.decode(address2, BECH32M_LIMIT);
|
|
27532
27863
|
}
|
|
27533
27864
|
function bech32mEncode(prefix, words) {
|
|
@@ -27558,6 +27889,9 @@ function encodeSparkInvoiceFieldsV1Canonical(f) {
|
|
|
27558
27889
|
}
|
|
27559
27890
|
return w.finish();
|
|
27560
27891
|
}
|
|
27892
|
+
function isSafeForNumber(bi) {
|
|
27893
|
+
return bi >= BigInt(Number.MIN_SAFE_INTEGER) && bi <= BigInt(Number.MAX_SAFE_INTEGER);
|
|
27894
|
+
}
|
|
27561
27895
|
|
|
27562
27896
|
// src/utils/response-validation.ts
|
|
27563
27897
|
function collectResponses(responses) {
|
|
@@ -29565,6 +29899,7 @@ function filterTokenBalanceForTokenIdentifier(tokenBalances, tokenIdentifier) {
|
|
|
29565
29899
|
|
|
29566
29900
|
// src/services/token-transactions.ts
|
|
29567
29901
|
var MAX_TOKEN_OUTPUTS = 500;
|
|
29902
|
+
var QUERY_TOKEN_OUTPUTS_PAGE_SIZE = 100;
|
|
29568
29903
|
var TokenTransactionService = class {
|
|
29569
29904
|
config;
|
|
29570
29905
|
connectionManager;
|
|
@@ -30253,6 +30588,36 @@ var TokenTransactionService = class {
|
|
|
30253
30588
|
}
|
|
30254
30589
|
}
|
|
30255
30590
|
async fetchOwnedTokenOutputs(params) {
|
|
30591
|
+
const {
|
|
30592
|
+
ownerPublicKeys,
|
|
30593
|
+
issuerPublicKeys = [],
|
|
30594
|
+
tokenIdentifiers = []
|
|
30595
|
+
} = params;
|
|
30596
|
+
if (ownerPublicKeys.length === 0) {
|
|
30597
|
+
throw new ValidationError("Owner public keys cannot be empty", {
|
|
30598
|
+
field: "ownerPublicKeys",
|
|
30599
|
+
value: ownerPublicKeys,
|
|
30600
|
+
expected: "Non-empty array"
|
|
30601
|
+
});
|
|
30602
|
+
}
|
|
30603
|
+
for (const ownerPublicKey of ownerPublicKeys) {
|
|
30604
|
+
isValidPublicKey((0, import_utils16.bytesToHex)(ownerPublicKey));
|
|
30605
|
+
}
|
|
30606
|
+
for (const issuerPublicKey of issuerPublicKeys) {
|
|
30607
|
+
isValidPublicKey((0, import_utils16.bytesToHex)(issuerPublicKey));
|
|
30608
|
+
}
|
|
30609
|
+
for (const tokenIdentifier of tokenIdentifiers) {
|
|
30610
|
+
if (tokenIdentifier.length !== 32) {
|
|
30611
|
+
throw new ValidationError(
|
|
30612
|
+
"Token identifier must be 32 bytes (64 hex characters) long.",
|
|
30613
|
+
{
|
|
30614
|
+
field: "tokenIdentifier",
|
|
30615
|
+
value: tokenIdentifier,
|
|
30616
|
+
expected: "32 bytes"
|
|
30617
|
+
}
|
|
30618
|
+
);
|
|
30619
|
+
}
|
|
30620
|
+
}
|
|
30256
30621
|
if (this.config.getTokenTransactionVersion() === "V0") {
|
|
30257
30622
|
return this.fetchOwnedTokenOutputsV0(params);
|
|
30258
30623
|
} else {
|
|
@@ -30305,13 +30670,30 @@ var TokenTransactionService = class {
|
|
|
30305
30670
|
this.config.getCoordinatorAddress()
|
|
30306
30671
|
);
|
|
30307
30672
|
try {
|
|
30308
|
-
const
|
|
30309
|
-
|
|
30310
|
-
|
|
30311
|
-
|
|
30312
|
-
|
|
30313
|
-
|
|
30314
|
-
|
|
30673
|
+
const allOutputs = [];
|
|
30674
|
+
let after = void 0;
|
|
30675
|
+
do {
|
|
30676
|
+
const result = await tokenClient.query_token_outputs({
|
|
30677
|
+
ownerPublicKeys,
|
|
30678
|
+
issuerPublicKeys,
|
|
30679
|
+
tokenIdentifiers,
|
|
30680
|
+
network: this.config.getNetworkProto(),
|
|
30681
|
+
pageRequest: {
|
|
30682
|
+
pageSize: QUERY_TOKEN_OUTPUTS_PAGE_SIZE,
|
|
30683
|
+
cursor: after,
|
|
30684
|
+
direction: 0 /* NEXT */
|
|
30685
|
+
}
|
|
30686
|
+
});
|
|
30687
|
+
if (Array.isArray(result.outputsWithPreviousTransactionData)) {
|
|
30688
|
+
allOutputs.push(...result.outputsWithPreviousTransactionData);
|
|
30689
|
+
}
|
|
30690
|
+
if (result.pageResponse?.hasNextPage) {
|
|
30691
|
+
after = result.pageResponse.nextCursor;
|
|
30692
|
+
} else {
|
|
30693
|
+
break;
|
|
30694
|
+
}
|
|
30695
|
+
} while (after);
|
|
30696
|
+
return allOutputs;
|
|
30315
30697
|
} catch (error) {
|
|
30316
30698
|
throw new NetworkError(
|
|
30317
30699
|
"Failed to fetch owned token outputs",
|
|
@@ -31355,6 +31737,16 @@ async function withRetry(operation, options = {}) {
|
|
|
31355
31737
|
throw new Error("Unexpected retry loop exit");
|
|
31356
31738
|
}
|
|
31357
31739
|
|
|
31740
|
+
// src/spark-wallet/types.ts
|
|
31741
|
+
var SparkWalletEvent = {
|
|
31742
|
+
All: "*",
|
|
31743
|
+
TransferClaimed: "transfer:claimed",
|
|
31744
|
+
DepositConfirmed: "deposit:confirmed",
|
|
31745
|
+
StreamConnected: "stream:connected",
|
|
31746
|
+
StreamDisconnected: "stream:disconnected",
|
|
31747
|
+
StreamReconnecting: "stream:reconnecting"
|
|
31748
|
+
};
|
|
31749
|
+
|
|
31358
31750
|
// src/spark-wallet/spark-wallet.ts
|
|
31359
31751
|
var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
31360
31752
|
config;
|
|
@@ -31468,7 +31860,7 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
31468
31860
|
path: deposit.id
|
|
31469
31861
|
});
|
|
31470
31862
|
this.emit(
|
|
31471
|
-
|
|
31863
|
+
SparkWalletEvent.DepositConfirmed,
|
|
31472
31864
|
deposit.id,
|
|
31473
31865
|
(await this.getBalance()).balance
|
|
31474
31866
|
);
|
|
@@ -31532,7 +31924,7 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
31532
31924
|
break;
|
|
31533
31925
|
}
|
|
31534
31926
|
if (data.event?.$case === "connected") {
|
|
31535
|
-
this.emit(
|
|
31927
|
+
this.emit(SparkWalletEvent.StreamConnected);
|
|
31536
31928
|
retryCount = 0;
|
|
31537
31929
|
}
|
|
31538
31930
|
if (data.event?.$case === "transfer" && data.event.transfer.transfer && claimedTransfersIds.includes(data.event.transfer.transfer.id)) {
|
|
@@ -31554,7 +31946,7 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
31554
31946
|
if (retryCount < MAX_RETRIES) {
|
|
31555
31947
|
retryCount++;
|
|
31556
31948
|
this.emit(
|
|
31557
|
-
|
|
31949
|
+
SparkWalletEvent.StreamReconnecting,
|
|
31558
31950
|
retryCount,
|
|
31559
31951
|
MAX_RETRIES,
|
|
31560
31952
|
backoffDelay,
|
|
@@ -31574,7 +31966,10 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
31574
31966
|
}
|
|
31575
31967
|
}
|
|
31576
31968
|
} else {
|
|
31577
|
-
this.emit(
|
|
31969
|
+
this.emit(
|
|
31970
|
+
SparkWalletEvent.StreamDisconnected,
|
|
31971
|
+
"Max reconnection attempts reached"
|
|
31972
|
+
);
|
|
31578
31973
|
break;
|
|
31579
31974
|
}
|
|
31580
31975
|
}
|
|
@@ -31674,6 +32069,10 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
31674
32069
|
verifyKey(pubkey1, pubkey2, verifyingKey) {
|
|
31675
32070
|
return (0, import_utils23.equalBytes)(addPublicKeys(pubkey1, pubkey2), verifyingKey);
|
|
31676
32071
|
}
|
|
32072
|
+
popOrThrow(arr, msg) {
|
|
32073
|
+
if (!arr || arr.length === 0) throw new ValidationError(msg);
|
|
32074
|
+
return arr.pop();
|
|
32075
|
+
}
|
|
31677
32076
|
async selectLeaves(targetAmounts) {
|
|
31678
32077
|
if (targetAmounts.length === 0) {
|
|
31679
32078
|
throw new ValidationError("Target amounts must be non-empty", {
|
|
@@ -31727,7 +32126,11 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
31727
32126
|
}
|
|
31728
32127
|
}
|
|
31729
32128
|
totalAmount += amount;
|
|
31730
|
-
results2.
|
|
32129
|
+
if (results2.has(targetAmount)) {
|
|
32130
|
+
results2.get(targetAmount).push(nodes);
|
|
32131
|
+
} else {
|
|
32132
|
+
results2.set(targetAmount, [nodes]);
|
|
32133
|
+
}
|
|
31731
32134
|
}
|
|
31732
32135
|
return {
|
|
31733
32136
|
results: results2,
|
|
@@ -31854,17 +32257,60 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
31854
32257
|
* @param {Object} params - Parameters for the sats payment
|
|
31855
32258
|
* @param {number} params.amount - The amount of sats to receive
|
|
31856
32259
|
* @param {string} [params.memo] - The memo for the payment
|
|
31857
|
-
* @param {string} [params.
|
|
32260
|
+
* @param {string} [params.senderSparkAddress] - The spark address of the expected sender
|
|
31858
32261
|
* @param {Date} [params.expiryTime] - The expiry time of the payment
|
|
31859
|
-
* @returns {Promise<SparkAddressFormat>} The Spark
|
|
32262
|
+
* @returns {Promise<SparkAddressFormat>} The Spark invoice for the sats payment
|
|
31860
32263
|
*/
|
|
31861
32264
|
async createSatsInvoice({
|
|
31862
32265
|
amount,
|
|
31863
32266
|
memo,
|
|
31864
|
-
|
|
32267
|
+
senderSparkAddress,
|
|
31865
32268
|
expiryTime
|
|
31866
32269
|
}) {
|
|
31867
|
-
|
|
32270
|
+
const MAX_SATS_AMOUNT = 21e14;
|
|
32271
|
+
if (amount && (amount < 0 || amount > MAX_SATS_AMOUNT)) {
|
|
32272
|
+
throw new ValidationError(
|
|
32273
|
+
`Amount must be between 0 and ${MAX_SATS_AMOUNT} sats`,
|
|
32274
|
+
{
|
|
32275
|
+
field: "amount",
|
|
32276
|
+
value: amount,
|
|
32277
|
+
expected: `less than or equal to ${MAX_SATS_AMOUNT}`
|
|
32278
|
+
}
|
|
32279
|
+
);
|
|
32280
|
+
}
|
|
32281
|
+
const protoPayment = {
|
|
32282
|
+
$case: "satsPayment",
|
|
32283
|
+
satsPayment: {
|
|
32284
|
+
amount
|
|
32285
|
+
}
|
|
32286
|
+
};
|
|
32287
|
+
const senderPublicKey = senderSparkAddress ? (0, import_utils23.hexToBytes)(
|
|
32288
|
+
decodeSparkAddress(senderSparkAddress, this.config.getNetworkType()).identityPublicKey
|
|
32289
|
+
) : void 0;
|
|
32290
|
+
const invoiceFields = {
|
|
32291
|
+
version: 1,
|
|
32292
|
+
id: (0, import_uuidv75.uuidv7obj)().bytes,
|
|
32293
|
+
paymentType: protoPayment,
|
|
32294
|
+
memo,
|
|
32295
|
+
senderPublicKey,
|
|
32296
|
+
expiryTime: expiryTime ?? void 0
|
|
32297
|
+
};
|
|
32298
|
+
validateSparkInvoiceFields(invoiceFields);
|
|
32299
|
+
const identityPublicKey = await this.config.signer.getIdentityPublicKey();
|
|
32300
|
+
const hash = HashSparkInvoice(
|
|
32301
|
+
invoiceFields,
|
|
32302
|
+
identityPublicKey,
|
|
32303
|
+
this.config.getNetworkType()
|
|
32304
|
+
);
|
|
32305
|
+
const signature = await this.config.signer.signSchnorrWithIdentityKey(hash);
|
|
32306
|
+
return encodeSparkAddressWithSignature(
|
|
32307
|
+
{
|
|
32308
|
+
identityPublicKey: (0, import_utils23.bytesToHex)(identityPublicKey),
|
|
32309
|
+
network: this.config.getNetworkType(),
|
|
32310
|
+
sparkInvoiceFields: invoiceFields
|
|
32311
|
+
},
|
|
32312
|
+
signature
|
|
32313
|
+
);
|
|
31868
32314
|
}
|
|
31869
32315
|
/**
|
|
31870
32316
|
* Creates a Spark invoice for a tokens payment on Spark.
|
|
@@ -31873,15 +32319,15 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
31873
32319
|
* @param {bigint} [params.amount] - The amount of tokens to receive
|
|
31874
32320
|
* @param {Bech32mTokenIdentifier} [params.tokenIdentifier] - The token identifier
|
|
31875
32321
|
* @param {string} [params.memo] - The memo for the payment
|
|
31876
|
-
* @param {string} [params.
|
|
32322
|
+
* @param {string} [params.senderSparkAddress] - The spark address of the expected sender
|
|
31877
32323
|
* @param {Date} [params.expiryTime] - The expiry time of the payment
|
|
31878
|
-
* @returns {Promise<SparkAddressFormat>} The Spark
|
|
32324
|
+
* @returns {Promise<SparkAddressFormat>} The Spark invoice for the tokens payment
|
|
31879
32325
|
*/
|
|
31880
32326
|
async createTokensInvoice({
|
|
31881
32327
|
amount,
|
|
31882
32328
|
tokenIdentifier,
|
|
31883
32329
|
memo,
|
|
31884
|
-
|
|
32330
|
+
senderSparkAddress,
|
|
31885
32331
|
expiryTime
|
|
31886
32332
|
}) {
|
|
31887
32333
|
const MAX_UINT128 = BigInt(2 ** 128 - 1);
|
|
@@ -31906,12 +32352,15 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
31906
32352
|
amount: amount ? (0, import_utils23.numberToVarBytesBE)(amount) : void 0
|
|
31907
32353
|
}
|
|
31908
32354
|
};
|
|
32355
|
+
const senderPublicKey = senderSparkAddress ? (0, import_utils23.hexToBytes)(
|
|
32356
|
+
decodeSparkAddress(senderSparkAddress, this.config.getNetworkType()).identityPublicKey
|
|
32357
|
+
) : void 0;
|
|
31909
32358
|
const invoiceFields = {
|
|
31910
32359
|
version: 1,
|
|
31911
32360
|
id: (0, import_uuidv75.uuidv7obj)().bytes,
|
|
31912
32361
|
paymentType: protoPayment,
|
|
31913
32362
|
memo: memo ?? void 0,
|
|
31914
|
-
senderPublicKey
|
|
32363
|
+
senderPublicKey,
|
|
31915
32364
|
expiryTime: expiryTime ?? void 0
|
|
31916
32365
|
};
|
|
31917
32366
|
validateSparkInvoiceFields(invoiceFields);
|
|
@@ -33384,63 +33833,150 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
33384
33833
|
}
|
|
33385
33834
|
);
|
|
33386
33835
|
}
|
|
33387
|
-
|
|
33388
|
-
|
|
33389
|
-
|
|
33390
|
-
|
|
33391
|
-
|
|
33392
|
-
|
|
33836
|
+
const [outcome] = await this.transferWithInvoice([
|
|
33837
|
+
{
|
|
33838
|
+
amountSats,
|
|
33839
|
+
receiverIdentityPubkey: (0, import_utils23.hexToBytes)(receiverAddress.identityPublicKey)
|
|
33840
|
+
}
|
|
33841
|
+
]);
|
|
33842
|
+
if (!outcome) throw new Error("no transfer created");
|
|
33843
|
+
if (!outcome.ok) throw outcome.error;
|
|
33844
|
+
return outcome.transfer;
|
|
33845
|
+
}
|
|
33846
|
+
/**
|
|
33847
|
+
* Transfers with optional invoices.
|
|
33848
|
+
* Does not parse/validate invoices or enforce amount-vs-invoice.
|
|
33849
|
+
* If an invoice is provided, the caller must pass in the correct:
|
|
33850
|
+
* - amountSats
|
|
33851
|
+
* - receiverIdentityPubkey
|
|
33852
|
+
*
|
|
33853
|
+
* @param {TransferWithInvoiceParams[]} params - The parameters for the transfers
|
|
33854
|
+
* @returns {Promise<TransferWithInvoiceOutcome[]>} The outcomes of the transfers
|
|
33855
|
+
* @private
|
|
33856
|
+
*/
|
|
33857
|
+
async transferWithInvoice(params) {
|
|
33858
|
+
const amountSatsArray = [];
|
|
33859
|
+
for (const param of params) {
|
|
33860
|
+
const { amountSats } = param;
|
|
33861
|
+
if (!Number.isSafeInteger(amountSats)) {
|
|
33862
|
+
throw new ValidationError("Sats amount must be less than 2^53", {
|
|
33863
|
+
field: "amountSats",
|
|
33864
|
+
value: amountSats,
|
|
33865
|
+
expected: "smaller or equal to " + Number.MAX_SAFE_INTEGER
|
|
33866
|
+
});
|
|
33867
|
+
}
|
|
33868
|
+
if (amountSats <= 0) {
|
|
33869
|
+
throw new ValidationError("Amount must be greater than 0", {
|
|
33870
|
+
field: "amountSats",
|
|
33871
|
+
value: amountSats
|
|
33872
|
+
});
|
|
33873
|
+
}
|
|
33874
|
+
amountSatsArray.push(amountSats);
|
|
33393
33875
|
}
|
|
33394
|
-
|
|
33395
|
-
|
|
33396
|
-
|
|
33397
|
-
|
|
33876
|
+
const transferJobs = await this.withLeaves(async () => {
|
|
33877
|
+
const selectLeavesToSendMap = await this.selectLeaves(amountSatsArray);
|
|
33878
|
+
for (const [amount, selection] of selectLeavesToSendMap) {
|
|
33879
|
+
for (let groupIndex = 0; groupIndex < selection.length; groupIndex++) {
|
|
33880
|
+
const group = selection[groupIndex];
|
|
33881
|
+
if (!group) {
|
|
33882
|
+
throw new ValidationError(
|
|
33883
|
+
`TreeNode group at index ${groupIndex} not found for amount ${amount} after selection`
|
|
33884
|
+
);
|
|
33885
|
+
}
|
|
33886
|
+
let available = await this.checkRefreshTimelockNodes(group);
|
|
33887
|
+
available = await this.checkExtendTimeLockNodes(available);
|
|
33888
|
+
if (available.length < group.length) {
|
|
33889
|
+
throw new Error(
|
|
33890
|
+
`Not enough available nodes after refresh/extend. Expected ${group.length}, got ${available.length}`
|
|
33891
|
+
);
|
|
33892
|
+
}
|
|
33893
|
+
selection[groupIndex] = available;
|
|
33894
|
+
}
|
|
33895
|
+
}
|
|
33896
|
+
const tweaksByAmount = this.buildTweaksByAmount(selectLeavesToSendMap);
|
|
33897
|
+
const idsToRemove = /* @__PURE__ */ new Set();
|
|
33898
|
+
const jobs = params.map((param) => {
|
|
33899
|
+
const { amountSats, receiverIdentityPubkey, sparkInvoice } = param;
|
|
33900
|
+
const leafKeyTweaks = this.popOrThrow(
|
|
33901
|
+
tweaksByAmount.get(amountSats),
|
|
33902
|
+
`no leaves key tweaks for ${amountSats}`
|
|
33903
|
+
);
|
|
33904
|
+
for (const tweak of leafKeyTweaks) {
|
|
33905
|
+
idsToRemove.add(tweak.leaf.id);
|
|
33906
|
+
}
|
|
33907
|
+
return { leafKeyTweaks, receiverIdentityPubkey, sparkInvoice, param };
|
|
33398
33908
|
});
|
|
33399
|
-
|
|
33909
|
+
if (idsToRemove.size > 0) {
|
|
33910
|
+
this.leaves = this.leaves.filter((leaf) => !idsToRemove.has(leaf.id));
|
|
33911
|
+
}
|
|
33912
|
+
return jobs;
|
|
33913
|
+
});
|
|
33400
33914
|
const signerIdentityPublicKey = await this.config.signer.getIdentityPublicKey();
|
|
33401
|
-
const
|
|
33402
|
-
|
|
33403
|
-
|
|
33915
|
+
const outcomes = await Promise.all(
|
|
33916
|
+
transferJobs.map(async (job) => {
|
|
33917
|
+
try {
|
|
33918
|
+
const transfer = await this.transferService.sendTransferWithKeyTweaks(
|
|
33919
|
+
job.leafKeyTweaks,
|
|
33920
|
+
job.receiverIdentityPubkey,
|
|
33921
|
+
job.sparkInvoice
|
|
33922
|
+
);
|
|
33923
|
+
const isSelfTransfer = (0, import_utils23.equalBytes)(
|
|
33924
|
+
signerIdentityPublicKey,
|
|
33925
|
+
job.receiverIdentityPubkey
|
|
33926
|
+
);
|
|
33927
|
+
if (isSelfTransfer) {
|
|
33928
|
+
const pending = await this.transferService.queryTransfer(
|
|
33929
|
+
transfer.id
|
|
33930
|
+
);
|
|
33931
|
+
if (pending) {
|
|
33932
|
+
await this.claimTransfer({ transfer: pending, optimize: true });
|
|
33933
|
+
}
|
|
33934
|
+
}
|
|
33935
|
+
return {
|
|
33936
|
+
ok: true,
|
|
33937
|
+
transfer: mapTransferToWalletTransfer(
|
|
33938
|
+
transfer,
|
|
33939
|
+
(0, import_utils23.bytesToHex)(await this.config.signer.getIdentityPublicKey())
|
|
33940
|
+
),
|
|
33941
|
+
param: job.param
|
|
33942
|
+
};
|
|
33943
|
+
} catch (error) {
|
|
33944
|
+
return {
|
|
33945
|
+
ok: false,
|
|
33946
|
+
error: error instanceof Error ? error : new Error(String(error)),
|
|
33947
|
+
param: job.param
|
|
33948
|
+
};
|
|
33949
|
+
}
|
|
33950
|
+
})
|
|
33404
33951
|
);
|
|
33405
|
-
return
|
|
33406
|
-
|
|
33407
|
-
|
|
33408
|
-
|
|
33409
|
-
|
|
33410
|
-
|
|
33411
|
-
const
|
|
33412
|
-
|
|
33413
|
-
|
|
33414
|
-
|
|
33415
|
-
|
|
33416
|
-
|
|
33417
|
-
|
|
33418
|
-
newKeyDerivation: {
|
|
33419
|
-
type: "random" /* RANDOM */
|
|
33952
|
+
return outcomes;
|
|
33953
|
+
}
|
|
33954
|
+
buildTweaksByAmount(selectedByAmount) {
|
|
33955
|
+
const tweaksByAmount = /* @__PURE__ */ new Map();
|
|
33956
|
+
for (const [amount, treeNodes] of selectedByAmount) {
|
|
33957
|
+
const keyTweaksForAmount = [];
|
|
33958
|
+
for (const nodes of treeNodes) {
|
|
33959
|
+
const batch = [];
|
|
33960
|
+
for (let i = 0; i < nodes.length; i++) {
|
|
33961
|
+
if (!nodes[i]) {
|
|
33962
|
+
throw new ValidationError(
|
|
33963
|
+
`TreeNode at index ${i} not found for amount ${amount} while building key tweaks by amount`
|
|
33964
|
+
);
|
|
33420
33965
|
}
|
|
33421
|
-
|
|
33422
|
-
);
|
|
33423
|
-
const transfer = await this.transferService.sendTransferWithKeyTweaks(
|
|
33424
|
-
leafKeyTweaks,
|
|
33425
|
-
(0, import_utils23.hexToBytes)(receiverAddress.identityPublicKey)
|
|
33426
|
-
);
|
|
33427
|
-
const leavesToRemove = new Set(leavesToSend.map((leaf) => leaf.id));
|
|
33428
|
-
this.leaves = this.leaves.filter((leaf) => !leavesToRemove.has(leaf.id));
|
|
33429
|
-
if (isSelfTransfer) {
|
|
33430
|
-
const transactionId = transfer.id;
|
|
33431
|
-
const pendingTransfer = await this.transferService.queryTransfer(transactionId);
|
|
33432
|
-
if (pendingTransfer) {
|
|
33433
|
-
await this.claimTransfer({
|
|
33434
|
-
transfer: pendingTransfer,
|
|
33435
|
-
optimize: true
|
|
33436
|
-
});
|
|
33966
|
+
batch.push(this.toSendTweak(nodes[i]));
|
|
33437
33967
|
}
|
|
33968
|
+
keyTweaksForAmount.push(batch);
|
|
33438
33969
|
}
|
|
33439
|
-
|
|
33440
|
-
|
|
33441
|
-
|
|
33442
|
-
|
|
33443
|
-
|
|
33970
|
+
tweaksByAmount.set(amount, keyTweaksForAmount);
|
|
33971
|
+
}
|
|
33972
|
+
return tweaksByAmount;
|
|
33973
|
+
}
|
|
33974
|
+
toSendTweak(node) {
|
|
33975
|
+
return {
|
|
33976
|
+
leaf: node,
|
|
33977
|
+
keyDerivation: { type: "leaf" /* LEAF */, path: node.id },
|
|
33978
|
+
newKeyDerivation: { type: "random" /* RANDOM */ }
|
|
33979
|
+
};
|
|
33444
33980
|
}
|
|
33445
33981
|
async checkExtendTimeLockNodes(nodes) {
|
|
33446
33982
|
const nodesToExtend = [];
|
|
@@ -33598,7 +34134,7 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
33598
34134
|
}
|
|
33599
34135
|
if (emit) {
|
|
33600
34136
|
this.emit(
|
|
33601
|
-
|
|
34137
|
+
SparkWalletEvent.TransferClaimed,
|
|
33602
34138
|
transfer.id,
|
|
33603
34139
|
(await this.getBalance()).balance
|
|
33604
34140
|
);
|
|
@@ -33616,10 +34152,20 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
33616
34152
|
emit,
|
|
33617
34153
|
optimize
|
|
33618
34154
|
}) {
|
|
33619
|
-
const onError = (context) => {
|
|
34155
|
+
const onError = async (context) => {
|
|
33620
34156
|
const error = context.error;
|
|
33621
34157
|
if (error instanceof RPCError && error.originalError instanceof import_nice_grpc_common3.ClientError && error.originalError.code === import_nice_grpc_common3.Status.ALREADY_EXISTS) {
|
|
33622
|
-
|
|
34158
|
+
const transferToUse = context.data || transfer;
|
|
34159
|
+
const updatedTransfer = await this.transferService.queryTransfer(
|
|
34160
|
+
transferToUse.id
|
|
34161
|
+
);
|
|
34162
|
+
if (!updatedTransfer) {
|
|
34163
|
+
return void 0;
|
|
34164
|
+
}
|
|
34165
|
+
const leaves = updatedTransfer.leaves.flatMap(
|
|
34166
|
+
(leaf) => leaf.leaf ? [leaf.leaf] : []
|
|
34167
|
+
);
|
|
34168
|
+
return leaves;
|
|
33623
34169
|
}
|
|
33624
34170
|
return;
|
|
33625
34171
|
};
|
|
@@ -33922,7 +34468,13 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
33922
34468
|
expected: `${totalAmount} sats`
|
|
33923
34469
|
});
|
|
33924
34470
|
}
|
|
33925
|
-
|
|
34471
|
+
const selectedLeaves = (await this.selectLeaves([totalAmount])).get(
|
|
34472
|
+
totalAmount
|
|
34473
|
+
);
|
|
34474
|
+
let leaves = this.popOrThrow(
|
|
34475
|
+
selectedLeaves,
|
|
34476
|
+
`no leaves for ${totalAmount}`
|
|
34477
|
+
);
|
|
33926
34478
|
leaves = await this.checkRefreshTimelockNodes(leaves);
|
|
33927
34479
|
leaves = await this.checkExtendTimeLockNodes(leaves);
|
|
33928
34480
|
const leavesToSend = await Promise.all(
|
|
@@ -33960,7 +34512,7 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
33960
34512
|
);
|
|
33961
34513
|
const sspResponse = await sspClient.requestLightningSend({
|
|
33962
34514
|
encodedInvoice: invoice,
|
|
33963
|
-
idempotencyKey:
|
|
34515
|
+
idempotencyKey: (0, import_uuidv75.uuidv7)(),
|
|
33964
34516
|
amountSats: isZeroAmountInvoice ? amountSatsToSend : void 0
|
|
33965
34517
|
});
|
|
33966
34518
|
if (!sspResponse) {
|
|
@@ -33979,99 +34531,237 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
33979
34531
|
expected: "Non-empty array"
|
|
33980
34532
|
});
|
|
33981
34533
|
}
|
|
34534
|
+
const satsTransactionSuccess = [];
|
|
34535
|
+
const satsTransactionErrors = [];
|
|
34536
|
+
const tokenTransactionSuccess = [];
|
|
34537
|
+
const tokenTransactionErrors = [];
|
|
34538
|
+
const { satsInvoices, tokenInvoices, invalidInvoices } = await this.groupSparkInvoicesByPaymentType(sparkInvoices);
|
|
34539
|
+
if (invalidInvoices.length > 0) {
|
|
34540
|
+
return {
|
|
34541
|
+
satsTransactionSuccess,
|
|
34542
|
+
satsTransactionErrors,
|
|
34543
|
+
tokenTransactionSuccess,
|
|
34544
|
+
tokenTransactionErrors,
|
|
34545
|
+
invalidInvoices
|
|
34546
|
+
};
|
|
34547
|
+
}
|
|
34548
|
+
if (tokenInvoices.size > 0) {
|
|
34549
|
+
await this.syncTokenOutputs();
|
|
34550
|
+
const tokenTransferTasks = [];
|
|
34551
|
+
for (const [identifierHex, decodedInvoices] of tokenInvoices.entries()) {
|
|
34552
|
+
const tokenIdentifier = (0, import_utils23.hexToBytes)(identifierHex);
|
|
34553
|
+
const tokenIdB32 = encodeBech32mTokenIdentifier({
|
|
34554
|
+
tokenIdentifier,
|
|
34555
|
+
network: this.config.getNetworkType()
|
|
34556
|
+
});
|
|
34557
|
+
const receiverOutputs = decodedInvoices.map((d) => ({
|
|
34558
|
+
tokenIdentifier: tokenIdB32,
|
|
34559
|
+
tokenAmount: d.amount,
|
|
34560
|
+
receiverSparkAddress: d.invoice
|
|
34561
|
+
}));
|
|
34562
|
+
const invoices = decodedInvoices.map(
|
|
34563
|
+
(d) => d.invoice
|
|
34564
|
+
);
|
|
34565
|
+
tokenTransferTasks.push(
|
|
34566
|
+
this.tokenTransactionService.tokenTransfer({ tokenOutputs: this.tokenOutputs, receiverOutputs }).then((txid) => ({
|
|
34567
|
+
ok: true,
|
|
34568
|
+
tokenIdentifier: tokenIdB32,
|
|
34569
|
+
invoices,
|
|
34570
|
+
txid
|
|
34571
|
+
})).catch((e) => ({
|
|
34572
|
+
ok: false,
|
|
34573
|
+
tokenIdentifier: tokenIdB32,
|
|
34574
|
+
invoices,
|
|
34575
|
+
error: e instanceof Error ? e : new Error(String(e))
|
|
34576
|
+
}))
|
|
34577
|
+
);
|
|
34578
|
+
}
|
|
34579
|
+
const results = await Promise.all(tokenTransferTasks);
|
|
34580
|
+
for (const r of results) {
|
|
34581
|
+
if (r.ok) {
|
|
34582
|
+
tokenTransactionSuccess.push({
|
|
34583
|
+
tokenIdentifier: r.tokenIdentifier,
|
|
34584
|
+
invoices: r.invoices,
|
|
34585
|
+
txid: r.txid
|
|
34586
|
+
});
|
|
34587
|
+
} else {
|
|
34588
|
+
tokenTransactionErrors.push({
|
|
34589
|
+
tokenIdentifier: r.tokenIdentifier,
|
|
34590
|
+
invoices: r.invoices,
|
|
34591
|
+
error: r.error
|
|
34592
|
+
});
|
|
34593
|
+
}
|
|
34594
|
+
}
|
|
34595
|
+
}
|
|
34596
|
+
if (satsInvoices.length > 0) {
|
|
34597
|
+
const transfers = await this.transferWithInvoice(satsInvoices);
|
|
34598
|
+
for (const transfer of transfers) {
|
|
34599
|
+
if (transfer.ok) {
|
|
34600
|
+
satsTransactionSuccess.push({
|
|
34601
|
+
invoice: transfer.param.sparkInvoice ?? "",
|
|
34602
|
+
transferResponse: transfer.transfer
|
|
34603
|
+
});
|
|
34604
|
+
} else {
|
|
34605
|
+
satsTransactionErrors.push({
|
|
34606
|
+
invoice: transfer.param.sparkInvoice ?? "",
|
|
34607
|
+
error: transfer.error
|
|
34608
|
+
});
|
|
34609
|
+
}
|
|
34610
|
+
}
|
|
34611
|
+
}
|
|
34612
|
+
return {
|
|
34613
|
+
satsTransactionSuccess,
|
|
34614
|
+
satsTransactionErrors,
|
|
34615
|
+
tokenTransactionSuccess,
|
|
34616
|
+
tokenTransactionErrors,
|
|
34617
|
+
invalidInvoices
|
|
34618
|
+
};
|
|
34619
|
+
}
|
|
34620
|
+
async groupSparkInvoicesByPaymentType(sparkInvoices) {
|
|
34621
|
+
const satsInvoices = [];
|
|
34622
|
+
const tokenInvoices = /* @__PURE__ */ new Map();
|
|
34623
|
+
const invalidInvoices = [];
|
|
33982
34624
|
const identityPublicKey = await this.getIdentityPublicKey();
|
|
33983
|
-
|
|
33984
|
-
const decoded = sparkInvoices.map((input, index) => {
|
|
34625
|
+
sparkInvoices.forEach((input) => {
|
|
33985
34626
|
const { invoice, amount } = input;
|
|
34627
|
+
if (isLegacySparkAddress(invoice)) {
|
|
34628
|
+
invalidInvoices.push({
|
|
34629
|
+
invoice,
|
|
34630
|
+
error: new ValidationError("Deprecated spark invoice format", {
|
|
34631
|
+
field: "invoice",
|
|
34632
|
+
value: invoice,
|
|
34633
|
+
expected: "Modern spark invoice format. Deprecated formats are not supported."
|
|
34634
|
+
})
|
|
34635
|
+
});
|
|
34636
|
+
return;
|
|
34637
|
+
}
|
|
33986
34638
|
const addressData = decodeSparkAddress(
|
|
33987
34639
|
invoice,
|
|
33988
34640
|
this.config.getNetworkType()
|
|
33989
34641
|
);
|
|
33990
34642
|
if (!addressData.sparkInvoiceFields) {
|
|
33991
|
-
|
|
33992
|
-
|
|
33993
|
-
|
|
33994
|
-
|
|
34643
|
+
invalidInvoices.push({
|
|
34644
|
+
invoice,
|
|
34645
|
+
error: new ValidationError("Missing invoice fields", {
|
|
34646
|
+
field: "invoice",
|
|
34647
|
+
value: invoice,
|
|
34648
|
+
expected: "Valid invoice fields"
|
|
34649
|
+
})
|
|
33995
34650
|
});
|
|
34651
|
+
return;
|
|
33996
34652
|
}
|
|
33997
34653
|
const fields = addressData.sparkInvoiceFields;
|
|
33998
|
-
if (fields.paymentType?.type === "sats") {
|
|
33999
|
-
throw new NotImplementedError("Sats payments are not supported yet");
|
|
34000
|
-
}
|
|
34001
34654
|
if (fields.expiryTime) {
|
|
34002
34655
|
if (fields.expiryTime.getTime() <= Date.now()) {
|
|
34003
|
-
|
|
34004
|
-
|
|
34005
|
-
|
|
34006
|
-
|
|
34007
|
-
|
|
34656
|
+
invalidInvoices.push({
|
|
34657
|
+
invoice,
|
|
34658
|
+
error: new ValidationError("Invoice expired", {
|
|
34659
|
+
field: "invoice",
|
|
34660
|
+
value: fields.expiryTime.getTime(),
|
|
34661
|
+
expected: "Expiry time in the future"
|
|
34662
|
+
})
|
|
34008
34663
|
});
|
|
34664
|
+
return;
|
|
34009
34665
|
}
|
|
34010
34666
|
}
|
|
34011
|
-
if (fields.paymentType?.type !== "tokens") {
|
|
34012
|
-
throw new ValidationError("Invalid payment type", {
|
|
34013
|
-
field: "paymentType",
|
|
34014
|
-
value: fields.paymentType,
|
|
34015
|
-
expected: "tokens",
|
|
34016
|
-
index
|
|
34017
|
-
});
|
|
34018
|
-
}
|
|
34019
34667
|
if (fields.senderPublicKey && fields.senderPublicKey !== identityPublicKey) {
|
|
34020
|
-
|
|
34021
|
-
|
|
34668
|
+
invalidInvoices.push({
|
|
34669
|
+
invoice,
|
|
34670
|
+
error: new ValidationError("Sender public key mismatch", {
|
|
34671
|
+
field: "invoice",
|
|
34672
|
+
value: fields.senderPublicKey,
|
|
34673
|
+
expected: identityPublicKey
|
|
34674
|
+
})
|
|
34022
34675
|
});
|
|
34676
|
+
return;
|
|
34023
34677
|
}
|
|
34024
|
-
|
|
34025
|
-
|
|
34026
|
-
|
|
34027
|
-
|
|
34028
|
-
|
|
34029
|
-
|
|
34678
|
+
if (fields.paymentType?.type === "sats") {
|
|
34679
|
+
const encodedAmount = fields.paymentType.amount;
|
|
34680
|
+
if (amount && !isSafeForNumber(amount)) {
|
|
34681
|
+
invalidInvoices.push({
|
|
34682
|
+
invoice,
|
|
34683
|
+
error: new ValidationError("Invalid amount", {
|
|
34684
|
+
field: "invoice",
|
|
34685
|
+
value: amount,
|
|
34686
|
+
expected: "Safe for number"
|
|
34687
|
+
})
|
|
34688
|
+
});
|
|
34689
|
+
return;
|
|
34690
|
+
}
|
|
34691
|
+
if (!encodedAmount && !amount) {
|
|
34692
|
+
invalidInvoices.push({
|
|
34693
|
+
invoice,
|
|
34694
|
+
error: new ValidationError(
|
|
34695
|
+
"No amount passed for nil amount invoice",
|
|
34696
|
+
{
|
|
34697
|
+
field: "invoice",
|
|
34698
|
+
expected: "Amount to fulfill passed to function for nil amount invoice"
|
|
34699
|
+
}
|
|
34700
|
+
)
|
|
34701
|
+
});
|
|
34702
|
+
return;
|
|
34703
|
+
}
|
|
34704
|
+
satsInvoices.push({
|
|
34705
|
+
amountSats: encodedAmount ?? Number(amount),
|
|
34706
|
+
receiverIdentityPubkey: (0, import_utils23.hexToBytes)(addressData.identityPublicKey),
|
|
34707
|
+
sparkInvoice: invoice
|
|
34708
|
+
});
|
|
34709
|
+
} else if (fields.paymentType?.type === "tokens") {
|
|
34710
|
+
const tokenIdentifierHex = fields.paymentType.tokenIdentifier;
|
|
34711
|
+
const encodedAmount = fields.paymentType.amount;
|
|
34712
|
+
if (!tokenIdentifierHex) {
|
|
34713
|
+
invalidInvoices.push({
|
|
34714
|
+
invoice,
|
|
34715
|
+
error: new ValidationError(
|
|
34716
|
+
"No token identifier passed for tokens invoice",
|
|
34717
|
+
{
|
|
34718
|
+
field: "invoice",
|
|
34719
|
+
value: invoice,
|
|
34720
|
+
expected: "Token identifier passed"
|
|
34721
|
+
}
|
|
34722
|
+
)
|
|
34723
|
+
});
|
|
34724
|
+
return;
|
|
34725
|
+
}
|
|
34726
|
+
if (!encodedAmount && !amount) {
|
|
34727
|
+
invalidInvoices.push({
|
|
34728
|
+
invoice,
|
|
34729
|
+
error: new ValidationError(
|
|
34730
|
+
"No amount passed for nil amount invoice",
|
|
34731
|
+
{
|
|
34732
|
+
field: "invoice",
|
|
34733
|
+
expected: "Amount to fulfill passed to function for nil amount invoice"
|
|
34734
|
+
}
|
|
34735
|
+
)
|
|
34736
|
+
});
|
|
34737
|
+
return;
|
|
34738
|
+
}
|
|
34739
|
+
if (!tokenInvoices.has(tokenIdentifierHex)) {
|
|
34740
|
+
tokenInvoices.set(tokenIdentifierHex, [
|
|
34741
|
+
{
|
|
34742
|
+
invoice,
|
|
34743
|
+
identifierHex: tokenIdentifierHex,
|
|
34744
|
+
amount: encodedAmount ?? amount
|
|
34745
|
+
}
|
|
34746
|
+
]);
|
|
34747
|
+
} else {
|
|
34748
|
+
tokenInvoices.get(tokenIdentifierHex).push({
|
|
34749
|
+
invoice,
|
|
34750
|
+
identifierHex: tokenIdentifierHex,
|
|
34751
|
+
amount: encodedAmount ?? amount
|
|
34752
|
+
});
|
|
34753
|
+
}
|
|
34754
|
+
} else {
|
|
34755
|
+
invalidInvoices.push({
|
|
34756
|
+
invoice,
|
|
34757
|
+
error: new ValidationError("Invalid payment type", {
|
|
34758
|
+
field: "invoice",
|
|
34759
|
+
expected: "sats or tokens invoice"
|
|
34760
|
+
})
|
|
34030
34761
|
});
|
|
34031
34762
|
}
|
|
34032
|
-
if (!firstTokenIdentifierHexSeen) {
|
|
34033
|
-
firstTokenIdentifierHexSeen = tokenIdentifierHex;
|
|
34034
|
-
} else if (tokenIdentifierHex !== firstTokenIdentifierHexSeen) {
|
|
34035
|
-
throw new ValidationError(
|
|
34036
|
-
"All spark invoices must have the same token identifier",
|
|
34037
|
-
{
|
|
34038
|
-
field: "sparkInvoices",
|
|
34039
|
-
value: sparkInvoices,
|
|
34040
|
-
expected: "All invoices reference the same token identifier",
|
|
34041
|
-
index
|
|
34042
|
-
}
|
|
34043
|
-
);
|
|
34044
|
-
}
|
|
34045
|
-
let tokenAmount = fields.paymentType.amount ?? amount;
|
|
34046
|
-
if (!tokenAmount) {
|
|
34047
|
-
throw new ValidationError(
|
|
34048
|
-
"Missing token amount. Provide an amount in the invoice or as a parameter.",
|
|
34049
|
-
{
|
|
34050
|
-
field: "amount",
|
|
34051
|
-
index
|
|
34052
|
-
}
|
|
34053
|
-
);
|
|
34054
|
-
}
|
|
34055
|
-
return {
|
|
34056
|
-
invoice,
|
|
34057
|
-
tokenIdentifierHex,
|
|
34058
|
-
tokenAmount
|
|
34059
|
-
};
|
|
34060
|
-
});
|
|
34061
|
-
await this.syncTokenOutputs();
|
|
34062
|
-
const bech32mTokenIdentifier = encodeBech32mTokenIdentifier({
|
|
34063
|
-
tokenIdentifier: (0, import_utils23.hexToBytes)(firstTokenIdentifierHexSeen),
|
|
34064
|
-
network: this.config.getNetworkType()
|
|
34065
|
-
});
|
|
34066
|
-
const receiverOutputs = decoded.map((d) => ({
|
|
34067
|
-
tokenIdentifier: bech32mTokenIdentifier,
|
|
34068
|
-
tokenAmount: d.tokenAmount,
|
|
34069
|
-
receiverSparkAddress: d.invoice
|
|
34070
|
-
}));
|
|
34071
|
-
return this.tokenTransactionService.tokenTransfer({
|
|
34072
|
-
tokenOutputs: this.tokenOutputs,
|
|
34073
|
-
receiverOutputs
|
|
34074
34763
|
});
|
|
34764
|
+
return { satsInvoices, tokenInvoices, invalidInvoices };
|
|
34075
34765
|
}
|
|
34076
34766
|
/**
|
|
34077
34767
|
* Gets fee estimate for sending Lightning payments.
|
|
@@ -34170,7 +34860,12 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
34170
34860
|
let leavesToSendToSsp = [];
|
|
34171
34861
|
let leavesToSendToSE = [];
|
|
34172
34862
|
if (deductFeeFromWithdrawalAmount) {
|
|
34173
|
-
leavesToSendToSsp = targetAmountSats ?
|
|
34863
|
+
leavesToSendToSsp = targetAmountSats ? this.popOrThrow(
|
|
34864
|
+
(await this.selectLeaves([targetAmountSats])).get(
|
|
34865
|
+
targetAmountSats
|
|
34866
|
+
),
|
|
34867
|
+
`no leaves for ${targetAmountSats}`
|
|
34868
|
+
) : this.leaves;
|
|
34174
34869
|
if (fee > leavesToSendToSsp.reduce((acc, leaf) => acc + leaf.value, 0)) {
|
|
34175
34870
|
throw new ValidationError(
|
|
34176
34871
|
"The fee for the withdrawal is greater than the target withdrawal amount",
|
|
@@ -34193,8 +34888,14 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
34193
34888
|
);
|
|
34194
34889
|
}
|
|
34195
34890
|
const leaves = await this.selectLeaves([targetAmountSats, fee]);
|
|
34196
|
-
const leavesForTargetAmount =
|
|
34197
|
-
|
|
34891
|
+
const leavesForTargetAmount = this.popOrThrow(
|
|
34892
|
+
leaves.get(targetAmountSats),
|
|
34893
|
+
`failed to get leaves leaves for targetAmount, val: ${targetAmountSats}`
|
|
34894
|
+
);
|
|
34895
|
+
const leavesForFee = this.popOrThrow(
|
|
34896
|
+
leaves.get(fee),
|
|
34897
|
+
`failed to get leaves leaves for fee, val: ${fee}`
|
|
34898
|
+
);
|
|
34198
34899
|
if (!leavesForTargetAmount || !leavesForFee) {
|
|
34199
34900
|
throw new Error("Failed to select leaves for target amount and fee");
|
|
34200
34901
|
}
|
|
@@ -34285,7 +34986,10 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
34285
34986
|
expected: "smaller or equal to " + Number.MAX_SAFE_INTEGER
|
|
34286
34987
|
});
|
|
34287
34988
|
}
|
|
34288
|
-
let leaves =
|
|
34989
|
+
let leaves = this.popOrThrow(
|
|
34990
|
+
(await this.selectLeaves([amountSats])).get(amountSats),
|
|
34991
|
+
`no leaves for ${amountSats}`
|
|
34992
|
+
);
|
|
34289
34993
|
leaves = await this.checkRefreshTimelockNodes(leaves);
|
|
34290
34994
|
leaves = await this.checkExtendTimeLockNodes(leaves);
|
|
34291
34995
|
const feeEstimate = await sspClient.getCoopExitFeeQuote({
|
|
@@ -34961,6 +35665,9 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
34961
35665
|
offset += pageSize;
|
|
34962
35666
|
}
|
|
34963
35667
|
}
|
|
35668
|
+
async isOptimizationInProgress() {
|
|
35669
|
+
return this.optimizationInProgress;
|
|
35670
|
+
}
|
|
34964
35671
|
getOtelTraceUrls() {
|
|
34965
35672
|
const soConfig = this.config.getSigningOperators();
|
|
34966
35673
|
const sspBaseUrl = this.config.getSspBaseUrl();
|
|
@@ -35718,6 +36425,7 @@ setFetch(sparkBareFetch, Headers2);
|
|
|
35718
36425
|
addPublicKeys,
|
|
35719
36426
|
applyAdaptorToSignature,
|
|
35720
36427
|
applyAdditiveTweakToPublicKey,
|
|
36428
|
+
assertBech32,
|
|
35721
36429
|
bech32mDecode,
|
|
35722
36430
|
bigIntToPrivateKey,
|
|
35723
36431
|
checkIfSelectedOutputsAreAvailable,
|
|
@@ -35780,6 +36488,8 @@ setFetch(sparkBareFetch, Headers2);
|
|
|
35780
36488
|
getTxId,
|
|
35781
36489
|
getTxIdNoReverse,
|
|
35782
36490
|
isEphemeralAnchorOutput,
|
|
36491
|
+
isLegacySparkAddress,
|
|
36492
|
+
isSafeForNumber,
|
|
35783
36493
|
isTxBroadcast,
|
|
35784
36494
|
isValidPublicKey,
|
|
35785
36495
|
isValidSparkAddress,
|