@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/index.cjs
CHANGED
|
@@ -1110,14 +1110,34 @@ function signFrost({
|
|
|
1110
1110
|
statechainCommitments,
|
|
1111
1111
|
adaptorPubKey
|
|
1112
1112
|
}) {
|
|
1113
|
-
|
|
1113
|
+
const logMsg = JSON.stringify({
|
|
1114
1114
|
message: (0, import_utils12.bytesToHex)(message),
|
|
1115
|
-
keyPackage
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1115
|
+
keyPackage: {
|
|
1116
|
+
secretKey: (0, import_utils12.bytesToHex)(keyPackage.secretKey),
|
|
1117
|
+
publicKey: (0, import_utils12.bytesToHex)(keyPackage.publicKey),
|
|
1118
|
+
verifyingKey: (0, import_utils12.bytesToHex)(keyPackage.verifyingKey)
|
|
1119
|
+
},
|
|
1120
|
+
nonce: {
|
|
1121
|
+
hiding: (0, import_utils12.bytesToHex)(nonce.hiding),
|
|
1122
|
+
binding: (0, import_utils12.bytesToHex)(nonce.binding)
|
|
1123
|
+
},
|
|
1124
|
+
selfCommitment: {
|
|
1125
|
+
hiding: (0, import_utils12.bytesToHex)(selfCommitment.hiding),
|
|
1126
|
+
binding: (0, import_utils12.bytesToHex)(selfCommitment.binding)
|
|
1127
|
+
},
|
|
1128
|
+
statechainCommitments: Object.fromEntries(
|
|
1129
|
+
Object.entries(statechainCommitments ?? {}).map(([k, v]) => [
|
|
1130
|
+
k,
|
|
1131
|
+
{
|
|
1132
|
+
hiding: (0, import_utils12.bytesToHex)(v.hiding),
|
|
1133
|
+
binding: (0, import_utils12.bytesToHex)(v.binding)
|
|
1134
|
+
}
|
|
1135
|
+
])
|
|
1136
|
+
),
|
|
1137
|
+
adaptorPubKey: adaptorPubKey ? (0, import_utils12.bytesToHex)(adaptorPubKey) : void 0
|
|
1119
1138
|
});
|
|
1120
|
-
|
|
1139
|
+
SparkSdkLogger.get(LOGGER_NAMES.wasm).trace("signFrost", logMsg);
|
|
1140
|
+
const result = wasm_sign_frost(
|
|
1121
1141
|
message,
|
|
1122
1142
|
createKeyPackage(keyPackage),
|
|
1123
1143
|
createSigningNonce2(nonce),
|
|
@@ -1125,6 +1145,11 @@ function signFrost({
|
|
|
1125
1145
|
statechainCommitments,
|
|
1126
1146
|
adaptorPubKey
|
|
1127
1147
|
);
|
|
1148
|
+
SparkSdkLogger.get(LOGGER_NAMES.wasm).trace(
|
|
1149
|
+
"signFrost result",
|
|
1150
|
+
(0, import_utils12.bytesToHex)(result)
|
|
1151
|
+
);
|
|
1152
|
+
return result;
|
|
1128
1153
|
}
|
|
1129
1154
|
function aggregateFrost({
|
|
1130
1155
|
message,
|
|
@@ -1137,18 +1162,40 @@ function aggregateFrost({
|
|
|
1137
1162
|
verifyingKey,
|
|
1138
1163
|
adaptorPubKey
|
|
1139
1164
|
}) {
|
|
1140
|
-
|
|
1165
|
+
const logMsg = JSON.stringify({
|
|
1141
1166
|
message: (0, import_utils12.bytesToHex)(message),
|
|
1142
|
-
statechainCommitments
|
|
1143
|
-
|
|
1144
|
-
|
|
1167
|
+
statechainCommitments: Object.fromEntries(
|
|
1168
|
+
Object.entries(statechainCommitments ?? {}).map(([k, v]) => [
|
|
1169
|
+
k,
|
|
1170
|
+
{
|
|
1171
|
+
hiding: (0, import_utils12.bytesToHex)(v.hiding),
|
|
1172
|
+
binding: (0, import_utils12.bytesToHex)(v.binding)
|
|
1173
|
+
}
|
|
1174
|
+
])
|
|
1175
|
+
),
|
|
1176
|
+
selfCommitment: {
|
|
1177
|
+
hiding: (0, import_utils12.bytesToHex)(selfCommitment.hiding),
|
|
1178
|
+
binding: (0, import_utils12.bytesToHex)(selfCommitment.binding)
|
|
1179
|
+
},
|
|
1180
|
+
statechainSignatures: Object.fromEntries(
|
|
1181
|
+
Object.entries(statechainSignatures ?? {}).map(([k, v]) => [
|
|
1182
|
+
k,
|
|
1183
|
+
(0, import_utils12.bytesToHex)(v)
|
|
1184
|
+
])
|
|
1185
|
+
),
|
|
1145
1186
|
selfSignature: (0, import_utils12.bytesToHex)(selfSignature),
|
|
1146
|
-
statechainPublicKeys
|
|
1187
|
+
statechainPublicKeys: Object.fromEntries(
|
|
1188
|
+
Object.entries(statechainPublicKeys ?? {}).map(([k, v]) => [
|
|
1189
|
+
k,
|
|
1190
|
+
(0, import_utils12.bytesToHex)(v)
|
|
1191
|
+
])
|
|
1192
|
+
),
|
|
1147
1193
|
selfPublicKey: (0, import_utils12.bytesToHex)(selfPublicKey),
|
|
1148
1194
|
verifyingKey: (0, import_utils12.bytesToHex)(verifyingKey),
|
|
1149
1195
|
adaptorPubKey: adaptorPubKey ? (0, import_utils12.bytesToHex)(adaptorPubKey) : void 0
|
|
1150
1196
|
});
|
|
1151
|
-
|
|
1197
|
+
SparkSdkLogger.get(LOGGER_NAMES.wasm).trace("aggregateFrost", logMsg);
|
|
1198
|
+
const result = wasm_aggregate_frost(
|
|
1152
1199
|
message,
|
|
1153
1200
|
statechainCommitments,
|
|
1154
1201
|
createSigningCommitment2(selfCommitment),
|
|
@@ -1159,6 +1206,11 @@ function aggregateFrost({
|
|
|
1159
1206
|
verifyingKey,
|
|
1160
1207
|
adaptorPubKey
|
|
1161
1208
|
);
|
|
1209
|
+
SparkSdkLogger.get(LOGGER_NAMES.wasm).trace(
|
|
1210
|
+
"aggregateFrost result",
|
|
1211
|
+
(0, import_utils12.bytesToHex)(result)
|
|
1212
|
+
);
|
|
1213
|
+
return result;
|
|
1162
1214
|
}
|
|
1163
1215
|
function createDummyTx({
|
|
1164
1216
|
address: address2,
|
|
@@ -1385,6 +1437,7 @@ __export(index_exports, {
|
|
|
1385
1437
|
SparkSDKError: () => SparkSDKError,
|
|
1386
1438
|
SparkSdkLogger: () => SparkSdkLogger,
|
|
1387
1439
|
SparkWallet: () => SparkWalletBrowser,
|
|
1440
|
+
SparkWalletEvent: () => SparkWalletEvent,
|
|
1388
1441
|
TEST_UNILATERAL_DIRECT_SEQUENCE: () => TEST_UNILATERAL_DIRECT_SEQUENCE,
|
|
1389
1442
|
TEST_UNILATERAL_SEQUENCE: () => TEST_UNILATERAL_SEQUENCE,
|
|
1390
1443
|
TaprootOutputKeysGenerator: () => TaprootOutputKeysGenerator,
|
|
@@ -1397,6 +1450,7 @@ __export(index_exports, {
|
|
|
1397
1450
|
addPublicKeys: () => addPublicKeys,
|
|
1398
1451
|
applyAdaptorToSignature: () => applyAdaptorToSignature,
|
|
1399
1452
|
applyAdditiveTweakToPublicKey: () => applyAdditiveTweakToPublicKey,
|
|
1453
|
+
assertBech32: () => assertBech32,
|
|
1400
1454
|
bech32mDecode: () => bech32mDecode,
|
|
1401
1455
|
bigIntToPrivateKey: () => bigIntToPrivateKey,
|
|
1402
1456
|
checkIfSelectedOutputsAreAvailable: () => checkIfSelectedOutputsAreAvailable,
|
|
@@ -1460,6 +1514,8 @@ __export(index_exports, {
|
|
|
1460
1514
|
getTxIdNoReverse: () => getTxIdNoReverse,
|
|
1461
1515
|
initializeTracerEnv: () => initializeTracerEnvBrowser,
|
|
1462
1516
|
isEphemeralAnchorOutput: () => isEphemeralAnchorOutput,
|
|
1517
|
+
isLegacySparkAddress: () => isLegacySparkAddress,
|
|
1518
|
+
isSafeForNumber: () => isSafeForNumber,
|
|
1463
1519
|
isTxBroadcast: () => isTxBroadcast,
|
|
1464
1520
|
isValidPublicKey: () => isValidPublicKey,
|
|
1465
1521
|
isValidSparkAddress: () => isValidSparkAddress,
|
|
@@ -1941,6 +1997,31 @@ function networkToJSON(object) {
|
|
|
1941
1997
|
return "UNRECOGNIZED";
|
|
1942
1998
|
}
|
|
1943
1999
|
}
|
|
2000
|
+
function directionFromJSON(object) {
|
|
2001
|
+
switch (object) {
|
|
2002
|
+
case 0:
|
|
2003
|
+
case "NEXT":
|
|
2004
|
+
return 0 /* NEXT */;
|
|
2005
|
+
case 1:
|
|
2006
|
+
case "PREVIOUS":
|
|
2007
|
+
return 1 /* PREVIOUS */;
|
|
2008
|
+
case -1:
|
|
2009
|
+
case "UNRECOGNIZED":
|
|
2010
|
+
default:
|
|
2011
|
+
return -1 /* UNRECOGNIZED */;
|
|
2012
|
+
}
|
|
2013
|
+
}
|
|
2014
|
+
function directionToJSON(object) {
|
|
2015
|
+
switch (object) {
|
|
2016
|
+
case 0 /* NEXT */:
|
|
2017
|
+
return "NEXT";
|
|
2018
|
+
case 1 /* PREVIOUS */:
|
|
2019
|
+
return "PREVIOUS";
|
|
2020
|
+
case -1 /* UNRECOGNIZED */:
|
|
2021
|
+
default:
|
|
2022
|
+
return "UNRECOGNIZED";
|
|
2023
|
+
}
|
|
2024
|
+
}
|
|
1944
2025
|
function tokenTransactionStatusFromJSON(object) {
|
|
1945
2026
|
switch (object) {
|
|
1946
2027
|
case 0:
|
|
@@ -2536,6 +2617,187 @@ var DepositEvent = {
|
|
|
2536
2617
|
return message;
|
|
2537
2618
|
}
|
|
2538
2619
|
};
|
|
2620
|
+
function createBasePageRequest() {
|
|
2621
|
+
return { pageSize: 0, cursor: "", direction: 0 };
|
|
2622
|
+
}
|
|
2623
|
+
var PageRequest = {
|
|
2624
|
+
encode(message, writer = new import_wire4.BinaryWriter()) {
|
|
2625
|
+
if (message.pageSize !== 0) {
|
|
2626
|
+
writer.uint32(8).int32(message.pageSize);
|
|
2627
|
+
}
|
|
2628
|
+
if (message.cursor !== "") {
|
|
2629
|
+
writer.uint32(18).string(message.cursor);
|
|
2630
|
+
}
|
|
2631
|
+
if (message.direction !== 0) {
|
|
2632
|
+
writer.uint32(24).int32(message.direction);
|
|
2633
|
+
}
|
|
2634
|
+
return writer;
|
|
2635
|
+
},
|
|
2636
|
+
decode(input, length) {
|
|
2637
|
+
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
2638
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
2639
|
+
const message = createBasePageRequest();
|
|
2640
|
+
while (reader.pos < end) {
|
|
2641
|
+
const tag = reader.uint32();
|
|
2642
|
+
switch (tag >>> 3) {
|
|
2643
|
+
case 1: {
|
|
2644
|
+
if (tag !== 8) {
|
|
2645
|
+
break;
|
|
2646
|
+
}
|
|
2647
|
+
message.pageSize = reader.int32();
|
|
2648
|
+
continue;
|
|
2649
|
+
}
|
|
2650
|
+
case 2: {
|
|
2651
|
+
if (tag !== 18) {
|
|
2652
|
+
break;
|
|
2653
|
+
}
|
|
2654
|
+
message.cursor = reader.string();
|
|
2655
|
+
continue;
|
|
2656
|
+
}
|
|
2657
|
+
case 3: {
|
|
2658
|
+
if (tag !== 24) {
|
|
2659
|
+
break;
|
|
2660
|
+
}
|
|
2661
|
+
message.direction = reader.int32();
|
|
2662
|
+
continue;
|
|
2663
|
+
}
|
|
2664
|
+
}
|
|
2665
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2666
|
+
break;
|
|
2667
|
+
}
|
|
2668
|
+
reader.skip(tag & 7);
|
|
2669
|
+
}
|
|
2670
|
+
return message;
|
|
2671
|
+
},
|
|
2672
|
+
fromJSON(object) {
|
|
2673
|
+
return {
|
|
2674
|
+
pageSize: isSet3(object.pageSize) ? globalThis.Number(object.pageSize) : 0,
|
|
2675
|
+
cursor: isSet3(object.cursor) ? globalThis.String(object.cursor) : "",
|
|
2676
|
+
direction: isSet3(object.direction) ? directionFromJSON(object.direction) : 0
|
|
2677
|
+
};
|
|
2678
|
+
},
|
|
2679
|
+
toJSON(message) {
|
|
2680
|
+
const obj = {};
|
|
2681
|
+
if (message.pageSize !== 0) {
|
|
2682
|
+
obj.pageSize = Math.round(message.pageSize);
|
|
2683
|
+
}
|
|
2684
|
+
if (message.cursor !== "") {
|
|
2685
|
+
obj.cursor = message.cursor;
|
|
2686
|
+
}
|
|
2687
|
+
if (message.direction !== 0) {
|
|
2688
|
+
obj.direction = directionToJSON(message.direction);
|
|
2689
|
+
}
|
|
2690
|
+
return obj;
|
|
2691
|
+
},
|
|
2692
|
+
create(base) {
|
|
2693
|
+
return PageRequest.fromPartial(base ?? {});
|
|
2694
|
+
},
|
|
2695
|
+
fromPartial(object) {
|
|
2696
|
+
const message = createBasePageRequest();
|
|
2697
|
+
message.pageSize = object.pageSize ?? 0;
|
|
2698
|
+
message.cursor = object.cursor ?? "";
|
|
2699
|
+
message.direction = object.direction ?? 0;
|
|
2700
|
+
return message;
|
|
2701
|
+
}
|
|
2702
|
+
};
|
|
2703
|
+
function createBasePageResponse() {
|
|
2704
|
+
return { hasNextPage: false, hasPreviousPage: false, nextCursor: "", previousCursor: "" };
|
|
2705
|
+
}
|
|
2706
|
+
var PageResponse = {
|
|
2707
|
+
encode(message, writer = new import_wire4.BinaryWriter()) {
|
|
2708
|
+
if (message.hasNextPage !== false) {
|
|
2709
|
+
writer.uint32(8).bool(message.hasNextPage);
|
|
2710
|
+
}
|
|
2711
|
+
if (message.hasPreviousPage !== false) {
|
|
2712
|
+
writer.uint32(16).bool(message.hasPreviousPage);
|
|
2713
|
+
}
|
|
2714
|
+
if (message.nextCursor !== "") {
|
|
2715
|
+
writer.uint32(26).string(message.nextCursor);
|
|
2716
|
+
}
|
|
2717
|
+
if (message.previousCursor !== "") {
|
|
2718
|
+
writer.uint32(34).string(message.previousCursor);
|
|
2719
|
+
}
|
|
2720
|
+
return writer;
|
|
2721
|
+
},
|
|
2722
|
+
decode(input, length) {
|
|
2723
|
+
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
2724
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
2725
|
+
const message = createBasePageResponse();
|
|
2726
|
+
while (reader.pos < end) {
|
|
2727
|
+
const tag = reader.uint32();
|
|
2728
|
+
switch (tag >>> 3) {
|
|
2729
|
+
case 1: {
|
|
2730
|
+
if (tag !== 8) {
|
|
2731
|
+
break;
|
|
2732
|
+
}
|
|
2733
|
+
message.hasNextPage = reader.bool();
|
|
2734
|
+
continue;
|
|
2735
|
+
}
|
|
2736
|
+
case 2: {
|
|
2737
|
+
if (tag !== 16) {
|
|
2738
|
+
break;
|
|
2739
|
+
}
|
|
2740
|
+
message.hasPreviousPage = reader.bool();
|
|
2741
|
+
continue;
|
|
2742
|
+
}
|
|
2743
|
+
case 3: {
|
|
2744
|
+
if (tag !== 26) {
|
|
2745
|
+
break;
|
|
2746
|
+
}
|
|
2747
|
+
message.nextCursor = reader.string();
|
|
2748
|
+
continue;
|
|
2749
|
+
}
|
|
2750
|
+
case 4: {
|
|
2751
|
+
if (tag !== 34) {
|
|
2752
|
+
break;
|
|
2753
|
+
}
|
|
2754
|
+
message.previousCursor = reader.string();
|
|
2755
|
+
continue;
|
|
2756
|
+
}
|
|
2757
|
+
}
|
|
2758
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2759
|
+
break;
|
|
2760
|
+
}
|
|
2761
|
+
reader.skip(tag & 7);
|
|
2762
|
+
}
|
|
2763
|
+
return message;
|
|
2764
|
+
},
|
|
2765
|
+
fromJSON(object) {
|
|
2766
|
+
return {
|
|
2767
|
+
hasNextPage: isSet3(object.hasNextPage) ? globalThis.Boolean(object.hasNextPage) : false,
|
|
2768
|
+
hasPreviousPage: isSet3(object.hasPreviousPage) ? globalThis.Boolean(object.hasPreviousPage) : false,
|
|
2769
|
+
nextCursor: isSet3(object.nextCursor) ? globalThis.String(object.nextCursor) : "",
|
|
2770
|
+
previousCursor: isSet3(object.previousCursor) ? globalThis.String(object.previousCursor) : ""
|
|
2771
|
+
};
|
|
2772
|
+
},
|
|
2773
|
+
toJSON(message) {
|
|
2774
|
+
const obj = {};
|
|
2775
|
+
if (message.hasNextPage !== false) {
|
|
2776
|
+
obj.hasNextPage = message.hasNextPage;
|
|
2777
|
+
}
|
|
2778
|
+
if (message.hasPreviousPage !== false) {
|
|
2779
|
+
obj.hasPreviousPage = message.hasPreviousPage;
|
|
2780
|
+
}
|
|
2781
|
+
if (message.nextCursor !== "") {
|
|
2782
|
+
obj.nextCursor = message.nextCursor;
|
|
2783
|
+
}
|
|
2784
|
+
if (message.previousCursor !== "") {
|
|
2785
|
+
obj.previousCursor = message.previousCursor;
|
|
2786
|
+
}
|
|
2787
|
+
return obj;
|
|
2788
|
+
},
|
|
2789
|
+
create(base) {
|
|
2790
|
+
return PageResponse.fromPartial(base ?? {});
|
|
2791
|
+
},
|
|
2792
|
+
fromPartial(object) {
|
|
2793
|
+
const message = createBasePageResponse();
|
|
2794
|
+
message.hasNextPage = object.hasNextPage ?? false;
|
|
2795
|
+
message.hasPreviousPage = object.hasPreviousPage ?? false;
|
|
2796
|
+
message.nextCursor = object.nextCursor ?? "";
|
|
2797
|
+
message.previousCursor = object.previousCursor ?? "";
|
|
2798
|
+
return message;
|
|
2799
|
+
}
|
|
2800
|
+
};
|
|
2539
2801
|
function createBaseDepositAddressProof() {
|
|
2540
2802
|
return { addressSignatures: {}, proofOfPossessionSignature: new Uint8Array(0) };
|
|
2541
2803
|
}
|
|
@@ -8043,7 +8305,7 @@ function createBaseStartTransferRequest() {
|
|
|
8043
8305
|
receiverIdentityPublicKey: new Uint8Array(0),
|
|
8044
8306
|
expiryTime: void 0,
|
|
8045
8307
|
transferPackage: void 0,
|
|
8046
|
-
|
|
8308
|
+
sparkInvoice: ""
|
|
8047
8309
|
};
|
|
8048
8310
|
}
|
|
8049
8311
|
var StartTransferRequest = {
|
|
@@ -8066,8 +8328,8 @@ var StartTransferRequest = {
|
|
|
8066
8328
|
if (message.transferPackage !== void 0) {
|
|
8067
8329
|
TransferPackage.encode(message.transferPackage, writer.uint32(58).fork()).join();
|
|
8068
8330
|
}
|
|
8069
|
-
if (message.
|
|
8070
|
-
writer.uint32(
|
|
8331
|
+
if (message.sparkInvoice !== "") {
|
|
8332
|
+
writer.uint32(82).string(message.sparkInvoice);
|
|
8071
8333
|
}
|
|
8072
8334
|
return writer;
|
|
8073
8335
|
},
|
|
@@ -8120,11 +8382,11 @@ var StartTransferRequest = {
|
|
|
8120
8382
|
message.transferPackage = TransferPackage.decode(reader, reader.uint32());
|
|
8121
8383
|
continue;
|
|
8122
8384
|
}
|
|
8123
|
-
case
|
|
8124
|
-
if (tag !==
|
|
8385
|
+
case 10: {
|
|
8386
|
+
if (tag !== 82) {
|
|
8125
8387
|
break;
|
|
8126
8388
|
}
|
|
8127
|
-
message.
|
|
8389
|
+
message.sparkInvoice = reader.string();
|
|
8128
8390
|
continue;
|
|
8129
8391
|
}
|
|
8130
8392
|
}
|
|
@@ -8143,7 +8405,7 @@ var StartTransferRequest = {
|
|
|
8143
8405
|
receiverIdentityPublicKey: isSet3(object.receiverIdentityPublicKey) ? bytesFromBase642(object.receiverIdentityPublicKey) : new Uint8Array(0),
|
|
8144
8406
|
expiryTime: isSet3(object.expiryTime) ? fromJsonTimestamp(object.expiryTime) : void 0,
|
|
8145
8407
|
transferPackage: isSet3(object.transferPackage) ? TransferPackage.fromJSON(object.transferPackage) : void 0,
|
|
8146
|
-
|
|
8408
|
+
sparkInvoice: isSet3(object.sparkInvoice) ? globalThis.String(object.sparkInvoice) : ""
|
|
8147
8409
|
};
|
|
8148
8410
|
},
|
|
8149
8411
|
toJSON(message) {
|
|
@@ -8166,8 +8428,8 @@ var StartTransferRequest = {
|
|
|
8166
8428
|
if (message.transferPackage !== void 0) {
|
|
8167
8429
|
obj.transferPackage = TransferPackage.toJSON(message.transferPackage);
|
|
8168
8430
|
}
|
|
8169
|
-
if (message.
|
|
8170
|
-
obj.
|
|
8431
|
+
if (message.sparkInvoice !== "") {
|
|
8432
|
+
obj.sparkInvoice = message.sparkInvoice;
|
|
8171
8433
|
}
|
|
8172
8434
|
return obj;
|
|
8173
8435
|
},
|
|
@@ -8182,7 +8444,7 @@ var StartTransferRequest = {
|
|
|
8182
8444
|
message.receiverIdentityPublicKey = object.receiverIdentityPublicKey ?? new Uint8Array(0);
|
|
8183
8445
|
message.expiryTime = object.expiryTime ?? void 0;
|
|
8184
8446
|
message.transferPackage = object.transferPackage !== void 0 && object.transferPackage !== null ? TransferPackage.fromPartial(object.transferPackage) : void 0;
|
|
8185
|
-
message.
|
|
8447
|
+
message.sparkInvoice = object.sparkInvoice ?? "";
|
|
8186
8448
|
return message;
|
|
8187
8449
|
}
|
|
8188
8450
|
};
|
|
@@ -9012,7 +9274,8 @@ function createBaseTransfer() {
|
|
|
9012
9274
|
leaves: [],
|
|
9013
9275
|
createdTime: void 0,
|
|
9014
9276
|
updatedTime: void 0,
|
|
9015
|
-
type: 0
|
|
9277
|
+
type: 0,
|
|
9278
|
+
sparkInvoice: ""
|
|
9016
9279
|
};
|
|
9017
9280
|
}
|
|
9018
9281
|
var Transfer = {
|
|
@@ -9047,6 +9310,9 @@ var Transfer = {
|
|
|
9047
9310
|
if (message.type !== 0) {
|
|
9048
9311
|
writer.uint32(80).int32(message.type);
|
|
9049
9312
|
}
|
|
9313
|
+
if (message.sparkInvoice !== "") {
|
|
9314
|
+
writer.uint32(90).string(message.sparkInvoice);
|
|
9315
|
+
}
|
|
9050
9316
|
return writer;
|
|
9051
9317
|
},
|
|
9052
9318
|
decode(input, length) {
|
|
@@ -9126,6 +9392,13 @@ var Transfer = {
|
|
|
9126
9392
|
message.type = reader.int32();
|
|
9127
9393
|
continue;
|
|
9128
9394
|
}
|
|
9395
|
+
case 11: {
|
|
9396
|
+
if (tag !== 90) {
|
|
9397
|
+
break;
|
|
9398
|
+
}
|
|
9399
|
+
message.sparkInvoice = reader.string();
|
|
9400
|
+
continue;
|
|
9401
|
+
}
|
|
9129
9402
|
}
|
|
9130
9403
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9131
9404
|
break;
|
|
@@ -9145,7 +9418,8 @@ var Transfer = {
|
|
|
9145
9418
|
leaves: globalThis.Array.isArray(object?.leaves) ? object.leaves.map((e) => TransferLeaf.fromJSON(e)) : [],
|
|
9146
9419
|
createdTime: isSet3(object.createdTime) ? fromJsonTimestamp(object.createdTime) : void 0,
|
|
9147
9420
|
updatedTime: isSet3(object.updatedTime) ? fromJsonTimestamp(object.updatedTime) : void 0,
|
|
9148
|
-
type: isSet3(object.type) ? transferTypeFromJSON(object.type) : 0
|
|
9421
|
+
type: isSet3(object.type) ? transferTypeFromJSON(object.type) : 0,
|
|
9422
|
+
sparkInvoice: isSet3(object.sparkInvoice) ? globalThis.String(object.sparkInvoice) : ""
|
|
9149
9423
|
};
|
|
9150
9424
|
},
|
|
9151
9425
|
toJSON(message) {
|
|
@@ -9180,6 +9454,9 @@ var Transfer = {
|
|
|
9180
9454
|
if (message.type !== 0) {
|
|
9181
9455
|
obj.type = transferTypeToJSON(message.type);
|
|
9182
9456
|
}
|
|
9457
|
+
if (message.sparkInvoice !== "") {
|
|
9458
|
+
obj.sparkInvoice = message.sparkInvoice;
|
|
9459
|
+
}
|
|
9183
9460
|
return obj;
|
|
9184
9461
|
},
|
|
9185
9462
|
create(base) {
|
|
@@ -9197,6 +9474,7 @@ var Transfer = {
|
|
|
9197
9474
|
message.createdTime = object.createdTime ?? void 0;
|
|
9198
9475
|
message.updatedTime = object.updatedTime ?? void 0;
|
|
9199
9476
|
message.type = object.type ?? 0;
|
|
9477
|
+
message.sparkInvoice = object.sparkInvoice ?? "";
|
|
9200
9478
|
return message;
|
|
9201
9479
|
}
|
|
9202
9480
|
};
|
|
@@ -16371,6 +16649,13 @@ function uint64be(value) {
|
|
|
16371
16649
|
// src/utils/address.ts
|
|
16372
16650
|
var BECH32M_LIMIT = 1024;
|
|
16373
16651
|
var AddressNetwork = {
|
|
16652
|
+
MAINNET: "spark",
|
|
16653
|
+
TESTNET: "sparkt",
|
|
16654
|
+
REGTEST: "sparkrt",
|
|
16655
|
+
SIGNET: "sparks",
|
|
16656
|
+
LOCAL: "sparkl"
|
|
16657
|
+
};
|
|
16658
|
+
var LegacyAddressNetwork = {
|
|
16374
16659
|
MAINNET: "sp",
|
|
16375
16660
|
TESTNET: "spt",
|
|
16376
16661
|
REGTEST: "sprt",
|
|
@@ -16418,11 +16703,11 @@ function encodeSparkAddressWithSignature(payload, signature) {
|
|
|
16418
16703
|
function decodeSparkAddress(address2, network) {
|
|
16419
16704
|
try {
|
|
16420
16705
|
const decoded = bech32mDecode(address2);
|
|
16421
|
-
if (
|
|
16706
|
+
if (network !== getNetworkFromSparkAddress(address2)) {
|
|
16422
16707
|
throw new ValidationError("Invalid Spark address prefix", {
|
|
16423
16708
|
field: "address",
|
|
16424
16709
|
value: address2,
|
|
16425
|
-
expected: `prefix='${AddressNetwork[network]}'`
|
|
16710
|
+
expected: `prefix='${AddressNetwork[network]}' or '${LegacyAddressNetwork[network]}'`
|
|
16426
16711
|
});
|
|
16427
16712
|
}
|
|
16428
16713
|
const payload = SparkAddress.decode(import_base2.bech32m.fromWords(decoded.words));
|
|
@@ -16468,18 +16753,35 @@ function decodeSparkAddress(address2, network) {
|
|
|
16468
16753
|
);
|
|
16469
16754
|
}
|
|
16470
16755
|
}
|
|
16756
|
+
var PrefixToNetwork = Object.fromEntries(
|
|
16757
|
+
Object.entries(AddressNetwork).map(([k, v]) => [v, k])
|
|
16758
|
+
);
|
|
16759
|
+
var LegacyPrefixToNetwork = Object.fromEntries(
|
|
16760
|
+
Object.entries(LegacyAddressNetwork).map(([k, v]) => [v, k])
|
|
16761
|
+
);
|
|
16762
|
+
function getNetworkFromSparkAddress(address2) {
|
|
16763
|
+
const { prefix } = bech32mDecode(address2);
|
|
16764
|
+
const network = PrefixToNetwork[prefix] ?? LegacyPrefixToNetwork[prefix];
|
|
16765
|
+
if (!network) {
|
|
16766
|
+
throw new ValidationError("Invalid Spark address prefix", {
|
|
16767
|
+
field: "network",
|
|
16768
|
+
value: address2,
|
|
16769
|
+
expected: "prefix='spark1', 'sparkt1', 'sparkrt1', 'sparks1', 'sparkl1' or legacy ('sp1', 'spt1', 'sprt1', 'sps1', 'spl1')"
|
|
16770
|
+
});
|
|
16771
|
+
}
|
|
16772
|
+
return network;
|
|
16773
|
+
}
|
|
16774
|
+
function isLegacySparkAddress(address2) {
|
|
16775
|
+
try {
|
|
16776
|
+
const { prefix } = bech32mDecode(address2);
|
|
16777
|
+
return prefix in LegacyPrefixToNetwork;
|
|
16778
|
+
} catch (error) {
|
|
16779
|
+
return false;
|
|
16780
|
+
}
|
|
16781
|
+
}
|
|
16471
16782
|
function isValidSparkAddress(address2) {
|
|
16472
16783
|
try {
|
|
16473
|
-
const network =
|
|
16474
|
-
([_, prefix]) => address2.startsWith(prefix)
|
|
16475
|
-
)?.[0];
|
|
16476
|
-
if (!network) {
|
|
16477
|
-
throw new ValidationError("Invalid Spark address network", {
|
|
16478
|
-
field: "network",
|
|
16479
|
-
value: address2,
|
|
16480
|
-
expected: Object.values(AddressNetwork)
|
|
16481
|
-
});
|
|
16482
|
-
}
|
|
16784
|
+
const network = getNetworkFromSparkAddress(address2);
|
|
16483
16785
|
decodeSparkAddress(address2, network);
|
|
16484
16786
|
return true;
|
|
16485
16787
|
} catch (error) {
|
|
@@ -16675,25 +16977,16 @@ function validateSparkInvoiceSignature(invoice) {
|
|
|
16675
16977
|
);
|
|
16676
16978
|
}
|
|
16677
16979
|
}
|
|
16678
|
-
function getNetworkFromSparkAddress(address2) {
|
|
16679
|
-
const { prefix } = bech32mDecode(address2);
|
|
16680
|
-
const network = Object.entries(AddressNetwork).find(
|
|
16681
|
-
([, p]) => p === prefix
|
|
16682
|
-
)?.[0];
|
|
16683
|
-
if (!network) {
|
|
16684
|
-
throw new ValidationError("Invalid Spark address network", {
|
|
16685
|
-
field: "network",
|
|
16686
|
-
value: address2,
|
|
16687
|
-
expected: Object.values(AddressNetwork)
|
|
16688
|
-
});
|
|
16689
|
-
}
|
|
16690
|
-
return network;
|
|
16691
|
-
}
|
|
16692
16980
|
function toProtoTimestamp(date) {
|
|
16693
16981
|
const ms = date.getTime();
|
|
16694
16982
|
return { seconds: Math.floor(ms / 1e3), nanos: ms % 1e3 * 1e6 };
|
|
16695
16983
|
}
|
|
16984
|
+
function assertBech32(s) {
|
|
16985
|
+
const i = s.lastIndexOf("1");
|
|
16986
|
+
if (i <= 0 || i >= s.length - 1) throw new Error("invalid bech32 string");
|
|
16987
|
+
}
|
|
16696
16988
|
function bech32mDecode(address2) {
|
|
16989
|
+
assertBech32(address2);
|
|
16697
16990
|
return import_base2.bech32m.decode(address2, BECH32M_LIMIT);
|
|
16698
16991
|
}
|
|
16699
16992
|
function bech32mEncode(prefix, words) {
|
|
@@ -16724,6 +17017,9 @@ function encodeSparkInvoiceFieldsV1Canonical(f) {
|
|
|
16724
17017
|
}
|
|
16725
17018
|
return w.finish();
|
|
16726
17019
|
}
|
|
17020
|
+
function isSafeForNumber(bi) {
|
|
17021
|
+
return bi >= BigInt(Number.MIN_SAFE_INTEGER) && bi <= BigInt(Number.MAX_SAFE_INTEGER);
|
|
17022
|
+
}
|
|
16727
17023
|
|
|
16728
17024
|
// src/utils/adaptor-signature.ts
|
|
16729
17025
|
init_buffer();
|
|
@@ -18408,7 +18704,7 @@ function mapTransferToWalletTransfer(proto, identityPublicKey, userRequest) {
|
|
|
18408
18704
|
|
|
18409
18705
|
// src/utils/fetch.ts
|
|
18410
18706
|
init_buffer();
|
|
18411
|
-
var fetchImpl = typeof window !== "undefined" && window.fetch ? window.fetch.bind(window) : globalThis.fetch ? globalThis.fetch : null;
|
|
18707
|
+
var fetchImpl = typeof window !== "undefined" && window.fetch ? window.fetch.bind(window) : globalThis.fetch ? globalThis.fetch.bind(globalThis) : null;
|
|
18412
18708
|
var Headers = globalThis.Headers ?? null;
|
|
18413
18709
|
var getFetch = () => {
|
|
18414
18710
|
if (!fetchImpl) {
|
|
@@ -18978,10 +19274,10 @@ var INITIAL_TIMELOCK = 2e3;
|
|
|
18978
19274
|
var TEST_UNILATERAL_TIMELOCK = 100;
|
|
18979
19275
|
var TIME_LOCK_INTERVAL = 100;
|
|
18980
19276
|
var DIRECT_TIMELOCK_OFFSET = 50;
|
|
18981
|
-
var INITIAL_SEQUENCE =
|
|
18982
|
-
var INITIAL_DIRECT_SEQUENCE =
|
|
18983
|
-
var TEST_UNILATERAL_SEQUENCE =
|
|
18984
|
-
var TEST_UNILATERAL_DIRECT_SEQUENCE =
|
|
19277
|
+
var INITIAL_SEQUENCE = INITIAL_TIMELOCK;
|
|
19278
|
+
var INITIAL_DIRECT_SEQUENCE = INITIAL_TIMELOCK + DIRECT_TIMELOCK_OFFSET;
|
|
19279
|
+
var TEST_UNILATERAL_SEQUENCE = TEST_UNILATERAL_TIMELOCK;
|
|
19280
|
+
var TEST_UNILATERAL_DIRECT_SEQUENCE = TEST_UNILATERAL_TIMELOCK + DIRECT_TIMELOCK_OFFSET;
|
|
18985
19281
|
var ESTIMATED_TX_SIZE = 191;
|
|
18986
19282
|
var DEFAULT_SATS_PER_VBYTE = 5;
|
|
18987
19283
|
var DEFAULT_FEE_SATS = ESTIMATED_TX_SIZE * DEFAULT_SATS_PER_VBYTE;
|
|
@@ -19252,8 +19548,8 @@ function getCurrentTimelock(currSequence) {
|
|
|
19252
19548
|
function getTransactionSequence(currSequence) {
|
|
19253
19549
|
const timelock = getCurrentTimelock(currSequence);
|
|
19254
19550
|
return {
|
|
19255
|
-
nextSequence:
|
|
19256
|
-
nextDirectSequence:
|
|
19551
|
+
nextSequence: timelock,
|
|
19552
|
+
nextDirectSequence: timelock + DIRECT_TIMELOCK_OFFSET
|
|
19257
19553
|
};
|
|
19258
19554
|
}
|
|
19259
19555
|
function checkIfValidSequence(currSequence) {
|
|
@@ -19296,8 +19592,8 @@ function getNextTransactionSequence(currSequence, isNodeTx) {
|
|
|
19296
19592
|
});
|
|
19297
19593
|
}
|
|
19298
19594
|
return {
|
|
19299
|
-
nextSequence:
|
|
19300
|
-
nextDirectSequence:
|
|
19595
|
+
nextSequence: nextTimelock,
|
|
19596
|
+
nextDirectSequence: nextTimelock + DIRECT_TIMELOCK_OFFSET
|
|
19301
19597
|
};
|
|
19302
19598
|
}
|
|
19303
19599
|
function getEphemeralAnchorOutput() {
|
|
@@ -19826,22 +20122,30 @@ var ecies = __toESM(require("eciesjs"), 1);
|
|
|
19826
20122
|
// src/constants.ts
|
|
19827
20123
|
init_buffer();
|
|
19828
20124
|
var import_core9 = require("@lightsparkdev/core");
|
|
19829
|
-
var isReactNative =
|
|
19830
|
-
var isBun =
|
|
19831
|
-
var
|
|
20125
|
+
var isReactNative = "navigator" in globalThis && navigator.product === "ReactNative";
|
|
20126
|
+
var isBun = "Bun" in globalThis;
|
|
20127
|
+
var isWebExtension = (
|
|
20128
|
+
/* globalThis.chrome actually exists in extension contexts for all browsers for legacy reasons: */
|
|
20129
|
+
"chrome" in globalThis && globalThis.chrome.runtime?.id
|
|
20130
|
+
);
|
|
20131
|
+
var userAgent = "navigator" in globalThis ? globalThis.navigator.userAgent || "unknown-user-agent" : void 0;
|
|
20132
|
+
var packageVersion = true ? "0.3.0" : "unknown";
|
|
19832
20133
|
var baseEnvStr = "unknown";
|
|
19833
20134
|
if (isBun) {
|
|
19834
20135
|
const bunVersion = "version" in globalThis.Bun ? globalThis.Bun.version : "unknown-version";
|
|
19835
20136
|
baseEnvStr = `bun/${bunVersion}`;
|
|
19836
20137
|
} else if (import_core9.isNode) {
|
|
19837
|
-
baseEnvStr = `node/${process.version}`;
|
|
20138
|
+
baseEnvStr = `node/${globalThis.process.version}`;
|
|
19838
20139
|
} else if (isReactNative) {
|
|
19839
20140
|
baseEnvStr = "react-native";
|
|
19840
20141
|
} else if (import_core9.isBare) {
|
|
19841
20142
|
const bareVersion = Bare.version;
|
|
19842
20143
|
baseEnvStr = `bare/${bareVersion}`;
|
|
20144
|
+
} else if (isWebExtension) {
|
|
20145
|
+
const protocol = "location" in globalThis ? globalThis.location.protocol : "";
|
|
20146
|
+
const extScriptType = "window" in globalThis ? "content-script" : "background-script";
|
|
20147
|
+
baseEnvStr = `web-extension/${protocol.replace(":", "")}/${extScriptType}/${userAgent}`;
|
|
19843
20148
|
} else {
|
|
19844
|
-
const userAgent = typeof navigator !== "undefined" && navigator.userAgent || "unknown-user-agent";
|
|
19845
20149
|
baseEnvStr = `browser/${userAgent}`;
|
|
19846
20150
|
}
|
|
19847
20151
|
var clientEnv = `js-spark-sdk/${packageVersion} ${baseEnvStr}`;
|
|
@@ -24251,7 +24555,7 @@ var QueryTokenMetadataResponse = {
|
|
|
24251
24555
|
}
|
|
24252
24556
|
};
|
|
24253
24557
|
function createBaseQueryTokenOutputsRequest2() {
|
|
24254
|
-
return { ownerPublicKeys: [], issuerPublicKeys: [], tokenIdentifiers: [], network: 0 };
|
|
24558
|
+
return { ownerPublicKeys: [], issuerPublicKeys: [], tokenIdentifiers: [], network: 0, pageRequest: void 0 };
|
|
24255
24559
|
}
|
|
24256
24560
|
var QueryTokenOutputsRequest2 = {
|
|
24257
24561
|
encode(message, writer = new import_wire8.BinaryWriter()) {
|
|
@@ -24267,6 +24571,9 @@ var QueryTokenOutputsRequest2 = {
|
|
|
24267
24571
|
if (message.network !== 0) {
|
|
24268
24572
|
writer.uint32(24).int32(message.network);
|
|
24269
24573
|
}
|
|
24574
|
+
if (message.pageRequest !== void 0) {
|
|
24575
|
+
PageRequest.encode(message.pageRequest, writer.uint32(42).fork()).join();
|
|
24576
|
+
}
|
|
24270
24577
|
return writer;
|
|
24271
24578
|
},
|
|
24272
24579
|
decode(input, length) {
|
|
@@ -24304,6 +24611,13 @@ var QueryTokenOutputsRequest2 = {
|
|
|
24304
24611
|
message.network = reader.int32();
|
|
24305
24612
|
continue;
|
|
24306
24613
|
}
|
|
24614
|
+
case 5: {
|
|
24615
|
+
if (tag !== 42) {
|
|
24616
|
+
break;
|
|
24617
|
+
}
|
|
24618
|
+
message.pageRequest = PageRequest.decode(reader, reader.uint32());
|
|
24619
|
+
continue;
|
|
24620
|
+
}
|
|
24307
24621
|
}
|
|
24308
24622
|
if ((tag & 7) === 4 || tag === 0) {
|
|
24309
24623
|
break;
|
|
@@ -24317,7 +24631,8 @@ var QueryTokenOutputsRequest2 = {
|
|
|
24317
24631
|
ownerPublicKeys: globalThis.Array.isArray(object?.ownerPublicKeys) ? object.ownerPublicKeys.map((e) => bytesFromBase645(e)) : [],
|
|
24318
24632
|
issuerPublicKeys: globalThis.Array.isArray(object?.issuerPublicKeys) ? object.issuerPublicKeys.map((e) => bytesFromBase645(e)) : [],
|
|
24319
24633
|
tokenIdentifiers: globalThis.Array.isArray(object?.tokenIdentifiers) ? object.tokenIdentifiers.map((e) => bytesFromBase645(e)) : [],
|
|
24320
|
-
network: isSet6(object.network) ? networkFromJSON(object.network) : 0
|
|
24634
|
+
network: isSet6(object.network) ? networkFromJSON(object.network) : 0,
|
|
24635
|
+
pageRequest: isSet6(object.pageRequest) ? PageRequest.fromJSON(object.pageRequest) : void 0
|
|
24321
24636
|
};
|
|
24322
24637
|
},
|
|
24323
24638
|
toJSON(message) {
|
|
@@ -24334,6 +24649,9 @@ var QueryTokenOutputsRequest2 = {
|
|
|
24334
24649
|
if (message.network !== 0) {
|
|
24335
24650
|
obj.network = networkToJSON(message.network);
|
|
24336
24651
|
}
|
|
24652
|
+
if (message.pageRequest !== void 0) {
|
|
24653
|
+
obj.pageRequest = PageRequest.toJSON(message.pageRequest);
|
|
24654
|
+
}
|
|
24337
24655
|
return obj;
|
|
24338
24656
|
},
|
|
24339
24657
|
create(base) {
|
|
@@ -24345,6 +24663,7 @@ var QueryTokenOutputsRequest2 = {
|
|
|
24345
24663
|
message.issuerPublicKeys = object.issuerPublicKeys?.map((e) => e) || [];
|
|
24346
24664
|
message.tokenIdentifiers = object.tokenIdentifiers?.map((e) => e) || [];
|
|
24347
24665
|
message.network = object.network ?? 0;
|
|
24666
|
+
message.pageRequest = object.pageRequest !== void 0 && object.pageRequest !== null ? PageRequest.fromPartial(object.pageRequest) : void 0;
|
|
24348
24667
|
return message;
|
|
24349
24668
|
}
|
|
24350
24669
|
};
|
|
@@ -24653,13 +24972,16 @@ var OutputWithPreviousTransactionData2 = {
|
|
|
24653
24972
|
}
|
|
24654
24973
|
};
|
|
24655
24974
|
function createBaseQueryTokenOutputsResponse2() {
|
|
24656
|
-
return { outputsWithPreviousTransactionData: [] };
|
|
24975
|
+
return { outputsWithPreviousTransactionData: [], pageResponse: void 0 };
|
|
24657
24976
|
}
|
|
24658
24977
|
var QueryTokenOutputsResponse2 = {
|
|
24659
24978
|
encode(message, writer = new import_wire8.BinaryWriter()) {
|
|
24660
24979
|
for (const v of message.outputsWithPreviousTransactionData) {
|
|
24661
24980
|
OutputWithPreviousTransactionData2.encode(v, writer.uint32(10).fork()).join();
|
|
24662
24981
|
}
|
|
24982
|
+
if (message.pageResponse !== void 0) {
|
|
24983
|
+
PageResponse.encode(message.pageResponse, writer.uint32(18).fork()).join();
|
|
24984
|
+
}
|
|
24663
24985
|
return writer;
|
|
24664
24986
|
},
|
|
24665
24987
|
decode(input, length) {
|
|
@@ -24678,6 +25000,13 @@ var QueryTokenOutputsResponse2 = {
|
|
|
24678
25000
|
);
|
|
24679
25001
|
continue;
|
|
24680
25002
|
}
|
|
25003
|
+
case 2: {
|
|
25004
|
+
if (tag !== 18) {
|
|
25005
|
+
break;
|
|
25006
|
+
}
|
|
25007
|
+
message.pageResponse = PageResponse.decode(reader, reader.uint32());
|
|
25008
|
+
continue;
|
|
25009
|
+
}
|
|
24681
25010
|
}
|
|
24682
25011
|
if ((tag & 7) === 4 || tag === 0) {
|
|
24683
25012
|
break;
|
|
@@ -24688,7 +25017,8 @@ var QueryTokenOutputsResponse2 = {
|
|
|
24688
25017
|
},
|
|
24689
25018
|
fromJSON(object) {
|
|
24690
25019
|
return {
|
|
24691
|
-
outputsWithPreviousTransactionData: globalThis.Array.isArray(object?.outputsWithPreviousTransactionData) ? object.outputsWithPreviousTransactionData.map((e) => OutputWithPreviousTransactionData2.fromJSON(e)) : []
|
|
25020
|
+
outputsWithPreviousTransactionData: globalThis.Array.isArray(object?.outputsWithPreviousTransactionData) ? object.outputsWithPreviousTransactionData.map((e) => OutputWithPreviousTransactionData2.fromJSON(e)) : [],
|
|
25021
|
+
pageResponse: isSet6(object.pageResponse) ? PageResponse.fromJSON(object.pageResponse) : void 0
|
|
24692
25022
|
};
|
|
24693
25023
|
},
|
|
24694
25024
|
toJSON(message) {
|
|
@@ -24698,6 +25028,9 @@ var QueryTokenOutputsResponse2 = {
|
|
|
24698
25028
|
(e) => OutputWithPreviousTransactionData2.toJSON(e)
|
|
24699
25029
|
);
|
|
24700
25030
|
}
|
|
25031
|
+
if (message.pageResponse !== void 0) {
|
|
25032
|
+
obj.pageResponse = PageResponse.toJSON(message.pageResponse);
|
|
25033
|
+
}
|
|
24701
25034
|
return obj;
|
|
24702
25035
|
},
|
|
24703
25036
|
create(base) {
|
|
@@ -24706,6 +25039,7 @@ var QueryTokenOutputsResponse2 = {
|
|
|
24706
25039
|
fromPartial(object) {
|
|
24707
25040
|
const message = createBaseQueryTokenOutputsResponse2();
|
|
24708
25041
|
message.outputsWithPreviousTransactionData = object.outputsWithPreviousTransactionData?.map((e) => OutputWithPreviousTransactionData2.fromPartial(e)) || [];
|
|
25042
|
+
message.pageResponse = object.pageResponse !== void 0 && object.pageResponse !== null ? PageResponse.fromPartial(object.pageResponse) : void 0;
|
|
24709
25043
|
return message;
|
|
24710
25044
|
}
|
|
24711
25045
|
};
|
|
@@ -25833,7 +26167,7 @@ var BaseTransferService = class {
|
|
|
25833
26167
|
}
|
|
25834
26168
|
return response.transfer;
|
|
25835
26169
|
}
|
|
25836
|
-
async sendTransferWithKeyTweaks(leaves, receiverIdentityPubkey) {
|
|
26170
|
+
async sendTransferWithKeyTweaks(leaves, receiverIdentityPubkey, sparkInvoice) {
|
|
25837
26171
|
const transferID = (0, import_uuidv72.uuidv7)();
|
|
25838
26172
|
const keyTweakInputMap = await this.prepareSendTransferKeyTweaks(
|
|
25839
26173
|
transferID,
|
|
@@ -25858,7 +26192,8 @@ var BaseTransferService = class {
|
|
|
25858
26192
|
transferId: transferID,
|
|
25859
26193
|
ownerIdentityPublicKey: await this.config.signer.getIdentityPublicKey(),
|
|
25860
26194
|
receiverIdentityPublicKey: receiverIdentityPubkey,
|
|
25861
|
-
transferPackage
|
|
26195
|
+
transferPackage,
|
|
26196
|
+
sparkInvoice
|
|
25862
26197
|
});
|
|
25863
26198
|
} catch (error) {
|
|
25864
26199
|
throw new NetworkError(
|
|
@@ -30453,6 +30788,7 @@ function validateTokenTransaction(finalTokenTransaction, partialTokenTransaction
|
|
|
30453
30788
|
|
|
30454
30789
|
// src/services/token-transactions.ts
|
|
30455
30790
|
var MAX_TOKEN_OUTPUTS = 500;
|
|
30791
|
+
var QUERY_TOKEN_OUTPUTS_PAGE_SIZE = 100;
|
|
30456
30792
|
var TokenTransactionService = class {
|
|
30457
30793
|
config;
|
|
30458
30794
|
connectionManager;
|
|
@@ -31141,6 +31477,36 @@ var TokenTransactionService = class {
|
|
|
31141
31477
|
}
|
|
31142
31478
|
}
|
|
31143
31479
|
async fetchOwnedTokenOutputs(params) {
|
|
31480
|
+
const {
|
|
31481
|
+
ownerPublicKeys,
|
|
31482
|
+
issuerPublicKeys = [],
|
|
31483
|
+
tokenIdentifiers = []
|
|
31484
|
+
} = params;
|
|
31485
|
+
if (ownerPublicKeys.length === 0) {
|
|
31486
|
+
throw new ValidationError("Owner public keys cannot be empty", {
|
|
31487
|
+
field: "ownerPublicKeys",
|
|
31488
|
+
value: ownerPublicKeys,
|
|
31489
|
+
expected: "Non-empty array"
|
|
31490
|
+
});
|
|
31491
|
+
}
|
|
31492
|
+
for (const ownerPublicKey of ownerPublicKeys) {
|
|
31493
|
+
isValidPublicKey((0, import_utils19.bytesToHex)(ownerPublicKey));
|
|
31494
|
+
}
|
|
31495
|
+
for (const issuerPublicKey of issuerPublicKeys) {
|
|
31496
|
+
isValidPublicKey((0, import_utils19.bytesToHex)(issuerPublicKey));
|
|
31497
|
+
}
|
|
31498
|
+
for (const tokenIdentifier of tokenIdentifiers) {
|
|
31499
|
+
if (tokenIdentifier.length !== 32) {
|
|
31500
|
+
throw new ValidationError(
|
|
31501
|
+
"Token identifier must be 32 bytes (64 hex characters) long.",
|
|
31502
|
+
{
|
|
31503
|
+
field: "tokenIdentifier",
|
|
31504
|
+
value: tokenIdentifier,
|
|
31505
|
+
expected: "32 bytes"
|
|
31506
|
+
}
|
|
31507
|
+
);
|
|
31508
|
+
}
|
|
31509
|
+
}
|
|
31144
31510
|
if (this.config.getTokenTransactionVersion() === "V0") {
|
|
31145
31511
|
return this.fetchOwnedTokenOutputsV0(params);
|
|
31146
31512
|
} else {
|
|
@@ -31193,13 +31559,30 @@ var TokenTransactionService = class {
|
|
|
31193
31559
|
this.config.getCoordinatorAddress()
|
|
31194
31560
|
);
|
|
31195
31561
|
try {
|
|
31196
|
-
const
|
|
31197
|
-
|
|
31198
|
-
|
|
31199
|
-
|
|
31200
|
-
|
|
31201
|
-
|
|
31202
|
-
|
|
31562
|
+
const allOutputs = [];
|
|
31563
|
+
let after = void 0;
|
|
31564
|
+
do {
|
|
31565
|
+
const result = await tokenClient.query_token_outputs({
|
|
31566
|
+
ownerPublicKeys,
|
|
31567
|
+
issuerPublicKeys,
|
|
31568
|
+
tokenIdentifiers,
|
|
31569
|
+
network: this.config.getNetworkProto(),
|
|
31570
|
+
pageRequest: {
|
|
31571
|
+
pageSize: QUERY_TOKEN_OUTPUTS_PAGE_SIZE,
|
|
31572
|
+
cursor: after,
|
|
31573
|
+
direction: 0 /* NEXT */
|
|
31574
|
+
}
|
|
31575
|
+
});
|
|
31576
|
+
if (Array.isArray(result.outputsWithPreviousTransactionData)) {
|
|
31577
|
+
allOutputs.push(...result.outputsWithPreviousTransactionData);
|
|
31578
|
+
}
|
|
31579
|
+
if (result.pageResponse?.hasNextPage) {
|
|
31580
|
+
after = result.pageResponse.nextCursor;
|
|
31581
|
+
} else {
|
|
31582
|
+
break;
|
|
31583
|
+
}
|
|
31584
|
+
} while (after);
|
|
31585
|
+
return allOutputs;
|
|
31203
31586
|
} catch (error) {
|
|
31204
31587
|
throw new NetworkError(
|
|
31205
31588
|
"Failed to fetch owned token outputs",
|
|
@@ -32072,6 +32455,17 @@ async function withRetry(operation, options = {}) {
|
|
|
32072
32455
|
throw new Error("Unexpected retry loop exit");
|
|
32073
32456
|
}
|
|
32074
32457
|
|
|
32458
|
+
// src/spark-wallet/types.ts
|
|
32459
|
+
init_buffer();
|
|
32460
|
+
var SparkWalletEvent = {
|
|
32461
|
+
All: "*",
|
|
32462
|
+
TransferClaimed: "transfer:claimed",
|
|
32463
|
+
DepositConfirmed: "deposit:confirmed",
|
|
32464
|
+
StreamConnected: "stream:connected",
|
|
32465
|
+
StreamDisconnected: "stream:disconnected",
|
|
32466
|
+
StreamReconnecting: "stream:reconnecting"
|
|
32467
|
+
};
|
|
32468
|
+
|
|
32075
32469
|
// src/spark-wallet/spark-wallet.ts
|
|
32076
32470
|
var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
32077
32471
|
config;
|
|
@@ -32185,7 +32579,7 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
32185
32579
|
path: deposit.id
|
|
32186
32580
|
});
|
|
32187
32581
|
this.emit(
|
|
32188
|
-
|
|
32582
|
+
SparkWalletEvent.DepositConfirmed,
|
|
32189
32583
|
deposit.id,
|
|
32190
32584
|
(await this.getBalance()).balance
|
|
32191
32585
|
);
|
|
@@ -32249,7 +32643,7 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
32249
32643
|
break;
|
|
32250
32644
|
}
|
|
32251
32645
|
if (data.event?.$case === "connected") {
|
|
32252
|
-
this.emit(
|
|
32646
|
+
this.emit(SparkWalletEvent.StreamConnected);
|
|
32253
32647
|
retryCount = 0;
|
|
32254
32648
|
}
|
|
32255
32649
|
if (data.event?.$case === "transfer" && data.event.transfer.transfer && claimedTransfersIds.includes(data.event.transfer.transfer.id)) {
|
|
@@ -32271,7 +32665,7 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
32271
32665
|
if (retryCount < MAX_RETRIES) {
|
|
32272
32666
|
retryCount++;
|
|
32273
32667
|
this.emit(
|
|
32274
|
-
|
|
32668
|
+
SparkWalletEvent.StreamReconnecting,
|
|
32275
32669
|
retryCount,
|
|
32276
32670
|
MAX_RETRIES,
|
|
32277
32671
|
backoffDelay,
|
|
@@ -32291,7 +32685,10 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
32291
32685
|
}
|
|
32292
32686
|
}
|
|
32293
32687
|
} else {
|
|
32294
|
-
this.emit(
|
|
32688
|
+
this.emit(
|
|
32689
|
+
SparkWalletEvent.StreamDisconnected,
|
|
32690
|
+
"Max reconnection attempts reached"
|
|
32691
|
+
);
|
|
32295
32692
|
break;
|
|
32296
32693
|
}
|
|
32297
32694
|
}
|
|
@@ -32391,6 +32788,10 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
32391
32788
|
verifyKey(pubkey1, pubkey2, verifyingKey) {
|
|
32392
32789
|
return (0, import_utils24.equalBytes)(addPublicKeys(pubkey1, pubkey2), verifyingKey);
|
|
32393
32790
|
}
|
|
32791
|
+
popOrThrow(arr, msg) {
|
|
32792
|
+
if (!arr || arr.length === 0) throw new ValidationError(msg);
|
|
32793
|
+
return arr.pop();
|
|
32794
|
+
}
|
|
32394
32795
|
async selectLeaves(targetAmounts) {
|
|
32395
32796
|
if (targetAmounts.length === 0) {
|
|
32396
32797
|
throw new ValidationError("Target amounts must be non-empty", {
|
|
@@ -32444,7 +32845,11 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
32444
32845
|
}
|
|
32445
32846
|
}
|
|
32446
32847
|
totalAmount += amount;
|
|
32447
|
-
results2.
|
|
32848
|
+
if (results2.has(targetAmount)) {
|
|
32849
|
+
results2.get(targetAmount).push(nodes);
|
|
32850
|
+
} else {
|
|
32851
|
+
results2.set(targetAmount, [nodes]);
|
|
32852
|
+
}
|
|
32448
32853
|
}
|
|
32449
32854
|
return {
|
|
32450
32855
|
results: results2,
|
|
@@ -32571,17 +32976,60 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
32571
32976
|
* @param {Object} params - Parameters for the sats payment
|
|
32572
32977
|
* @param {number} params.amount - The amount of sats to receive
|
|
32573
32978
|
* @param {string} [params.memo] - The memo for the payment
|
|
32574
|
-
* @param {string} [params.
|
|
32979
|
+
* @param {string} [params.senderSparkAddress] - The spark address of the expected sender
|
|
32575
32980
|
* @param {Date} [params.expiryTime] - The expiry time of the payment
|
|
32576
|
-
* @returns {Promise<SparkAddressFormat>} The Spark
|
|
32981
|
+
* @returns {Promise<SparkAddressFormat>} The Spark invoice for the sats payment
|
|
32577
32982
|
*/
|
|
32578
32983
|
async createSatsInvoice({
|
|
32579
32984
|
amount,
|
|
32580
32985
|
memo,
|
|
32581
|
-
|
|
32986
|
+
senderSparkAddress,
|
|
32582
32987
|
expiryTime
|
|
32583
32988
|
}) {
|
|
32584
|
-
|
|
32989
|
+
const MAX_SATS_AMOUNT = 21e14;
|
|
32990
|
+
if (amount && (amount < 0 || amount > MAX_SATS_AMOUNT)) {
|
|
32991
|
+
throw new ValidationError(
|
|
32992
|
+
`Amount must be between 0 and ${MAX_SATS_AMOUNT} sats`,
|
|
32993
|
+
{
|
|
32994
|
+
field: "amount",
|
|
32995
|
+
value: amount,
|
|
32996
|
+
expected: `less than or equal to ${MAX_SATS_AMOUNT}`
|
|
32997
|
+
}
|
|
32998
|
+
);
|
|
32999
|
+
}
|
|
33000
|
+
const protoPayment = {
|
|
33001
|
+
$case: "satsPayment",
|
|
33002
|
+
satsPayment: {
|
|
33003
|
+
amount
|
|
33004
|
+
}
|
|
33005
|
+
};
|
|
33006
|
+
const senderPublicKey = senderSparkAddress ? (0, import_utils24.hexToBytes)(
|
|
33007
|
+
decodeSparkAddress(senderSparkAddress, this.config.getNetworkType()).identityPublicKey
|
|
33008
|
+
) : void 0;
|
|
33009
|
+
const invoiceFields = {
|
|
33010
|
+
version: 1,
|
|
33011
|
+
id: (0, import_uuidv75.uuidv7obj)().bytes,
|
|
33012
|
+
paymentType: protoPayment,
|
|
33013
|
+
memo,
|
|
33014
|
+
senderPublicKey,
|
|
33015
|
+
expiryTime: expiryTime ?? void 0
|
|
33016
|
+
};
|
|
33017
|
+
validateSparkInvoiceFields(invoiceFields);
|
|
33018
|
+
const identityPublicKey = await this.config.signer.getIdentityPublicKey();
|
|
33019
|
+
const hash = HashSparkInvoice(
|
|
33020
|
+
invoiceFields,
|
|
33021
|
+
identityPublicKey,
|
|
33022
|
+
this.config.getNetworkType()
|
|
33023
|
+
);
|
|
33024
|
+
const signature = await this.config.signer.signSchnorrWithIdentityKey(hash);
|
|
33025
|
+
return encodeSparkAddressWithSignature(
|
|
33026
|
+
{
|
|
33027
|
+
identityPublicKey: (0, import_utils24.bytesToHex)(identityPublicKey),
|
|
33028
|
+
network: this.config.getNetworkType(),
|
|
33029
|
+
sparkInvoiceFields: invoiceFields
|
|
33030
|
+
},
|
|
33031
|
+
signature
|
|
33032
|
+
);
|
|
32585
33033
|
}
|
|
32586
33034
|
/**
|
|
32587
33035
|
* Creates a Spark invoice for a tokens payment on Spark.
|
|
@@ -32590,15 +33038,15 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
32590
33038
|
* @param {bigint} [params.amount] - The amount of tokens to receive
|
|
32591
33039
|
* @param {Bech32mTokenIdentifier} [params.tokenIdentifier] - The token identifier
|
|
32592
33040
|
* @param {string} [params.memo] - The memo for the payment
|
|
32593
|
-
* @param {string} [params.
|
|
33041
|
+
* @param {string} [params.senderSparkAddress] - The spark address of the expected sender
|
|
32594
33042
|
* @param {Date} [params.expiryTime] - The expiry time of the payment
|
|
32595
|
-
* @returns {Promise<SparkAddressFormat>} The Spark
|
|
33043
|
+
* @returns {Promise<SparkAddressFormat>} The Spark invoice for the tokens payment
|
|
32596
33044
|
*/
|
|
32597
33045
|
async createTokensInvoice({
|
|
32598
33046
|
amount,
|
|
32599
33047
|
tokenIdentifier,
|
|
32600
33048
|
memo,
|
|
32601
|
-
|
|
33049
|
+
senderSparkAddress,
|
|
32602
33050
|
expiryTime
|
|
32603
33051
|
}) {
|
|
32604
33052
|
const MAX_UINT128 = BigInt(2 ** 128 - 1);
|
|
@@ -32623,12 +33071,15 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
32623
33071
|
amount: amount ? (0, import_utils24.numberToVarBytesBE)(amount) : void 0
|
|
32624
33072
|
}
|
|
32625
33073
|
};
|
|
33074
|
+
const senderPublicKey = senderSparkAddress ? (0, import_utils24.hexToBytes)(
|
|
33075
|
+
decodeSparkAddress(senderSparkAddress, this.config.getNetworkType()).identityPublicKey
|
|
33076
|
+
) : void 0;
|
|
32626
33077
|
const invoiceFields = {
|
|
32627
33078
|
version: 1,
|
|
32628
33079
|
id: (0, import_uuidv75.uuidv7obj)().bytes,
|
|
32629
33080
|
paymentType: protoPayment,
|
|
32630
33081
|
memo: memo ?? void 0,
|
|
32631
|
-
senderPublicKey
|
|
33082
|
+
senderPublicKey,
|
|
32632
33083
|
expiryTime: expiryTime ?? void 0
|
|
32633
33084
|
};
|
|
32634
33085
|
validateSparkInvoiceFields(invoiceFields);
|
|
@@ -34101,63 +34552,150 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
34101
34552
|
}
|
|
34102
34553
|
);
|
|
34103
34554
|
}
|
|
34104
|
-
|
|
34105
|
-
|
|
34106
|
-
|
|
34107
|
-
|
|
34108
|
-
|
|
34109
|
-
|
|
34555
|
+
const [outcome] = await this.transferWithInvoice([
|
|
34556
|
+
{
|
|
34557
|
+
amountSats,
|
|
34558
|
+
receiverIdentityPubkey: (0, import_utils24.hexToBytes)(receiverAddress.identityPublicKey)
|
|
34559
|
+
}
|
|
34560
|
+
]);
|
|
34561
|
+
if (!outcome) throw new Error("no transfer created");
|
|
34562
|
+
if (!outcome.ok) throw outcome.error;
|
|
34563
|
+
return outcome.transfer;
|
|
34564
|
+
}
|
|
34565
|
+
/**
|
|
34566
|
+
* Transfers with optional invoices.
|
|
34567
|
+
* Does not parse/validate invoices or enforce amount-vs-invoice.
|
|
34568
|
+
* If an invoice is provided, the caller must pass in the correct:
|
|
34569
|
+
* - amountSats
|
|
34570
|
+
* - receiverIdentityPubkey
|
|
34571
|
+
*
|
|
34572
|
+
* @param {TransferWithInvoiceParams[]} params - The parameters for the transfers
|
|
34573
|
+
* @returns {Promise<TransferWithInvoiceOutcome[]>} The outcomes of the transfers
|
|
34574
|
+
* @private
|
|
34575
|
+
*/
|
|
34576
|
+
async transferWithInvoice(params) {
|
|
34577
|
+
const amountSatsArray = [];
|
|
34578
|
+
for (const param of params) {
|
|
34579
|
+
const { amountSats } = param;
|
|
34580
|
+
if (!Number.isSafeInteger(amountSats)) {
|
|
34581
|
+
throw new ValidationError("Sats amount must be less than 2^53", {
|
|
34582
|
+
field: "amountSats",
|
|
34583
|
+
value: amountSats,
|
|
34584
|
+
expected: "smaller or equal to " + Number.MAX_SAFE_INTEGER
|
|
34585
|
+
});
|
|
34586
|
+
}
|
|
34587
|
+
if (amountSats <= 0) {
|
|
34588
|
+
throw new ValidationError("Amount must be greater than 0", {
|
|
34589
|
+
field: "amountSats",
|
|
34590
|
+
value: amountSats
|
|
34591
|
+
});
|
|
34592
|
+
}
|
|
34593
|
+
amountSatsArray.push(amountSats);
|
|
34110
34594
|
}
|
|
34111
|
-
|
|
34112
|
-
|
|
34113
|
-
|
|
34114
|
-
|
|
34595
|
+
const transferJobs = await this.withLeaves(async () => {
|
|
34596
|
+
const selectLeavesToSendMap = await this.selectLeaves(amountSatsArray);
|
|
34597
|
+
for (const [amount, selection] of selectLeavesToSendMap) {
|
|
34598
|
+
for (let groupIndex = 0; groupIndex < selection.length; groupIndex++) {
|
|
34599
|
+
const group = selection[groupIndex];
|
|
34600
|
+
if (!group) {
|
|
34601
|
+
throw new ValidationError(
|
|
34602
|
+
`TreeNode group at index ${groupIndex} not found for amount ${amount} after selection`
|
|
34603
|
+
);
|
|
34604
|
+
}
|
|
34605
|
+
let available = await this.checkRefreshTimelockNodes(group);
|
|
34606
|
+
available = await this.checkExtendTimeLockNodes(available);
|
|
34607
|
+
if (available.length < group.length) {
|
|
34608
|
+
throw new Error(
|
|
34609
|
+
`Not enough available nodes after refresh/extend. Expected ${group.length}, got ${available.length}`
|
|
34610
|
+
);
|
|
34611
|
+
}
|
|
34612
|
+
selection[groupIndex] = available;
|
|
34613
|
+
}
|
|
34614
|
+
}
|
|
34615
|
+
const tweaksByAmount = this.buildTweaksByAmount(selectLeavesToSendMap);
|
|
34616
|
+
const idsToRemove = /* @__PURE__ */ new Set();
|
|
34617
|
+
const jobs = params.map((param) => {
|
|
34618
|
+
const { amountSats, receiverIdentityPubkey, sparkInvoice } = param;
|
|
34619
|
+
const leafKeyTweaks = this.popOrThrow(
|
|
34620
|
+
tweaksByAmount.get(amountSats),
|
|
34621
|
+
`no leaves key tweaks for ${amountSats}`
|
|
34622
|
+
);
|
|
34623
|
+
for (const tweak of leafKeyTweaks) {
|
|
34624
|
+
idsToRemove.add(tweak.leaf.id);
|
|
34625
|
+
}
|
|
34626
|
+
return { leafKeyTweaks, receiverIdentityPubkey, sparkInvoice, param };
|
|
34115
34627
|
});
|
|
34116
|
-
|
|
34628
|
+
if (idsToRemove.size > 0) {
|
|
34629
|
+
this.leaves = this.leaves.filter((leaf) => !idsToRemove.has(leaf.id));
|
|
34630
|
+
}
|
|
34631
|
+
return jobs;
|
|
34632
|
+
});
|
|
34117
34633
|
const signerIdentityPublicKey = await this.config.signer.getIdentityPublicKey();
|
|
34118
|
-
const
|
|
34119
|
-
|
|
34120
|
-
|
|
34634
|
+
const outcomes = await Promise.all(
|
|
34635
|
+
transferJobs.map(async (job) => {
|
|
34636
|
+
try {
|
|
34637
|
+
const transfer = await this.transferService.sendTransferWithKeyTweaks(
|
|
34638
|
+
job.leafKeyTweaks,
|
|
34639
|
+
job.receiverIdentityPubkey,
|
|
34640
|
+
job.sparkInvoice
|
|
34641
|
+
);
|
|
34642
|
+
const isSelfTransfer = (0, import_utils24.equalBytes)(
|
|
34643
|
+
signerIdentityPublicKey,
|
|
34644
|
+
job.receiverIdentityPubkey
|
|
34645
|
+
);
|
|
34646
|
+
if (isSelfTransfer) {
|
|
34647
|
+
const pending = await this.transferService.queryTransfer(
|
|
34648
|
+
transfer.id
|
|
34649
|
+
);
|
|
34650
|
+
if (pending) {
|
|
34651
|
+
await this.claimTransfer({ transfer: pending, optimize: true });
|
|
34652
|
+
}
|
|
34653
|
+
}
|
|
34654
|
+
return {
|
|
34655
|
+
ok: true,
|
|
34656
|
+
transfer: mapTransferToWalletTransfer(
|
|
34657
|
+
transfer,
|
|
34658
|
+
(0, import_utils24.bytesToHex)(await this.config.signer.getIdentityPublicKey())
|
|
34659
|
+
),
|
|
34660
|
+
param: job.param
|
|
34661
|
+
};
|
|
34662
|
+
} catch (error) {
|
|
34663
|
+
return {
|
|
34664
|
+
ok: false,
|
|
34665
|
+
error: error instanceof Error ? error : new Error(String(error)),
|
|
34666
|
+
param: job.param
|
|
34667
|
+
};
|
|
34668
|
+
}
|
|
34669
|
+
})
|
|
34121
34670
|
);
|
|
34122
|
-
return
|
|
34123
|
-
|
|
34124
|
-
|
|
34125
|
-
|
|
34126
|
-
|
|
34127
|
-
|
|
34128
|
-
const
|
|
34129
|
-
|
|
34130
|
-
|
|
34131
|
-
|
|
34132
|
-
|
|
34133
|
-
|
|
34134
|
-
|
|
34135
|
-
newKeyDerivation: {
|
|
34136
|
-
type: "random" /* RANDOM */
|
|
34671
|
+
return outcomes;
|
|
34672
|
+
}
|
|
34673
|
+
buildTweaksByAmount(selectedByAmount) {
|
|
34674
|
+
const tweaksByAmount = /* @__PURE__ */ new Map();
|
|
34675
|
+
for (const [amount, treeNodes] of selectedByAmount) {
|
|
34676
|
+
const keyTweaksForAmount = [];
|
|
34677
|
+
for (const nodes of treeNodes) {
|
|
34678
|
+
const batch = [];
|
|
34679
|
+
for (let i = 0; i < nodes.length; i++) {
|
|
34680
|
+
if (!nodes[i]) {
|
|
34681
|
+
throw new ValidationError(
|
|
34682
|
+
`TreeNode at index ${i} not found for amount ${amount} while building key tweaks by amount`
|
|
34683
|
+
);
|
|
34137
34684
|
}
|
|
34138
|
-
|
|
34139
|
-
);
|
|
34140
|
-
const transfer = await this.transferService.sendTransferWithKeyTweaks(
|
|
34141
|
-
leafKeyTweaks,
|
|
34142
|
-
(0, import_utils24.hexToBytes)(receiverAddress.identityPublicKey)
|
|
34143
|
-
);
|
|
34144
|
-
const leavesToRemove = new Set(leavesToSend.map((leaf) => leaf.id));
|
|
34145
|
-
this.leaves = this.leaves.filter((leaf) => !leavesToRemove.has(leaf.id));
|
|
34146
|
-
if (isSelfTransfer) {
|
|
34147
|
-
const transactionId = transfer.id;
|
|
34148
|
-
const pendingTransfer = await this.transferService.queryTransfer(transactionId);
|
|
34149
|
-
if (pendingTransfer) {
|
|
34150
|
-
await this.claimTransfer({
|
|
34151
|
-
transfer: pendingTransfer,
|
|
34152
|
-
optimize: true
|
|
34153
|
-
});
|
|
34685
|
+
batch.push(this.toSendTweak(nodes[i]));
|
|
34154
34686
|
}
|
|
34687
|
+
keyTweaksForAmount.push(batch);
|
|
34155
34688
|
}
|
|
34156
|
-
|
|
34157
|
-
|
|
34158
|
-
|
|
34159
|
-
|
|
34160
|
-
|
|
34689
|
+
tweaksByAmount.set(amount, keyTweaksForAmount);
|
|
34690
|
+
}
|
|
34691
|
+
return tweaksByAmount;
|
|
34692
|
+
}
|
|
34693
|
+
toSendTweak(node) {
|
|
34694
|
+
return {
|
|
34695
|
+
leaf: node,
|
|
34696
|
+
keyDerivation: { type: "leaf" /* LEAF */, path: node.id },
|
|
34697
|
+
newKeyDerivation: { type: "random" /* RANDOM */ }
|
|
34698
|
+
};
|
|
34161
34699
|
}
|
|
34162
34700
|
async checkExtendTimeLockNodes(nodes) {
|
|
34163
34701
|
const nodesToExtend = [];
|
|
@@ -34315,7 +34853,7 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
34315
34853
|
}
|
|
34316
34854
|
if (emit) {
|
|
34317
34855
|
this.emit(
|
|
34318
|
-
|
|
34856
|
+
SparkWalletEvent.TransferClaimed,
|
|
34319
34857
|
transfer.id,
|
|
34320
34858
|
(await this.getBalance()).balance
|
|
34321
34859
|
);
|
|
@@ -34333,10 +34871,20 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
34333
34871
|
emit,
|
|
34334
34872
|
optimize
|
|
34335
34873
|
}) {
|
|
34336
|
-
const onError = (context) => {
|
|
34874
|
+
const onError = async (context) => {
|
|
34337
34875
|
const error = context.error;
|
|
34338
34876
|
if (error instanceof RPCError && error.originalError instanceof import_nice_grpc_common3.ClientError && error.originalError.code === import_nice_grpc_common3.Status.ALREADY_EXISTS) {
|
|
34339
|
-
|
|
34877
|
+
const transferToUse = context.data || transfer;
|
|
34878
|
+
const updatedTransfer = await this.transferService.queryTransfer(
|
|
34879
|
+
transferToUse.id
|
|
34880
|
+
);
|
|
34881
|
+
if (!updatedTransfer) {
|
|
34882
|
+
return void 0;
|
|
34883
|
+
}
|
|
34884
|
+
const leaves = updatedTransfer.leaves.flatMap(
|
|
34885
|
+
(leaf) => leaf.leaf ? [leaf.leaf] : []
|
|
34886
|
+
);
|
|
34887
|
+
return leaves;
|
|
34340
34888
|
}
|
|
34341
34889
|
return;
|
|
34342
34890
|
};
|
|
@@ -34639,7 +35187,13 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
34639
35187
|
expected: `${totalAmount} sats`
|
|
34640
35188
|
});
|
|
34641
35189
|
}
|
|
34642
|
-
|
|
35190
|
+
const selectedLeaves = (await this.selectLeaves([totalAmount])).get(
|
|
35191
|
+
totalAmount
|
|
35192
|
+
);
|
|
35193
|
+
let leaves = this.popOrThrow(
|
|
35194
|
+
selectedLeaves,
|
|
35195
|
+
`no leaves for ${totalAmount}`
|
|
35196
|
+
);
|
|
34643
35197
|
leaves = await this.checkRefreshTimelockNodes(leaves);
|
|
34644
35198
|
leaves = await this.checkExtendTimeLockNodes(leaves);
|
|
34645
35199
|
const leavesToSend = await Promise.all(
|
|
@@ -34677,7 +35231,7 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
34677
35231
|
);
|
|
34678
35232
|
const sspResponse = await sspClient.requestLightningSend({
|
|
34679
35233
|
encodedInvoice: invoice,
|
|
34680
|
-
idempotencyKey:
|
|
35234
|
+
idempotencyKey: (0, import_uuidv75.uuidv7)(),
|
|
34681
35235
|
amountSats: isZeroAmountInvoice ? amountSatsToSend : void 0
|
|
34682
35236
|
});
|
|
34683
35237
|
if (!sspResponse) {
|
|
@@ -34696,99 +35250,237 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
34696
35250
|
expected: "Non-empty array"
|
|
34697
35251
|
});
|
|
34698
35252
|
}
|
|
35253
|
+
const satsTransactionSuccess = [];
|
|
35254
|
+
const satsTransactionErrors = [];
|
|
35255
|
+
const tokenTransactionSuccess = [];
|
|
35256
|
+
const tokenTransactionErrors = [];
|
|
35257
|
+
const { satsInvoices, tokenInvoices, invalidInvoices } = await this.groupSparkInvoicesByPaymentType(sparkInvoices);
|
|
35258
|
+
if (invalidInvoices.length > 0) {
|
|
35259
|
+
return {
|
|
35260
|
+
satsTransactionSuccess,
|
|
35261
|
+
satsTransactionErrors,
|
|
35262
|
+
tokenTransactionSuccess,
|
|
35263
|
+
tokenTransactionErrors,
|
|
35264
|
+
invalidInvoices
|
|
35265
|
+
};
|
|
35266
|
+
}
|
|
35267
|
+
if (tokenInvoices.size > 0) {
|
|
35268
|
+
await this.syncTokenOutputs();
|
|
35269
|
+
const tokenTransferTasks = [];
|
|
35270
|
+
for (const [identifierHex, decodedInvoices] of tokenInvoices.entries()) {
|
|
35271
|
+
const tokenIdentifier = (0, import_utils24.hexToBytes)(identifierHex);
|
|
35272
|
+
const tokenIdB32 = encodeBech32mTokenIdentifier({
|
|
35273
|
+
tokenIdentifier,
|
|
35274
|
+
network: this.config.getNetworkType()
|
|
35275
|
+
});
|
|
35276
|
+
const receiverOutputs = decodedInvoices.map((d) => ({
|
|
35277
|
+
tokenIdentifier: tokenIdB32,
|
|
35278
|
+
tokenAmount: d.amount,
|
|
35279
|
+
receiverSparkAddress: d.invoice
|
|
35280
|
+
}));
|
|
35281
|
+
const invoices = decodedInvoices.map(
|
|
35282
|
+
(d) => d.invoice
|
|
35283
|
+
);
|
|
35284
|
+
tokenTransferTasks.push(
|
|
35285
|
+
this.tokenTransactionService.tokenTransfer({ tokenOutputs: this.tokenOutputs, receiverOutputs }).then((txid) => ({
|
|
35286
|
+
ok: true,
|
|
35287
|
+
tokenIdentifier: tokenIdB32,
|
|
35288
|
+
invoices,
|
|
35289
|
+
txid
|
|
35290
|
+
})).catch((e) => ({
|
|
35291
|
+
ok: false,
|
|
35292
|
+
tokenIdentifier: tokenIdB32,
|
|
35293
|
+
invoices,
|
|
35294
|
+
error: e instanceof Error ? e : new Error(String(e))
|
|
35295
|
+
}))
|
|
35296
|
+
);
|
|
35297
|
+
}
|
|
35298
|
+
const results = await Promise.all(tokenTransferTasks);
|
|
35299
|
+
for (const r of results) {
|
|
35300
|
+
if (r.ok) {
|
|
35301
|
+
tokenTransactionSuccess.push({
|
|
35302
|
+
tokenIdentifier: r.tokenIdentifier,
|
|
35303
|
+
invoices: r.invoices,
|
|
35304
|
+
txid: r.txid
|
|
35305
|
+
});
|
|
35306
|
+
} else {
|
|
35307
|
+
tokenTransactionErrors.push({
|
|
35308
|
+
tokenIdentifier: r.tokenIdentifier,
|
|
35309
|
+
invoices: r.invoices,
|
|
35310
|
+
error: r.error
|
|
35311
|
+
});
|
|
35312
|
+
}
|
|
35313
|
+
}
|
|
35314
|
+
}
|
|
35315
|
+
if (satsInvoices.length > 0) {
|
|
35316
|
+
const transfers = await this.transferWithInvoice(satsInvoices);
|
|
35317
|
+
for (const transfer of transfers) {
|
|
35318
|
+
if (transfer.ok) {
|
|
35319
|
+
satsTransactionSuccess.push({
|
|
35320
|
+
invoice: transfer.param.sparkInvoice ?? "",
|
|
35321
|
+
transferResponse: transfer.transfer
|
|
35322
|
+
});
|
|
35323
|
+
} else {
|
|
35324
|
+
satsTransactionErrors.push({
|
|
35325
|
+
invoice: transfer.param.sparkInvoice ?? "",
|
|
35326
|
+
error: transfer.error
|
|
35327
|
+
});
|
|
35328
|
+
}
|
|
35329
|
+
}
|
|
35330
|
+
}
|
|
35331
|
+
return {
|
|
35332
|
+
satsTransactionSuccess,
|
|
35333
|
+
satsTransactionErrors,
|
|
35334
|
+
tokenTransactionSuccess,
|
|
35335
|
+
tokenTransactionErrors,
|
|
35336
|
+
invalidInvoices
|
|
35337
|
+
};
|
|
35338
|
+
}
|
|
35339
|
+
async groupSparkInvoicesByPaymentType(sparkInvoices) {
|
|
35340
|
+
const satsInvoices = [];
|
|
35341
|
+
const tokenInvoices = /* @__PURE__ */ new Map();
|
|
35342
|
+
const invalidInvoices = [];
|
|
34699
35343
|
const identityPublicKey = await this.getIdentityPublicKey();
|
|
34700
|
-
|
|
34701
|
-
const decoded = sparkInvoices.map((input, index) => {
|
|
35344
|
+
sparkInvoices.forEach((input) => {
|
|
34702
35345
|
const { invoice, amount } = input;
|
|
35346
|
+
if (isLegacySparkAddress(invoice)) {
|
|
35347
|
+
invalidInvoices.push({
|
|
35348
|
+
invoice,
|
|
35349
|
+
error: new ValidationError("Deprecated spark invoice format", {
|
|
35350
|
+
field: "invoice",
|
|
35351
|
+
value: invoice,
|
|
35352
|
+
expected: "Modern spark invoice format. Deprecated formats are not supported."
|
|
35353
|
+
})
|
|
35354
|
+
});
|
|
35355
|
+
return;
|
|
35356
|
+
}
|
|
34703
35357
|
const addressData = decodeSparkAddress(
|
|
34704
35358
|
invoice,
|
|
34705
35359
|
this.config.getNetworkType()
|
|
34706
35360
|
);
|
|
34707
35361
|
if (!addressData.sparkInvoiceFields) {
|
|
34708
|
-
|
|
34709
|
-
|
|
34710
|
-
|
|
34711
|
-
|
|
35362
|
+
invalidInvoices.push({
|
|
35363
|
+
invoice,
|
|
35364
|
+
error: new ValidationError("Missing invoice fields", {
|
|
35365
|
+
field: "invoice",
|
|
35366
|
+
value: invoice,
|
|
35367
|
+
expected: "Valid invoice fields"
|
|
35368
|
+
})
|
|
34712
35369
|
});
|
|
35370
|
+
return;
|
|
34713
35371
|
}
|
|
34714
35372
|
const fields = addressData.sparkInvoiceFields;
|
|
34715
|
-
if (fields.paymentType?.type === "sats") {
|
|
34716
|
-
throw new NotImplementedError("Sats payments are not supported yet");
|
|
34717
|
-
}
|
|
34718
35373
|
if (fields.expiryTime) {
|
|
34719
35374
|
if (fields.expiryTime.getTime() <= Date.now()) {
|
|
34720
|
-
|
|
34721
|
-
|
|
34722
|
-
|
|
34723
|
-
|
|
34724
|
-
|
|
35375
|
+
invalidInvoices.push({
|
|
35376
|
+
invoice,
|
|
35377
|
+
error: new ValidationError("Invoice expired", {
|
|
35378
|
+
field: "invoice",
|
|
35379
|
+
value: fields.expiryTime.getTime(),
|
|
35380
|
+
expected: "Expiry time in the future"
|
|
35381
|
+
})
|
|
34725
35382
|
});
|
|
35383
|
+
return;
|
|
34726
35384
|
}
|
|
34727
35385
|
}
|
|
34728
|
-
if (fields.paymentType?.type !== "tokens") {
|
|
34729
|
-
throw new ValidationError("Invalid payment type", {
|
|
34730
|
-
field: "paymentType",
|
|
34731
|
-
value: fields.paymentType,
|
|
34732
|
-
expected: "tokens",
|
|
34733
|
-
index
|
|
34734
|
-
});
|
|
34735
|
-
}
|
|
34736
35386
|
if (fields.senderPublicKey && fields.senderPublicKey !== identityPublicKey) {
|
|
34737
|
-
|
|
34738
|
-
|
|
35387
|
+
invalidInvoices.push({
|
|
35388
|
+
invoice,
|
|
35389
|
+
error: new ValidationError("Sender public key mismatch", {
|
|
35390
|
+
field: "invoice",
|
|
35391
|
+
value: fields.senderPublicKey,
|
|
35392
|
+
expected: identityPublicKey
|
|
35393
|
+
})
|
|
34739
35394
|
});
|
|
35395
|
+
return;
|
|
34740
35396
|
}
|
|
34741
|
-
|
|
34742
|
-
|
|
34743
|
-
|
|
34744
|
-
|
|
34745
|
-
|
|
34746
|
-
|
|
35397
|
+
if (fields.paymentType?.type === "sats") {
|
|
35398
|
+
const encodedAmount = fields.paymentType.amount;
|
|
35399
|
+
if (amount && !isSafeForNumber(amount)) {
|
|
35400
|
+
invalidInvoices.push({
|
|
35401
|
+
invoice,
|
|
35402
|
+
error: new ValidationError("Invalid amount", {
|
|
35403
|
+
field: "invoice",
|
|
35404
|
+
value: amount,
|
|
35405
|
+
expected: "Safe for number"
|
|
35406
|
+
})
|
|
35407
|
+
});
|
|
35408
|
+
return;
|
|
35409
|
+
}
|
|
35410
|
+
if (!encodedAmount && !amount) {
|
|
35411
|
+
invalidInvoices.push({
|
|
35412
|
+
invoice,
|
|
35413
|
+
error: new ValidationError(
|
|
35414
|
+
"No amount passed for nil amount invoice",
|
|
35415
|
+
{
|
|
35416
|
+
field: "invoice",
|
|
35417
|
+
expected: "Amount to fulfill passed to function for nil amount invoice"
|
|
35418
|
+
}
|
|
35419
|
+
)
|
|
35420
|
+
});
|
|
35421
|
+
return;
|
|
35422
|
+
}
|
|
35423
|
+
satsInvoices.push({
|
|
35424
|
+
amountSats: encodedAmount ?? Number(amount),
|
|
35425
|
+
receiverIdentityPubkey: (0, import_utils24.hexToBytes)(addressData.identityPublicKey),
|
|
35426
|
+
sparkInvoice: invoice
|
|
35427
|
+
});
|
|
35428
|
+
} else if (fields.paymentType?.type === "tokens") {
|
|
35429
|
+
const tokenIdentifierHex = fields.paymentType.tokenIdentifier;
|
|
35430
|
+
const encodedAmount = fields.paymentType.amount;
|
|
35431
|
+
if (!tokenIdentifierHex) {
|
|
35432
|
+
invalidInvoices.push({
|
|
35433
|
+
invoice,
|
|
35434
|
+
error: new ValidationError(
|
|
35435
|
+
"No token identifier passed for tokens invoice",
|
|
35436
|
+
{
|
|
35437
|
+
field: "invoice",
|
|
35438
|
+
value: invoice,
|
|
35439
|
+
expected: "Token identifier passed"
|
|
35440
|
+
}
|
|
35441
|
+
)
|
|
35442
|
+
});
|
|
35443
|
+
return;
|
|
35444
|
+
}
|
|
35445
|
+
if (!encodedAmount && !amount) {
|
|
35446
|
+
invalidInvoices.push({
|
|
35447
|
+
invoice,
|
|
35448
|
+
error: new ValidationError(
|
|
35449
|
+
"No amount passed for nil amount invoice",
|
|
35450
|
+
{
|
|
35451
|
+
field: "invoice",
|
|
35452
|
+
expected: "Amount to fulfill passed to function for nil amount invoice"
|
|
35453
|
+
}
|
|
35454
|
+
)
|
|
35455
|
+
});
|
|
35456
|
+
return;
|
|
35457
|
+
}
|
|
35458
|
+
if (!tokenInvoices.has(tokenIdentifierHex)) {
|
|
35459
|
+
tokenInvoices.set(tokenIdentifierHex, [
|
|
35460
|
+
{
|
|
35461
|
+
invoice,
|
|
35462
|
+
identifierHex: tokenIdentifierHex,
|
|
35463
|
+
amount: encodedAmount ?? amount
|
|
35464
|
+
}
|
|
35465
|
+
]);
|
|
35466
|
+
} else {
|
|
35467
|
+
tokenInvoices.get(tokenIdentifierHex).push({
|
|
35468
|
+
invoice,
|
|
35469
|
+
identifierHex: tokenIdentifierHex,
|
|
35470
|
+
amount: encodedAmount ?? amount
|
|
35471
|
+
});
|
|
35472
|
+
}
|
|
35473
|
+
} else {
|
|
35474
|
+
invalidInvoices.push({
|
|
35475
|
+
invoice,
|
|
35476
|
+
error: new ValidationError("Invalid payment type", {
|
|
35477
|
+
field: "invoice",
|
|
35478
|
+
expected: "sats or tokens invoice"
|
|
35479
|
+
})
|
|
34747
35480
|
});
|
|
34748
35481
|
}
|
|
34749
|
-
if (!firstTokenIdentifierHexSeen) {
|
|
34750
|
-
firstTokenIdentifierHexSeen = tokenIdentifierHex;
|
|
34751
|
-
} else if (tokenIdentifierHex !== firstTokenIdentifierHexSeen) {
|
|
34752
|
-
throw new ValidationError(
|
|
34753
|
-
"All spark invoices must have the same token identifier",
|
|
34754
|
-
{
|
|
34755
|
-
field: "sparkInvoices",
|
|
34756
|
-
value: sparkInvoices,
|
|
34757
|
-
expected: "All invoices reference the same token identifier",
|
|
34758
|
-
index
|
|
34759
|
-
}
|
|
34760
|
-
);
|
|
34761
|
-
}
|
|
34762
|
-
let tokenAmount = fields.paymentType.amount ?? amount;
|
|
34763
|
-
if (!tokenAmount) {
|
|
34764
|
-
throw new ValidationError(
|
|
34765
|
-
"Missing token amount. Provide an amount in the invoice or as a parameter.",
|
|
34766
|
-
{
|
|
34767
|
-
field: "amount",
|
|
34768
|
-
index
|
|
34769
|
-
}
|
|
34770
|
-
);
|
|
34771
|
-
}
|
|
34772
|
-
return {
|
|
34773
|
-
invoice,
|
|
34774
|
-
tokenIdentifierHex,
|
|
34775
|
-
tokenAmount
|
|
34776
|
-
};
|
|
34777
|
-
});
|
|
34778
|
-
await this.syncTokenOutputs();
|
|
34779
|
-
const bech32mTokenIdentifier = encodeBech32mTokenIdentifier({
|
|
34780
|
-
tokenIdentifier: (0, import_utils24.hexToBytes)(firstTokenIdentifierHexSeen),
|
|
34781
|
-
network: this.config.getNetworkType()
|
|
34782
|
-
});
|
|
34783
|
-
const receiverOutputs = decoded.map((d) => ({
|
|
34784
|
-
tokenIdentifier: bech32mTokenIdentifier,
|
|
34785
|
-
tokenAmount: d.tokenAmount,
|
|
34786
|
-
receiverSparkAddress: d.invoice
|
|
34787
|
-
}));
|
|
34788
|
-
return this.tokenTransactionService.tokenTransfer({
|
|
34789
|
-
tokenOutputs: this.tokenOutputs,
|
|
34790
|
-
receiverOutputs
|
|
34791
35482
|
});
|
|
35483
|
+
return { satsInvoices, tokenInvoices, invalidInvoices };
|
|
34792
35484
|
}
|
|
34793
35485
|
/**
|
|
34794
35486
|
* Gets fee estimate for sending Lightning payments.
|
|
@@ -34887,7 +35579,12 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
34887
35579
|
let leavesToSendToSsp = [];
|
|
34888
35580
|
let leavesToSendToSE = [];
|
|
34889
35581
|
if (deductFeeFromWithdrawalAmount) {
|
|
34890
|
-
leavesToSendToSsp = targetAmountSats ?
|
|
35582
|
+
leavesToSendToSsp = targetAmountSats ? this.popOrThrow(
|
|
35583
|
+
(await this.selectLeaves([targetAmountSats])).get(
|
|
35584
|
+
targetAmountSats
|
|
35585
|
+
),
|
|
35586
|
+
`no leaves for ${targetAmountSats}`
|
|
35587
|
+
) : this.leaves;
|
|
34891
35588
|
if (fee > leavesToSendToSsp.reduce((acc, leaf) => acc + leaf.value, 0)) {
|
|
34892
35589
|
throw new ValidationError(
|
|
34893
35590
|
"The fee for the withdrawal is greater than the target withdrawal amount",
|
|
@@ -34910,8 +35607,14 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
34910
35607
|
);
|
|
34911
35608
|
}
|
|
34912
35609
|
const leaves = await this.selectLeaves([targetAmountSats, fee]);
|
|
34913
|
-
const leavesForTargetAmount =
|
|
34914
|
-
|
|
35610
|
+
const leavesForTargetAmount = this.popOrThrow(
|
|
35611
|
+
leaves.get(targetAmountSats),
|
|
35612
|
+
`failed to get leaves leaves for targetAmount, val: ${targetAmountSats}`
|
|
35613
|
+
);
|
|
35614
|
+
const leavesForFee = this.popOrThrow(
|
|
35615
|
+
leaves.get(fee),
|
|
35616
|
+
`failed to get leaves leaves for fee, val: ${fee}`
|
|
35617
|
+
);
|
|
34915
35618
|
if (!leavesForTargetAmount || !leavesForFee) {
|
|
34916
35619
|
throw new Error("Failed to select leaves for target amount and fee");
|
|
34917
35620
|
}
|
|
@@ -35002,7 +35705,10 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
35002
35705
|
expected: "smaller or equal to " + Number.MAX_SAFE_INTEGER
|
|
35003
35706
|
});
|
|
35004
35707
|
}
|
|
35005
|
-
let leaves =
|
|
35708
|
+
let leaves = this.popOrThrow(
|
|
35709
|
+
(await this.selectLeaves([amountSats])).get(amountSats),
|
|
35710
|
+
`no leaves for ${amountSats}`
|
|
35711
|
+
);
|
|
35006
35712
|
leaves = await this.checkRefreshTimelockNodes(leaves);
|
|
35007
35713
|
leaves = await this.checkExtendTimeLockNodes(leaves);
|
|
35008
35714
|
const feeEstimate = await sspClient.getCoopExitFeeQuote({
|
|
@@ -35678,6 +36384,9 @@ var SparkWallet = class _SparkWallet extends import_eventemitter3.EventEmitter {
|
|
|
35678
36384
|
offset += pageSize;
|
|
35679
36385
|
}
|
|
35680
36386
|
}
|
|
36387
|
+
async isOptimizationInProgress() {
|
|
36388
|
+
return this.optimizationInProgress;
|
|
36389
|
+
}
|
|
35681
36390
|
getOtelTraceUrls() {
|
|
35682
36391
|
const soConfig = this.config.getSigningOperators();
|
|
35683
36392
|
const sspBaseUrl = this.config.getSspBaseUrl();
|
|
@@ -35844,11 +36553,8 @@ function initializeTracerEnvBrowser({
|
|
|
35844
36553
|
});
|
|
35845
36554
|
}
|
|
35846
36555
|
|
|
35847
|
-
// src/spark-wallet/types.ts
|
|
35848
|
-
init_buffer();
|
|
35849
|
-
|
|
35850
36556
|
// src/index.ts
|
|
35851
|
-
var cryptoImpl2 = typeof window !== "undefined" && window.crypto ? window.crypto : typeof
|
|
36557
|
+
var cryptoImpl2 = typeof window !== "undefined" && window.crypto ? window.crypto : typeof globalThis !== "undefined" && globalThis.crypto ? globalThis.crypto : null;
|
|
35852
36558
|
setCrypto(cryptoImpl2);
|
|
35853
36559
|
// Annotate the CommonJS export names for ESM import in node:
|
|
35854
36560
|
0 && (module.exports = {
|
|
@@ -35871,6 +36577,7 @@ setCrypto(cryptoImpl2);
|
|
|
35871
36577
|
SparkSDKError,
|
|
35872
36578
|
SparkSdkLogger,
|
|
35873
36579
|
SparkWallet,
|
|
36580
|
+
SparkWalletEvent,
|
|
35874
36581
|
TEST_UNILATERAL_DIRECT_SEQUENCE,
|
|
35875
36582
|
TEST_UNILATERAL_SEQUENCE,
|
|
35876
36583
|
TaprootOutputKeysGenerator,
|
|
@@ -35883,6 +36590,7 @@ setCrypto(cryptoImpl2);
|
|
|
35883
36590
|
addPublicKeys,
|
|
35884
36591
|
applyAdaptorToSignature,
|
|
35885
36592
|
applyAdditiveTweakToPublicKey,
|
|
36593
|
+
assertBech32,
|
|
35886
36594
|
bech32mDecode,
|
|
35887
36595
|
bigIntToPrivateKey,
|
|
35888
36596
|
checkIfSelectedOutputsAreAvailable,
|
|
@@ -35946,6 +36654,8 @@ setCrypto(cryptoImpl2);
|
|
|
35946
36654
|
getTxIdNoReverse,
|
|
35947
36655
|
initializeTracerEnv,
|
|
35948
36656
|
isEphemeralAnchorOutput,
|
|
36657
|
+
isLegacySparkAddress,
|
|
36658
|
+
isSafeForNumber,
|
|
35949
36659
|
isTxBroadcast,
|
|
35950
36660
|
isValidPublicKey,
|
|
35951
36661
|
isValidSparkAddress,
|