@revibase/core 0.4.1 → 0.4.3

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
@@ -3454,6 +3454,10 @@ declare const AuthenticationContextSchema: z.ZodObject<{
3454
3454
  jwk: z.ZodBase64;
3455
3455
  jws: z.ZodString;
3456
3456
  }, z.core.$strict>;
3457
+ authProvider: z.ZodOptional<z.ZodObject<{
3458
+ jwk: z.ZodBase64;
3459
+ jws: z.ZodString;
3460
+ }, z.core.$strip>>;
3457
3461
  }, z.core.$strict>;
3458
3462
  declare const BaseResponseSchema: z.ZodObject<{
3459
3463
  signer: z.ZodString;
@@ -3526,6 +3530,10 @@ declare const CompleteMessageRequestSchema: z.ZodObject<{
3526
3530
  jwk: z.ZodBase64;
3527
3531
  jws: z.ZodString;
3528
3532
  }, z.core.$strict>;
3533
+ authProvider: z.ZodOptional<z.ZodObject<{
3534
+ jwk: z.ZodBase64;
3535
+ jws: z.ZodString;
3536
+ }, z.core.$strip>>;
3529
3537
  id: z.ZodOptional<z.ZodString>;
3530
3538
  client: z.ZodObject<{
3531
3539
  clientOrigin: z.ZodURL;
@@ -3592,6 +3600,10 @@ declare const CompleteTransactionRequestSchema: z.ZodObject<{
3592
3600
  jwk: z.ZodBase64;
3593
3601
  jws: z.ZodString;
3594
3602
  }, z.core.$strict>;
3603
+ authProvider: z.ZodOptional<z.ZodObject<{
3604
+ jwk: z.ZodBase64;
3605
+ jws: z.ZodString;
3606
+ }, z.core.$strip>>;
3595
3607
  slotHash: z.ZodString;
3596
3608
  slotNumber: z.ZodString;
3597
3609
  estimatedSlotHashExpiry: z.ZodNumber;
@@ -4144,7 +4156,7 @@ declare function createTransactionChallenge(payload: TransactionPayloadWithBase6
4144
4156
  slotNumber: string;
4145
4157
  slotHash: string;
4146
4158
  challenge: Uint8Array<ArrayBuffer>;
4147
- estimatedSlotHashExpiry: number | undefined;
4159
+ estimatedSlotHashExpiry: number;
4148
4160
  }>;
4149
4161
  declare function getSecp256r1MessageHash(authResponse: AuthenticationResponseJSON): Uint8Array<ArrayBuffer>;
4150
4162
  declare function bufferToBase64URLString(buffer: Uint8Array<ArrayBuffer>): string;
package/dist/index.d.ts CHANGED
@@ -3454,6 +3454,10 @@ declare const AuthenticationContextSchema: z.ZodObject<{
3454
3454
  jwk: z.ZodBase64;
3455
3455
  jws: z.ZodString;
3456
3456
  }, z.core.$strict>;
3457
+ authProvider: z.ZodOptional<z.ZodObject<{
3458
+ jwk: z.ZodBase64;
3459
+ jws: z.ZodString;
3460
+ }, z.core.$strip>>;
3457
3461
  }, z.core.$strict>;
3458
3462
  declare const BaseResponseSchema: z.ZodObject<{
3459
3463
  signer: z.ZodString;
@@ -3526,6 +3530,10 @@ declare const CompleteMessageRequestSchema: z.ZodObject<{
3526
3530
  jwk: z.ZodBase64;
3527
3531
  jws: z.ZodString;
3528
3532
  }, z.core.$strict>;
3533
+ authProvider: z.ZodOptional<z.ZodObject<{
3534
+ jwk: z.ZodBase64;
3535
+ jws: z.ZodString;
3536
+ }, z.core.$strip>>;
3529
3537
  id: z.ZodOptional<z.ZodString>;
3530
3538
  client: z.ZodObject<{
3531
3539
  clientOrigin: z.ZodURL;
@@ -3592,6 +3600,10 @@ declare const CompleteTransactionRequestSchema: z.ZodObject<{
3592
3600
  jwk: z.ZodBase64;
3593
3601
  jws: z.ZodString;
3594
3602
  }, z.core.$strict>;
3603
+ authProvider: z.ZodOptional<z.ZodObject<{
3604
+ jwk: z.ZodBase64;
3605
+ jws: z.ZodString;
3606
+ }, z.core.$strip>>;
3595
3607
  slotHash: z.ZodString;
3596
3608
  slotNumber: z.ZodString;
3597
3609
  estimatedSlotHashExpiry: z.ZodNumber;
@@ -4144,7 +4156,7 @@ declare function createTransactionChallenge(payload: TransactionPayloadWithBase6
4144
4156
  slotNumber: string;
4145
4157
  slotHash: string;
4146
4158
  challenge: Uint8Array<ArrayBuffer>;
4147
- estimatedSlotHashExpiry: number | undefined;
4159
+ estimatedSlotHashExpiry: number;
4148
4160
  }>;
4149
4161
  declare function getSecp256r1MessageHash(authResponse: AuthenticationResponseJSON): Uint8Array<ArrayBuffer>;
4150
4162
  declare function bufferToBase64URLString(buffer: Uint8Array<ArrayBuffer>): string;