@fluxbase/sdk 0.0.1-rc.82 → 0.0.1-rc.83
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 +6 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6922,7 +6922,9 @@ var FluxbaseAdminAI = class {
|
|
|
6922
6922
|
const normalizedConfig = {};
|
|
6923
6923
|
if (request.config) {
|
|
6924
6924
|
for (const [key, value] of Object.entries(request.config)) {
|
|
6925
|
-
|
|
6925
|
+
if (value !== void 0 && value !== null) {
|
|
6926
|
+
normalizedConfig[key] = String(value);
|
|
6927
|
+
}
|
|
6926
6928
|
}
|
|
6927
6929
|
}
|
|
6928
6930
|
const data = await this.fetch.post(
|
|
@@ -6962,7 +6964,9 @@ var FluxbaseAdminAI = class {
|
|
|
6962
6964
|
if (updates.config) {
|
|
6963
6965
|
const normalizedConfig = {};
|
|
6964
6966
|
for (const [key, value] of Object.entries(updates.config)) {
|
|
6965
|
-
|
|
6967
|
+
if (value !== void 0 && value !== null) {
|
|
6968
|
+
normalizedConfig[key] = String(value);
|
|
6969
|
+
}
|
|
6966
6970
|
}
|
|
6967
6971
|
normalizedUpdates = { ...updates, config: normalizedConfig };
|
|
6968
6972
|
}
|