Skip to content

Commit 2355300

Browse files
committed
release: release v.1.4.4
1 parent 8f845e7 commit 2355300

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
### [1.4.4](https://github.com/runkids/vue-condition-watcher/releases/tag/1.4.4) (2022-04-11)
2+
* [chore(types): improve types #13](https://github.com/runkids/vue-condition-watcher/pull/13)
13
### [1.4.3](https://github.com/runkids/vue-condition-watcher/releases/tag/1.4.3) (2022-01-13)
24
* Fix: Sync query string to conditions convert type bug fix, need check the initial array value type before update conditions.
35
```js

examples/vue2/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"lint": "vue-cli-service lint"
99
},
1010
"dependencies": {
11-
"@vue/composition-api": "^1.4.3",
11+
"@vue/composition-api": "^1.4.9",
1212
"core-js": "^3.6.5",
1313
"vue": "^2.6.14",
14-
"vue-condition-watcher": "1.4.3",
14+
"vue-condition-watcher": "1.4.4",
1515
"vue-infinite-scroll": "^2.0.2",
1616
"vue-router": "^3.3.4"
1717
},

examples/vue3/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"dependencies": {
99
"element-plus": "^1.3.0-beta.1",
1010
"vue": "^3.2.26",
11-
"vue-condition-watcher": "1.4.3",
11+
"vue-condition-watcher": "1.4.4",
1212
"vue-router": "^4.0.10"
1313
},
1414
"devDependencies": {

examples/vue3/src/api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
const users = (params: any) =>
1+
const users = (params: Record<string, any>) =>
22
fetch('https://randomuser.me/api/?' + query(params), { method: 'GET' }).then((res) => res.json())
33

44
const photos = () => fetch('https://jsonplaceholder.typicode.com/photos', { method: 'GET' }).then((res) => res.json())
55

6-
function query(params: any) {
6+
function query(params: Record<string, any>) {
77
const esc = encodeURIComponent
88
return Object.keys(params)
99
.map((k) => esc(k) + '=' + esc(params[k]))

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-condition-watcher",
3-
"version": "1.4.3",
3+
"version": "1.4.4",
44
"description": "Vue composition API for automatic data fetching. With conditions as the core. Easily control and sync to URL query string by conditions",
55
"main": "./dist/index.js",
66
"module": "./esm/index.js",

0 commit comments

Comments
 (0)