@kosa8/sdk 0.3.0 → 0.3.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.
package/dist/index.d.cts CHANGED
@@ -1181,12 +1181,12 @@ declare function errorFromResponse(status: number, body: unknown, ctx?: {
1181
1181
  code?: string;
1182
1182
  }): Kosa8ApiError;
1183
1183
 
1184
- declare const DEFAULT_CLOUD_URL = "https://api.kosa8.cloud";
1184
+ declare const DEFAULT_CLOUD_URL = "https://api.kosa8.com";
1185
1185
  declare const CLOUD_KEY_PREFIX = "k8c_live_";
1186
1186
  interface Kosa8CloudOptions {
1187
1187
  /** API key. Defaults to the KOSA8_API_KEY environment variable. */
1188
1188
  apiKey?: string;
1189
- /** Control-plane address. Defaults to KOSA8_CLOUD_URL, then https://api.kosa8.cloud. */
1189
+ /** Control-plane address. Defaults to KOSA8_CLOUD_URL, then https://api.kosa8.com. */
1190
1190
  baseUrl?: string;
1191
1191
  /** Where to read KOSA8_API_KEY and KOSA8_CLOUD_URL from. Defaults to process.env. */
1192
1192
  env?: Record<string, string | undefined>;
package/dist/index.d.ts CHANGED
@@ -1181,12 +1181,12 @@ declare function errorFromResponse(status: number, body: unknown, ctx?: {
1181
1181
  code?: string;
1182
1182
  }): Kosa8ApiError;
1183
1183
 
1184
- declare const DEFAULT_CLOUD_URL = "https://api.kosa8.cloud";
1184
+ declare const DEFAULT_CLOUD_URL = "https://api.kosa8.com";
1185
1185
  declare const CLOUD_KEY_PREFIX = "k8c_live_";
1186
1186
  interface Kosa8CloudOptions {
1187
1187
  /** API key. Defaults to the KOSA8_API_KEY environment variable. */
1188
1188
  apiKey?: string;
1189
- /** Control-plane address. Defaults to KOSA8_CLOUD_URL, then https://api.kosa8.cloud. */
1189
+ /** Control-plane address. Defaults to KOSA8_CLOUD_URL, then https://api.kosa8.com. */
1190
1190
  baseUrl?: string;
1191
1191
  /** Where to read KOSA8_API_KEY and KOSA8_CLOUD_URL from. Defaults to process.env. */
1192
1192
  env?: Record<string, string | undefined>;
package/dist/index.js CHANGED
@@ -1487,7 +1487,7 @@ var SandboxHandle = class {
1487
1487
  };
1488
1488
 
1489
1489
  // src/cloud.ts
1490
- var DEFAULT_CLOUD_URL = "https://api.kosa8.cloud";
1490
+ var DEFAULT_CLOUD_URL = "https://api.kosa8.com";
1491
1491
  var CLOUD_KEY_PREFIX = "k8c_live_";
1492
1492
  function trimSlash(s) {
1493
1493
  return s.replace(/\/+$/, "");