@base44-preview/sdk 0.8.35-pr.214.4f9e502 → 0.8.35-pr.214.a1658ed

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.
@@ -1,9 +1,5 @@
1
1
  import { getAccessToken } from "../utils/auth-utils.js";
2
2
  export function createAiGatewayModule({ serverUrl, appBaseUrl, token, }) {
3
- // The gateway is a domain-resolved route: it only answers on the app's own
4
- // domain. In the browser serverUrl is that domain already; in backend
5
- // functions serverUrl is the API host, so prefer the app's public base URL
6
- // (propagated via the Base44-App-Base-Url header) when available.
7
3
  const gatewayOrigin = appBaseUrl || serverUrl;
8
4
  const connection = () => {
9
5
  var _a;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base44-preview/sdk",
3
- "version": "0.8.35-pr.214.4f9e502",
3
+ "version": "0.8.35-pr.214.a1658ed",
4
4
  "description": "JavaScript SDK for Base44 API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",