phecda-vue 3.0.0-beta.21 → 3.0.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.js CHANGED
@@ -335,7 +335,7 @@ function WatchEffect(option) {
335
335
  (0, import_phecda_web3.setHandler)(proto, key, {
336
336
  init(instance) {
337
337
  if (typeof instance[key] !== "function")
338
- throw new TypeError(" WatchEffect must decorate function");
338
+ throw new Error("WatchEffect must decorate function");
339
339
  stopHandler = (0, import_vue5.watchEffect)(instance[key].bind(instance), option);
340
340
  },
341
341
  unmount() {
package/dist/index.mjs CHANGED
@@ -294,7 +294,7 @@ function WatchEffect(option) {
294
294
  setHandler(proto, key, {
295
295
  init(instance) {
296
296
  if (typeof instance[key] !== "function")
297
- throw new TypeError(" WatchEffect must decorate function");
297
+ throw new Error("WatchEffect must decorate function");
298
298
  stopHandler = watchEffect(instance[key].bind(instance), option);
299
299
  },
300
300
  unmount() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phecda-vue",
3
- "version": "3.0.0-beta.21",
3
+ "version": "3.0.0",
4
4
  "description": "provide phecda function to vue",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -13,7 +13,7 @@
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
15
  "vue": "^3.2.45",
16
- "phecda-web": "1.0.1-beta.13"
16
+ "phecda-web": "1.0.1"
17
17
  },
18
18
  "devDependencies": {
19
19
  "tsup": "^6.5.0"