@breeztech/breez-sdk-spark-react-native 0.11.0-dev2 → 0.12.1
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/README.md +16 -0
- package/android/CMakeLists.txt +4 -3
- package/{BreezSdkSparkReactNative.podspec → breeztech-breez-sdk-spark-react-native.podspec} +2 -2
- package/cpp/generated/breez_sdk_spark.cpp +1460 -536
- package/cpp/generated/breez_sdk_spark.hpp +94 -25
- package/lib/commonjs/generated/breez_sdk_spark-ffi.js.map +1 -1
- package/lib/commonjs/generated/breez_sdk_spark.js +314 -85
- package/lib/commonjs/generated/breez_sdk_spark.js.map +1 -1
- package/lib/commonjs/generated/breez_sdk_spark_bindings.js +2 -4
- package/lib/commonjs/generated/breez_sdk_spark_bindings.js.map +1 -1
- package/lib/commonjs/index.js +1 -11
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark-ffi.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark.js +313 -84
- package/lib/module/generated/breez_sdk_spark.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark_bindings.js +2 -4
- package/lib/module/generated/breez_sdk_spark_bindings.js.map +1 -1
- package/lib/module/index.js +0 -7
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +94 -66
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts +1446 -91
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/index.d.ts +0 -1
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts +94 -66
- package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts +1446 -91
- package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts.map +1 -1
- package/lib/typescript/module/src/index.d.ts +0 -1
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/package.json +4 -4
- package/plugin/build/index.d.ts +5 -0
- package/plugin/build/index.js +2 -2
- package/plugin/build/withBinaryArtifacts.d.ts +1 -1
- package/plugin/build/withBinaryArtifacts.js +5 -7
- package/plugin/build/withIOS.d.ts +5 -1
- package/plugin/build/withIOS.js +14 -4
- package/src/generated/breez_sdk_spark-ffi.ts +158 -82
- package/src/generated/breez_sdk_spark.ts +3012 -1249
- package/src/generated/breez_sdk_spark_bindings.ts +2 -2
- package/src/index.tsx +0 -7
|
@@ -2932,6 +2932,43 @@ export declare const MintIssuerTokenRequest: Readonly<{
|
|
|
2932
2932
|
*/
|
|
2933
2933
|
defaults: () => Partial<MintIssuerTokenRequest>;
|
|
2934
2934
|
}>;
|
|
2935
|
+
/**
|
|
2936
|
+
* Configuration for Nostr relay connections used in `Passkey`.
|
|
2937
|
+
*
|
|
2938
|
+
* Relay URLs are managed internally by the client:
|
|
2939
|
+
* - Public relays are always included
|
|
2940
|
+
* - Breez relay is added when `breez_api_key` is provided (enables NIP-42 auth)
|
|
2941
|
+
*/
|
|
2942
|
+
export type NostrRelayConfig = {
|
|
2943
|
+
/**
|
|
2944
|
+
* Optional Breez API key for authenticated access to the Breez relay.
|
|
2945
|
+
* When provided, the Breez relay is added and NIP-42 authentication is enabled.
|
|
2946
|
+
*/
|
|
2947
|
+
breezApiKey: string | undefined;
|
|
2948
|
+
/**
|
|
2949
|
+
* Connection timeout in seconds. Defaults to 30 when `None`.
|
|
2950
|
+
*/
|
|
2951
|
+
timeoutSecs: /*u32*/ number | undefined;
|
|
2952
|
+
};
|
|
2953
|
+
/**
|
|
2954
|
+
* Generated factory for {@link NostrRelayConfig} record objects.
|
|
2955
|
+
*/
|
|
2956
|
+
export declare const NostrRelayConfig: Readonly<{
|
|
2957
|
+
/**
|
|
2958
|
+
* Create a frozen instance of {@link NostrRelayConfig}, with defaults specified
|
|
2959
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
2960
|
+
*/
|
|
2961
|
+
create: (partial: Partial<NostrRelayConfig> & Required<Omit<NostrRelayConfig, "breezApiKey" | "timeoutSecs">>) => NostrRelayConfig;
|
|
2962
|
+
/**
|
|
2963
|
+
* Create a frozen instance of {@link NostrRelayConfig}, with defaults specified
|
|
2964
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
2965
|
+
*/
|
|
2966
|
+
new: (partial: Partial<NostrRelayConfig> & Required<Omit<NostrRelayConfig, "breezApiKey" | "timeoutSecs">>) => NostrRelayConfig;
|
|
2967
|
+
/**
|
|
2968
|
+
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
2969
|
+
*/
|
|
2970
|
+
defaults: () => Partial<NostrRelayConfig>;
|
|
2971
|
+
}>;
|
|
2935
2972
|
export type OptimizationConfig = {
|
|
2936
2973
|
/**
|
|
2937
2974
|
* Whether automatic leaf optimization is enabled.
|
|
@@ -4559,6 +4596,40 @@ export declare const Utxo: Readonly<{
|
|
|
4559
4596
|
*/
|
|
4560
4597
|
defaults: () => Partial<Utxo>;
|
|
4561
4598
|
}>;
|
|
4599
|
+
/**
|
|
4600
|
+
* A wallet derived from a passkey.
|
|
4601
|
+
*
|
|
4602
|
+
* Contains the derived seed and the label used during derivation.
|
|
4603
|
+
*/
|
|
4604
|
+
export type Wallet = {
|
|
4605
|
+
/**
|
|
4606
|
+
* The derived seed.
|
|
4607
|
+
*/
|
|
4608
|
+
seed: Seed;
|
|
4609
|
+
/**
|
|
4610
|
+
* The label used for derivation (either user-provided or the default).
|
|
4611
|
+
*/
|
|
4612
|
+
label: string;
|
|
4613
|
+
};
|
|
4614
|
+
/**
|
|
4615
|
+
* Generated factory for {@link Wallet} record objects.
|
|
4616
|
+
*/
|
|
4617
|
+
export declare const Wallet: Readonly<{
|
|
4618
|
+
/**
|
|
4619
|
+
* Create a frozen instance of {@link Wallet}, with defaults specified
|
|
4620
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
4621
|
+
*/
|
|
4622
|
+
create: (partial: Partial<Wallet> & Required<Omit<Wallet, never>>) => Wallet;
|
|
4623
|
+
/**
|
|
4624
|
+
* Create a frozen instance of {@link Wallet}, with defaults specified
|
|
4625
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
4626
|
+
*/
|
|
4627
|
+
new: (partial: Partial<Wallet> & Required<Omit<Wallet, never>>) => Wallet;
|
|
4628
|
+
/**
|
|
4629
|
+
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
4630
|
+
*/
|
|
4631
|
+
defaults: () => Partial<Wallet>;
|
|
4632
|
+
}>;
|
|
4562
4633
|
/**
|
|
4563
4634
|
* Typealias from the type name used in the UDL file to the custom type. This
|
|
4564
4635
|
* is needed because the UDL type name is used in function/method signatures.
|
|
@@ -6486,92 +6557,1147 @@ export declare const OptimizationEvent: Readonly<{
|
|
|
6486
6557
|
* @private
|
|
6487
6558
|
* This field is private and should not be used, use `tag` instead.
|
|
6488
6559
|
*/
|
|
6489
|
-
readonly [uniffiTypeNameSymbol]: "OptimizationEvent";
|
|
6560
|
+
readonly [uniffiTypeNameSymbol]: "OptimizationEvent";
|
|
6561
|
+
};
|
|
6562
|
+
"new"(): {
|
|
6563
|
+
readonly tag: OptimizationEvent_Tags.Cancelled;
|
|
6564
|
+
/**
|
|
6565
|
+
* @private
|
|
6566
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6567
|
+
*/
|
|
6568
|
+
readonly [uniffiTypeNameSymbol]: "OptimizationEvent";
|
|
6569
|
+
};
|
|
6570
|
+
instanceOf(obj: any): obj is {
|
|
6571
|
+
readonly tag: OptimizationEvent_Tags.Cancelled;
|
|
6572
|
+
/**
|
|
6573
|
+
* @private
|
|
6574
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6575
|
+
*/
|
|
6576
|
+
readonly [uniffiTypeNameSymbol]: "OptimizationEvent";
|
|
6577
|
+
};
|
|
6578
|
+
};
|
|
6579
|
+
Failed: {
|
|
6580
|
+
new (inner: {
|
|
6581
|
+
error: string;
|
|
6582
|
+
}): {
|
|
6583
|
+
readonly tag: OptimizationEvent_Tags.Failed;
|
|
6584
|
+
readonly inner: Readonly<{
|
|
6585
|
+
error: string;
|
|
6586
|
+
}>;
|
|
6587
|
+
/**
|
|
6588
|
+
* @private
|
|
6589
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6590
|
+
*/
|
|
6591
|
+
readonly [uniffiTypeNameSymbol]: "OptimizationEvent";
|
|
6592
|
+
};
|
|
6593
|
+
"new"(inner: {
|
|
6594
|
+
error: string;
|
|
6595
|
+
}): {
|
|
6596
|
+
readonly tag: OptimizationEvent_Tags.Failed;
|
|
6597
|
+
readonly inner: Readonly<{
|
|
6598
|
+
error: string;
|
|
6599
|
+
}>;
|
|
6600
|
+
/**
|
|
6601
|
+
* @private
|
|
6602
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6603
|
+
*/
|
|
6604
|
+
readonly [uniffiTypeNameSymbol]: "OptimizationEvent";
|
|
6605
|
+
};
|
|
6606
|
+
instanceOf(obj: any): obj is {
|
|
6607
|
+
readonly tag: OptimizationEvent_Tags.Failed;
|
|
6608
|
+
readonly inner: Readonly<{
|
|
6609
|
+
error: string;
|
|
6610
|
+
}>;
|
|
6611
|
+
/**
|
|
6612
|
+
* @private
|
|
6613
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6614
|
+
*/
|
|
6615
|
+
readonly [uniffiTypeNameSymbol]: "OptimizationEvent";
|
|
6616
|
+
};
|
|
6617
|
+
};
|
|
6618
|
+
Skipped: {
|
|
6619
|
+
new (): {
|
|
6620
|
+
readonly tag: OptimizationEvent_Tags.Skipped;
|
|
6621
|
+
/**
|
|
6622
|
+
* @private
|
|
6623
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6624
|
+
*/
|
|
6625
|
+
readonly [uniffiTypeNameSymbol]: "OptimizationEvent";
|
|
6626
|
+
};
|
|
6627
|
+
"new"(): {
|
|
6628
|
+
readonly tag: OptimizationEvent_Tags.Skipped;
|
|
6629
|
+
/**
|
|
6630
|
+
* @private
|
|
6631
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6632
|
+
*/
|
|
6633
|
+
readonly [uniffiTypeNameSymbol]: "OptimizationEvent";
|
|
6634
|
+
};
|
|
6635
|
+
instanceOf(obj: any): obj is {
|
|
6636
|
+
readonly tag: OptimizationEvent_Tags.Skipped;
|
|
6637
|
+
/**
|
|
6638
|
+
* @private
|
|
6639
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6640
|
+
*/
|
|
6641
|
+
readonly [uniffiTypeNameSymbol]: "OptimizationEvent";
|
|
6642
|
+
};
|
|
6643
|
+
};
|
|
6644
|
+
}>;
|
|
6645
|
+
export type OptimizationEvent = InstanceType<(typeof OptimizationEvent)[keyof Omit<typeof OptimizationEvent, 'instanceOf'>]>;
|
|
6646
|
+
export declare enum PasskeyError_Tags {
|
|
6647
|
+
PrfError = "PrfError",
|
|
6648
|
+
RelayConnectionFailed = "RelayConnectionFailed",
|
|
6649
|
+
NostrWriteFailed = "NostrWriteFailed",
|
|
6650
|
+
NostrReadFailed = "NostrReadFailed",
|
|
6651
|
+
KeyDerivationError = "KeyDerivationError",
|
|
6652
|
+
InvalidPrfOutput = "InvalidPrfOutput",
|
|
6653
|
+
MnemonicError = "MnemonicError",
|
|
6654
|
+
InvalidSalt = "InvalidSalt",
|
|
6655
|
+
Generic = "Generic"
|
|
6656
|
+
}
|
|
6657
|
+
/**
|
|
6658
|
+
* Error type for passkey operations.
|
|
6659
|
+
*/
|
|
6660
|
+
export declare const PasskeyError: Readonly<{
|
|
6661
|
+
instanceOf: (obj: any) => obj is PasskeyError;
|
|
6662
|
+
PrfError: {
|
|
6663
|
+
new (v0: PasskeyPrfError): {
|
|
6664
|
+
readonly tag: PasskeyError_Tags.PrfError;
|
|
6665
|
+
readonly inner: Readonly<[PasskeyPrfError]>;
|
|
6666
|
+
/**
|
|
6667
|
+
* @private
|
|
6668
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6669
|
+
*/
|
|
6670
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
6671
|
+
name: string;
|
|
6672
|
+
message: string;
|
|
6673
|
+
stack?: string;
|
|
6674
|
+
cause?: unknown;
|
|
6675
|
+
};
|
|
6676
|
+
"new"(v0: PasskeyPrfError): {
|
|
6677
|
+
readonly tag: PasskeyError_Tags.PrfError;
|
|
6678
|
+
readonly inner: Readonly<[PasskeyPrfError]>;
|
|
6679
|
+
/**
|
|
6680
|
+
* @private
|
|
6681
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6682
|
+
*/
|
|
6683
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
6684
|
+
name: string;
|
|
6685
|
+
message: string;
|
|
6686
|
+
stack?: string;
|
|
6687
|
+
cause?: unknown;
|
|
6688
|
+
};
|
|
6689
|
+
instanceOf(obj: any): obj is {
|
|
6690
|
+
readonly tag: PasskeyError_Tags.PrfError;
|
|
6691
|
+
readonly inner: Readonly<[PasskeyPrfError]>;
|
|
6692
|
+
/**
|
|
6693
|
+
* @private
|
|
6694
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6695
|
+
*/
|
|
6696
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
6697
|
+
name: string;
|
|
6698
|
+
message: string;
|
|
6699
|
+
stack?: string;
|
|
6700
|
+
cause?: unknown;
|
|
6701
|
+
};
|
|
6702
|
+
hasInner(obj: any): obj is {
|
|
6703
|
+
readonly tag: PasskeyError_Tags.PrfError;
|
|
6704
|
+
readonly inner: Readonly<[PasskeyPrfError]>;
|
|
6705
|
+
/**
|
|
6706
|
+
* @private
|
|
6707
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6708
|
+
*/
|
|
6709
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
6710
|
+
name: string;
|
|
6711
|
+
message: string;
|
|
6712
|
+
stack?: string;
|
|
6713
|
+
cause?: unknown;
|
|
6714
|
+
};
|
|
6715
|
+
getInner(obj: {
|
|
6716
|
+
readonly tag: PasskeyError_Tags.PrfError;
|
|
6717
|
+
readonly inner: Readonly<[PasskeyPrfError]>;
|
|
6718
|
+
/**
|
|
6719
|
+
* @private
|
|
6720
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6721
|
+
*/
|
|
6722
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
6723
|
+
name: string;
|
|
6724
|
+
message: string;
|
|
6725
|
+
stack?: string;
|
|
6726
|
+
cause?: unknown;
|
|
6727
|
+
}): Readonly<[PasskeyPrfError]>;
|
|
6728
|
+
isError(error: unknown): error is Error;
|
|
6729
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
6730
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
6731
|
+
stackTraceLimit: number;
|
|
6732
|
+
};
|
|
6733
|
+
RelayConnectionFailed: {
|
|
6734
|
+
new (v0: string): {
|
|
6735
|
+
readonly tag: PasskeyError_Tags.RelayConnectionFailed;
|
|
6736
|
+
readonly inner: Readonly<[string]>;
|
|
6737
|
+
/**
|
|
6738
|
+
* @private
|
|
6739
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6740
|
+
*/
|
|
6741
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
6742
|
+
name: string;
|
|
6743
|
+
message: string;
|
|
6744
|
+
stack?: string;
|
|
6745
|
+
cause?: unknown;
|
|
6746
|
+
};
|
|
6747
|
+
"new"(v0: string): {
|
|
6748
|
+
readonly tag: PasskeyError_Tags.RelayConnectionFailed;
|
|
6749
|
+
readonly inner: Readonly<[string]>;
|
|
6750
|
+
/**
|
|
6751
|
+
* @private
|
|
6752
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6753
|
+
*/
|
|
6754
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
6755
|
+
name: string;
|
|
6756
|
+
message: string;
|
|
6757
|
+
stack?: string;
|
|
6758
|
+
cause?: unknown;
|
|
6759
|
+
};
|
|
6760
|
+
instanceOf(obj: any): obj is {
|
|
6761
|
+
readonly tag: PasskeyError_Tags.RelayConnectionFailed;
|
|
6762
|
+
readonly inner: Readonly<[string]>;
|
|
6763
|
+
/**
|
|
6764
|
+
* @private
|
|
6765
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6766
|
+
*/
|
|
6767
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
6768
|
+
name: string;
|
|
6769
|
+
message: string;
|
|
6770
|
+
stack?: string;
|
|
6771
|
+
cause?: unknown;
|
|
6772
|
+
};
|
|
6773
|
+
hasInner(obj: any): obj is {
|
|
6774
|
+
readonly tag: PasskeyError_Tags.RelayConnectionFailed;
|
|
6775
|
+
readonly inner: Readonly<[string]>;
|
|
6776
|
+
/**
|
|
6777
|
+
* @private
|
|
6778
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6779
|
+
*/
|
|
6780
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
6781
|
+
name: string;
|
|
6782
|
+
message: string;
|
|
6783
|
+
stack?: string;
|
|
6784
|
+
cause?: unknown;
|
|
6785
|
+
};
|
|
6786
|
+
getInner(obj: {
|
|
6787
|
+
readonly tag: PasskeyError_Tags.RelayConnectionFailed;
|
|
6788
|
+
readonly inner: Readonly<[string]>;
|
|
6789
|
+
/**
|
|
6790
|
+
* @private
|
|
6791
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6792
|
+
*/
|
|
6793
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
6794
|
+
name: string;
|
|
6795
|
+
message: string;
|
|
6796
|
+
stack?: string;
|
|
6797
|
+
cause?: unknown;
|
|
6798
|
+
}): Readonly<[string]>;
|
|
6799
|
+
isError(error: unknown): error is Error;
|
|
6800
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
6801
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
6802
|
+
stackTraceLimit: number;
|
|
6803
|
+
};
|
|
6804
|
+
NostrWriteFailed: {
|
|
6805
|
+
new (v0: string): {
|
|
6806
|
+
readonly tag: PasskeyError_Tags.NostrWriteFailed;
|
|
6807
|
+
readonly inner: Readonly<[string]>;
|
|
6808
|
+
/**
|
|
6809
|
+
* @private
|
|
6810
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6811
|
+
*/
|
|
6812
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
6813
|
+
name: string;
|
|
6814
|
+
message: string;
|
|
6815
|
+
stack?: string;
|
|
6816
|
+
cause?: unknown;
|
|
6817
|
+
};
|
|
6818
|
+
"new"(v0: string): {
|
|
6819
|
+
readonly tag: PasskeyError_Tags.NostrWriteFailed;
|
|
6820
|
+
readonly inner: Readonly<[string]>;
|
|
6821
|
+
/**
|
|
6822
|
+
* @private
|
|
6823
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6824
|
+
*/
|
|
6825
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
6826
|
+
name: string;
|
|
6827
|
+
message: string;
|
|
6828
|
+
stack?: string;
|
|
6829
|
+
cause?: unknown;
|
|
6830
|
+
};
|
|
6831
|
+
instanceOf(obj: any): obj is {
|
|
6832
|
+
readonly tag: PasskeyError_Tags.NostrWriteFailed;
|
|
6833
|
+
readonly inner: Readonly<[string]>;
|
|
6834
|
+
/**
|
|
6835
|
+
* @private
|
|
6836
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6837
|
+
*/
|
|
6838
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
6839
|
+
name: string;
|
|
6840
|
+
message: string;
|
|
6841
|
+
stack?: string;
|
|
6842
|
+
cause?: unknown;
|
|
6843
|
+
};
|
|
6844
|
+
hasInner(obj: any): obj is {
|
|
6845
|
+
readonly tag: PasskeyError_Tags.NostrWriteFailed;
|
|
6846
|
+
readonly inner: Readonly<[string]>;
|
|
6847
|
+
/**
|
|
6848
|
+
* @private
|
|
6849
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6850
|
+
*/
|
|
6851
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
6852
|
+
name: string;
|
|
6853
|
+
message: string;
|
|
6854
|
+
stack?: string;
|
|
6855
|
+
cause?: unknown;
|
|
6856
|
+
};
|
|
6857
|
+
getInner(obj: {
|
|
6858
|
+
readonly tag: PasskeyError_Tags.NostrWriteFailed;
|
|
6859
|
+
readonly inner: Readonly<[string]>;
|
|
6860
|
+
/**
|
|
6861
|
+
* @private
|
|
6862
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6863
|
+
*/
|
|
6864
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
6865
|
+
name: string;
|
|
6866
|
+
message: string;
|
|
6867
|
+
stack?: string;
|
|
6868
|
+
cause?: unknown;
|
|
6869
|
+
}): Readonly<[string]>;
|
|
6870
|
+
isError(error: unknown): error is Error;
|
|
6871
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
6872
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
6873
|
+
stackTraceLimit: number;
|
|
6874
|
+
};
|
|
6875
|
+
NostrReadFailed: {
|
|
6876
|
+
new (v0: string): {
|
|
6877
|
+
readonly tag: PasskeyError_Tags.NostrReadFailed;
|
|
6878
|
+
readonly inner: Readonly<[string]>;
|
|
6879
|
+
/**
|
|
6880
|
+
* @private
|
|
6881
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6882
|
+
*/
|
|
6883
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
6884
|
+
name: string;
|
|
6885
|
+
message: string;
|
|
6886
|
+
stack?: string;
|
|
6887
|
+
cause?: unknown;
|
|
6888
|
+
};
|
|
6889
|
+
"new"(v0: string): {
|
|
6890
|
+
readonly tag: PasskeyError_Tags.NostrReadFailed;
|
|
6891
|
+
readonly inner: Readonly<[string]>;
|
|
6892
|
+
/**
|
|
6893
|
+
* @private
|
|
6894
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6895
|
+
*/
|
|
6896
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
6897
|
+
name: string;
|
|
6898
|
+
message: string;
|
|
6899
|
+
stack?: string;
|
|
6900
|
+
cause?: unknown;
|
|
6901
|
+
};
|
|
6902
|
+
instanceOf(obj: any): obj is {
|
|
6903
|
+
readonly tag: PasskeyError_Tags.NostrReadFailed;
|
|
6904
|
+
readonly inner: Readonly<[string]>;
|
|
6905
|
+
/**
|
|
6906
|
+
* @private
|
|
6907
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6908
|
+
*/
|
|
6909
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
6910
|
+
name: string;
|
|
6911
|
+
message: string;
|
|
6912
|
+
stack?: string;
|
|
6913
|
+
cause?: unknown;
|
|
6914
|
+
};
|
|
6915
|
+
hasInner(obj: any): obj is {
|
|
6916
|
+
readonly tag: PasskeyError_Tags.NostrReadFailed;
|
|
6917
|
+
readonly inner: Readonly<[string]>;
|
|
6918
|
+
/**
|
|
6919
|
+
* @private
|
|
6920
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6921
|
+
*/
|
|
6922
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
6923
|
+
name: string;
|
|
6924
|
+
message: string;
|
|
6925
|
+
stack?: string;
|
|
6926
|
+
cause?: unknown;
|
|
6927
|
+
};
|
|
6928
|
+
getInner(obj: {
|
|
6929
|
+
readonly tag: PasskeyError_Tags.NostrReadFailed;
|
|
6930
|
+
readonly inner: Readonly<[string]>;
|
|
6931
|
+
/**
|
|
6932
|
+
* @private
|
|
6933
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6934
|
+
*/
|
|
6935
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
6936
|
+
name: string;
|
|
6937
|
+
message: string;
|
|
6938
|
+
stack?: string;
|
|
6939
|
+
cause?: unknown;
|
|
6940
|
+
}): Readonly<[string]>;
|
|
6941
|
+
isError(error: unknown): error is Error;
|
|
6942
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
6943
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
6944
|
+
stackTraceLimit: number;
|
|
6945
|
+
};
|
|
6946
|
+
KeyDerivationError: {
|
|
6947
|
+
new (v0: string): {
|
|
6948
|
+
readonly tag: PasskeyError_Tags.KeyDerivationError;
|
|
6949
|
+
readonly inner: Readonly<[string]>;
|
|
6950
|
+
/**
|
|
6951
|
+
* @private
|
|
6952
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6953
|
+
*/
|
|
6954
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
6955
|
+
name: string;
|
|
6956
|
+
message: string;
|
|
6957
|
+
stack?: string;
|
|
6958
|
+
cause?: unknown;
|
|
6959
|
+
};
|
|
6960
|
+
"new"(v0: string): {
|
|
6961
|
+
readonly tag: PasskeyError_Tags.KeyDerivationError;
|
|
6962
|
+
readonly inner: Readonly<[string]>;
|
|
6963
|
+
/**
|
|
6964
|
+
* @private
|
|
6965
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6966
|
+
*/
|
|
6967
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
6968
|
+
name: string;
|
|
6969
|
+
message: string;
|
|
6970
|
+
stack?: string;
|
|
6971
|
+
cause?: unknown;
|
|
6972
|
+
};
|
|
6973
|
+
instanceOf(obj: any): obj is {
|
|
6974
|
+
readonly tag: PasskeyError_Tags.KeyDerivationError;
|
|
6975
|
+
readonly inner: Readonly<[string]>;
|
|
6976
|
+
/**
|
|
6977
|
+
* @private
|
|
6978
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6979
|
+
*/
|
|
6980
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
6981
|
+
name: string;
|
|
6982
|
+
message: string;
|
|
6983
|
+
stack?: string;
|
|
6984
|
+
cause?: unknown;
|
|
6985
|
+
};
|
|
6986
|
+
hasInner(obj: any): obj is {
|
|
6987
|
+
readonly tag: PasskeyError_Tags.KeyDerivationError;
|
|
6988
|
+
readonly inner: Readonly<[string]>;
|
|
6989
|
+
/**
|
|
6990
|
+
* @private
|
|
6991
|
+
* This field is private and should not be used, use `tag` instead.
|
|
6992
|
+
*/
|
|
6993
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
6994
|
+
name: string;
|
|
6995
|
+
message: string;
|
|
6996
|
+
stack?: string;
|
|
6997
|
+
cause?: unknown;
|
|
6998
|
+
};
|
|
6999
|
+
getInner(obj: {
|
|
7000
|
+
readonly tag: PasskeyError_Tags.KeyDerivationError;
|
|
7001
|
+
readonly inner: Readonly<[string]>;
|
|
7002
|
+
/**
|
|
7003
|
+
* @private
|
|
7004
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7005
|
+
*/
|
|
7006
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
7007
|
+
name: string;
|
|
7008
|
+
message: string;
|
|
7009
|
+
stack?: string;
|
|
7010
|
+
cause?: unknown;
|
|
7011
|
+
}): Readonly<[string]>;
|
|
7012
|
+
isError(error: unknown): error is Error;
|
|
7013
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
7014
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
7015
|
+
stackTraceLimit: number;
|
|
7016
|
+
};
|
|
7017
|
+
InvalidPrfOutput: {
|
|
7018
|
+
new (v0: string): {
|
|
7019
|
+
readonly tag: PasskeyError_Tags.InvalidPrfOutput;
|
|
7020
|
+
readonly inner: Readonly<[string]>;
|
|
7021
|
+
/**
|
|
7022
|
+
* @private
|
|
7023
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7024
|
+
*/
|
|
7025
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
7026
|
+
name: string;
|
|
7027
|
+
message: string;
|
|
7028
|
+
stack?: string;
|
|
7029
|
+
cause?: unknown;
|
|
7030
|
+
};
|
|
7031
|
+
"new"(v0: string): {
|
|
7032
|
+
readonly tag: PasskeyError_Tags.InvalidPrfOutput;
|
|
7033
|
+
readonly inner: Readonly<[string]>;
|
|
7034
|
+
/**
|
|
7035
|
+
* @private
|
|
7036
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7037
|
+
*/
|
|
7038
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
7039
|
+
name: string;
|
|
7040
|
+
message: string;
|
|
7041
|
+
stack?: string;
|
|
7042
|
+
cause?: unknown;
|
|
7043
|
+
};
|
|
7044
|
+
instanceOf(obj: any): obj is {
|
|
7045
|
+
readonly tag: PasskeyError_Tags.InvalidPrfOutput;
|
|
7046
|
+
readonly inner: Readonly<[string]>;
|
|
7047
|
+
/**
|
|
7048
|
+
* @private
|
|
7049
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7050
|
+
*/
|
|
7051
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
7052
|
+
name: string;
|
|
7053
|
+
message: string;
|
|
7054
|
+
stack?: string;
|
|
7055
|
+
cause?: unknown;
|
|
7056
|
+
};
|
|
7057
|
+
hasInner(obj: any): obj is {
|
|
7058
|
+
readonly tag: PasskeyError_Tags.InvalidPrfOutput;
|
|
7059
|
+
readonly inner: Readonly<[string]>;
|
|
7060
|
+
/**
|
|
7061
|
+
* @private
|
|
7062
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7063
|
+
*/
|
|
7064
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
7065
|
+
name: string;
|
|
7066
|
+
message: string;
|
|
7067
|
+
stack?: string;
|
|
7068
|
+
cause?: unknown;
|
|
7069
|
+
};
|
|
7070
|
+
getInner(obj: {
|
|
7071
|
+
readonly tag: PasskeyError_Tags.InvalidPrfOutput;
|
|
7072
|
+
readonly inner: Readonly<[string]>;
|
|
7073
|
+
/**
|
|
7074
|
+
* @private
|
|
7075
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7076
|
+
*/
|
|
7077
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
7078
|
+
name: string;
|
|
7079
|
+
message: string;
|
|
7080
|
+
stack?: string;
|
|
7081
|
+
cause?: unknown;
|
|
7082
|
+
}): Readonly<[string]>;
|
|
7083
|
+
isError(error: unknown): error is Error;
|
|
7084
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
7085
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
7086
|
+
stackTraceLimit: number;
|
|
7087
|
+
};
|
|
7088
|
+
MnemonicError: {
|
|
7089
|
+
new (v0: string): {
|
|
7090
|
+
readonly tag: PasskeyError_Tags.MnemonicError;
|
|
7091
|
+
readonly inner: Readonly<[string]>;
|
|
7092
|
+
/**
|
|
7093
|
+
* @private
|
|
7094
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7095
|
+
*/
|
|
7096
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
7097
|
+
name: string;
|
|
7098
|
+
message: string;
|
|
7099
|
+
stack?: string;
|
|
7100
|
+
cause?: unknown;
|
|
7101
|
+
};
|
|
7102
|
+
"new"(v0: string): {
|
|
7103
|
+
readonly tag: PasskeyError_Tags.MnemonicError;
|
|
7104
|
+
readonly inner: Readonly<[string]>;
|
|
7105
|
+
/**
|
|
7106
|
+
* @private
|
|
7107
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7108
|
+
*/
|
|
7109
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
7110
|
+
name: string;
|
|
7111
|
+
message: string;
|
|
7112
|
+
stack?: string;
|
|
7113
|
+
cause?: unknown;
|
|
7114
|
+
};
|
|
7115
|
+
instanceOf(obj: any): obj is {
|
|
7116
|
+
readonly tag: PasskeyError_Tags.MnemonicError;
|
|
7117
|
+
readonly inner: Readonly<[string]>;
|
|
7118
|
+
/**
|
|
7119
|
+
* @private
|
|
7120
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7121
|
+
*/
|
|
7122
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
7123
|
+
name: string;
|
|
7124
|
+
message: string;
|
|
7125
|
+
stack?: string;
|
|
7126
|
+
cause?: unknown;
|
|
7127
|
+
};
|
|
7128
|
+
hasInner(obj: any): obj is {
|
|
7129
|
+
readonly tag: PasskeyError_Tags.MnemonicError;
|
|
7130
|
+
readonly inner: Readonly<[string]>;
|
|
7131
|
+
/**
|
|
7132
|
+
* @private
|
|
7133
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7134
|
+
*/
|
|
7135
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
7136
|
+
name: string;
|
|
7137
|
+
message: string;
|
|
7138
|
+
stack?: string;
|
|
7139
|
+
cause?: unknown;
|
|
7140
|
+
};
|
|
7141
|
+
getInner(obj: {
|
|
7142
|
+
readonly tag: PasskeyError_Tags.MnemonicError;
|
|
7143
|
+
readonly inner: Readonly<[string]>;
|
|
7144
|
+
/**
|
|
7145
|
+
* @private
|
|
7146
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7147
|
+
*/
|
|
7148
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
7149
|
+
name: string;
|
|
7150
|
+
message: string;
|
|
7151
|
+
stack?: string;
|
|
7152
|
+
cause?: unknown;
|
|
7153
|
+
}): Readonly<[string]>;
|
|
7154
|
+
isError(error: unknown): error is Error;
|
|
7155
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
7156
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
7157
|
+
stackTraceLimit: number;
|
|
7158
|
+
};
|
|
7159
|
+
InvalidSalt: {
|
|
7160
|
+
new (v0: string): {
|
|
7161
|
+
readonly tag: PasskeyError_Tags.InvalidSalt;
|
|
7162
|
+
readonly inner: Readonly<[string]>;
|
|
7163
|
+
/**
|
|
7164
|
+
* @private
|
|
7165
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7166
|
+
*/
|
|
7167
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
7168
|
+
name: string;
|
|
7169
|
+
message: string;
|
|
7170
|
+
stack?: string;
|
|
7171
|
+
cause?: unknown;
|
|
7172
|
+
};
|
|
7173
|
+
"new"(v0: string): {
|
|
7174
|
+
readonly tag: PasskeyError_Tags.InvalidSalt;
|
|
7175
|
+
readonly inner: Readonly<[string]>;
|
|
7176
|
+
/**
|
|
7177
|
+
* @private
|
|
7178
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7179
|
+
*/
|
|
7180
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
7181
|
+
name: string;
|
|
7182
|
+
message: string;
|
|
7183
|
+
stack?: string;
|
|
7184
|
+
cause?: unknown;
|
|
7185
|
+
};
|
|
7186
|
+
instanceOf(obj: any): obj is {
|
|
7187
|
+
readonly tag: PasskeyError_Tags.InvalidSalt;
|
|
7188
|
+
readonly inner: Readonly<[string]>;
|
|
7189
|
+
/**
|
|
7190
|
+
* @private
|
|
7191
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7192
|
+
*/
|
|
7193
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
7194
|
+
name: string;
|
|
7195
|
+
message: string;
|
|
7196
|
+
stack?: string;
|
|
7197
|
+
cause?: unknown;
|
|
7198
|
+
};
|
|
7199
|
+
hasInner(obj: any): obj is {
|
|
7200
|
+
readonly tag: PasskeyError_Tags.InvalidSalt;
|
|
7201
|
+
readonly inner: Readonly<[string]>;
|
|
7202
|
+
/**
|
|
7203
|
+
* @private
|
|
7204
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7205
|
+
*/
|
|
7206
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
7207
|
+
name: string;
|
|
7208
|
+
message: string;
|
|
7209
|
+
stack?: string;
|
|
7210
|
+
cause?: unknown;
|
|
7211
|
+
};
|
|
7212
|
+
getInner(obj: {
|
|
7213
|
+
readonly tag: PasskeyError_Tags.InvalidSalt;
|
|
7214
|
+
readonly inner: Readonly<[string]>;
|
|
7215
|
+
/**
|
|
7216
|
+
* @private
|
|
7217
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7218
|
+
*/
|
|
7219
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
7220
|
+
name: string;
|
|
7221
|
+
message: string;
|
|
7222
|
+
stack?: string;
|
|
7223
|
+
cause?: unknown;
|
|
7224
|
+
}): Readonly<[string]>;
|
|
7225
|
+
isError(error: unknown): error is Error;
|
|
7226
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
7227
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
7228
|
+
stackTraceLimit: number;
|
|
7229
|
+
};
|
|
7230
|
+
Generic: {
|
|
7231
|
+
new (v0: string): {
|
|
7232
|
+
readonly tag: PasskeyError_Tags.Generic;
|
|
7233
|
+
readonly inner: Readonly<[string]>;
|
|
7234
|
+
/**
|
|
7235
|
+
* @private
|
|
7236
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7237
|
+
*/
|
|
7238
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
7239
|
+
name: string;
|
|
7240
|
+
message: string;
|
|
7241
|
+
stack?: string;
|
|
7242
|
+
cause?: unknown;
|
|
7243
|
+
};
|
|
7244
|
+
"new"(v0: string): {
|
|
7245
|
+
readonly tag: PasskeyError_Tags.Generic;
|
|
7246
|
+
readonly inner: Readonly<[string]>;
|
|
7247
|
+
/**
|
|
7248
|
+
* @private
|
|
7249
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7250
|
+
*/
|
|
7251
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
7252
|
+
name: string;
|
|
7253
|
+
message: string;
|
|
7254
|
+
stack?: string;
|
|
7255
|
+
cause?: unknown;
|
|
7256
|
+
};
|
|
7257
|
+
instanceOf(obj: any): obj is {
|
|
7258
|
+
readonly tag: PasskeyError_Tags.Generic;
|
|
7259
|
+
readonly inner: Readonly<[string]>;
|
|
7260
|
+
/**
|
|
7261
|
+
* @private
|
|
7262
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7263
|
+
*/
|
|
7264
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
7265
|
+
name: string;
|
|
7266
|
+
message: string;
|
|
7267
|
+
stack?: string;
|
|
7268
|
+
cause?: unknown;
|
|
7269
|
+
};
|
|
7270
|
+
hasInner(obj: any): obj is {
|
|
7271
|
+
readonly tag: PasskeyError_Tags.Generic;
|
|
7272
|
+
readonly inner: Readonly<[string]>;
|
|
7273
|
+
/**
|
|
7274
|
+
* @private
|
|
7275
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7276
|
+
*/
|
|
7277
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
7278
|
+
name: string;
|
|
7279
|
+
message: string;
|
|
7280
|
+
stack?: string;
|
|
7281
|
+
cause?: unknown;
|
|
7282
|
+
};
|
|
7283
|
+
getInner(obj: {
|
|
7284
|
+
readonly tag: PasskeyError_Tags.Generic;
|
|
7285
|
+
readonly inner: Readonly<[string]>;
|
|
7286
|
+
/**
|
|
7287
|
+
* @private
|
|
7288
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7289
|
+
*/
|
|
7290
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyError";
|
|
7291
|
+
name: string;
|
|
7292
|
+
message: string;
|
|
7293
|
+
stack?: string;
|
|
7294
|
+
cause?: unknown;
|
|
7295
|
+
}): Readonly<[string]>;
|
|
7296
|
+
isError(error: unknown): error is Error;
|
|
7297
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
7298
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
7299
|
+
stackTraceLimit: number;
|
|
7300
|
+
};
|
|
7301
|
+
}>;
|
|
7302
|
+
/**
|
|
7303
|
+
* Error type for passkey operations.
|
|
7304
|
+
*/
|
|
7305
|
+
export type PasskeyError = InstanceType<(typeof PasskeyError)[keyof Omit<typeof PasskeyError, 'instanceOf'>]>;
|
|
7306
|
+
export declare enum PasskeyPrfError_Tags {
|
|
7307
|
+
PrfNotSupported = "PrfNotSupported",
|
|
7308
|
+
UserCancelled = "UserCancelled",
|
|
7309
|
+
CredentialNotFound = "CredentialNotFound",
|
|
7310
|
+
AuthenticationFailed = "AuthenticationFailed",
|
|
7311
|
+
PrfEvaluationFailed = "PrfEvaluationFailed",
|
|
7312
|
+
Generic = "Generic"
|
|
7313
|
+
}
|
|
7314
|
+
/**
|
|
7315
|
+
* Error type for passkey PRF operations.
|
|
7316
|
+
* Platforms implement `PasskeyPrfProvider` and return this error type.
|
|
7317
|
+
*/
|
|
7318
|
+
export declare const PasskeyPrfError: Readonly<{
|
|
7319
|
+
instanceOf: (obj: any) => obj is PasskeyPrfError;
|
|
7320
|
+
PrfNotSupported: {
|
|
7321
|
+
new (): {
|
|
7322
|
+
readonly tag: PasskeyPrfError_Tags.PrfNotSupported;
|
|
7323
|
+
/**
|
|
7324
|
+
* @private
|
|
7325
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7326
|
+
*/
|
|
7327
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7328
|
+
name: string;
|
|
7329
|
+
message: string;
|
|
7330
|
+
stack?: string;
|
|
7331
|
+
cause?: unknown;
|
|
7332
|
+
};
|
|
7333
|
+
"new"(): {
|
|
7334
|
+
readonly tag: PasskeyPrfError_Tags.PrfNotSupported;
|
|
7335
|
+
/**
|
|
7336
|
+
* @private
|
|
7337
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7338
|
+
*/
|
|
7339
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7340
|
+
name: string;
|
|
7341
|
+
message: string;
|
|
7342
|
+
stack?: string;
|
|
7343
|
+
cause?: unknown;
|
|
7344
|
+
};
|
|
7345
|
+
instanceOf(obj: any): obj is {
|
|
7346
|
+
readonly tag: PasskeyPrfError_Tags.PrfNotSupported;
|
|
7347
|
+
/**
|
|
7348
|
+
* @private
|
|
7349
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7350
|
+
*/
|
|
7351
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7352
|
+
name: string;
|
|
7353
|
+
message: string;
|
|
7354
|
+
stack?: string;
|
|
7355
|
+
cause?: unknown;
|
|
7356
|
+
};
|
|
7357
|
+
hasInner(obj: any): obj is {
|
|
7358
|
+
readonly tag: PasskeyPrfError_Tags.PrfNotSupported;
|
|
7359
|
+
/**
|
|
7360
|
+
* @private
|
|
7361
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7362
|
+
*/
|
|
7363
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7364
|
+
name: string;
|
|
7365
|
+
message: string;
|
|
7366
|
+
stack?: string;
|
|
7367
|
+
cause?: unknown;
|
|
7368
|
+
};
|
|
7369
|
+
isError(error: unknown): error is Error;
|
|
7370
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
7371
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
7372
|
+
stackTraceLimit: number;
|
|
7373
|
+
};
|
|
7374
|
+
UserCancelled: {
|
|
7375
|
+
new (): {
|
|
7376
|
+
readonly tag: PasskeyPrfError_Tags.UserCancelled;
|
|
7377
|
+
/**
|
|
7378
|
+
* @private
|
|
7379
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7380
|
+
*/
|
|
7381
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7382
|
+
name: string;
|
|
7383
|
+
message: string;
|
|
7384
|
+
stack?: string;
|
|
7385
|
+
cause?: unknown;
|
|
7386
|
+
};
|
|
7387
|
+
"new"(): {
|
|
7388
|
+
readonly tag: PasskeyPrfError_Tags.UserCancelled;
|
|
7389
|
+
/**
|
|
7390
|
+
* @private
|
|
7391
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7392
|
+
*/
|
|
7393
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7394
|
+
name: string;
|
|
7395
|
+
message: string;
|
|
7396
|
+
stack?: string;
|
|
7397
|
+
cause?: unknown;
|
|
7398
|
+
};
|
|
7399
|
+
instanceOf(obj: any): obj is {
|
|
7400
|
+
readonly tag: PasskeyPrfError_Tags.UserCancelled;
|
|
7401
|
+
/**
|
|
7402
|
+
* @private
|
|
7403
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7404
|
+
*/
|
|
7405
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7406
|
+
name: string;
|
|
7407
|
+
message: string;
|
|
7408
|
+
stack?: string;
|
|
7409
|
+
cause?: unknown;
|
|
7410
|
+
};
|
|
7411
|
+
hasInner(obj: any): obj is {
|
|
7412
|
+
readonly tag: PasskeyPrfError_Tags.UserCancelled;
|
|
7413
|
+
/**
|
|
7414
|
+
* @private
|
|
7415
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7416
|
+
*/
|
|
7417
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7418
|
+
name: string;
|
|
7419
|
+
message: string;
|
|
7420
|
+
stack?: string;
|
|
7421
|
+
cause?: unknown;
|
|
7422
|
+
};
|
|
7423
|
+
isError(error: unknown): error is Error;
|
|
7424
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
7425
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
7426
|
+
stackTraceLimit: number;
|
|
7427
|
+
};
|
|
7428
|
+
CredentialNotFound: {
|
|
7429
|
+
new (): {
|
|
7430
|
+
readonly tag: PasskeyPrfError_Tags.CredentialNotFound;
|
|
7431
|
+
/**
|
|
7432
|
+
* @private
|
|
7433
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7434
|
+
*/
|
|
7435
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7436
|
+
name: string;
|
|
7437
|
+
message: string;
|
|
7438
|
+
stack?: string;
|
|
7439
|
+
cause?: unknown;
|
|
7440
|
+
};
|
|
7441
|
+
"new"(): {
|
|
7442
|
+
readonly tag: PasskeyPrfError_Tags.CredentialNotFound;
|
|
7443
|
+
/**
|
|
7444
|
+
* @private
|
|
7445
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7446
|
+
*/
|
|
7447
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7448
|
+
name: string;
|
|
7449
|
+
message: string;
|
|
7450
|
+
stack?: string;
|
|
7451
|
+
cause?: unknown;
|
|
7452
|
+
};
|
|
7453
|
+
instanceOf(obj: any): obj is {
|
|
7454
|
+
readonly tag: PasskeyPrfError_Tags.CredentialNotFound;
|
|
7455
|
+
/**
|
|
7456
|
+
* @private
|
|
7457
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7458
|
+
*/
|
|
7459
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7460
|
+
name: string;
|
|
7461
|
+
message: string;
|
|
7462
|
+
stack?: string;
|
|
7463
|
+
cause?: unknown;
|
|
7464
|
+
};
|
|
7465
|
+
hasInner(obj: any): obj is {
|
|
7466
|
+
readonly tag: PasskeyPrfError_Tags.CredentialNotFound;
|
|
7467
|
+
/**
|
|
7468
|
+
* @private
|
|
7469
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7470
|
+
*/
|
|
7471
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7472
|
+
name: string;
|
|
7473
|
+
message: string;
|
|
7474
|
+
stack?: string;
|
|
7475
|
+
cause?: unknown;
|
|
7476
|
+
};
|
|
7477
|
+
isError(error: unknown): error is Error;
|
|
7478
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
7479
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
7480
|
+
stackTraceLimit: number;
|
|
7481
|
+
};
|
|
7482
|
+
AuthenticationFailed: {
|
|
7483
|
+
new (v0: string): {
|
|
7484
|
+
readonly tag: PasskeyPrfError_Tags.AuthenticationFailed;
|
|
7485
|
+
readonly inner: Readonly<[string]>;
|
|
7486
|
+
/**
|
|
7487
|
+
* @private
|
|
7488
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7489
|
+
*/
|
|
7490
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7491
|
+
name: string;
|
|
7492
|
+
message: string;
|
|
7493
|
+
stack?: string;
|
|
7494
|
+
cause?: unknown;
|
|
7495
|
+
};
|
|
7496
|
+
"new"(v0: string): {
|
|
7497
|
+
readonly tag: PasskeyPrfError_Tags.AuthenticationFailed;
|
|
7498
|
+
readonly inner: Readonly<[string]>;
|
|
7499
|
+
/**
|
|
7500
|
+
* @private
|
|
7501
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7502
|
+
*/
|
|
7503
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7504
|
+
name: string;
|
|
7505
|
+
message: string;
|
|
7506
|
+
stack?: string;
|
|
7507
|
+
cause?: unknown;
|
|
7508
|
+
};
|
|
7509
|
+
instanceOf(obj: any): obj is {
|
|
7510
|
+
readonly tag: PasskeyPrfError_Tags.AuthenticationFailed;
|
|
7511
|
+
readonly inner: Readonly<[string]>;
|
|
7512
|
+
/**
|
|
7513
|
+
* @private
|
|
7514
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7515
|
+
*/
|
|
7516
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7517
|
+
name: string;
|
|
7518
|
+
message: string;
|
|
7519
|
+
stack?: string;
|
|
7520
|
+
cause?: unknown;
|
|
7521
|
+
};
|
|
7522
|
+
hasInner(obj: any): obj is {
|
|
7523
|
+
readonly tag: PasskeyPrfError_Tags.AuthenticationFailed;
|
|
7524
|
+
readonly inner: Readonly<[string]>;
|
|
7525
|
+
/**
|
|
7526
|
+
* @private
|
|
7527
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7528
|
+
*/
|
|
7529
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7530
|
+
name: string;
|
|
7531
|
+
message: string;
|
|
7532
|
+
stack?: string;
|
|
7533
|
+
cause?: unknown;
|
|
7534
|
+
};
|
|
7535
|
+
getInner(obj: {
|
|
7536
|
+
readonly tag: PasskeyPrfError_Tags.AuthenticationFailed;
|
|
7537
|
+
readonly inner: Readonly<[string]>;
|
|
7538
|
+
/**
|
|
7539
|
+
* @private
|
|
7540
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7541
|
+
*/
|
|
7542
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7543
|
+
name: string;
|
|
7544
|
+
message: string;
|
|
7545
|
+
stack?: string;
|
|
7546
|
+
cause?: unknown;
|
|
7547
|
+
}): Readonly<[string]>;
|
|
7548
|
+
isError(error: unknown): error is Error;
|
|
7549
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
7550
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
7551
|
+
stackTraceLimit: number;
|
|
7552
|
+
};
|
|
7553
|
+
PrfEvaluationFailed: {
|
|
7554
|
+
new (v0: string): {
|
|
7555
|
+
readonly tag: PasskeyPrfError_Tags.PrfEvaluationFailed;
|
|
7556
|
+
readonly inner: Readonly<[string]>;
|
|
7557
|
+
/**
|
|
7558
|
+
* @private
|
|
7559
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7560
|
+
*/
|
|
7561
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7562
|
+
name: string;
|
|
7563
|
+
message: string;
|
|
7564
|
+
stack?: string;
|
|
7565
|
+
cause?: unknown;
|
|
7566
|
+
};
|
|
7567
|
+
"new"(v0: string): {
|
|
7568
|
+
readonly tag: PasskeyPrfError_Tags.PrfEvaluationFailed;
|
|
7569
|
+
readonly inner: Readonly<[string]>;
|
|
7570
|
+
/**
|
|
7571
|
+
* @private
|
|
7572
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7573
|
+
*/
|
|
7574
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7575
|
+
name: string;
|
|
7576
|
+
message: string;
|
|
7577
|
+
stack?: string;
|
|
7578
|
+
cause?: unknown;
|
|
7579
|
+
};
|
|
7580
|
+
instanceOf(obj: any): obj is {
|
|
7581
|
+
readonly tag: PasskeyPrfError_Tags.PrfEvaluationFailed;
|
|
7582
|
+
readonly inner: Readonly<[string]>;
|
|
7583
|
+
/**
|
|
7584
|
+
* @private
|
|
7585
|
+
* This field is private and should not be used, use `tag` instead.
|
|
7586
|
+
*/
|
|
7587
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7588
|
+
name: string;
|
|
7589
|
+
message: string;
|
|
7590
|
+
stack?: string;
|
|
7591
|
+
cause?: unknown;
|
|
6490
7592
|
};
|
|
6491
|
-
|
|
6492
|
-
readonly tag:
|
|
7593
|
+
hasInner(obj: any): obj is {
|
|
7594
|
+
readonly tag: PasskeyPrfError_Tags.PrfEvaluationFailed;
|
|
7595
|
+
readonly inner: Readonly<[string]>;
|
|
6493
7596
|
/**
|
|
6494
7597
|
* @private
|
|
6495
7598
|
* This field is private and should not be used, use `tag` instead.
|
|
6496
7599
|
*/
|
|
6497
|
-
readonly [uniffiTypeNameSymbol]: "
|
|
7600
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7601
|
+
name: string;
|
|
7602
|
+
message: string;
|
|
7603
|
+
stack?: string;
|
|
7604
|
+
cause?: unknown;
|
|
6498
7605
|
};
|
|
6499
|
-
|
|
6500
|
-
readonly tag:
|
|
7606
|
+
getInner(obj: {
|
|
7607
|
+
readonly tag: PasskeyPrfError_Tags.PrfEvaluationFailed;
|
|
7608
|
+
readonly inner: Readonly<[string]>;
|
|
6501
7609
|
/**
|
|
6502
7610
|
* @private
|
|
6503
7611
|
* This field is private and should not be used, use `tag` instead.
|
|
6504
7612
|
*/
|
|
6505
|
-
readonly [uniffiTypeNameSymbol]: "
|
|
6506
|
-
|
|
7613
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7614
|
+
name: string;
|
|
7615
|
+
message: string;
|
|
7616
|
+
stack?: string;
|
|
7617
|
+
cause?: unknown;
|
|
7618
|
+
}): Readonly<[string]>;
|
|
7619
|
+
isError(error: unknown): error is Error;
|
|
7620
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
7621
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
7622
|
+
stackTraceLimit: number;
|
|
6507
7623
|
};
|
|
6508
|
-
|
|
6509
|
-
new (
|
|
6510
|
-
|
|
6511
|
-
|
|
6512
|
-
readonly tag: OptimizationEvent_Tags.Failed;
|
|
6513
|
-
readonly inner: Readonly<{
|
|
6514
|
-
error: string;
|
|
6515
|
-
}>;
|
|
7624
|
+
Generic: {
|
|
7625
|
+
new (v0: string): {
|
|
7626
|
+
readonly tag: PasskeyPrfError_Tags.Generic;
|
|
7627
|
+
readonly inner: Readonly<[string]>;
|
|
6516
7628
|
/**
|
|
6517
7629
|
* @private
|
|
6518
7630
|
* This field is private and should not be used, use `tag` instead.
|
|
6519
7631
|
*/
|
|
6520
|
-
readonly [uniffiTypeNameSymbol]: "
|
|
7632
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7633
|
+
name: string;
|
|
7634
|
+
message: string;
|
|
7635
|
+
stack?: string;
|
|
7636
|
+
cause?: unknown;
|
|
6521
7637
|
};
|
|
6522
|
-
"new"(
|
|
6523
|
-
|
|
6524
|
-
|
|
6525
|
-
readonly tag: OptimizationEvent_Tags.Failed;
|
|
6526
|
-
readonly inner: Readonly<{
|
|
6527
|
-
error: string;
|
|
6528
|
-
}>;
|
|
7638
|
+
"new"(v0: string): {
|
|
7639
|
+
readonly tag: PasskeyPrfError_Tags.Generic;
|
|
7640
|
+
readonly inner: Readonly<[string]>;
|
|
6529
7641
|
/**
|
|
6530
7642
|
* @private
|
|
6531
7643
|
* This field is private and should not be used, use `tag` instead.
|
|
6532
7644
|
*/
|
|
6533
|
-
readonly [uniffiTypeNameSymbol]: "
|
|
7645
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7646
|
+
name: string;
|
|
7647
|
+
message: string;
|
|
7648
|
+
stack?: string;
|
|
7649
|
+
cause?: unknown;
|
|
6534
7650
|
};
|
|
6535
7651
|
instanceOf(obj: any): obj is {
|
|
6536
|
-
readonly tag:
|
|
6537
|
-
readonly inner: Readonly<
|
|
6538
|
-
error: string;
|
|
6539
|
-
}>;
|
|
6540
|
-
/**
|
|
6541
|
-
* @private
|
|
6542
|
-
* This field is private and should not be used, use `tag` instead.
|
|
6543
|
-
*/
|
|
6544
|
-
readonly [uniffiTypeNameSymbol]: "OptimizationEvent";
|
|
6545
|
-
};
|
|
6546
|
-
};
|
|
6547
|
-
Skipped: {
|
|
6548
|
-
new (): {
|
|
6549
|
-
readonly tag: OptimizationEvent_Tags.Skipped;
|
|
7652
|
+
readonly tag: PasskeyPrfError_Tags.Generic;
|
|
7653
|
+
readonly inner: Readonly<[string]>;
|
|
6550
7654
|
/**
|
|
6551
7655
|
* @private
|
|
6552
7656
|
* This field is private and should not be used, use `tag` instead.
|
|
6553
7657
|
*/
|
|
6554
|
-
readonly [uniffiTypeNameSymbol]: "
|
|
7658
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7659
|
+
name: string;
|
|
7660
|
+
message: string;
|
|
7661
|
+
stack?: string;
|
|
7662
|
+
cause?: unknown;
|
|
6555
7663
|
};
|
|
6556
|
-
|
|
6557
|
-
readonly tag:
|
|
7664
|
+
hasInner(obj: any): obj is {
|
|
7665
|
+
readonly tag: PasskeyPrfError_Tags.Generic;
|
|
7666
|
+
readonly inner: Readonly<[string]>;
|
|
6558
7667
|
/**
|
|
6559
7668
|
* @private
|
|
6560
7669
|
* This field is private and should not be used, use `tag` instead.
|
|
6561
7670
|
*/
|
|
6562
|
-
readonly [uniffiTypeNameSymbol]: "
|
|
7671
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7672
|
+
name: string;
|
|
7673
|
+
message: string;
|
|
7674
|
+
stack?: string;
|
|
7675
|
+
cause?: unknown;
|
|
6563
7676
|
};
|
|
6564
|
-
|
|
6565
|
-
readonly tag:
|
|
7677
|
+
getInner(obj: {
|
|
7678
|
+
readonly tag: PasskeyPrfError_Tags.Generic;
|
|
7679
|
+
readonly inner: Readonly<[string]>;
|
|
6566
7680
|
/**
|
|
6567
7681
|
* @private
|
|
6568
7682
|
* This field is private and should not be used, use `tag` instead.
|
|
6569
7683
|
*/
|
|
6570
|
-
readonly [uniffiTypeNameSymbol]: "
|
|
6571
|
-
|
|
7684
|
+
readonly [uniffiTypeNameSymbol]: "PasskeyPrfError";
|
|
7685
|
+
name: string;
|
|
7686
|
+
message: string;
|
|
7687
|
+
stack?: string;
|
|
7688
|
+
cause?: unknown;
|
|
7689
|
+
}): Readonly<[string]>;
|
|
7690
|
+
isError(error: unknown): error is Error;
|
|
7691
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
7692
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
7693
|
+
stackTraceLimit: number;
|
|
6572
7694
|
};
|
|
6573
7695
|
}>;
|
|
6574
|
-
|
|
7696
|
+
/**
|
|
7697
|
+
* Error type for passkey PRF operations.
|
|
7698
|
+
* Platforms implement `PasskeyPrfProvider` and return this error type.
|
|
7699
|
+
*/
|
|
7700
|
+
export type PasskeyPrfError = InstanceType<(typeof PasskeyPrfError)[keyof Omit<typeof PasskeyPrfError, 'instanceOf'>]>;
|
|
6575
7701
|
export declare enum PaymentDetails_Tags {
|
|
6576
7702
|
Spark = "Spark",
|
|
6577
7703
|
Token = "Token",
|
|
@@ -8581,7 +9707,8 @@ export declare enum SdkEvent_Tags {
|
|
|
8581
9707
|
PaymentSucceeded = "PaymentSucceeded",
|
|
8582
9708
|
PaymentPending = "PaymentPending",
|
|
8583
9709
|
PaymentFailed = "PaymentFailed",
|
|
8584
|
-
Optimization = "Optimization"
|
|
9710
|
+
Optimization = "Optimization",
|
|
9711
|
+
LightningAddressChanged = "LightningAddressChanged"
|
|
8585
9712
|
}
|
|
8586
9713
|
/**
|
|
8587
9714
|
* Events emitted by the SDK
|
|
@@ -8848,6 +9975,45 @@ export declare const SdkEvent: Readonly<{
|
|
|
8848
9975
|
readonly [uniffiTypeNameSymbol]: "SdkEvent";
|
|
8849
9976
|
};
|
|
8850
9977
|
};
|
|
9978
|
+
LightningAddressChanged: {
|
|
9979
|
+
new (inner: {
|
|
9980
|
+
lightningAddress: LightningAddressInfo | undefined;
|
|
9981
|
+
}): {
|
|
9982
|
+
readonly tag: SdkEvent_Tags.LightningAddressChanged;
|
|
9983
|
+
readonly inner: Readonly<{
|
|
9984
|
+
lightningAddress: LightningAddressInfo | undefined;
|
|
9985
|
+
}>;
|
|
9986
|
+
/**
|
|
9987
|
+
* @private
|
|
9988
|
+
* This field is private and should not be used, use `tag` instead.
|
|
9989
|
+
*/
|
|
9990
|
+
readonly [uniffiTypeNameSymbol]: "SdkEvent";
|
|
9991
|
+
};
|
|
9992
|
+
"new"(inner: {
|
|
9993
|
+
lightningAddress: LightningAddressInfo | undefined;
|
|
9994
|
+
}): {
|
|
9995
|
+
readonly tag: SdkEvent_Tags.LightningAddressChanged;
|
|
9996
|
+
readonly inner: Readonly<{
|
|
9997
|
+
lightningAddress: LightningAddressInfo | undefined;
|
|
9998
|
+
}>;
|
|
9999
|
+
/**
|
|
10000
|
+
* @private
|
|
10001
|
+
* This field is private and should not be used, use `tag` instead.
|
|
10002
|
+
*/
|
|
10003
|
+
readonly [uniffiTypeNameSymbol]: "SdkEvent";
|
|
10004
|
+
};
|
|
10005
|
+
instanceOf(obj: any): obj is {
|
|
10006
|
+
readonly tag: SdkEvent_Tags.LightningAddressChanged;
|
|
10007
|
+
readonly inner: Readonly<{
|
|
10008
|
+
lightningAddress: LightningAddressInfo | undefined;
|
|
10009
|
+
}>;
|
|
10010
|
+
/**
|
|
10011
|
+
* @private
|
|
10012
|
+
* This field is private and should not be used, use `tag` instead.
|
|
10013
|
+
*/
|
|
10014
|
+
readonly [uniffiTypeNameSymbol]: "SdkEvent";
|
|
10015
|
+
};
|
|
10016
|
+
};
|
|
8851
10017
|
}>;
|
|
8852
10018
|
/**
|
|
8853
10019
|
* Events emitted by the SDK
|
|
@@ -12866,6 +14032,221 @@ export declare class FiatServiceImpl extends UniffiAbstractObject implements Fia
|
|
|
12866
14032
|
uniffiDestroy(): void;
|
|
12867
14033
|
static instanceOf(obj: any): obj is FiatServiceImpl;
|
|
12868
14034
|
}
|
|
14035
|
+
/**
|
|
14036
|
+
* Orchestrates passkey-based wallet creation and restore operations.
|
|
14037
|
+
*
|
|
14038
|
+
* This struct coordinates between the platform's passkey PRF provider and
|
|
14039
|
+
* Nostr relays to derive wallet mnemonics and manage labels.
|
|
14040
|
+
*
|
|
14041
|
+
* The Nostr identity (derived from the passkey's magic salt) is cached after
|
|
14042
|
+
* the first derivation so that subsequent calls to [`Passkey::list_labels`]
|
|
14043
|
+
* and [`Passkey::store_label`] do not require additional PRF interactions.
|
|
14044
|
+
*/
|
|
14045
|
+
export interface PasskeyInterface {
|
|
14046
|
+
/**
|
|
14047
|
+
* Derive a wallet for a given label.
|
|
14048
|
+
*
|
|
14049
|
+
* Uses the passkey PRF to derive a 12-word BIP39 mnemonic from the label
|
|
14050
|
+
* and returns it as a [`Wallet`] containing the seed and resolved label.
|
|
14051
|
+
* This works for both creating a new wallet and restoring an existing one.
|
|
14052
|
+
*
|
|
14053
|
+
* # Arguments
|
|
14054
|
+
* * `label` - A user-chosen label (e.g., "personal", "business").
|
|
14055
|
+
* If `None`, defaults to [`DEFAULT_LABEL`].
|
|
14056
|
+
*/
|
|
14057
|
+
getWallet(label: string | undefined, asyncOpts_?: {
|
|
14058
|
+
signal: AbortSignal;
|
|
14059
|
+
}): Promise<Wallet>;
|
|
14060
|
+
/**
|
|
14061
|
+
* Check if passkey PRF is available on this device.
|
|
14062
|
+
*
|
|
14063
|
+
* Delegates to the platform's `PasskeyPrfProvider` implementation.
|
|
14064
|
+
*/
|
|
14065
|
+
isAvailable(asyncOpts_?: {
|
|
14066
|
+
signal: AbortSignal;
|
|
14067
|
+
}): Promise<boolean>;
|
|
14068
|
+
/**
|
|
14069
|
+
* List all labels published to Nostr for this passkey's identity.
|
|
14070
|
+
*
|
|
14071
|
+
* Queries Nostr relays for all labels associated with the Nostr identity
|
|
14072
|
+
* derived from this passkey. Requires 1 PRF call.
|
|
14073
|
+
*/
|
|
14074
|
+
listLabels(asyncOpts_?: {
|
|
14075
|
+
signal: AbortSignal;
|
|
14076
|
+
}): Promise<Array<string>>;
|
|
14077
|
+
/**
|
|
14078
|
+
* Publish a label to Nostr relays for this passkey's identity.
|
|
14079
|
+
*
|
|
14080
|
+
* Idempotent: if the label already exists, it is not published again.
|
|
14081
|
+
* Requires 1 PRF call.
|
|
14082
|
+
*
|
|
14083
|
+
* # Arguments
|
|
14084
|
+
* * `label` - A user-chosen label (e.g., "personal", "business")
|
|
14085
|
+
*/
|
|
14086
|
+
storeLabel(label: string, asyncOpts_?: {
|
|
14087
|
+
signal: AbortSignal;
|
|
14088
|
+
}): Promise<void>;
|
|
14089
|
+
}
|
|
14090
|
+
/**
|
|
14091
|
+
* Orchestrates passkey-based wallet creation and restore operations.
|
|
14092
|
+
*
|
|
14093
|
+
* This struct coordinates between the platform's passkey PRF provider and
|
|
14094
|
+
* Nostr relays to derive wallet mnemonics and manage labels.
|
|
14095
|
+
*
|
|
14096
|
+
* The Nostr identity (derived from the passkey's magic salt) is cached after
|
|
14097
|
+
* the first derivation so that subsequent calls to [`Passkey::list_labels`]
|
|
14098
|
+
* and [`Passkey::store_label`] do not require additional PRF interactions.
|
|
14099
|
+
*/
|
|
14100
|
+
export declare class Passkey extends UniffiAbstractObject implements PasskeyInterface {
|
|
14101
|
+
readonly [uniffiTypeNameSymbol] = "Passkey";
|
|
14102
|
+
readonly [destructorGuardSymbol]: UniffiRustArcPtr;
|
|
14103
|
+
readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer;
|
|
14104
|
+
/**
|
|
14105
|
+
* Create a new `Passkey` instance.
|
|
14106
|
+
*
|
|
14107
|
+
* # Arguments
|
|
14108
|
+
* * `prf_provider` - Platform implementation of passkey PRF operations
|
|
14109
|
+
* * `relay_config` - Optional configuration for Nostr relay connections (uses default if None)
|
|
14110
|
+
*/
|
|
14111
|
+
constructor(prfProvider: PasskeyPrfProvider, relayConfig: NostrRelayConfig | undefined);
|
|
14112
|
+
/**
|
|
14113
|
+
* Derive a wallet for a given label.
|
|
14114
|
+
*
|
|
14115
|
+
* Uses the passkey PRF to derive a 12-word BIP39 mnemonic from the label
|
|
14116
|
+
* and returns it as a [`Wallet`] containing the seed and resolved label.
|
|
14117
|
+
* This works for both creating a new wallet and restoring an existing one.
|
|
14118
|
+
*
|
|
14119
|
+
* # Arguments
|
|
14120
|
+
* * `label` - A user-chosen label (e.g., "personal", "business").
|
|
14121
|
+
* If `None`, defaults to [`DEFAULT_LABEL`].
|
|
14122
|
+
*/
|
|
14123
|
+
getWallet(label: string | undefined, asyncOpts_?: {
|
|
14124
|
+
signal: AbortSignal;
|
|
14125
|
+
}): Promise<Wallet>;
|
|
14126
|
+
/**
|
|
14127
|
+
* Check if passkey PRF is available on this device.
|
|
14128
|
+
*
|
|
14129
|
+
* Delegates to the platform's `PasskeyPrfProvider` implementation.
|
|
14130
|
+
*/
|
|
14131
|
+
isAvailable(asyncOpts_?: {
|
|
14132
|
+
signal: AbortSignal;
|
|
14133
|
+
}): Promise<boolean>;
|
|
14134
|
+
/**
|
|
14135
|
+
* List all labels published to Nostr for this passkey's identity.
|
|
14136
|
+
*
|
|
14137
|
+
* Queries Nostr relays for all labels associated with the Nostr identity
|
|
14138
|
+
* derived from this passkey. Requires 1 PRF call.
|
|
14139
|
+
*/
|
|
14140
|
+
listLabels(asyncOpts_?: {
|
|
14141
|
+
signal: AbortSignal;
|
|
14142
|
+
}): Promise<Array<string>>;
|
|
14143
|
+
/**
|
|
14144
|
+
* Publish a label to Nostr relays for this passkey's identity.
|
|
14145
|
+
*
|
|
14146
|
+
* Idempotent: if the label already exists, it is not published again.
|
|
14147
|
+
* Requires 1 PRF call.
|
|
14148
|
+
*
|
|
14149
|
+
* # Arguments
|
|
14150
|
+
* * `label` - A user-chosen label (e.g., "personal", "business")
|
|
14151
|
+
*/
|
|
14152
|
+
storeLabel(label: string, asyncOpts_?: {
|
|
14153
|
+
signal: AbortSignal;
|
|
14154
|
+
}): Promise<void>;
|
|
14155
|
+
/**
|
|
14156
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
14157
|
+
*/
|
|
14158
|
+
uniffiDestroy(): void;
|
|
14159
|
+
static instanceOf(obj: any): obj is Passkey;
|
|
14160
|
+
}
|
|
14161
|
+
/**
|
|
14162
|
+
* Trait for passkey PRF (Pseudo-Random Function) operations.
|
|
14163
|
+
*
|
|
14164
|
+
* Platforms must implement this trait to provide passkey PRF functionality.
|
|
14165
|
+
* The implementation is responsible for:
|
|
14166
|
+
* - Authenticating the user via platform-specific passkey APIs (`WebAuthn`, native passkey managers)
|
|
14167
|
+
* - Evaluating the PRF extension with the provided salt
|
|
14168
|
+
* - Returning the 32-byte PRF output
|
|
14169
|
+
*/
|
|
14170
|
+
export interface PasskeyPrfProvider {
|
|
14171
|
+
/**
|
|
14172
|
+
* Derive a 32-byte seed from passkey PRF with the given salt.
|
|
14173
|
+
*
|
|
14174
|
+
* The platform authenticates the user via passkey and evaluates the PRF extension.
|
|
14175
|
+
* The salt is used as input to the PRF to derive a deterministic output.
|
|
14176
|
+
*
|
|
14177
|
+
* # Arguments
|
|
14178
|
+
* * `salt` - The salt string to use for PRF evaluation
|
|
14179
|
+
*
|
|
14180
|
+
* # Returns
|
|
14181
|
+
* * `Ok(Vec<u8>)` - The 32-byte PRF output
|
|
14182
|
+
* * `Err(PasskeyPrfError)` - If authentication fails or PRF is not supported
|
|
14183
|
+
*/
|
|
14184
|
+
derivePrfSeed(salt: string, asyncOpts_?: {
|
|
14185
|
+
signal: AbortSignal;
|
|
14186
|
+
}): Promise<ArrayBuffer>;
|
|
14187
|
+
/**
|
|
14188
|
+
* Check if a PRF-capable passkey is available on this device.
|
|
14189
|
+
*
|
|
14190
|
+
* This allows applications to gracefully degrade if passkey PRF is not supported.
|
|
14191
|
+
*
|
|
14192
|
+
* # Returns
|
|
14193
|
+
* * `Ok(true)` - PRF-capable passkey is available
|
|
14194
|
+
* * `Ok(false)` - No PRF-capable passkey available
|
|
14195
|
+
* * `Err(PasskeyPrfError)` - If the check fails
|
|
14196
|
+
*/
|
|
14197
|
+
isPrfAvailable(asyncOpts_?: {
|
|
14198
|
+
signal: AbortSignal;
|
|
14199
|
+
}): Promise<boolean>;
|
|
14200
|
+
}
|
|
14201
|
+
/**
|
|
14202
|
+
* Trait for passkey PRF (Pseudo-Random Function) operations.
|
|
14203
|
+
*
|
|
14204
|
+
* Platforms must implement this trait to provide passkey PRF functionality.
|
|
14205
|
+
* The implementation is responsible for:
|
|
14206
|
+
* - Authenticating the user via platform-specific passkey APIs (`WebAuthn`, native passkey managers)
|
|
14207
|
+
* - Evaluating the PRF extension with the provided salt
|
|
14208
|
+
* - Returning the 32-byte PRF output
|
|
14209
|
+
*/
|
|
14210
|
+
export declare class PasskeyPrfProviderImpl extends UniffiAbstractObject implements PasskeyPrfProvider {
|
|
14211
|
+
readonly [uniffiTypeNameSymbol] = "PasskeyPrfProviderImpl";
|
|
14212
|
+
readonly [destructorGuardSymbol]: UniffiRustArcPtr;
|
|
14213
|
+
readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer;
|
|
14214
|
+
private constructor();
|
|
14215
|
+
/**
|
|
14216
|
+
* Derive a 32-byte seed from passkey PRF with the given salt.
|
|
14217
|
+
*
|
|
14218
|
+
* The platform authenticates the user via passkey and evaluates the PRF extension.
|
|
14219
|
+
* The salt is used as input to the PRF to derive a deterministic output.
|
|
14220
|
+
*
|
|
14221
|
+
* # Arguments
|
|
14222
|
+
* * `salt` - The salt string to use for PRF evaluation
|
|
14223
|
+
*
|
|
14224
|
+
* # Returns
|
|
14225
|
+
* * `Ok(Vec<u8>)` - The 32-byte PRF output
|
|
14226
|
+
* * `Err(PasskeyPrfError)` - If authentication fails or PRF is not supported
|
|
14227
|
+
*/
|
|
14228
|
+
derivePrfSeed(salt: string, asyncOpts_?: {
|
|
14229
|
+
signal: AbortSignal;
|
|
14230
|
+
}): Promise<ArrayBuffer>;
|
|
14231
|
+
/**
|
|
14232
|
+
* Check if a PRF-capable passkey is available on this device.
|
|
14233
|
+
*
|
|
14234
|
+
* This allows applications to gracefully degrade if passkey PRF is not supported.
|
|
14235
|
+
*
|
|
14236
|
+
* # Returns
|
|
14237
|
+
* * `Ok(true)` - PRF-capable passkey is available
|
|
14238
|
+
* * `Ok(false)` - No PRF-capable passkey available
|
|
14239
|
+
* * `Err(PasskeyPrfError)` - If the check fails
|
|
14240
|
+
*/
|
|
14241
|
+
isPrfAvailable(asyncOpts_?: {
|
|
14242
|
+
signal: AbortSignal;
|
|
14243
|
+
}): Promise<boolean>;
|
|
14244
|
+
/**
|
|
14245
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
14246
|
+
*/
|
|
14247
|
+
uniffiDestroy(): void;
|
|
14248
|
+
static instanceOf(obj: any): obj is PasskeyPrfProviderImpl;
|
|
14249
|
+
}
|
|
12869
14250
|
/**
|
|
12870
14251
|
* This interface is used to observe outgoing payments before Lightning, Spark and onchain Bitcoin payments.
|
|
12871
14252
|
* If the implementation returns an error, the payment is cancelled.
|
|
@@ -14017,13 +15398,6 @@ declare const _default: Readonly<{
|
|
|
14017
15398
|
lift(value: UniffiByteArray): ChainApiType;
|
|
14018
15399
|
lower(value: ChainApiType): UniffiByteArray;
|
|
14019
15400
|
};
|
|
14020
|
-
FfiConverterTypeChainServiceError: {
|
|
14021
|
-
read(from: RustBuffer): ChainServiceError;
|
|
14022
|
-
write(value: ChainServiceError, into: RustBuffer): void;
|
|
14023
|
-
allocationSize(value: ChainServiceError): number;
|
|
14024
|
-
lift(value: UniffiByteArray): ChainServiceError;
|
|
14025
|
-
lower(value: ChainServiceError): UniffiByteArray;
|
|
14026
|
-
};
|
|
14027
15401
|
FfiConverterTypeCheckLightningAddressRequest: {
|
|
14028
15402
|
read(from: RustBuffer): CheckLightningAddressRequest;
|
|
14029
15403
|
write(value: CheckLightningAddressRequest, into: RustBuffer): void;
|
|
@@ -14663,6 +16037,13 @@ declare const _default: Readonly<{
|
|
|
14663
16037
|
lift(value: UniffiByteArray): Network;
|
|
14664
16038
|
lower(value: Network): UniffiByteArray;
|
|
14665
16039
|
};
|
|
16040
|
+
FfiConverterTypeNostrRelayConfig: {
|
|
16041
|
+
read(from: RustBuffer): NostrRelayConfig;
|
|
16042
|
+
write(value: NostrRelayConfig, into: RustBuffer): void;
|
|
16043
|
+
allocationSize(value: NostrRelayConfig): number;
|
|
16044
|
+
lift(value: UniffiByteArray): NostrRelayConfig;
|
|
16045
|
+
lower(value: NostrRelayConfig): UniffiByteArray;
|
|
16046
|
+
};
|
|
14666
16047
|
FfiConverterTypeOnchainConfirmationSpeed: {
|
|
14667
16048
|
read(from: RustBuffer): OnchainConfirmationSpeed;
|
|
14668
16049
|
write(value: OnchainConfirmationSpeed, into: RustBuffer): void;
|
|
@@ -14698,6 +16079,8 @@ declare const _default: Readonly<{
|
|
|
14698
16079
|
lift(value: UniffiByteArray): OutgoingChange;
|
|
14699
16080
|
lower(value: OutgoingChange): UniffiByteArray;
|
|
14700
16081
|
};
|
|
16082
|
+
FfiConverterTypePasskey: FfiConverterObject<PasskeyInterface>;
|
|
16083
|
+
FfiConverterTypePasskeyPrfProvider: FfiConverterObjectWithCallbacks<PasskeyPrfProvider>;
|
|
14701
16084
|
FfiConverterTypePayment: {
|
|
14702
16085
|
read(from: RustBuffer): Payment;
|
|
14703
16086
|
write(value: Payment, into: RustBuffer): void;
|
|
@@ -14734,13 +16117,6 @@ declare const _default: Readonly<{
|
|
|
14734
16117
|
lower(value: PaymentMethod): UniffiByteArray;
|
|
14735
16118
|
};
|
|
14736
16119
|
FfiConverterTypePaymentObserver: FfiConverterObjectWithCallbacks<PaymentObserver>;
|
|
14737
|
-
FfiConverterTypePaymentObserverError: {
|
|
14738
|
-
read(from: RustBuffer): PaymentObserverError;
|
|
14739
|
-
write(value: PaymentObserverError, into: RustBuffer): void;
|
|
14740
|
-
allocationSize(value: PaymentObserverError): number;
|
|
14741
|
-
lift(value: UniffiByteArray): PaymentObserverError;
|
|
14742
|
-
lower(value: PaymentObserverError): UniffiByteArray;
|
|
14743
|
-
};
|
|
14744
16120
|
FfiConverterTypePaymentRequestSource: {
|
|
14745
16121
|
read(from: RustBuffer): PaymentRequestSource;
|
|
14746
16122
|
write(value: PaymentRequestSource, into: RustBuffer): void;
|
|
@@ -14911,13 +16287,6 @@ declare const _default: Readonly<{
|
|
|
14911
16287
|
lower(value: SchnorrSignatureBytes): UniffiByteArray;
|
|
14912
16288
|
};
|
|
14913
16289
|
FfiConverterTypeSdkBuilder: FfiConverterObject<SdkBuilderInterface>;
|
|
14914
|
-
FfiConverterTypeSdkError: {
|
|
14915
|
-
read(from: RustBuffer): SdkError;
|
|
14916
|
-
write(value: SdkError, into: RustBuffer): void;
|
|
14917
|
-
allocationSize(value: SdkError): number;
|
|
14918
|
-
lift(value: UniffiByteArray): SdkError;
|
|
14919
|
-
lower(value: SdkError): UniffiByteArray;
|
|
14920
|
-
};
|
|
14921
16290
|
FfiConverterTypeSdkEvent: {
|
|
14922
16291
|
read(from: RustBuffer): SdkEvent;
|
|
14923
16292
|
write(value: SdkEvent, into: RustBuffer): void;
|
|
@@ -14981,13 +16350,6 @@ declare const _default: Readonly<{
|
|
|
14981
16350
|
lift(value: UniffiByteArray): SendPaymentResponse;
|
|
14982
16351
|
lower(value: SendPaymentResponse): UniffiByteArray;
|
|
14983
16352
|
};
|
|
14984
|
-
FfiConverterTypeServiceConnectivityError: {
|
|
14985
|
-
read(from: RustBuffer): ServiceConnectivityError;
|
|
14986
|
-
write(value: ServiceConnectivityError, into: RustBuffer): void;
|
|
14987
|
-
allocationSize(value: ServiceConnectivityError): number;
|
|
14988
|
-
lift(value: UniffiByteArray): ServiceConnectivityError;
|
|
14989
|
-
lower(value: ServiceConnectivityError): UniffiByteArray;
|
|
14990
|
-
};
|
|
14991
16353
|
FfiConverterTypeServiceStatus: {
|
|
14992
16354
|
read(from: RustBuffer): ServiceStatus;
|
|
14993
16355
|
write(value: ServiceStatus, into: RustBuffer): void;
|
|
@@ -15016,13 +16378,6 @@ declare const _default: Readonly<{
|
|
|
15016
16378
|
lift(value: UniffiByteArray): SignMessageResponse;
|
|
15017
16379
|
lower(value: SignMessageResponse): UniffiByteArray;
|
|
15018
16380
|
};
|
|
15019
|
-
FfiConverterTypeSignerError: {
|
|
15020
|
-
read(from: RustBuffer): SignerError;
|
|
15021
|
-
write(value: SignerError, into: RustBuffer): void;
|
|
15022
|
-
allocationSize(value: SignerError): number;
|
|
15023
|
-
lift(value: UniffiByteArray): SignerError;
|
|
15024
|
-
lower(value: SignerError): UniffiByteArray;
|
|
15025
|
-
};
|
|
15026
16381
|
FfiConverterTypeSilentPaymentAddressDetails: {
|
|
15027
16382
|
read(from: RustBuffer): SilentPaymentAddressDetails;
|
|
15028
16383
|
write(value: SilentPaymentAddressDetails, into: RustBuffer): void;
|
|
@@ -15087,13 +16442,6 @@ declare const _default: Readonly<{
|
|
|
15087
16442
|
lower(value: StableBalanceConfig): UniffiByteArray;
|
|
15088
16443
|
};
|
|
15089
16444
|
FfiConverterTypeStorage: FfiConverterObjectWithCallbacks<Storage>;
|
|
15090
|
-
FfiConverterTypeStorageError: {
|
|
15091
|
-
read(from: RustBuffer): StorageError;
|
|
15092
|
-
write(value: StorageError, into: RustBuffer): void;
|
|
15093
|
-
allocationSize(value: StorageError): number;
|
|
15094
|
-
lift(value: UniffiByteArray): StorageError;
|
|
15095
|
-
lower(value: StorageError): UniffiByteArray;
|
|
15096
|
-
};
|
|
15097
16445
|
FfiConverterTypeStorageListPaymentsRequest: {
|
|
15098
16446
|
read(from: RustBuffer): StorageListPaymentsRequest;
|
|
15099
16447
|
write(value: StorageListPaymentsRequest, into: RustBuffer): void;
|
|
@@ -15235,6 +16583,13 @@ declare const _default: Readonly<{
|
|
|
15235
16583
|
lift(value: UniffiByteArray): Utxo;
|
|
15236
16584
|
lower(value: Utxo): UniffiByteArray;
|
|
15237
16585
|
};
|
|
16586
|
+
FfiConverterTypeWallet: {
|
|
16587
|
+
read(from: RustBuffer): Wallet;
|
|
16588
|
+
write(value: Wallet, into: RustBuffer): void;
|
|
16589
|
+
allocationSize(value: Wallet): number;
|
|
16590
|
+
lift(value: UniffiByteArray): Wallet;
|
|
16591
|
+
lower(value: Wallet): UniffiByteArray;
|
|
16592
|
+
};
|
|
15238
16593
|
FfiConverterTypeu128: {
|
|
15239
16594
|
lift(value: Uint8Array<ArrayBufferLike>): bigint;
|
|
15240
16595
|
lower(value: bigint): Uint8Array<ArrayBufferLike>;
|