@yuntower/yuntower-account-node-sdk 0.0.9 → 0.0.11

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.
package/index.js CHANGED
@@ -57,8 +57,8 @@ var YunTowerAccountSDK = /** @class */ (function () {
57
57
  console.error('[YunTowerAccountSDK] scope参数错误,目前只支持[user_profile]');
58
58
  }
59
59
  this.config = {
60
- auth: 'https://account.yuntower.cn',
61
- api: 'https://v1.api.account.yuntower.cn/open/v1',
60
+ auth: 'https://account.yuntower.com',
61
+ api: 'https://v1.api.account.yuntower.cn',
62
62
  // auth:'http://localhost:3000',
63
63
  // api:'http://127.0.0.1:8787',
64
64
  origin_white_list: ['account.yuntower.cn', 'account.yuntower.com', 'localhost:3000'],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yuntower/yuntower-account-node-sdk",
3
3
  "description": "YunTower Account Node SDK",
4
- "version": "0.0.9",
4
+ "version": "0.0.11",
5
5
  "private": false,
6
6
  "author": "yuntower",
7
7
  "license": "Apache-2.0",
package/src/index.ts CHANGED
@@ -29,8 +29,8 @@ class YunTowerAccountSDK {
29
29
  }
30
30
 
31
31
  this.config = {
32
- auth: 'https://account.yuntower.cn',
33
- api: 'https://v1.api.account.yuntower.cn/open/v1',
32
+ auth: 'https://account.yuntower.com',
33
+ api: 'https://v1.api.account.yuntower.cn',
34
34
  // auth:'http://localhost:3000',
35
35
  // api:'http://127.0.0.1:8787',
36
36
  origin_white_list: ['account.yuntower.cn', 'account.yuntower.com', 'localhost:3000'],