@paddle/paddle-node-sdk 3.8.0 → 3.10.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.
@@ -9,6 +9,7 @@ class ApiKeyNotification {
9
9
  status;
10
10
  permissions;
11
11
  expiresAt;
12
+ rotatable;
12
13
  lastUsedAt;
13
14
  createdAt;
14
15
  updatedAt;
@@ -20,6 +21,7 @@ class ApiKeyNotification {
20
21
  this.status = apiKey.status;
21
22
  this.permissions = apiKey.permissions;
22
23
  this.expiresAt = apiKey.expires_at ?? null;
24
+ this.rotatable = apiKey.rotatable ?? null;
23
25
  this.lastUsedAt = apiKey.last_used_at ?? null;
24
26
  this.createdAt = apiKey.created_at;
25
27
  this.updatedAt = apiKey.updated_at;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = '3.8.0';
4
+ exports.SDK_VERSION = '3.10.0';
@@ -6,6 +6,7 @@ export class ApiKeyNotification {
6
6
  status;
7
7
  permissions;
8
8
  expiresAt;
9
+ rotatable;
9
10
  lastUsedAt;
10
11
  createdAt;
11
12
  updatedAt;
@@ -17,6 +18,7 @@ export class ApiKeyNotification {
17
18
  this.status = apiKey.status;
18
19
  this.permissions = apiKey.permissions;
19
20
  this.expiresAt = apiKey.expires_at ?? null;
21
+ this.rotatable = apiKey.rotatable ?? null;
20
22
  this.lastUsedAt = apiKey.last_used_at ?? null;
21
23
  this.createdAt = apiKey.created_at;
22
24
  this.updatedAt = apiKey.updated_at;
@@ -1 +1 @@
1
- export const SDK_VERSION = '3.8.0';
1
+ export const SDK_VERSION = '3.10.0';
@@ -8,6 +8,7 @@ export declare class ApiKeyNotification {
8
8
  readonly status: ApiKeyStatus;
9
9
  readonly permissions: ApiKeyPermission[];
10
10
  readonly expiresAt: string | null;
11
+ readonly rotatable: boolean | null;
11
12
  readonly lastUsedAt: string | null;
12
13
  readonly createdAt: string;
13
14
  readonly updatedAt: string;
@@ -7,6 +7,7 @@ export interface IApiKeyNotificationResponse {
7
7
  status: ApiKeyStatus;
8
8
  permissions: ApiKeyPermission[];
9
9
  expires_at: string | null;
10
+ rotatable: boolean | null;
10
11
  last_used_at: string | null;
11
12
  created_at: string;
12
13
  updated_at: string;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.8.0";
1
+ export declare const SDK_VERSION = "3.10.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paddle/paddle-node-sdk",
3
- "version": "3.8.0",
3
+ "version": "3.10.0",
4
4
  "description": "A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.",
5
5
  "main": "dist/cjs/index.cjs.node.js",
6
6
  "module": "dist/esm/index.esm.node.js",