hiloop-sdk 0.5.3 → 0.5.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/client.d.ts CHANGED
@@ -834,6 +834,10 @@ export declare class HiloopClient {
834
834
  hasSecret: boolean;
835
835
  hasAuthToken: boolean;
836
836
  }>;
837
+ /** Remove webhook configuration for this agent. */
838
+ removeWebhook(): Promise<{
839
+ ok: boolean;
840
+ }>;
837
841
  static generateKeyPair(): KeyPair;
838
842
  /** Encrypt plaintext with AES-256-GCM for session messages. */
839
843
  static encryptAes(plaintext: string, keyBase64: string): Promise<string>;
package/dist/client.js CHANGED
@@ -1227,6 +1227,10 @@ export class HiloopClient {
1227
1227
  body: { webhookUrl: opts.webhookUrl, webhookAuthToken: opts.authToken },
1228
1228
  });
1229
1229
  }
1230
+ /** Remove webhook configuration for this agent. */
1231
+ async removeWebhook() {
1232
+ return this.request("DELETE", "/agent/webhooks/config");
1233
+ }
1230
1234
  // -- Crypto -----------------------------------------------------------------
1231
1235
  static generateKeyPair() {
1232
1236
  return generateKeyPair();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hiloop-sdk",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "TypeScript SDK for Hiloop — zero-trust human-AI agent interaction platform",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",