attlaz-client 1.8.15 → 1.8.16
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/Model/Storage/StorageItem.d.ts +1 -0
- package/dist/Model/Storage/StorageItem.js +2 -1
- package/dist/Model/Storage/StorageItemInformation.js +2 -2
- package/dist/Model/Worker/WorkerConfig.d.ts +1 -1
- package/dist/Model/Worker/WorkerConfig.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -5,8 +5,9 @@ class StorageItem {
|
|
|
5
5
|
static parse(raw) {
|
|
6
6
|
let storageItem = new StorageItem();
|
|
7
7
|
storageItem.key = raw.key;
|
|
8
|
+
storageItem.bytes = raw.bytes;
|
|
8
9
|
storageItem.value = raw.value;
|
|
9
|
-
storageItem.expiration = new Date(raw.expiration);
|
|
10
|
+
storageItem.expiration = raw.expiration === null ? null : new Date(raw.expiration);
|
|
10
11
|
return storageItem;
|
|
11
12
|
}
|
|
12
13
|
}
|
|
@@ -4,9 +4,9 @@ exports.StorageItemInformation = void 0;
|
|
|
4
4
|
class StorageItemInformation {
|
|
5
5
|
static parse(raw) {
|
|
6
6
|
let storageItemInformation = new StorageItemInformation();
|
|
7
|
-
storageItemInformation.key = raw.
|
|
7
|
+
storageItemInformation.key = raw.key;
|
|
8
8
|
storageItemInformation.bytes = raw.bytes;
|
|
9
|
-
storageItemInformation.expiration = new Date(raw.expiration);
|
|
9
|
+
storageItemInformation.expiration = raw.expiration === null ? null : new Date(raw.expiration);
|
|
10
10
|
return storageItemInformation;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -8,7 +8,7 @@ export declare class WorkerConfig {
|
|
|
8
8
|
static KEY_WORKER_VERSION: string;
|
|
9
9
|
static KEY_API_ENDPOINT: string;
|
|
10
10
|
static KEY_API_CLIENT_ID: string;
|
|
11
|
-
static
|
|
11
|
+
static KEY_API_CLIENT_SECRET: string;
|
|
12
12
|
projectEnvironment: string;
|
|
13
13
|
key: string;
|
|
14
14
|
value: DataValueValue | null;
|
|
@@ -20,4 +20,4 @@ WorkerConfig.KEY_PLATFORM = 'platform';
|
|
|
20
20
|
WorkerConfig.KEY_WORKER_VERSION = 'worker_version';
|
|
21
21
|
WorkerConfig.KEY_API_ENDPOINT = 'api_endpoint';
|
|
22
22
|
WorkerConfig.KEY_API_CLIENT_ID = 'api_client_id';
|
|
23
|
-
WorkerConfig.
|
|
23
|
+
WorkerConfig.KEY_API_CLIENT_SECRET = 'api_client_secret';
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "1.8.
|
|
1
|
+
export declare const VERSION = "1.8.16";
|
package/dist/version.js
CHANGED