@happyvertical/smrt-users 0.57.21 → 0.57.23
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/AGENTS.md +101 -0
- package/README.md +53 -1
- package/dist/chunks/{PasswordCredentialService-DezdsV_v.js → PasswordCredentialService-DA2Y6H2X.js} +8 -2
- package/dist/chunks/PasswordCredentialService-DA2Y6H2X.js.map +1 -0
- package/dist/chunks/{TerminalAuthService-D7SIRyUk.js → TerminalAuthService-VRpBNnsC.js} +3 -3
- package/dist/chunks/TerminalAuthService-VRpBNnsC.js.map +1 -0
- package/dist/collections/MagicLinkTokenCollection.d.ts +2 -0
- package/dist/collections/MagicLinkTokenCollection.d.ts.map +1 -1
- package/dist/collections/UserCollection.d.ts +2 -0
- package/dist/collections/UserCollection.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +590 -64
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +34 -1
- package/dist/member-register/service.d.ts +18 -2
- package/dist/member-register/service.d.ts.map +1 -1
- package/dist/operator.js +1 -1
- package/dist/services/LoginAttemptLimiter.d.ts +2 -0
- package/dist/services/LoginAttemptLimiter.d.ts.map +1 -1
- package/dist/services/MagicLinkService.d.ts +11 -1
- package/dist/services/MagicLinkService.d.ts.map +1 -1
- package/dist/services/MailboxAuthenticationService.d.ts +61 -0
- package/dist/services/MailboxAuthenticationService.d.ts.map +1 -0
- package/dist/services/TenantInvitationService.d.ts +120 -0
- package/dist/services/TenantInvitationService.d.ts.map +1 -0
- package/dist/services/index.d.ts +2 -0
- package/dist/services/index.d.ts.map +1 -1
- package/dist/smrt-knowledge.json +38 -5
- package/dist/sveltekit.js +2 -2
- package/package.json +10 -10
- package/dist/chunks/PasswordCredentialService-DezdsV_v.js.map +0 -1
- package/dist/chunks/TerminalAuthService-D7SIRyUk.js.map +0 -1
package/dist/sveltekit.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as LoginRateLimitError, d as PasswordCredentialForbiddenError, f as PasswordCredentialService, g as SessionService, p as PasswordPolicyError, u as PasswordCredentialError } from "./chunks/PasswordCredentialService-
|
|
2
|
-
import { B as OidcLoginService, C as PasskeyCredentialService, D as OperationPermissionError, F as MobileAuthError, H as encodeOidcTransaction, I as MobileAuthService, J as DeviceCredentialError, L as readMobileBearerToken, P as withSessionPermissionContext, R as validateMobileRedirectUri, S as PasskeyCredentialForbiddenError, T as PasskeyRegistrationError, U as getUsersOidcConfig, V as decodeOidcTransaction, W as resolveOidcProviderConfig, X as DeviceCredentialPolicyError, Y as DeviceCredentialForbiddenError, Z as DeviceCredentialService, a as TerminalAuthError, o as TerminalAuthRateLimitError, s as TerminalAuthService, w as PasskeyReauthenticationRequiredError, x as PasskeyCredentialError, z as OidcLoginError } from "./chunks/TerminalAuthService-
|
|
1
|
+
import { M as LoginRateLimitError, d as PasswordCredentialForbiddenError, f as PasswordCredentialService, g as SessionService, p as PasswordPolicyError, u as PasswordCredentialError } from "./chunks/PasswordCredentialService-DA2Y6H2X.js";
|
|
2
|
+
import { B as OidcLoginService, C as PasskeyCredentialService, D as OperationPermissionError, F as MobileAuthError, H as encodeOidcTransaction, I as MobileAuthService, J as DeviceCredentialError, L as readMobileBearerToken, P as withSessionPermissionContext, R as validateMobileRedirectUri, S as PasskeyCredentialForbiddenError, T as PasskeyRegistrationError, U as getUsersOidcConfig, V as decodeOidcTransaction, W as resolveOidcProviderConfig, X as DeviceCredentialPolicyError, Y as DeviceCredentialForbiddenError, Z as DeviceCredentialService, a as TerminalAuthError, o as TerminalAuthRateLimitError, s as TerminalAuthService, w as PasskeyReauthenticationRequiredError, x as PasskeyCredentialError, z as OidcLoginError } from "./chunks/TerminalAuthService-VRpBNnsC.js";
|
|
3
3
|
import { DiscoveryArtifactValidationError, SMRT_APP_RESULT_CONTRACT, SMRT_APP_RESULT_SCHEMA, SMRT_APP_RESULT_VERSION, SMRT_DISCOVERY_CONFORMANCE_ARTIFACT_SCHEMA, SMRT_DISCOVERY_CONFORMANCE_SCHEMA, SMRT_DISCOVERY_CONFORMANCE_VERSION, SMRT_MCP_RESULT_METADATA_KEY, canonicalizeDiscoveryArtifact, createDiscoveryConformanceArtifact, deriveCommandRequirements, validateDiscoveryConformanceArtifact } from "./app-contract.js";
|
|
4
4
|
import { ObjectRegistry, createClassNamePredicate, resolveCustomActionMetadata, resolveEffectiveActionMetadata } from "@happyvertical/smrt-core";
|
|
5
5
|
import { createLogger } from "@happyvertical/logger";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-users",
|
|
3
|
-
"version": "0.57.
|
|
3
|
+
"version": "0.57.23",
|
|
4
4
|
"smrtJsdoc": "strict",
|
|
5
5
|
"description": "Multi-tenant user management for the SMRT framework - users, tenants, roles, permissions, groups",
|
|
6
6
|
"type": "module",
|
|
@@ -53,20 +53,20 @@
|
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@happyvertical/auth": "^0.106.0",
|
|
55
55
|
"@happyvertical/logger": "^0.106.0",
|
|
56
|
-
"@happyvertical/smrt-config": "0.57.
|
|
57
|
-
"@happyvertical/smrt-core": "0.57.
|
|
58
|
-
"@happyvertical/smrt-mobile-contract": "0.57.
|
|
59
|
-
"@happyvertical/smrt-profiles": "0.57.
|
|
60
|
-
"@happyvertical/smrt-tenancy": "0.57.
|
|
61
|
-
"@happyvertical/smrt-types": "0.57.
|
|
62
|
-
"@happyvertical/smrt-ui": "0.57.
|
|
56
|
+
"@happyvertical/smrt-config": "0.57.23",
|
|
57
|
+
"@happyvertical/smrt-core": "0.57.23",
|
|
58
|
+
"@happyvertical/smrt-mobile-contract": "0.57.23",
|
|
59
|
+
"@happyvertical/smrt-profiles": "0.57.23",
|
|
60
|
+
"@happyvertical/smrt-tenancy": "0.57.23",
|
|
61
|
+
"@happyvertical/smrt-types": "0.57.23",
|
|
62
|
+
"@happyvertical/smrt-ui": "0.57.23",
|
|
63
63
|
"@happyvertical/sql": "^0.106.0",
|
|
64
64
|
"@simplewebauthn/browser": "^14.0.0",
|
|
65
65
|
"@simplewebauthn/server": "^14.0.3",
|
|
66
66
|
"jose": "^6.2.12"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@happyvertical/smrt-vitest": "0.57.
|
|
69
|
+
"@happyvertical/smrt-vitest": "0.57.23",
|
|
70
70
|
"@sveltejs/package": "^2.5.8",
|
|
71
71
|
"@sveltejs/vite-plugin-svelte": "^7.3.0",
|
|
72
72
|
"@types/node": "24.13.6",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"clean": "rm -rf dist",
|
|
105
105
|
"dev": "npm run build:watch",
|
|
106
106
|
"test": "vitest run",
|
|
107
|
-
"test:postgres": "node ../../scripts/run-with-ci-postgres.mjs -- pnpm exec vitest run src/__tests__/operator-provisioning-postgres.test.ts src/__tests__/member-register-postgres.test.ts src/__tests__/permission-action-alias-postgres.test.ts src/__tests__/permission-postgres-rls.test.ts src/__tests__/principal-permission-context-postgres.test.ts src/__tests__/oidc-provisioning-postgres.test.ts src/__tests__/legacy-user-profile-backfill-postgres.test.ts src/__tests__/terminal-auth-postgres.test.ts src/__tests__/device-credential-postgres.test.ts src/__tests__/password-credential-postgres.test.ts src/__tests__/passkey-credential-postgres.test.ts src/__tests__/username-identity.test.ts src/__tests__/resource-grant-postgres.test.ts src/__tests__/issue-3036-hierarchy-resolution-postgres.test.ts src/__tests__/issue-3047-permission-resolution-cost-postgres.test.ts src/__tests__/issue-3048-authorization-list-bounds-postgres.test.ts src/__tests__/issue-3329-concurrent-seeding-postgres.test.ts src/__tests__/issue-3329-grant-dedup.test.ts src/__tests__/issue-3375-authority-pair-dedup.test.ts src/__tests__/issue-3375-authority-pair-identity.test.ts src/__tests__/oauth-authorization.test.ts",
|
|
107
|
+
"test:postgres": "node ../../scripts/run-with-ci-postgres.mjs -- pnpm exec vitest run src/__tests__/operator-provisioning-postgres.test.ts src/__tests__/member-register-postgres.test.ts src/__tests__/member-eligibility-read.test.ts src/__tests__/permission-action-alias-postgres.test.ts src/__tests__/permission-postgres-rls.test.ts src/__tests__/principal-permission-context-postgres.test.ts src/__tests__/oidc-provisioning-postgres.test.ts src/__tests__/legacy-user-profile-backfill-postgres.test.ts src/__tests__/terminal-auth-postgres.test.ts src/__tests__/device-credential-postgres.test.ts src/__tests__/password-credential-postgres.test.ts src/__tests__/passkey-credential-postgres.test.ts src/__tests__/username-identity.test.ts src/__tests__/resource-grant-postgres.test.ts src/__tests__/issue-3036-hierarchy-resolution-postgres.test.ts src/__tests__/issue-3047-permission-resolution-cost-postgres.test.ts src/__tests__/issue-3048-authorization-list-bounds-postgres.test.ts src/__tests__/issue-3329-concurrent-seeding-postgres.test.ts src/__tests__/issue-3329-grant-dedup.test.ts src/__tests__/issue-3375-authority-pair-dedup.test.ts src/__tests__/issue-3375-authority-pair-identity.test.ts src/__tests__/oauth-authorization.test.ts src/__tests__/mailbox-authentication.test.ts",
|
|
108
108
|
"typecheck": "tsc --noEmit && node ../../scripts/svelte-check-a11y.mjs --tsconfig ./tsconfig.svelte.json",
|
|
109
109
|
"check": "pnpm exec svelte-check --tsconfig ./tsconfig.svelte.json",
|
|
110
110
|
"verify:pack": "node ../../scripts/verify-package-types-exports.js ."
|