@fluxbase/sdk 0.0.1-rc.82 → 0.0.1-rc.84
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.cjs
CHANGED
|
@@ -6924,7 +6924,9 @@ var FluxbaseAdminAI = class {
|
|
|
6924
6924
|
const normalizedConfig = {};
|
|
6925
6925
|
if (request.config) {
|
|
6926
6926
|
for (const [key, value] of Object.entries(request.config)) {
|
|
6927
|
-
|
|
6927
|
+
if (value !== void 0 && value !== null) {
|
|
6928
|
+
normalizedConfig[key] = String(value);
|
|
6929
|
+
}
|
|
6928
6930
|
}
|
|
6929
6931
|
}
|
|
6930
6932
|
const data = await this.fetch.post(
|
|
@@ -6964,7 +6966,9 @@ var FluxbaseAdminAI = class {
|
|
|
6964
6966
|
if (updates.config) {
|
|
6965
6967
|
const normalizedConfig = {};
|
|
6966
6968
|
for (const [key, value] of Object.entries(updates.config)) {
|
|
6967
|
-
|
|
6969
|
+
if (value !== void 0 && value !== null) {
|
|
6970
|
+
normalizedConfig[key] = String(value);
|
|
6971
|
+
}
|
|
6968
6972
|
}
|
|
6969
6973
|
normalizedUpdates = { ...updates, config: normalizedConfig };
|
|
6970
6974
|
}
|