Skip to content

Commit 2b3ddb5

Browse files
committed
chore: release v0.1.0
1 parent eb67077 commit 2b3ddb5

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@yunlefun/toolkit-monorepo",
33
"type": "module",
4-
"version": "0.0.0",
4+
"version": "0.1.0",
55
"packageManager": "[email protected]",
66
"description": "Toolkit for YunLeFun developing.",
77
"author": {
@@ -18,6 +18,7 @@
1818
"scripts": {
1919
"build": "pnpm -r --filter=./packages/** run build",
2020
"lint": "eslint .",
21+
"release": "bumpp",
2122
"test": "vitest",
2223
"typecheck": "vue-tsc --noEmit"
2324
},

packages/constants/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@yunlefun/constants",
3-
"version": "0.0.1",
3+
"version": "0.1.0",
44
"exports": {
55
".": {
66
"types": "./dist/index.d.ts",

packages/toolkit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@yunlefun/toolkit",
33
"type": "module",
4-
"version": "0.0.1",
4+
"version": "0.1.0",
55
"description": "Toolkit for YunLeFun developing.",
66
"author": {
77
"name": "YunLeFun",

packages/utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@yunlefun/utils",
33
"type": "module",
4-
"version": "0.0.7",
4+
"version": "0.1.0",
55
"description": "Common Utils for YunLeFun developing.",
66
"author": {
77
"name": "YunLeFun",

packages/vueuse/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@yunlefun/vueuse",
33
"type": "module",
4-
"version": "0.0.4",
4+
"version": "0.1.0",
55
"description": "Vue Composition API for YunLeFun developing.",
66
"author": {
77
"name": "YunLeFun",

packages/vueuse/src/wx/jsApi/init.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export interface WxJsApiOptions extends WxInitOptions {
77
debug?: boolean
88
/**
99
* get config from server url
10+
* return { appId, timestamp, nonceStr, signature }
1011
*/
1112
configUrl?: string
1213
}
@@ -38,6 +39,7 @@ export function useWxJsApi(
3839
}
3940

4041
let data: {
42+
appId?: string
4143
timestamp?: string
4244
nonceStr?: string
4345
signature?: string
@@ -56,7 +58,7 @@ export function useWxJsApi(
5658
...options,
5759

5860
config: {
59-
appId: "wx80bfa39c2ebe26e8", // replace with your appId
61+
appId: data.appId,
6062
timestamp: data.timestamp,
6163
nonceStr: data.nonceStr,
6264
signature: data.signature,

0 commit comments

Comments
 (0)