react-native-update-cli 1.25.1 → 1.26.0

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/lib/api.js CHANGED
@@ -46,7 +46,7 @@ var _utils = require('./utils');
46
46
 
47
47
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
48
48
 
49
- const defaultEndpoint = 'https://update.reactnative.cn/api';
49
+ const defaultEndpoint = 'https://update.react-native.cn/api';
50
50
  let host = process.env.PUSHY_REGISTRY || defaultEndpoint;
51
51
 
52
52
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-update-cli",
3
- "version": "1.25.1",
3
+ "version": "1.26.0",
4
4
  "description": "Command tools for javaScript updater with `pushy` service for react native apps.",
5
5
  "main": "index.js",
6
6
  "bin": {
package/src/api.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import fetch from 'node-fetch';
2
- const defaultEndpoint = 'https://update.reactnative.cn/api';
2
+ const defaultEndpoint = 'https://update.react-native.cn/api';
3
3
  let host = process.env.PUSHY_REGISTRY || defaultEndpoint;
4
4
  import fs from 'fs';
5
5
  import request from 'request';