@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.d.cts CHANGED
@@ -1093,6 +1093,12 @@ interface StoredBinding {
1093
1093
  * a clock its owner controls, and it is the price of offline.
1094
1094
  */
1095
1095
  offlineSeen?: number;
1096
+ /** Public on-chain registry manifest; never a license code or an authorization cache. */
1097
+ registryManifest?: string;
1098
+ /** Public identifier of a device-authenticated activation job that can be resumed without a code. */
1099
+ registryActivationId?: string;
1100
+ /** Public canonical head and per-license revision/revocation observations; never an authorization cache. */
1101
+ registryChainState?: string;
1096
1102
  }
1097
1103
  /**
1098
1104
  * Where the binding lives, per product, following each OS's convention.
package/dist/index.d.ts CHANGED
@@ -1093,6 +1093,12 @@ interface StoredBinding {
1093
1093
  * a clock its owner controls, and it is the price of offline.
1094
1094
  */
1095
1095
  offlineSeen?: number;
1096
+ /** Public on-chain registry manifest; never a license code or an authorization cache. */
1097
+ registryManifest?: string;
1098
+ /** Public identifier of a device-authenticated activation job that can be resumed without a code. */
1099
+ registryActivationId?: string;
1100
+ /** Public canonical head and per-license revision/revocation observations; never an authorization cache. */
1101
+ registryChainState?: string;
1096
1102
  }
1097
1103
  /**
1098
1104
  * Where the binding lives, per product, following each OS's convention.
package/dist/index.js CHANGED
@@ -195,6 +195,9 @@ var StateStore = class {
195
195
  }
196
196
  if (typeof o["offlineToken"] === "string") b.offlineToken = o["offlineToken"];
197
197
  if (typeof o["offlineSeen"] === "number") b.offlineSeen = o["offlineSeen"];
198
+ if (typeof o["registryManifest"] === "string" && o["registryManifest"].length <= 65536) b.registryManifest = o["registryManifest"];
199
+ if (typeof o["registryActivationId"] === "string" && o["registryActivationId"].length <= 36) b.registryActivationId = o["registryActivationId"];
200
+ if (typeof o["registryChainState"] === "string") b.registryChainState = o["registryChainState"];
198
201
  return b.activationSecret || b.offlineToken || b.machineKey ? b : null;
199
202
  } catch {
200
203
  return null;
@@ -236,7 +239,7 @@ var StateStore = class {
236
239
  };
237
240
 
238
241
  // src/version.ts
239
- var SDK_VERSION = "0.3.0";
242
+ var SDK_VERSION = "0.4.0";
240
243
  var SDK_ID = `node/${SDK_VERSION}`;
241
244
 
242
245
  // src/diagnostics.ts