@happyvertical/smrt-users 0.55.18 → 0.55.20

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 (39) hide show
  1. package/README.md +47 -0
  2. package/agents/oauth-authorization.md +124 -0
  3. package/agents/retention.md +18 -0
  4. package/dist/chunks/{TerminalAuthService-DjGsRtqb.js → TerminalAuthService-CibxZg5H.js} +2 -2
  5. package/dist/chunks/TerminalAuthService-CibxZg5H.js.map +1 -0
  6. package/dist/collections/OAuthAuthorizationCollection.d.ts +31 -0
  7. package/dist/collections/OAuthAuthorizationCollection.d.ts.map +1 -0
  8. package/dist/collections/index.d.ts +1 -0
  9. package/dist/collections/index.d.ts.map +1 -1
  10. package/dist/index.d.ts +4 -4
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +832 -33
  13. package/dist/index.js.map +1 -1
  14. package/dist/manifest.json +4590 -2529
  15. package/dist/models/OAuthAuthorization.d.ts +70 -0
  16. package/dist/models/OAuthAuthorization.d.ts.map +1 -0
  17. package/dist/models/index.d.ts +1 -0
  18. package/dist/models/index.d.ts.map +1 -1
  19. package/dist/retention.d.ts +3 -1
  20. package/dist/retention.d.ts.map +1 -1
  21. package/dist/services/OAuthAuthorizationService.d.ts +52 -0
  22. package/dist/services/OAuthAuthorizationService.d.ts.map +1 -0
  23. package/dist/services/OAuthAuthorizationStorage.d.ts +39 -0
  24. package/dist/services/OAuthAuthorizationStorage.d.ts.map +1 -0
  25. package/dist/services/index.d.ts +2 -0
  26. package/dist/services/index.d.ts.map +1 -1
  27. package/dist/services/oauth-retention.d.ts +14 -0
  28. package/dist/services/oauth-retention.d.ts.map +1 -0
  29. package/dist/services/oauth-transaction.d.ts +4 -0
  30. package/dist/services/oauth-transaction.d.ts.map +1 -0
  31. package/dist/smrt-knowledge.json +925 -48
  32. package/dist/sveltekit/index.d.ts +1 -0
  33. package/dist/sveltekit/index.d.ts.map +1 -1
  34. package/dist/sveltekit/oauth-handlers.d.ts +25 -0
  35. package/dist/sveltekit/oauth-handlers.d.ts.map +1 -0
  36. package/dist/sveltekit.js +93 -25
  37. package/dist/sveltekit.js.map +1 -1
  38. package/package.json +13 -12
  39. package/dist/chunks/TerminalAuthService-DjGsRtqb.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-users",
3
- "version": "0.55.18",
3
+ "version": "0.55.20",
4
4
  "smrtJsdoc": "strict",
5
5
  "description": "Multi-tenant user management for the SMRT framework - users, tenants, roles, permissions, groups",
6
6
  "type": "module",
@@ -47,19 +47,20 @@
47
47
  }
48
48
  },
49
49
  "dependencies": {
50
- "@happyvertical/logger": "^0.103.4",
51
- "@happyvertical/smrt-config": "0.55.18",
52
- "@happyvertical/smrt-core": "0.55.18",
53
- "@happyvertical/smrt-mobile-contract": "0.55.18",
54
- "@happyvertical/smrt-profiles": "0.55.18",
55
- "@happyvertical/smrt-tenancy": "0.55.18",
56
- "@happyvertical/smrt-types": "0.55.18",
57
- "@happyvertical/smrt-ui": "0.55.18",
58
- "@happyvertical/sql": "^0.103.4",
50
+ "@happyvertical/auth": "^0.103.5",
51
+ "@happyvertical/logger": "^0.103.5",
52
+ "@happyvertical/smrt-config": "0.55.20",
53
+ "@happyvertical/smrt-core": "0.55.20",
54
+ "@happyvertical/smrt-mobile-contract": "0.55.20",
55
+ "@happyvertical/smrt-profiles": "0.55.20",
56
+ "@happyvertical/smrt-tenancy": "0.55.20",
57
+ "@happyvertical/smrt-types": "0.55.20",
58
+ "@happyvertical/smrt-ui": "0.55.20",
59
+ "@happyvertical/sql": "^0.103.5",
59
60
  "jose": "^6.2.12"
60
61
  },
61
62
  "devDependencies": {
62
- "@happyvertical/smrt-vitest": "0.55.18",
63
+ "@happyvertical/smrt-vitest": "0.55.20",
63
64
  "@sveltejs/package": "^2.5.8",
64
65
  "@sveltejs/vite-plugin-svelte": "^7.3.0",
65
66
  "@types/node": "24.13.6",
@@ -97,7 +98,7 @@
97
98
  "clean": "rm -rf dist",
98
99
  "dev": "npm run build:watch",
99
100
  "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__/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
+ "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 src/__tests__/oauth-authorization.test.ts",
101
102
  "typecheck": "tsc --noEmit && node ../../scripts/svelte-check-a11y.mjs --tsconfig ./tsconfig.svelte.json",
102
103
  "check": "pnpm exec svelte-check --tsconfig ./tsconfig.svelte.json",
103
104
  "verify:pack": "node ../../scripts/verify-package-types-exports.js ."