@revibase/core 0.4.0 → 0.4.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/dist/index.d.cts CHANGED
@@ -4140,10 +4140,11 @@ declare function getClientAndDeviceHash(clientOrigin: string, deviceJwk: string,
4140
4140
  declare function createClientAuthorizationStartRequestChallenge(payload: StartTransactionRequest | StartMessageRequest): Uint8Array<ArrayBuffer>;
4141
4141
  declare function createClientAuthorizationCompleteRequestChallenge(payload: CompleteTransactionRequest | CompleteMessageRequest): Uint8Array<ArrayBuffer>;
4142
4142
  declare function createMessageChallenge(payload: string, clientOrigin: string, deviceJwk: string, nonce: string): Uint8Array<ArrayBuffer>;
4143
- declare function createTransactionChallenge(payload: TransactionPayloadWithBase64MessageBytes | TransactionPayload, clientOrigin: string, deviceJwk: string, nonce: string, slotHash?: string, slotNumber?: string): Promise<{
4143
+ declare function createTransactionChallenge(payload: TransactionPayloadWithBase64MessageBytes | TransactionPayload, clientOrigin: string, deviceJwk: string, nonce: string, slotHash?: string, slotNumber?: string, estimatedSlotHashExpiry?: number): Promise<{
4144
4144
  slotNumber: string;
4145
4145
  slotHash: string;
4146
4146
  challenge: Uint8Array<ArrayBuffer>;
4147
+ estimatedSlotHashExpiry: number | undefined;
4147
4148
  }>;
4148
4149
  declare function getSecp256r1MessageHash(authResponse: AuthenticationResponseJSON): Uint8Array<ArrayBuffer>;
4149
4150
  declare function bufferToBase64URLString(buffer: Uint8Array<ArrayBuffer>): string;
package/dist/index.d.ts CHANGED
@@ -4140,10 +4140,11 @@ declare function getClientAndDeviceHash(clientOrigin: string, deviceJwk: string,
4140
4140
  declare function createClientAuthorizationStartRequestChallenge(payload: StartTransactionRequest | StartMessageRequest): Uint8Array<ArrayBuffer>;
4141
4141
  declare function createClientAuthorizationCompleteRequestChallenge(payload: CompleteTransactionRequest | CompleteMessageRequest): Uint8Array<ArrayBuffer>;
4142
4142
  declare function createMessageChallenge(payload: string, clientOrigin: string, deviceJwk: string, nonce: string): Uint8Array<ArrayBuffer>;
4143
- declare function createTransactionChallenge(payload: TransactionPayloadWithBase64MessageBytes | TransactionPayload, clientOrigin: string, deviceJwk: string, nonce: string, slotHash?: string, slotNumber?: string): Promise<{
4143
+ declare function createTransactionChallenge(payload: TransactionPayloadWithBase64MessageBytes | TransactionPayload, clientOrigin: string, deviceJwk: string, nonce: string, slotHash?: string, slotNumber?: string, estimatedSlotHashExpiry?: number): Promise<{
4144
4144
  slotNumber: string;
4145
4145
  slotHash: string;
4146
4146
  challenge: Uint8Array<ArrayBuffer>;
4147
+ estimatedSlotHashExpiry: number | undefined;
4147
4148
  }>;
4148
4149
  declare function getSecp256r1MessageHash(authResponse: AuthenticationResponseJSON): Uint8Array<ArrayBuffer>;
4149
4150
  declare function bufferToBase64URLString(buffer: Uint8Array<ArrayBuffer>): string;