From 5197375c4925b60e705e6a808a7646f9bd539550 Mon Sep 17 00:00:00 2001 From: James ZHANG Date: Tue, 15 Sep 2020 23:04:42 +0800 Subject: [PATCH] bump to 0.3.1 --- README.md | 9 +++++++++ package.json | 6 ++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1ab3d49..7583388 100644 --- a/README.md +++ b/README.md @@ -617,8 +617,17 @@ const client = wxpay(instance, { })() ``` +## Unit Test + +`npm test` + ## Changelog +- v0.3.1 + - Optim: new param on `xmlBased({mchid})`, while passed in, then `Transformer.signer` doing the `assert` with the post data. + - Feature: Customize the HTTP `User-Agent`. + - Refactor: Split `aes.js` as of `Aes`, `AesGcm` and `AesEcb` classes for `aes-256-ecb/pkcs7padding` algo. + - v0.3.0 - Feature: The XML based API requests. diff --git a/package.json b/package.json index 03c0cd5..6dc2031 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "wechatpay-axios-plugin", - "version": "0.3.0", - "description": "The Wechatpay APIv3 Axios Plugin", + "version": "0.3.1", + "description": "The Wechatpay Axios Plugin 微信支付APIv2及APIv3 SDK,支持v3证书下载,v2付款码支付、企业付款、退款,v2&v3 Native支付、扫码支付、H5支付、小程序支付、合单支付...", "main": "index.js", "typings": "index.d.ts", "files": [ @@ -37,6 +37,8 @@ "wechatpay", "wechatpay apiv3", "aes-256-gcm", + "aes-256-ecb", + "pkcs7padding", "rsa-oaep", "axios-plugin" ],