@myapihq/sdk 2.31.8 → 2.31.9

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/hq.d.ts CHANGED
@@ -77,6 +77,12 @@ export interface ApiKey {
77
77
  created_at?: string;
78
78
  last_used_at?: string | null;
79
79
  }
80
+ /**
81
+ * @deprecated Anonymous accounts were retired on 2026-10-04. The backend
82
+ * refuses this call in production (`ANONYMOUS_DISABLED`); create accounts
83
+ * with `sendCode` + `verifyCode`, or mint a key in an existing account.
84
+ * Kept so callers get a typed refusal rather than a missing export.
85
+ */
80
86
  export declare function createAnonymousAccount(): Promise<AuthResult & {
81
87
  subdomain_url: string;
82
88
  }>;
package/dist/hq.js CHANGED
@@ -99,6 +99,12 @@ exports.GRANTABLE_SLOTS = [
99
99
  'function', 'url', 'people', 'company', 'audience', 'llm', 'database', 'crm',
100
100
  'payments',
101
101
  ];
102
+ /**
103
+ * @deprecated Anonymous accounts were retired on 2026-10-04. The backend
104
+ * refuses this call in production (`ANONYMOUS_DISABLED`); create accounts
105
+ * with `sendCode` + `verifyCode`, or mint a key in an existing account.
106
+ * Kept so callers get a typed refusal rather than a missing export.
107
+ */
102
108
  async function createAnonymousAccount() {
103
109
  return (0, client_1.request)('POST', `${config_1.HQ_BASE}/hq/account/anonymous`, undefined, {});
104
110
  }
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.31.8";
1
+ export declare const SDK_VERSION = "2.31.9";
package/dist/version.js CHANGED
@@ -8,4 +8,4 @@ exports.SDK_VERSION = void 0;
8
8
  // Why a constant and not a package.json read: the SDK runs inside edge
9
9
  // functions (Cloudflare Workers), so it must not import node:fs. A literal
10
10
  // is the only version source that works in every runtime we ship to.
11
- exports.SDK_VERSION = '2.31.8';
11
+ exports.SDK_VERSION = '2.31.9';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@myapihq/sdk",
3
3
  "license": "Apache-2.0",
4
- "version": "2.31.8",
4
+ "version": "2.31.9",
5
5
  "description": "TypeScript client for MyAPI. Use it from code you deploy — edge functions and containers that call back into the platform. Agents building things should use the MyAPI MCP server: https://api.myapihq.com/mcp",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",