@knotx/data 0.4.16 → 0.5.0

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 CHANGED
@@ -262,7 +262,7 @@ class DataManager {
262
262
  }
263
263
  return dataMap;
264
264
  }
265
- updateVersion(operation, scheduler = requestAnimationFrame) {
265
+ updateVersion(operation, scheduler = setTimeout) {
266
266
  if (this.isPatchOperation(operation)) {
267
267
  if (this._patchVersionUpdating) {
268
268
  return;
package/dist/index.js CHANGED
@@ -260,7 +260,7 @@ class DataManager {
260
260
  }
261
261
  return dataMap;
262
262
  }
263
- updateVersion(operation, scheduler = requestAnimationFrame) {
263
+ updateVersion(operation, scheduler = setTimeout) {
264
264
  if (this.isPatchOperation(operation)) {
265
265
  if (this._patchVersionUpdating) {
266
266
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knotx/data",
3
- "version": "0.4.16",
3
+ "version": "0.5.0",
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.16",
37
- "@knotx/eslint-config": "0.4.16",
38
- "@knotx/typescript-config": "0.4.16"
36
+ "@knotx/build-config": "0.5.0",
37
+ "@knotx/eslint-config": "0.5.0",
38
+ "@knotx/typescript-config": "0.5.0"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "unbuild",