@base44-preview/sdk 0.8.20-pr.141.7f3a542 → 0.8.20-pr.141.9c6fda7

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.
@@ -63,10 +63,10 @@ export function createFunctionsModule(axios, appId, config) {
63
63
  }
64
64
  return axios.post(`/apps/${appId}/functions/${functionName}`, formData || data, { headers: { "Content-Type": contentType } });
65
65
  },
66
- // Fetch a backend function endpoint directly.
66
+ // Fetch a backend function endpoint directly (supports streaming).
67
67
  async fetch(path, init = {}) {
68
68
  const normalizedPath = path.startsWith("/") ? path : `/${path}`;
69
- const primaryPath = `/api/functions${normalizedPath}`;
69
+ const primaryPath = `/functions${normalizedPath}`;
70
70
  const headers = toHeaders(init.headers);
71
71
  const requestInit = {
72
72
  ...init,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base44-preview/sdk",
3
- "version": "0.8.20-pr.141.7f3a542",
3
+ "version": "0.8.20-pr.141.9c6fda7",
4
4
  "description": "JavaScript SDK for Base44 API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",