@revibase/core 0.0.21 → 0.0.22

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 CHANGED
@@ -2945,14 +2945,12 @@ declare const KeyType: {
2945
2945
  type KeyType = (typeof KeyType)[keyof typeof KeyType];
2946
2946
 
2947
2947
  type TransactionAuthenticationResponse = TransactionAuthDetails & {
2948
- type: "transaction";
2949
2948
  signer: string;
2950
2949
  userAddressTreeIndex?: number;
2951
2950
  slotNumber: string;
2952
2951
  additionalInfo?: any;
2953
2952
  };
2954
2953
  type MessageAuthenticationResponse = {
2955
- type: "message";
2956
2954
  authResponse: AuthenticationResponseJSON;
2957
2955
  signer: string;
2958
2956
  userAddressTreeIndex?: number;
@@ -3010,6 +3008,7 @@ type ClientAuthorizationCompleteRequest = {
3010
3008
  };
3011
3009
  };
3012
3010
  } | {
3011
+ id?: string;
3013
3012
  type: "message";
3014
3013
  payload: Omit<MessageAuthenticationResponse, "clientSignature"> & {
3015
3014
  clientSignature: {
@@ -3029,6 +3028,7 @@ type TransactionPayload = {
3029
3028
  };
3030
3029
  type MessagePayload = {
3031
3030
  message: string;
3031
+ id?: string;
3032
3032
  };
3033
3033
  type BasePayload = {
3034
3034
  signer?: string;
@@ -3380,7 +3380,7 @@ declare function voteTransactionBuffer({ settings, voter, transactionBufferAddre
3380
3380
  } | null;
3381
3381
  }): Instruction<string, readonly (AccountMeta<string> | gill.AccountLookupMeta<string, string>)[]>[];
3382
3382
 
3383
- declare function signMessageWithPasskey({ message, signer, popUp, }: MessagePayload & BasePayload): Promise<MessageAuthenticationResponse>;
3383
+ declare function signMessageWithPasskey({ id, message, signer, popUp, }: MessagePayload & BasePayload): Promise<MessageAuthenticationResponse>;
3384
3384
 
3385
3385
  declare function signTransactionWithPasskey({ transactionActionType, transactionAddress, transactionMessageBytes, signer, popUp, }: TransactionPayload & BasePayload): Promise<TransactionAuthenticationResponse>;
3386
3386
 
package/dist/index.d.ts CHANGED
@@ -2945,14 +2945,12 @@ declare const KeyType: {
2945
2945
  type KeyType = (typeof KeyType)[keyof typeof KeyType];
2946
2946
 
2947
2947
  type TransactionAuthenticationResponse = TransactionAuthDetails & {
2948
- type: "transaction";
2949
2948
  signer: string;
2950
2949
  userAddressTreeIndex?: number;
2951
2950
  slotNumber: string;
2952
2951
  additionalInfo?: any;
2953
2952
  };
2954
2953
  type MessageAuthenticationResponse = {
2955
- type: "message";
2956
2954
  authResponse: AuthenticationResponseJSON;
2957
2955
  signer: string;
2958
2956
  userAddressTreeIndex?: number;
@@ -3010,6 +3008,7 @@ type ClientAuthorizationCompleteRequest = {
3010
3008
  };
3011
3009
  };
3012
3010
  } | {
3011
+ id?: string;
3013
3012
  type: "message";
3014
3013
  payload: Omit<MessageAuthenticationResponse, "clientSignature"> & {
3015
3014
  clientSignature: {
@@ -3029,6 +3028,7 @@ type TransactionPayload = {
3029
3028
  };
3030
3029
  type MessagePayload = {
3031
3030
  message: string;
3031
+ id?: string;
3032
3032
  };
3033
3033
  type BasePayload = {
3034
3034
  signer?: string;
@@ -3380,7 +3380,7 @@ declare function voteTransactionBuffer({ settings, voter, transactionBufferAddre
3380
3380
  } | null;
3381
3381
  }): Instruction<string, readonly (AccountMeta<string> | gill.AccountLookupMeta<string, string>)[]>[];
3382
3382
 
3383
- declare function signMessageWithPasskey({ message, signer, popUp, }: MessagePayload & BasePayload): Promise<MessageAuthenticationResponse>;
3383
+ declare function signMessageWithPasskey({ id, message, signer, popUp, }: MessagePayload & BasePayload): Promise<MessageAuthenticationResponse>;
3384
3384
 
3385
3385
  declare function signTransactionWithPasskey({ transactionActionType, transactionAddress, transactionMessageBytes, signer, popUp, }: TransactionPayload & BasePayload): Promise<TransactionAuthenticationResponse>;
3386
3386