@managemint-solutions/sdk 0.51.0 → 0.53.0

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.
@@ -33,10 +33,13 @@ class UsersResource {
33
33
  supabase;
34
34
  auth;
35
35
  table;
36
+ /** This record's history - its own rows and the rows that hang off it. */
37
+ audit;
36
38
  constructor(supabase, auth, audit) {
37
39
  this.supabase = supabase;
38
40
  this.auth = auth;
39
41
  this.table = (0, audit_1.auditedTable)(supabase, auth, audit, USERS_TABLE);
42
+ this.audit = new audit_1.EntityAuditTrail(supabase, auth, enum_1.AuditTrailEntityType.USER);
40
43
  }
41
44
  async list(query) {
42
45
  const page = query.page;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managemint-solutions/sdk",
3
- "version": "0.51.0",
3
+ "version": "0.53.0",
4
4
  "description": "Typed Supabase data-access SDK for ManageMint Solutions",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Scott Bebington <scottbebington@gmail.com>",
@@ -51,7 +51,7 @@
51
51
  "testEnvironment": "node"
52
52
  },
53
53
  "dependencies": {
54
- "@managemint-solutions/entities": "^1.34.0"
54
+ "@managemint-solutions/entities": "^1.35.0"
55
55
  },
56
56
  "peerDependencies": {
57
57
  "@nestjs/common": "^11.0.0",