@revibase/core 0.0.25 → 0.0.26
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/dist/index.d.cts +13 -23
- package/dist/index.d.ts +13 -23
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2944,16 +2944,18 @@ declare const KeyType: {
|
|
|
2944
2944
|
};
|
|
2945
2945
|
type KeyType = (typeof KeyType)[keyof typeof KeyType];
|
|
2946
2946
|
|
|
2947
|
-
type TransactionAuthenticationResponse =
|
|
2948
|
-
|
|
2949
|
-
|
|
2947
|
+
type TransactionAuthenticationResponse = TransactionDetails$1 & AuthenticationContext & BaseResponse;
|
|
2948
|
+
type MessageAuthenticationResponse = AuthenticationContext & BaseResponse;
|
|
2949
|
+
type TransactionAuthDetails = TransactionDetails$1 & AuthenticationContext;
|
|
2950
|
+
type TransactionDetails$1 = {
|
|
2951
|
+
transactionPayload: TransactionPayloadWithBase64MessageBytes;
|
|
2952
|
+
slotHash: string;
|
|
2950
2953
|
slotNumber: string;
|
|
2951
|
-
|
|
2954
|
+
originIndex: number;
|
|
2955
|
+
crossOrigin: boolean;
|
|
2952
2956
|
};
|
|
2953
|
-
type
|
|
2957
|
+
type AuthenticationContext = {
|
|
2954
2958
|
authResponse: AuthenticationResponseJSON;
|
|
2955
|
-
signer: string;
|
|
2956
|
-
userAddressTreeIndex?: number;
|
|
2957
2959
|
nonce: string;
|
|
2958
2960
|
clientSignature: {
|
|
2959
2961
|
clientOrigin: string;
|
|
@@ -2963,23 +2965,11 @@ type MessageAuthenticationResponse = {
|
|
|
2963
2965
|
publicKey: string;
|
|
2964
2966
|
signature: string;
|
|
2965
2967
|
};
|
|
2966
|
-
additionalInfo?: any;
|
|
2967
2968
|
};
|
|
2968
|
-
type
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
nonce: string;
|
|
2973
|
-
clientSignature: {
|
|
2974
|
-
clientOrigin: string;
|
|
2975
|
-
signature: string;
|
|
2976
|
-
};
|
|
2977
|
-
deviceSignature: {
|
|
2978
|
-
publicKey: string;
|
|
2979
|
-
signature: string;
|
|
2980
|
-
};
|
|
2981
|
-
originIndex: number;
|
|
2982
|
-
crossOrigin: boolean;
|
|
2969
|
+
type BaseResponse = {
|
|
2970
|
+
signer: string;
|
|
2971
|
+
userAddressTreeIndex?: number;
|
|
2972
|
+
additionalInfo?: unknown;
|
|
2983
2973
|
};
|
|
2984
2974
|
type TransactionPayloadWithBase64MessageBytes = {
|
|
2985
2975
|
transactionActionType: TransactionActionType;
|
package/dist/index.d.ts
CHANGED
|
@@ -2944,16 +2944,18 @@ declare const KeyType: {
|
|
|
2944
2944
|
};
|
|
2945
2945
|
type KeyType = (typeof KeyType)[keyof typeof KeyType];
|
|
2946
2946
|
|
|
2947
|
-
type TransactionAuthenticationResponse =
|
|
2948
|
-
|
|
2949
|
-
|
|
2947
|
+
type TransactionAuthenticationResponse = TransactionDetails$1 & AuthenticationContext & BaseResponse;
|
|
2948
|
+
type MessageAuthenticationResponse = AuthenticationContext & BaseResponse;
|
|
2949
|
+
type TransactionAuthDetails = TransactionDetails$1 & AuthenticationContext;
|
|
2950
|
+
type TransactionDetails$1 = {
|
|
2951
|
+
transactionPayload: TransactionPayloadWithBase64MessageBytes;
|
|
2952
|
+
slotHash: string;
|
|
2950
2953
|
slotNumber: string;
|
|
2951
|
-
|
|
2954
|
+
originIndex: number;
|
|
2955
|
+
crossOrigin: boolean;
|
|
2952
2956
|
};
|
|
2953
|
-
type
|
|
2957
|
+
type AuthenticationContext = {
|
|
2954
2958
|
authResponse: AuthenticationResponseJSON;
|
|
2955
|
-
signer: string;
|
|
2956
|
-
userAddressTreeIndex?: number;
|
|
2957
2959
|
nonce: string;
|
|
2958
2960
|
clientSignature: {
|
|
2959
2961
|
clientOrigin: string;
|
|
@@ -2963,23 +2965,11 @@ type MessageAuthenticationResponse = {
|
|
|
2963
2965
|
publicKey: string;
|
|
2964
2966
|
signature: string;
|
|
2965
2967
|
};
|
|
2966
|
-
additionalInfo?: any;
|
|
2967
2968
|
};
|
|
2968
|
-
type
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
nonce: string;
|
|
2973
|
-
clientSignature: {
|
|
2974
|
-
clientOrigin: string;
|
|
2975
|
-
signature: string;
|
|
2976
|
-
};
|
|
2977
|
-
deviceSignature: {
|
|
2978
|
-
publicKey: string;
|
|
2979
|
-
signature: string;
|
|
2980
|
-
};
|
|
2981
|
-
originIndex: number;
|
|
2982
|
-
crossOrigin: boolean;
|
|
2969
|
+
type BaseResponse = {
|
|
2970
|
+
signer: string;
|
|
2971
|
+
userAddressTreeIndex?: number;
|
|
2972
|
+
additionalInfo?: unknown;
|
|
2983
2973
|
};
|
|
2984
2974
|
type TransactionPayloadWithBase64MessageBytes = {
|
|
2985
2975
|
transactionActionType: TransactionActionType;
|