@enterprisestandard/react 0.0.5-beta.20260115.2 → 0.0.5-beta.20260115.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/iam.js +1 -1
- package/dist/index.js +23 -23
- package/dist/sso-server.js +3 -3
- package/dist/sso.js +2 -2
- package/dist/tenant-server.js +1 -1
- package/dist/workload-server.js +1 -1
- package/dist/workload.js +3 -3
- package/package.json +1 -1
package/dist/iam.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { iam } from './iam';
|
|
2
|
-
import { sso } from './sso';
|
|
3
|
-
import { getDefaultInstance, setDefaultInstance } from './utils';
|
|
4
|
-
import { vault } from './vault';
|
|
5
|
-
import { workload } from './workload';
|
|
1
|
+
import { iam } from './iam.js';
|
|
2
|
+
import { sso } from './sso.js';
|
|
3
|
+
import { getDefaultInstance, setDefaultInstance } from './utils.js';
|
|
4
|
+
import { vault } from './vault.js';
|
|
5
|
+
import { workload } from './workload.js';
|
|
6
6
|
function extractSsoValidation(validation) {
|
|
7
7
|
if (!validation)
|
|
8
8
|
return undefined;
|
|
@@ -124,29 +124,29 @@ export async function enterpriseStandard(appId, initConfig) {
|
|
|
124
124
|
}
|
|
125
125
|
return result;
|
|
126
126
|
}
|
|
127
|
-
export { InMemoryGroupStore } from './group-store';
|
|
127
|
+
export { InMemoryGroupStore } from './group-store.js';
|
|
128
128
|
// IAM (export function)
|
|
129
|
-
export { iam } from './iam';
|
|
130
|
-
export { InMemorySessionStore } from './session-store';
|
|
129
|
+
export { iam } from './iam.js';
|
|
130
|
+
export { InMemorySessionStore } from './session-store.js';
|
|
131
131
|
// SSO (export function)
|
|
132
|
-
export { sso } from './sso';
|
|
132
|
+
export { sso } from './sso.js';
|
|
133
133
|
// Server and session
|
|
134
|
-
export * from './sso-server';
|
|
135
|
-
export { InMemoryTenantStore, parseTenantRequest, sendTenantWebhook, serializeESConfig, TenantRequestError, } from './tenant';
|
|
134
|
+
export * from './sso-server.js';
|
|
135
|
+
export { InMemoryTenantStore, parseTenantRequest, sendTenantWebhook, serializeESConfig, TenantRequestError, } from './tenant.js';
|
|
136
136
|
// OIDC/SSO schemas
|
|
137
|
-
export { idTokenClaimsSchema, oidcCallbackSchema, tokenResponseSchema } from './types/oidc-schema';
|
|
137
|
+
export { idTokenClaimsSchema, oidcCallbackSchema, tokenResponseSchema } from './types/oidc-schema.js';
|
|
138
138
|
// SCIM types (for IAM/provisioning)
|
|
139
|
-
export { groupResourceSchema, userSchema } from './types/scim-schema';
|
|
140
|
-
export { jwtAssertionClaimsSchema, workloadTokenResponseSchema } from './types/workload-schema';
|
|
139
|
+
export { groupResourceSchema, userSchema } from './types/scim-schema.js';
|
|
140
|
+
export { jwtAssertionClaimsSchema, workloadTokenResponseSchema } from './types/workload-schema.js';
|
|
141
141
|
// UI Components
|
|
142
|
-
export { SignInLoading } from './ui/sign-in-loading';
|
|
143
|
-
export { SignedIn } from './ui/signed-in';
|
|
144
|
-
export { SignedOut } from './ui/signed-out';
|
|
145
|
-
export * from './ui/sso-provider';
|
|
146
|
-
export { InMemoryUserStore } from './user-store';
|
|
142
|
+
export { SignInLoading } from './ui/sign-in-loading.js';
|
|
143
|
+
export { SignedIn } from './ui/signed-in.js';
|
|
144
|
+
export { SignedOut } from './ui/signed-out.js';
|
|
145
|
+
export * from './ui/sso-provider.js';
|
|
146
|
+
export { InMemoryUserStore } from './user-store.js';
|
|
147
147
|
// Utils (for accessing default instance)
|
|
148
|
-
export { getDefaultInstance } from './utils';
|
|
148
|
+
export { getDefaultInstance } from './utils.js';
|
|
149
149
|
// Vault
|
|
150
|
-
export { vault } from './vault';
|
|
151
|
-
export { workload } from './workload';
|
|
152
|
-
export { InMemoryWorkloadTokenStore } from './workload-token-store';
|
|
150
|
+
export { vault } from './vault.js';
|
|
151
|
+
export { workload } from './workload.js';
|
|
152
|
+
export { InMemoryWorkloadTokenStore } from './workload-token-store.js';
|
package/dist/sso-server.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getES } from './utils';
|
|
1
|
+
import { getES } from './utils.js';
|
|
2
2
|
/**
|
|
3
3
|
* Returns a 503 response indicating that the SSO is unavailable
|
|
4
4
|
*/
|
|
@@ -41,6 +41,6 @@ export async function handler(request, es) {
|
|
|
41
41
|
return es.sso.handler(request, es);
|
|
42
42
|
}
|
|
43
43
|
// Tenant server helpers
|
|
44
|
-
export * from './tenant-server';
|
|
44
|
+
export * from './tenant-server.js';
|
|
45
45
|
// Workload server helpers
|
|
46
|
-
export * from './workload-server';
|
|
46
|
+
export * from './workload-server.js';
|
package/dist/sso.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { idTokenClaimsSchema, oidcCallbackSchema, tokenResponseSchema } from './types/oidc-schema';
|
|
2
|
-
import { must } from './utils';
|
|
1
|
+
import { idTokenClaimsSchema, oidcCallbackSchema, tokenResponseSchema } from './types/oidc-schema.js';
|
|
2
|
+
import { must } from './utils.js';
|
|
3
3
|
const jwksCache = new Map();
|
|
4
4
|
export function sso(config) {
|
|
5
5
|
let configWithDefaults;
|
package/dist/tenant-server.js
CHANGED
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* These functions provide a convenient way to parse tenant requests
|
|
4
4
|
* and send webhook updates.
|
|
5
5
|
*/
|
|
6
|
-
export { parseTenantRequest, sendTenantWebhook, TenantRequestError } from './tenant';
|
|
6
|
+
export { parseTenantRequest, sendTenantWebhook, TenantRequestError } from './tenant.js';
|
package/dist/workload-server.js
CHANGED
package/dist/workload.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jwtAssertionClaimsSchema, workloadTokenResponseSchema } from './types/workload-schema';
|
|
2
|
-
import { must } from './utils';
|
|
3
|
-
import { InMemoryWorkloadTokenStore } from './workload-token-store';
|
|
1
|
+
import { jwtAssertionClaimsSchema, workloadTokenResponseSchema } from './types/workload-schema.js';
|
|
2
|
+
import { must } from './utils.js';
|
|
3
|
+
import { InMemoryWorkloadTokenStore } from './workload-token-store.js';
|
|
4
4
|
const jwksCache = new Map();
|
|
5
5
|
/**
|
|
6
6
|
* Type guard to check if config is for JWT Bearer Grant mode
|