authhero 4.85.0 → 4.87.0
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/authhero.cjs +79 -79
- package/dist/authhero.d.ts +5 -2
- package/dist/authhero.mjs +6440 -6373
- package/dist/stats.html +1 -1
- package/package.json +4 -4
package/dist/authhero.d.ts
CHANGED
|
@@ -48750,8 +48750,10 @@ export interface OutboxEvent extends AuditEvent {
|
|
|
48750
48750
|
error: string | null;
|
|
48751
48751
|
}
|
|
48752
48752
|
export interface OutboxAdapter {
|
|
48753
|
-
/** Write an audit event to the outbox */
|
|
48754
|
-
create(tenantId: string, event: AuditEventInsert): Promise<
|
|
48753
|
+
/** Write an audit event to the outbox. Returns the event ID. */
|
|
48754
|
+
create(tenantId: string, event: AuditEventInsert): Promise<string>;
|
|
48755
|
+
/** Fetch events by their IDs */
|
|
48756
|
+
getByIds(ids: string[]): Promise<OutboxEvent[]>;
|
|
48755
48757
|
/** Fetch unprocessed events ready for delivery */
|
|
48756
48758
|
getUnprocessed(limit: number): Promise<OutboxEvent[]>;
|
|
48757
48759
|
/** Atomically claim events for exclusive processing. Returns IDs that were successfully claimed. */
|
|
@@ -48881,6 +48883,7 @@ export type Variables = {
|
|
|
48881
48883
|
auth0_client?: Auth0Client$1;
|
|
48882
48884
|
useragent?: string;
|
|
48883
48885
|
countryCode?: CountryCode;
|
|
48886
|
+
outboxEventIds?: string[];
|
|
48884
48887
|
};
|
|
48885
48888
|
/**
|
|
48886
48889
|
* Interface for SAML signing implementations.
|