@bentoforge/umami-iam 0.7.0 → 0.7.1
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/client.d.ts +1 -1
- package/dist/client.js +1 -1
- package/package.json +1 -1
- package/src/client.ts +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -159,7 +159,7 @@ export declare class UmamiClient {
|
|
|
159
159
|
changePassword(currentPassword: string, newPassword: string): Promise<void>;
|
|
160
160
|
/** One page of the current user's own audit trail (newest first). Pass `cursor` to page. */
|
|
161
161
|
myAudit(limit?: number, cursor?: string): Promise<AuditPage>;
|
|
162
|
-
/** One page of a tenant's audit trail (requires `
|
|
162
|
+
/** One page of a tenant's audit trail (requires `view:audit`; own tenant). */
|
|
163
163
|
tenantAudit(tenantId: string, limit?: number, cursor?: string): Promise<AuditPage>;
|
|
164
164
|
/** One page of a tenant user's audit trail (requires `manage:users`; own tenant). */
|
|
165
165
|
userAudit(userId: string, limit?: number, cursor?: string): Promise<AuditPage>;
|
package/dist/client.js
CHANGED
|
@@ -363,7 +363,7 @@ export class UmamiClient {
|
|
|
363
363
|
myAudit(limit, cursor) {
|
|
364
364
|
return this.request(`/auth/me/audit${auditQs(limit, cursor)}`);
|
|
365
365
|
}
|
|
366
|
-
/** One page of a tenant's audit trail (requires `
|
|
366
|
+
/** One page of a tenant's audit trail (requires `view:audit`; own tenant). */
|
|
367
367
|
tenantAudit(tenantId, limit, cursor) {
|
|
368
368
|
return this.request(`/tenants/${enc(tenantId)}/audit${auditQs(limit, cursor)}`);
|
|
369
369
|
}
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -475,7 +475,7 @@ export class UmamiClient {
|
|
|
475
475
|
myAudit(limit?: number, cursor?: string): Promise<AuditPage> {
|
|
476
476
|
return this.request<AuditPage>(`/auth/me/audit${auditQs(limit, cursor)}`);
|
|
477
477
|
}
|
|
478
|
-
/** One page of a tenant's audit trail (requires `
|
|
478
|
+
/** One page of a tenant's audit trail (requires `view:audit`; own tenant). */
|
|
479
479
|
tenantAudit(tenantId: string, limit?: number, cursor?: string): Promise<AuditPage> {
|
|
480
480
|
return this.request<AuditPage>(`/tenants/${enc(tenantId)}/audit${auditQs(limit, cursor)}`);
|
|
481
481
|
}
|