@kairoguard/sdk 0.0.5 → 0.0.6

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/backend.d.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Handles authentication, request formatting, and response parsing.
5
5
  * All methods automatically attach the X-Kairo-Api-Key header.
6
6
  */
7
- export declare const DEFAULT_BACKEND_URL = "https://api.kairoguard.com";
7
+ export declare const DEFAULT_BACKEND_URL = "https://backend.0xlegacy.link";
8
8
  export interface BackendClientOpts {
9
9
  backendUrl?: string;
10
10
  apiKey?: string;
package/dist/backend.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Handles authentication, request formatting, and response parsing.
5
5
  * All methods automatically attach the X-Kairo-Api-Key header.
6
6
  */
7
- export const DEFAULT_BACKEND_URL = "https://api.kairoguard.com";
7
+ export const DEFAULT_BACKEND_URL = "https://backend.0xlegacy.link";
8
8
  export class BackendClient {
9
9
  baseUrl;
10
10
  apiKey;
package/dist/cli.js CHANGED
@@ -3,12 +3,11 @@ import { readFileSync, writeFileSync, mkdirSync, existsSync } from "node:fs";
3
3
  import { join } from "node:path";
4
4
  import { homedir } from "node:os";
5
5
  import { verifyAuditBundle } from "./auditBundle.js";
6
- import { BackendClient } from "./backend.js";
6
+ import { BackendClient, DEFAULT_BACKEND_URL } from "./backend.js";
7
7
  import { KairoClient } from "./client.js";
8
8
  import { SKILL_MD, API_REFERENCE_MD, SDK_REFERENCE_MD } from "./skill-templates.js";
9
9
  const CONFIG_DIR = join(homedir(), ".kairo");
10
10
  const CONFIG_PATH = join(CONFIG_DIR, "config.json");
11
- const DEFAULT_BACKEND_URL = "https://backend.0xlegacy.link";
12
11
  function loadConfig() {
13
12
  if (!existsSync(CONFIG_PATH))
14
13
  return null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kairoguard/sdk",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",