@promigence/sdk 0.1.0-beta.14 → 0.1.0-beta.15

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/core.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /** Promigence SDK — constants, error hierarchy and shared types. */
2
- export declare const VERSION = "0.1.0-beta.14";
2
+ export declare const VERSION = "0.1.0-beta.15";
3
3
  export declare const DOCS_URL = "https://promigence.ai";
4
4
  /** The error reference; each code is an anchor on it (the API's `docs` link has the same form). */
5
5
  export declare const ERRORS_DOCS_URL = "https://www.promigence.ai/docs/errors";
package/dist/core.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { hintArg } from "./hint.js";
2
- export const VERSION = "0.1.0-beta.14";
2
+ export const VERSION = "0.1.0-beta.15";
3
3
  export const DOCS_URL = "https://promigence.ai";
4
4
  export const ERRORS_DOCS_URL = "https://www.promigence.ai/docs/errors";
5
5
  export const DEFAULT_API_URL = "https://api.promigence.ai/v1";
@@ -247,6 +247,8 @@ export const EXIT_BY_CODE = {
247
247
  project_cap_reached: 5,
248
248
  spend_limit_reached: 5,
249
249
  billing_hold: 5,
250
+ credits_exhausted: 5, purchase_limit: 5, purchases_blocked: 5,
251
+ card_needed: 5, auto_reload_unavailable: 5,
250
252
  tier_over_plan: 2,
251
253
  network_host_refused: 9, network_policy_unsupported: 3,
252
254
  secrets_in_snapshot: 2, secrets_unavailable: 3,