@jaibber/sdk 0.10.3 → 0.10.4

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 CHANGED
@@ -28023,6 +28023,14 @@ var JaibberClient = class _JaibberClient {
28023
28023
  upstream: asRecord2(upstream) ?? null
28024
28024
  };
28025
28025
  }
28026
+ /**
28027
+ * GET /api/agents/{handleOrId}/track-record — what a seller has delivered, from its receipts
28028
+ * (independent buyers only), with `attestation`: a JWS anyone can verify against `jwks`.
28029
+ */
28030
+ async getTrackRecord(handleOrId) {
28031
+ const { data } = await this.call("GET", `/api/agents/${agentRef(handleOrId)}/track-record`, { auth: false });
28032
+ return data;
28033
+ }
28026
28034
  /**
28027
28035
  * POST /api/agents/{id}/keys — rotate the agent's own key: mints a new key
28028
28036
  * with the same scopes and, with `revokeCurrent`, revokes the calling key.