@schemavaults/auth-server-sdk 0.20.4 → 0.20.6
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.ts +8 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -14,8 +14,10 @@ import MaximumBrowserCookieSize from "./MaximumBrowserCookieSize";
|
|
|
14
14
|
export { MaximumBrowserCookieSize };
|
|
15
15
|
export { getSchemavaultsApiServerId } from "./get-schemavaults-api-server-id";
|
|
16
16
|
export type { ApiServerId } from "@schemavaults/app-definitions";
|
|
17
|
+
export { apiServerIdSchema, hardcodedApiServerIdSchema, } from "@schemavaults/app-definitions";
|
|
17
18
|
export { getSchemavaultsClientApplicationId } from "./get-schemavaults-client-application-id";
|
|
18
19
|
export type { AppId } from "@schemavaults/app-definitions";
|
|
20
|
+
export { appIdSchema, hardcodedAppIdSchema, } from "@schemavaults/app-definitions";
|
|
19
21
|
export { RefreshTokenCookieName, RefreshTokenExpiryCookieName, } from "./RefreshTokenCookieNames";
|
|
20
22
|
export { default as getStringByteSize } from "./getStringByteSize";
|
|
21
23
|
export { redirectToLogin } from "./redirect-to-login";
|
|
@@ -24,3 +26,9 @@ export { getAppEnvironment } from "./get-app-environment";
|
|
|
24
26
|
export type { SchemaVaultsAppEnvironment } from "./get-app-environment";
|
|
25
27
|
export { decodeJWTsWithKeyManager } from "./decode-jwts-with-key-manager";
|
|
26
28
|
export type { IDecodeJWTsWithKeyManagerOutput } from "./decode-jwts-with-key-manager";
|
|
29
|
+
export { userDataSchema } from "@schemavaults/auth-common";
|
|
30
|
+
export type { UserData } from "@schemavaults/auth-common";
|
|
31
|
+
export { organizationIdSchema, organizationDefinitionSchema, isValidOrganizationID, SCHEMAVAULTS_ORGANIZATION_ID, } from "@schemavaults/auth-common";
|
|
32
|
+
export type { OrganizationID, OrganizationDefinition, } from "@schemavaults/auth-common";
|
|
33
|
+
export type { SchemaVaultsApp, SchemaVaultsAppDomainRef, } from "@schemavaults/app-definitions";
|
|
34
|
+
export type { SchemaVaultsApiServerDefinition, SchemaVaultsApiServerDomainRef, } from "@schemavaults/app-definitions";
|
package/dist/index.js
CHANGED
|
@@ -6,11 +6,21 @@ export { redirectWithError } from "./redirect-with-error";
|
|
|
6
6
|
export { ERROR_MESSAGE_CATALOG, isValidErrorId, } from "./auth-server-error-message-catalog";
|
|
7
7
|
import MaximumBrowserCookieSize from "./MaximumBrowserCookieSize";
|
|
8
8
|
export { MaximumBrowserCookieSize };
|
|
9
|
+
// API Server IDs
|
|
9
10
|
export { getSchemavaultsApiServerId } from "./get-schemavaults-api-server-id";
|
|
11
|
+
export { apiServerIdSchema, hardcodedApiServerIdSchema, } from "@schemavaults/app-definitions";
|
|
12
|
+
// Client Application IDs
|
|
10
13
|
export { getSchemavaultsClientApplicationId } from "./get-schemavaults-client-application-id";
|
|
14
|
+
export { appIdSchema, hardcodedAppIdSchema, } from "@schemavaults/app-definitions";
|
|
15
|
+
// Cookie Names
|
|
11
16
|
export { RefreshTokenCookieName, RefreshTokenExpiryCookieName, } from "./RefreshTokenCookieNames";
|
|
12
17
|
export { default as getStringByteSize } from "./getStringByteSize";
|
|
13
18
|
export { redirectToLogin } from "./redirect-to-login";
|
|
14
19
|
export { getAppEnvironment } from "./get-app-environment";
|
|
20
|
+
// Decode helper
|
|
15
21
|
export { decodeJWTsWithKeyManager } from "./decode-jwts-with-key-manager";
|
|
22
|
+
// Re-export user data types
|
|
23
|
+
export { userDataSchema } from "@schemavaults/auth-common";
|
|
24
|
+
// Re-export organization types
|
|
25
|
+
export { organizationIdSchema, organizationDefinitionSchema, isValidOrganizationID, SCHEMAVAULTS_ORGANIZATION_ID, } from "@schemavaults/auth-common";
|
|
16
26
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/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AO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG1D,gBAAgB;AAChB,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAG1E,4BAA4B;AAC5B,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D,+BAA+B;AAC/B,OAAO,EACL,oBAAoB,EACpB,4BAA4B,EAC5B,qBAAqB,EACrB,4BAA4B,GAC7B,MAAM,2BAA2B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schemavaults/auth-server-sdk",
|
|
3
3
|
"description": "TypeScript SDK for building authenticated endpoints/middlewares for the Auth Server and Resource Servers",
|
|
4
|
-
"version": "0.20.
|
|
4
|
+
"version": "0.20.6",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"private": false,
|
|
7
7
|
"repository": {
|