@fiberai/sdk 0.0.60 → 0.0.62
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/index.cjs +13 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +13 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1111,8 +1111,20 @@ var createClient = (config = {}) => {
|
|
|
1111
1111
|
};
|
|
1112
1112
|
};
|
|
1113
1113
|
|
|
1114
|
+
// src/client-config.ts
|
|
1115
|
+
var clientAttributionHeaders = {
|
|
1116
|
+
"x-client-type": "SDK",
|
|
1117
|
+
"x-client-name": `fiberai-ts/${"0.0.62"}`
|
|
1118
|
+
};
|
|
1119
|
+
function createClientConfig(config) {
|
|
1120
|
+
return {
|
|
1121
|
+
...config,
|
|
1122
|
+
headers: mergeHeaders(clientAttributionHeaders, config.headers)
|
|
1123
|
+
};
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1114
1126
|
// src/generated/client.gen.ts
|
|
1115
|
-
var client = createClient(createConfig({ baseUrl: "https://api.fiber.ai" }));
|
|
1127
|
+
var client = createClient(createClientConfig(createConfig({ baseUrl: "https://api.fiber.ai" })));
|
|
1116
1128
|
|
|
1117
1129
|
// src/generated/sdk.gen.ts
|
|
1118
1130
|
var getOpenApi = (options) => (options?.client ?? client).get({ url: "/openapi.json", ...options });
|
package/dist/index.d.cts
CHANGED
|
@@ -81066,7 +81066,7 @@ type SlushieRunData = {
|
|
|
81066
81066
|
*/
|
|
81067
81067
|
query?: string | null;
|
|
81068
81068
|
/**
|
|
81069
|
-
* Number of results per page
|
|
81069
|
+
* Number of results per page. Applied to whichever result type is returned.
|
|
81070
81070
|
*/
|
|
81071
81071
|
pageSize?: number;
|
|
81072
81072
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -81066,7 +81066,7 @@ type SlushieRunData = {
|
|
|
81066
81066
|
*/
|
|
81067
81067
|
query?: string | null;
|
|
81068
81068
|
/**
|
|
81069
|
-
* Number of results per page
|
|
81069
|
+
* Number of results per page. Applied to whichever result type is returned.
|
|
81070
81070
|
*/
|
|
81071
81071
|
pageSize?: number;
|
|
81072
81072
|
/**
|
package/dist/index.js
CHANGED
|
@@ -825,8 +825,20 @@ var createClient = (config = {}) => {
|
|
|
825
825
|
};
|
|
826
826
|
};
|
|
827
827
|
|
|
828
|
+
// src/client-config.ts
|
|
829
|
+
var clientAttributionHeaders = {
|
|
830
|
+
"x-client-type": "SDK",
|
|
831
|
+
"x-client-name": `fiberai-ts/${"0.0.62"}`
|
|
832
|
+
};
|
|
833
|
+
function createClientConfig(config) {
|
|
834
|
+
return {
|
|
835
|
+
...config,
|
|
836
|
+
headers: mergeHeaders(clientAttributionHeaders, config.headers)
|
|
837
|
+
};
|
|
838
|
+
}
|
|
839
|
+
|
|
828
840
|
// src/generated/client.gen.ts
|
|
829
|
-
var client = createClient(createConfig({ baseUrl: "https://api.fiber.ai" }));
|
|
841
|
+
var client = createClient(createClientConfig(createConfig({ baseUrl: "https://api.fiber.ai" })));
|
|
830
842
|
|
|
831
843
|
// src/generated/sdk.gen.ts
|
|
832
844
|
var getOpenApi = (options) => (options?.client ?? client).get({ url: "/openapi.json", ...options });
|