@happyvertical/smrt-users 0.54.1 → 0.54.2

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.
Files changed (37) hide show
  1. package/AGENTS.md +16 -0
  2. package/README.md +129 -3
  3. package/dist/chunks/{TerminalAuthService-kxt3fqNP.js → TerminalAuthService-B2cazTEg.js} +833 -155
  4. package/dist/chunks/TerminalAuthService-B2cazTEg.js.map +1 -0
  5. package/dist/collections/PasswordCredentialCollection.d.ts +53 -0
  6. package/dist/collections/PasswordCredentialCollection.d.ts.map +1 -0
  7. package/dist/collections/SessionCollection.d.ts +7 -2
  8. package/dist/collections/SessionCollection.d.ts.map +1 -1
  9. package/dist/collections/index.d.ts +1 -0
  10. package/dist/collections/index.d.ts.map +1 -1
  11. package/dist/index.d.ts +3 -3
  12. package/dist/index.d.ts.map +1 -1
  13. package/dist/index.js +4 -4
  14. package/dist/index.js.map +1 -1
  15. package/dist/manifest.json +422 -1
  16. package/dist/models/PasswordCredential.d.ts +36 -0
  17. package/dist/models/PasswordCredential.d.ts.map +1 -0
  18. package/dist/models/index.d.ts +1 -0
  19. package/dist/models/index.d.ts.map +1 -1
  20. package/dist/services/DeviceCredentialService.d.ts.map +1 -1
  21. package/dist/services/PasswordCredentialService.d.ts +302 -0
  22. package/dist/services/PasswordCredentialService.d.ts.map +1 -0
  23. package/dist/services/SessionService.d.ts +3 -1
  24. package/dist/services/SessionService.d.ts.map +1 -1
  25. package/dist/services/credential-hash.d.ts +76 -0
  26. package/dist/services/credential-hash.d.ts.map +1 -0
  27. package/dist/services/index.d.ts +1 -0
  28. package/dist/services/index.d.ts.map +1 -1
  29. package/dist/smrt-knowledge.json +208 -8
  30. package/dist/sveltekit/index.d.ts +1 -0
  31. package/dist/sveltekit/index.d.ts.map +1 -1
  32. package/dist/sveltekit/password-handlers.d.ts +91 -0
  33. package/dist/sveltekit/password-handlers.d.ts.map +1 -0
  34. package/dist/sveltekit.js +237 -68
  35. package/dist/sveltekit.js.map +1 -1
  36. package/package.json +10 -10
  37. package/dist/chunks/TerminalAuthService-kxt3fqNP.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-users",
3
- "version": "0.54.1",
3
+ "version": "0.54.2",
4
4
  "smrtJsdoc": "strict",
5
5
  "description": "Multi-tenant user management for the SMRT framework - users, tenants, roles, permissions, groups",
6
6
  "type": "module",
@@ -48,18 +48,18 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@happyvertical/logger": "^0.100.3",
51
- "@happyvertical/smrt-config": "0.54.1",
52
- "@happyvertical/smrt-core": "0.54.1",
53
- "@happyvertical/smrt-mobile-contract": "0.54.1",
54
- "@happyvertical/smrt-profiles": "0.54.1",
55
- "@happyvertical/smrt-tenancy": "0.54.1",
56
- "@happyvertical/smrt-types": "0.54.1",
57
- "@happyvertical/smrt-ui": "0.54.1",
51
+ "@happyvertical/smrt-config": "0.54.2",
52
+ "@happyvertical/smrt-core": "0.54.2",
53
+ "@happyvertical/smrt-mobile-contract": "0.54.2",
54
+ "@happyvertical/smrt-profiles": "0.54.2",
55
+ "@happyvertical/smrt-tenancy": "0.54.2",
56
+ "@happyvertical/smrt-types": "0.54.2",
57
+ "@happyvertical/smrt-ui": "0.54.2",
58
58
  "@happyvertical/sql": "^0.100.3",
59
59
  "jose": "^6.2.12"
60
60
  },
61
61
  "devDependencies": {
62
- "@happyvertical/smrt-vitest": "0.54.1",
62
+ "@happyvertical/smrt-vitest": "0.54.2",
63
63
  "@sveltejs/package": "^2.5.8",
64
64
  "@sveltejs/vite-plugin-svelte": "^7.3.0",
65
65
  "@types/node": "24.13.6",
@@ -97,7 +97,7 @@
97
97
  "clean": "rm -rf dist",
98
98
  "dev": "npm run build:watch",
99
99
  "test": "vitest run",
100
- "test:postgres": "node ../../scripts/run-with-ci-postgres.mjs -- pnpm exec vitest run 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__/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",
100
+ "test:postgres": "node ../../scripts/run-with-ci-postgres.mjs -- pnpm exec vitest run 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__/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",
101
101
  "typecheck": "tsc --noEmit && node ../../scripts/svelte-check-a11y.mjs --tsconfig ./tsconfig.svelte.json",
102
102
  "check": "pnpm exec svelte-check --tsconfig ./tsconfig.svelte.json",
103
103
  "verify:pack": "node ../../scripts/verify-package-types-exports.js ."