@fusebase/fusebase-gate-sdk 2.2.13-sdk.9 → 2.2.14

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.
@@ -88,7 +88,7 @@ function buildQueryString(query) {
88
88
  * Create SDK client
89
89
  */
90
90
  function createClient(config) {
91
- const { baseUrl, auth, defaultHeaders = {}, timeout = 30000 } = config;
91
+ const { baseUrl, auth, defaultHeaders = {}, timeout = 30000, credentials, } = config;
92
92
  // Build authorization header
93
93
  const authHeader = {};
94
94
  if (auth === null || auth === void 0 ? void 0 : auth.authorization) {
@@ -180,6 +180,7 @@ function createClient(config) {
180
180
  method,
181
181
  headers: requestHeaders,
182
182
  body: requestBody,
183
+ credentials,
183
184
  signal: controller.signal,
184
185
  });
185
186
  clearTimeout(timeoutId);
@@ -22,6 +22,11 @@ export interface ClientConfig {
22
22
  * Request timeout in milliseconds (default: 30000)
23
23
  */
24
24
  timeout?: number;
25
+ /**
26
+ * Fetch credentials mode
27
+ * Use "include" to send cookies on cross-origin requests.
28
+ */
29
+ credentials?: RequestCredentials;
25
30
  }
26
31
  /**
27
32
  * Authentication configuration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fusebase/fusebase-gate-sdk",
3
- "version": "2.2.13-sdk.9",
3
+ "version": "2.2.14",
4
4
  "description": "TypeScript SDK for Fusebase Gate APIs - Generated from contract introspection",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -1,8 +1,8 @@
1
- # Release Notes 2.2.13-sdk.9
1
+ # Release Notes 2.2.13-sdk.10
2
2
 
3
3
  - Current ref: `HEAD`
4
4
  - Previous tag: `v2.2.13-sdk.9`
5
- - Generated at: 2026-05-11T10:16:39.938Z
5
+ - Generated at: 2026-05-11T10:40:52.467Z
6
6
 
7
7
  ## Included Drafts
8
8
 
@@ -0,0 +1,9 @@
1
+ # Release Notes 2.2.14
2
+
3
+ - Current ref: `HEAD`
4
+ - Previous tag: `v2.2.14`
5
+ - Generated at: 2026-05-11T11:36:01.719Z
6
+
7
+ ## Included Drafts
8
+
9
+ - None
@@ -1,8 +1,8 @@
1
- # Release Notes 2.2.13-sdk.9
1
+ # Release Notes 2.2.14
2
2
 
3
3
  - Current ref: `HEAD`
4
- - Previous tag: `v2.2.13-sdk.9`
5
- - Generated at: 2026-05-11T10:16:39.938Z
4
+ - Previous tag: `v2.2.14`
5
+ - Generated at: 2026-05-11T11:36:01.719Z
6
6
 
7
7
  ## Included Drafts
8
8