@m1212e/rumble 0.23.14 → 0.23.17
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/out/index.cjs +3 -3
- package/out/index.cjs.map +1 -1
- package/out/index.d.cts +112 -15
- package/out/index.d.cts.map +1 -1
- package/out/index.d.mts +112 -15
- package/out/index.d.mts.map +1 -1
- package/out/index.mjs +3 -3
- package/out/index.mjs.map +1 -1
- package/package.json +6 -6
package/out/index.cjs
CHANGED
|
@@ -210,7 +210,7 @@ function mapNullFieldsToUndefined(obj) {
|
|
|
210
210
|
}
|
|
211
211
|
//#endregion
|
|
212
212
|
//#region package.json
|
|
213
|
-
var version = "0.23.
|
|
213
|
+
var version = "0.23.17";
|
|
214
214
|
//#endregion
|
|
215
215
|
//#region lib/helpers/mergeFilters.ts
|
|
216
216
|
const EmptyFilter$1 = Symbol.for("drizzle:EmptyFilter");
|
|
@@ -249,7 +249,7 @@ function isPlainObject(value) {
|
|
|
249
249
|
return proto === Object.prototype || proto === null;
|
|
250
250
|
}
|
|
251
251
|
function sanitizeFilterValue(value) {
|
|
252
|
-
if (value === void 0) return EmptyFilter;
|
|
252
|
+
if (value === void 0 || value === null) return EmptyFilter;
|
|
253
253
|
if (Array.isArray(value)) return value.map(sanitizeFilterValue);
|
|
254
254
|
if (isPlainObject(value)) return Object.fromEntries(Object.entries(value).map(([key, entry]) => [key, sanitizeFilterValue(entry)]));
|
|
255
255
|
return value;
|
|
@@ -2597,7 +2597,7 @@ export const r = rumble({
|
|
|
2597
2597
|
});
|
|
2598
2598
|
};
|
|
2599
2599
|
const createSofa = async (args) => {
|
|
2600
|
-
const { useSofa: useSofaFn } = await import("sofa-api");
|
|
2600
|
+
const { useSofa: useSofaFn } = await import("@m1212e/sofa-api");
|
|
2601
2601
|
if (args.openAPI) (0, es_toolkit.merge)(args.openAPI, sofaOpenAPIWebhookDocs);
|
|
2602
2602
|
if (args.errorHandler) {
|
|
2603
2603
|
const originalHandler = args.errorHandler;
|