@stll/auth-model 0.6.0 → 0.7.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/contract.d.ts +3 -5
- package/dist/contract.js +2 -3
- package/dist/invitation-sections.d.ts +16758 -10390
- package/dist/invitation-sections.js +1 -2
- package/package.json +4 -4
package/dist/contract.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
//#region src/contract.d.ts
|
|
2
1
|
/** Better Auth version whose logical schema this contract describes. */
|
|
3
|
-
export declare const BETTER_AUTH_CONTRACT_VERSION = "1.7.
|
|
2
|
+
export declare const BETTER_AUTH_CONTRACT_VERSION = "1.7.16";
|
|
4
3
|
export declare const AUTH_SESSION_STARTUP_HEADER = "x-stella-session-startup";
|
|
5
4
|
export declare const AUTH_SOCIAL_PROVIDER_IDS: readonly ["google", "microsoft", "apple"];
|
|
6
5
|
export type AuthSocialProviderId = (typeof AUTH_SOCIAL_PROVIDER_IDS)[number];
|
|
@@ -76,7 +75,7 @@ export declare const OPAQUE_ORGANIZATION_SLUG_PATTERN: RegExp;
|
|
|
76
75
|
* The source fills this function's own fixed-size buffer, so it cannot change
|
|
77
76
|
* the identifier's length; organization names never enter the identifier.
|
|
78
77
|
*/
|
|
79
|
-
export declare const createOpaqueOrganizationSlug: (fillRandom?: (bytes: Uint8Array) => void) => string;
|
|
78
|
+
export declare const createOpaqueOrganizationSlug: (fillRandom?: (bytes: Uint8Array<ArrayBuffer>) => void) => string;
|
|
80
79
|
export declare const BETTER_AUTH_ORGANIZATION_OPTIONS: {
|
|
81
80
|
readonly allowUserToCreateOrganization: true;
|
|
82
81
|
readonly cancelPendingInvitationsOnReInvite: false;
|
|
@@ -310,7 +309,7 @@ export declare const BETTER_AUTH_PARITY_MANIFEST: {
|
|
|
310
309
|
readonly invitation: "invitation";
|
|
311
310
|
};
|
|
312
311
|
};
|
|
313
|
-
readonly betterAuthVersion: "1.7.
|
|
312
|
+
readonly betterAuthVersion: "1.7.16";
|
|
314
313
|
readonly options: {
|
|
315
314
|
readonly allowUserToCreateOrganization: true;
|
|
316
315
|
readonly cancelPendingInvitationsOnReInvite: false;
|
|
@@ -442,5 +441,4 @@ export declare const BETTER_AUTH_PARITY_MANIFEST: {
|
|
|
442
441
|
};
|
|
443
442
|
};
|
|
444
443
|
};
|
|
445
|
-
//#endregion
|
|
446
444
|
export {};
|
package/dist/contract.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
// src/contract.ts
|
|
2
2
|
/** Better Auth version whose logical schema this contract describes. */
|
|
3
|
-
const BETTER_AUTH_CONTRACT_VERSION = "1.7.
|
|
3
|
+
const BETTER_AUTH_CONTRACT_VERSION = "1.7.16";
|
|
4
4
|
const AUTH_SESSION_STARTUP_HEADER = "x-stella-session-startup";
|
|
5
5
|
const AUTH_SOCIAL_PROVIDER_IDS = [
|
|
6
6
|
"google",
|
|
@@ -568,5 +568,4 @@ const BETTER_AUTH_PARITY_MANIFEST = {
|
|
|
568
568
|
roleNames: ORGANIZATION_ROLE_NAMES,
|
|
569
569
|
schema: BETTER_AUTH_CORE_SCHEMA
|
|
570
570
|
};
|
|
571
|
-
//#endregion
|
|
572
571
|
export { AUTH_ACCESS_RESET_ERROR_CODE, AUTH_SESSION_STARTUP_HEADER, AUTH_SOCIAL_PROVIDER_IDS, BETTER_AUTH_ADAPTER_INVARIANTS, BETTER_AUTH_ADAPTER_OPTIONS, BETTER_AUTH_CONTRACT_VERSION, BETTER_AUTH_CORE_MODEL_NAMES, BETTER_AUTH_CORE_SCHEMA, BETTER_AUTH_ORGANIZATION_OPTIONS, BETTER_AUTH_ORGANIZATION_ROLE_GRANTS, BETTER_AUTH_ORGANIZATION_STATEMENTS, BETTER_AUTH_PARITY_MANIFEST, OPAQUE_ORGANIZATION_SLUG_PATTERN, ORGANIZATION_OPAQUE_SLUG_BYTES, ORGANIZATION_ROLE_NAMES, ORGANIZATION_SLUG_RULES, compareBetterAuthSchema, createOpaqueOrganizationSlug };
|