@pushwoosh/kit-helpers 4.16.2 → 4.17.1

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.
Files changed (2) hide show
  1. package/index.d.ts +1 -1
  2. package/package.json +12 -3
package/index.d.ts CHANGED
@@ -13,7 +13,7 @@ export { default as useMountedState } from './hooks/useMountedState';
13
13
  export { default as useMount } from './hooks/useMount';
14
14
  export { default as useUnmount } from './hooks/useUnmount';
15
15
  export { default as useAsync } from './hooks/useAsync';
16
- export { default as useAsyncFn } from './hooks/useAsyncFn';
16
+ export { default as useAsyncFn, type AsyncState } from './hooks/useAsyncFn';
17
17
  export { default as useDelayedValue } from './hooks/useDelayedValue';
18
18
  export { default as useDelayedEffect } from './hooks/useDelayedEffect';
19
19
  export { default as useAsyncFunction } from './hooks/useAsyncFunction';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/kit-helpers",
3
- "version": "4.16.2",
3
+ "version": "4.17.1",
4
4
  "description": "React component for build Pushwoosh products",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -10,11 +10,20 @@
10
10
  "access": "public",
11
11
  "directory": "dist"
12
12
  },
13
+ "pushwoosh": {
14
+ "cdn": {
15
+ "path": "kit-helpers",
16
+ "dir": "cdn-dist",
17
+ "importMap": [
18
+ "@pushwoosh/kit-helpers"
19
+ ]
20
+ }
21
+ },
13
22
  "dependencies": {
14
23
  "react-transition-group": "^4.4.5"
15
24
  },
16
25
  "devDependencies": {
17
- "@pushwoosh/kit-constants": "^3.1.0",
26
+ "@pushwoosh/kit-constants": "^3.1.1",
18
27
  "@types/react": "^19.3.0",
19
28
  "@types/react-dom": "^19.3.0",
20
29
  "@types/react-transition-group": "^4.4.12",
@@ -32,7 +41,7 @@
32
41
  },
33
42
  "scripts": {
34
43
  "start": "pnpm run playground",
35
- "build": "pushwoosh-engine lib:build",
44
+ "build": "pushwoosh-engine lib:build && `pushwoosh-engine app:command:build`",
36
45
  "playground": "pushwoosh-engine lib:playground",
37
46
  "check": "pnpm run check:lint && pnpm run check:types",
38
47
  "check:lint": "echo \"Run check:lint\" && NODE_ENV=production eslint ./src",