@forgeintel/sdk 0.5.0-beta.6 → 0.5.0-beta.7

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/README.md CHANGED
@@ -84,7 +84,7 @@ OpenAPI: Swagger 2.0 and OpenAPI 3.0, 3.1 and 3.2. Additive only; shared compone
84
84
  | Option | Default | |
85
85
  | --- | --- | --- |
86
86
  | `apiKey` | required | Merchant key. Also the HMAC key for IDs. |
87
- | `backendUrl` | Forge production collector | Optional override for a different Forge environment. |
87
+ | `backendUrl` | `https://dev-api.forgeintel.co/api/sdk/v2` | Optional collector override. |
88
88
  | `publicUrl` | Same-origin paths | Optional public origin for absolute rating URLs. Never infer it from request headers. |
89
89
  | `feedback` | `true` | Master switch for rating prompts, IDs, response additions and feedback routes. `false` leaves telemetry, client headers and independent agent context on. |
90
90
  | `basePath` | `/feedback` | Feedback routes (`/feedback`, `/feedback/rate`, `/feedback/summary`). |
package/dist/core.d.ts CHANGED
@@ -178,7 +178,7 @@ export declare const FEEDBACK_HEADERS: {
178
178
  export declare const BODY_LIMIT: number;
179
179
  /** Max OpenAPI document an adapter should buffer for enrichment. */
180
180
  export declare const SPEC_LIMIT: number;
181
- export declare const DEFAULT_BACKEND_URL = "https://app-api.forgeintel.co/api/sdk/v2";
181
+ export declare const DEFAULT_BACKEND_URL = "https://dev-api.forgeintel.co/api/sdk/v2";
182
182
  /**
183
183
  * Check options without throwing. Invalid required options are errors (Forge runs disabled);
184
184
  * invalid optional values are warnings and fall back to their defaults.
package/dist/core.js CHANGED
@@ -14,7 +14,7 @@ export const FEEDBACK_HEADERS = { "Cache-Control": "no-store", "X-Robots-Tag": "
14
14
  export const BODY_LIMIT = 8 * 1024;
15
15
  /** Max OpenAPI document an adapter should buffer for enrichment. */
16
16
  export const SPEC_LIMIT = 10 * 1024 * 1024;
17
- export const DEFAULT_BACKEND_URL = "https://app-api.forgeintel.co/api/sdk/v2";
17
+ export const DEFAULT_BACKEND_URL = "https://dev-api.forgeintel.co/api/sdk/v2";
18
18
  /**
19
19
  * Check options without throwing. Invalid required options are errors (Forge runs disabled);
20
20
  * invalid optional values are warnings and fall back to their defaults.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forgeintel/sdk",
3
- "version": "0.5.0-beta.6",
3
+ "version": "0.5.0-beta.7",
4
4
  "description": "The Forge SDK for x402 paid APIs: agent feedback, required agent context, OpenAPI and challenge enrichment, and passive call signals. Express, Hono, Next.js and fetch handlers. No Forge network request on the merchant response path.",
5
5
  "license": "MIT",
6
6
  "type": "module",