nucleus-core-ts 0.8.153 → 0.8.156

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.
@@ -80,7 +80,10 @@ export type LoginSuccessData = {
80
80
  accessToken?: string;
81
81
  sessionId?: string;
82
82
  };
83
- export type LoginSuccess = StandardReturn<LoginSuccessData>;
83
+ export type LoginSuccess = StandardReturn<LoginSuccessData> & {
84
+ requiresApproval?: boolean;
85
+ sessionId?: string;
86
+ };
84
87
  export interface RegisterPayload {
85
88
  email: string;
86
89
  password: string;
@@ -410,6 +413,7 @@ export interface UpdateApiKeyResponse {
410
413
  data: ApiKeyListItem;
411
414
  }
412
415
  export interface RevokeApiKeyPayload {
416
+ id: string;
413
417
  reason?: string;
414
418
  }
415
419
  export interface RevokeApiKeyResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nucleus-core-ts",
3
- "version": "0.8.153",
3
+ "version": "0.8.156",
4
4
  "description": "Production-ready, enterprise-grade TypeScript framework for building multi-tenant APIs",
5
5
  "author": "Hidayet Can Özcan <hidayetcan@gmail.com>",
6
6
  "license": "SEE LICENSE IN LICENSE",