@knotx/core 0.4.15 → 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
@@ -110,7 +110,7 @@ class InteractionManager {
110
110
  */
111
111
  end(pluginId, type) {
112
112
  const interaction = this.interactions.get(pluginId + type);
113
- requestAnimationFrame(() => {
113
+ utils.requestAnimationFrame(() => {
114
114
  if (this.interactions.get(pluginId + type) === interaction) {
115
115
  this.interactions.delete(pluginId + type);
116
116
  this.updateActive();
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ export { Layer } from './definition.js';
2
2
  import { Validator } from 'jsonschema';
3
3
  import { set, get } from 'lodash-es';
4
4
  import { BehaviorSubject, identity } from 'rxjs';
5
- import { getSymbol } from '@knotx/utils';
5
+ import { requestAnimationFrame, getSymbol } from '@knotx/utils';
6
6
  export * from '@knotx/utils';
7
7
  import { DataManager } from '@knotx/data';
8
8
  export * from '@knotx/data';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knotx/core",
3
- "version": "0.4.15",
3
+ "version": "0.5.0",
4
4
  "description": "Core for Knotx",
5
5
  "author": "boenfu",
6
6
  "license": "MIT",
@@ -46,14 +46,14 @@
46
46
  "jsonschema": "^1.5.0",
47
47
  "lodash-es": "^4.17.21",
48
48
  "rxjs": "^7.8.1",
49
- "@knotx/data": "0.4.15",
50
- "@knotx/utils": "0.4.15"
49
+ "@knotx/data": "0.5.0",
50
+ "@knotx/utils": "0.5.0"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/lodash-es": "^4.17.12",
54
- "@knotx/build-config": "0.4.15",
55
- "@knotx/eslint-config": "0.4.15",
56
- "@knotx/typescript-config": "0.4.15"
54
+ "@knotx/build-config": "0.5.0",
55
+ "@knotx/eslint-config": "0.5.0",
56
+ "@knotx/typescript-config": "0.5.0"
57
57
  },
58
58
  "scripts": {
59
59
  "build": "unbuild",