@agentidentitytrustprotocol/aitp 0.8.0 → 0.9.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.
Files changed (2) hide show
  1. package/index.d.ts +5 -1
  2. package/package.json +5 -5
package/index.d.ts CHANGED
@@ -283,8 +283,12 @@ export interface JsTctIdentity {
283
283
  * `version_unknown`, `identity_hint_malformed`,
284
284
  * `incompatible_identity_type`, `malformed`. Branch on `error.code`, never
285
285
  * on `error.message`: the code is the contract, the wording is not.
286
+ *
287
+ * `nowUnixSecs` overrides the verification clock — omit it to use the
288
+ * system clock, or pass a pinned value in tests. Matches
289
+ * `verifyRevocationList`'s `nowUnixSecs` parameter.
286
290
  */
287
- export declare function verifyManifestJson(manifestEnvelopeJson: string): void
291
+ export declare function verifyManifestJson(manifestEnvelopeJson: string, nowUnixSecs?: number | undefined | null): void
288
292
  /** An AITP agent: a signing key and (once built) its Manifest. */
289
293
  export declare class AitpAgent {
290
294
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentidentitytrustprotocol/aitp",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "Agent Identity Trust Protocol — Node.js SDK",
5
5
  "license": "MIT OR Apache-2.0",
6
6
  "repository": {
@@ -53,9 +53,9 @@
53
53
  "registry": "https://registry.npmjs.org/"
54
54
  },
55
55
  "optionalDependencies": {
56
- "@agentidentitytrustprotocol/aitp-darwin-x64": "0.8.0",
57
- "@agentidentitytrustprotocol/aitp-darwin-arm64": "0.8.0",
58
- "@agentidentitytrustprotocol/aitp-linux-x64-gnu": "0.8.0",
59
- "@agentidentitytrustprotocol/aitp-linux-arm64-gnu": "0.8.0"
56
+ "@agentidentitytrustprotocol/aitp-darwin-x64": "0.9.0",
57
+ "@agentidentitytrustprotocol/aitp-darwin-arm64": "0.9.0",
58
+ "@agentidentitytrustprotocol/aitp-linux-x64-gnu": "0.9.0",
59
+ "@agentidentitytrustprotocol/aitp-linux-arm64-gnu": "0.9.0"
60
60
  }
61
61
  }