diff --git a/.github/workflows/npm-test.yml b/.github/workflows/npm-test.yml index 24b75db..8711f9a 100644 --- a/.github/workflows/npm-test.yml +++ b/.github/workflows/npm-test.yml @@ -25,4 +25,5 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm install + - run: npm run lint - run: npm test diff --git a/CHANGELOG.md b/CHANGELOG.md index 99a90f4..6f7a4b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # 变更历史 +## v0.7.6 (2021-06-26) + - 优化 APIv3 `Decorator.responseVerifier`,对于验签逻辑异常原样返回 `response{data,headers}` 结构,方便排查问题,相关 [#28]((https://github.com/TheNorthMemory/wechatpay-axios-plugin/issues/28), [#30]((https://github.com/TheNorthMemory/wechatpay-axios-plugin/issues/30); + - 新增 `OpenAPI` mock测试,使用 `nock` 驱动,覆盖 [#28]((https://github.com/TheNorthMemory/wechatpay-axios-plugin/issues/28), [#30]((https://github.com/TheNorthMemory/wechatpay-axios-plugin/issues/30) 问题; + ## v0.7.5 (2021-06-12) - 解决`index.d.ts`上的`AesEcb`类型签名遗漏,感谢 @zhoulingfengofcd - 新增 `aes-128-cbc/pkcs7padding` 加解密功能, `AesCbc::encrypt` 与其他语言兼容,详情见 [PR #29](https://github.com/TheNorthMemory/wechatpay-axios-plugin/pull/29) 感谢 @zhoulingfengofcd diff --git a/package.json b/package.json index 87970c5..3e30974 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wechatpay-axios-plugin", - "version": "0.7.5", + "version": "0.7.6", "description": "微信支付APIv2及v3 NodeJS SDK,支持CLI模式请求OpenAPI,支持v3证书下载,v2付款码支付、企业付款、退款,企业微信-企业支付-企业红包/向员工付款,v2&v3 Native支付、扫码支付、H5支付、JSAPI/小程序支付、合单支付...", "main": "index.js", "typings": "index.d.ts",