@knotx/data 0.4.1 → 0.4.3
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 +1 -1
- package/dist/index.js +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -115,7 +115,7 @@ class DataManager {
|
|
|
115
115
|
return this.operations$.asObservable();
|
|
116
116
|
}
|
|
117
117
|
dispatch(operation) {
|
|
118
|
-
if (operation.type === "batch" && operation.operations.length === 0) {
|
|
118
|
+
if (operation.type === "batch" && operation.operations.length === 0 && !operation.isInit) {
|
|
119
119
|
return;
|
|
120
120
|
}
|
|
121
121
|
this.operations$.next(operation);
|
package/dist/index.js
CHANGED
|
@@ -113,7 +113,7 @@ class DataManager {
|
|
|
113
113
|
return this.operations$.asObservable();
|
|
114
114
|
}
|
|
115
115
|
dispatch(operation) {
|
|
116
|
-
if (operation.type === "batch" && operation.operations.length === 0) {
|
|
116
|
+
if (operation.type === "batch" && operation.operations.length === 0 && !operation.isInit) {
|
|
117
117
|
return;
|
|
118
118
|
}
|
|
119
119
|
this.operations$.next(operation);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knotx/data",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Data for Knotx",
|
|
5
5
|
"author": "boenfu",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/lodash-es": "^4.17.12",
|
|
36
|
-
"@knotx/build-config": "0.4.
|
|
37
|
-
"@knotx/eslint-config": "0.4.
|
|
38
|
-
"@knotx/typescript-config": "0.4.
|
|
36
|
+
"@knotx/build-config": "0.4.3",
|
|
37
|
+
"@knotx/eslint-config": "0.4.3",
|
|
38
|
+
"@knotx/typescript-config": "0.4.3"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "unbuild",
|