@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.mjs
CHANGED
|
@@ -181,7 +181,7 @@ function mapNullFieldsToUndefined(obj) {
|
|
|
181
181
|
}
|
|
182
182
|
//#endregion
|
|
183
183
|
//#region package.json
|
|
184
|
-
var version = "0.23.
|
|
184
|
+
var version = "0.23.17";
|
|
185
185
|
//#endregion
|
|
186
186
|
//#region lib/helpers/mergeFilters.ts
|
|
187
187
|
const EmptyFilter$1 = Symbol.for("drizzle:EmptyFilter");
|
|
@@ -220,7 +220,7 @@ function isPlainObject(value) {
|
|
|
220
220
|
return proto === Object.prototype || proto === null;
|
|
221
221
|
}
|
|
222
222
|
function sanitizeFilterValue(value) {
|
|
223
|
-
if (value === void 0) return EmptyFilter;
|
|
223
|
+
if (value === void 0 || value === null) return EmptyFilter;
|
|
224
224
|
if (Array.isArray(value)) return value.map(sanitizeFilterValue);
|
|
225
225
|
if (isPlainObject(value)) return Object.fromEntries(Object.entries(value).map(([key, entry]) => [key, sanitizeFilterValue(entry)]));
|
|
226
226
|
return value;
|
|
@@ -2568,7 +2568,7 @@ export const r = rumble({
|
|
|
2568
2568
|
});
|
|
2569
2569
|
};
|
|
2570
2570
|
const createSofa = async (args) => {
|
|
2571
|
-
const { useSofa: useSofaFn } = await import("sofa-api");
|
|
2571
|
+
const { useSofa: useSofaFn } = await import("@m1212e/sofa-api");
|
|
2572
2572
|
if (args.openAPI) merge(args.openAPI, sofaOpenAPIWebhookDocs);
|
|
2573
2573
|
if (args.errorHandler) {
|
|
2574
2574
|
const originalHandler = args.errorHandler;
|