@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.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
- normalizedConfig[key] = String(value);
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
- normalizedConfig[key] = String(value);
6967
+ if (value !== void 0 && value !== null) {
6968
+ normalizedConfig[key] = String(value);
6969
+ }
6966
6970
  }
6967
6971
  normalizedUpdates = { ...updates, config: normalizedConfig };
6968
6972
  }