Skip to content

Commit

Permalink
bump to v0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNorthMemory committed Mar 29, 2021
1 parent f92f4b1 commit f5e6f1a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ wxpay req <uri>
Play the WeChatPay OpenAPI requests over command line
request <uri>
<uri>
-c, --config The configuration [required]
-b, --binary Point out the response as `arraybuffer` [boolean]
-m, --method The request HTTP verb [default: "POST"]
-m, --method The request HTTP verb [choices: "DELETE", "GET", "POST", "PUT", "PATCH", "delete", "get", "post", "put", "patch"] [default: "POST"]
-h, --headers Special request HTTP header(s)
-d, --data The request HTTP body
-p, --params The request HTTP query parameter(s)
Expand Down Expand Up @@ -1032,6 +1032,10 @@ Q: 接口地址为slash(`/`)结尾的,应该如何构建请求参数?
## 变更历史
- v0.5.1
- 优化CLI,可以直接 `wxpay v3/pay/transactions/native` 请求了
- 优化`README`文档,适配最新CLI用法
- v0.5.0
- 新增命令行方式与微信支付接口交互工具
- 调整可选依赖包为`peerDependencies`,使用完整功能需手动安装 `form-data` 或/及 `yargs`
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wechatpay-axios-plugin",
"version": "0.5.0",
"version": "0.5.1",
"description": "微信支付APIv2及v3 NodeJS SDK,支持v3证书下载,v2付款码支付、企业付款、退款,企业微信-企业支付-企业红包/向员工付款,v2&v3 Native支付、扫码支付、H5支付、JSAPI/小程序支付、合单支付...",
"main": "index.js",
"typings": "index.d.ts",
Expand Down Expand Up @@ -55,9 +55,11 @@
"yargs": "^16.2.0"
},
"devDependencies": {
"@babel/core": "^7.13.13",
"@babel/eslint-parser": "^7.13.10",
"eslint": "^7.22.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-mocha": "^8.1.0",
"mocha": "^8.3.2",
"should": "^13.2.3"
Expand Down

0 comments on commit f5e6f1a

Please sign in to comment.