@antondziuin/talos-sdk 0.3.0 → 0.4.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.
- package/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -247,6 +247,9 @@ var StateStore = class {
|
|
|
247
247
|
}
|
|
248
248
|
if (typeof o["offlineToken"] === "string") b.offlineToken = o["offlineToken"];
|
|
249
249
|
if (typeof o["offlineSeen"] === "number") b.offlineSeen = o["offlineSeen"];
|
|
250
|
+
if (typeof o["registryManifest"] === "string" && o["registryManifest"].length <= 65536) b.registryManifest = o["registryManifest"];
|
|
251
|
+
if (typeof o["registryActivationId"] === "string" && o["registryActivationId"].length <= 36) b.registryActivationId = o["registryActivationId"];
|
|
252
|
+
if (typeof o["registryChainState"] === "string") b.registryChainState = o["registryChainState"];
|
|
250
253
|
return b.activationSecret || b.offlineToken || b.machineKey ? b : null;
|
|
251
254
|
} catch {
|
|
252
255
|
return null;
|
|
@@ -288,7 +291,7 @@ var StateStore = class {
|
|
|
288
291
|
};
|
|
289
292
|
|
|
290
293
|
// src/version.ts
|
|
291
|
-
var SDK_VERSION = "0.
|
|
294
|
+
var SDK_VERSION = "0.4.0";
|
|
292
295
|
var SDK_ID = `node/${SDK_VERSION}`;
|
|
293
296
|
|
|
294
297
|
// src/diagnostics.ts
|