@vueuse/shared 7.1.0 → 7.2.2

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 +5 -3
package/index.d.ts CHANGED
@@ -497,7 +497,7 @@ declare function toRefs<T extends object>(objectRef: MaybeRef<T>): ToRefs<T>;
497
497
  declare function tryOnBeforeUnmount(fn: Fn): void;
498
498
 
499
499
  /**
500
- * Call onMounted() if it's inside a component lifecycle, if not, run just call the function
500
+ * Call onMounted() if it's inside a component lifecycle, if not, just call the function
501
501
  *
502
502
  * @param fn
503
503
  * @param sync if set to false, it will run in the nextTick() of Vue
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vueuse/shared",
3
- "version": "7.1.0",
3
+ "version": "7.2.2",
4
4
  "keywords": [
5
5
  "vue",
6
6
  "vue-use",
@@ -9,14 +9,16 @@
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "git+https://github.com/vueuse/vueuse.git"
12
+ "url": "git+https://github.com/vueuse/vueuse.git",
13
+ "directory": "packages/shared"
13
14
  },
14
15
  "funding": "https://github.com/sponsors/antfu",
15
16
  "author": "Anthony Fu <https://github.com/antfu>",
16
17
  "exports": {
17
18
  ".": {
18
19
  "import": "./index.mjs",
19
- "require": "./index.cjs"
20
+ "require": "./index.cjs",
21
+ "types": "./index.d.ts"
20
22
  },
21
23
  "./*": "./*"
22
24
  },