whisper-id 0.6.0 → 0.6.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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -203,7 +203,7 @@ export async function ip({ timeout = 60000 } = {}) {
203
203
  // read from opts.apiKey or $WHISPER_API_KEY and sent ONLY in the X-API-Key header.
204
204
 
205
205
  function controlUrl() {
206
- return process.env.WHISPER_CONTROL_URL || "https://graph.whisper.security/api/query";
206
+ return process.env.WHISPER_CONTROL_URL || "https://graph.whisper.online/api/query";
207
207
  }
208
208
 
209
209
  // Conservative-emit (RFC 761): render a value as a Cypher literal so no input - however
@@ -464,7 +464,7 @@ export async function agent(sel = {}, maybeOpts) {
464
464
  // at all, a rate-limited taste (~100/window) with real answers; a key (opts.apiKey or
465
465
  // WHISPER_API_KEY) lifts the limit. Raw Cypher (graph.query), the 15 multi-step flows,
466
466
  // and the submit write channel stay KEYED. Everything POSTs to the SAME endpoint the
467
- // control plane uses (https://graph.whisper.security/api/query), reusing resolveKey() so
467
+ // control plane uses (https://graph.whisper.online/api/query), reusing resolveKey() so
468
468
  // there is one auth path, not two: a present key rides ONLY in the X-API-Key header, an
469
469
  // absent one sends NO auth header at all. It does NOT go through the whisper.agents()
470
470
  // control wrapper: the graph contract is different (body {query,parameters}; reply
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whisper-id",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Give any Node agent the Whisper security graph (keyless reads + keyed Cypher), a real routable Whisper IPv6 identity, safe egress, and the full control plane.",
5
5
  "type": "module",
6
6
  "exports": {