@securecoms/agent-bridge 0.2.0 → 0.3.1

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/bin.d.ts CHANGED
@@ -1,3 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  export declare function nodeMajorOk(version: string): boolean;
3
+ /**
4
+ * P0b (daemon-stability): a redacted fingerprint of a bearer token for logs —
5
+ * a short prefix plus the total length, never the raw value. Lets an
6
+ * operator eyeball "yes, a token was loaded, and it looks like the one I
7
+ * expect" without the full secret ever hitting stderr (see the tokenFile
8
+ * comment at the top of this file). Mirrors the install-path token hint's
9
+ * philosophy of pointing at the token FILE rather than printing the secret
10
+ * (see service/install.ts's tokenHint, which returns the bridge-token path).
11
+ */
12
+ export declare function tokenFingerprint(token: string): string;
3
13
  export declare function parseVerb(argv: string[]): "install" | "uninstall" | null;