@magnetarjs/core
Advanced tools
Comparing version 0.13.0 to 0.13.1
@@ -256,3 +256,2 @@ "use strict"; | ||
delete: [], | ||
// delete has no payload | ||
stream: _onMaps.flatMap((on) => on.stream ?? []).concat(readFns), | ||
@@ -396,3 +395,2 @@ fetch: _onMaps.flatMap((on) => on.fetch ?? []).concat(readFns) | ||
payload, | ||
// should always use the payload as passed originally for clarity | ||
actionConfig, | ||
@@ -419,3 +417,2 @@ eventNameFnsMap, | ||
error: resultFromPlugin | ||
// in this case the result is the error | ||
}); | ||
@@ -676,3 +673,2 @@ for (const fn of eventNameFnsMap.revert) { | ||
payload, | ||
// should always use the payload as passed originally for clarity | ||
eventNameFnsMap, | ||
@@ -823,17 +819,9 @@ actionName: "stream", | ||
insert: handleActionPerStore(sharedParams, "insert", import_types2.actionNameTypeMap.insert), | ||
// prettier-ignore | ||
merge: handleActionPerStore(sharedParams, "merge", import_types2.actionNameTypeMap.merge), | ||
// prettier-ignore | ||
assign: handleActionPerStore(sharedParams, "assign", import_types2.actionNameTypeMap.assign), | ||
// prettier-ignore | ||
replace: handleActionPerStore(sharedParams, "replace", import_types2.actionNameTypeMap.replace), | ||
// prettier-ignore | ||
deleteProp: handleActionPerStore(sharedParams, "deleteProp", import_types2.actionNameTypeMap.deleteProp), | ||
// prettier-ignore | ||
delete: handleActionPerStore(sharedParams, "delete", import_types2.actionNameTypeMap.delete), | ||
// prettier-ignore | ||
fetch: handleActionPerStore(sharedParams, "fetch", import_types2.actionNameTypeMap.fetch), | ||
// prettier-ignore | ||
stream: handleStreamPerStore([collectionPath, docId], moduleConfig, globalConfig, import_types2.actionNameTypeMap.stream, streaming, cacheStream, writeLockMap) | ||
// prettier-ignore | ||
}; | ||
@@ -840,0 +828,0 @@ executeSetupModulePerStore(globalConfig.stores, [collectionPath, docId], moduleConfig); |
{ | ||
"name": "@magnetarjs/core", | ||
"version": "0.13.0", | ||
"version": "0.13.1", | ||
"sideEffects": false, | ||
@@ -26,7 +26,7 @@ "description": "Magnetar core library.", | ||
"merge-anything": "^5.1.1", | ||
"@magnetarjs/types": "0.13.0", | ||
"@magnetarjs/utils": "0.13.0" | ||
"@magnetarjs/types": "0.13.1", | ||
"@magnetarjs/utils": "0.13.1" | ||
}, | ||
"devDependencies": { | ||
"@magnetarjs/test-utils": "0.13.0" | ||
"@magnetarjs/test-utils": "0.13.1" | ||
}, | ||
@@ -33,0 +33,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
73619
1852
+ Added@magnetarjs/types@0.13.1(transitive)
+ Added@magnetarjs/utils@0.13.1(transitive)
- Removed@magnetarjs/types@0.13.0(transitive)
- Removed@magnetarjs/utils@0.13.0(transitive)
Updated@magnetarjs/types@0.13.1
Updated@magnetarjs/utils@0.13.1