node-easywechat 2.11.0 → 2.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,7 +18,7 @@ class PrivacyClient extends BaseClient_1.default {
18
18
  * @param params
19
19
  */
20
20
  set(params) {
21
- return this.httpPostJson('wxa/setwebviewdomain', params);
21
+ return this.httpPostJson('cgi-bin/component/setprivacysetting', params);
22
22
  }
23
23
  /**
24
24
  * 上传小程序用户隐私保护指引
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-easywechat",
3
- "version": "2.11.0",
3
+ "version": "2.11.1",
4
4
  "description": "EasyWechat SDK for Node.js (NOT OFFICIAL)",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {