oorja 2.0.6 → 2.0.7

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.
@@ -1,5 +1,5 @@
1
1
  import { URL } from 'url';
2
- export declare const CLI_VERSION = 2.3;
2
+ export declare const CLI_VERSION = 2.4;
3
3
  import Conf from 'conf';
4
4
  export declare const config: Conf<string>;
5
5
  export type env = 'local' | 'prod';
@@ -1,5 +1,5 @@
1
1
  import chalk from 'chalk';
2
- export const CLI_VERSION = 2.3;
2
+ export const CLI_VERSION = 2.4;
3
3
  import Conf from 'conf';
4
4
  export const config = new Conf({
5
5
  projectName: 'oorja',
@@ -23,7 +23,7 @@ class Client {
23
23
  }
24
24
  const _client = new Client();
25
25
  export const getRegion = async () => {
26
- const response = await _client.get('https://oorja.io/nudge', {
26
+ const response = await _client.get('https://static.oorja.io/nudge', {
27
27
  method: 'GET',
28
28
  });
29
29
  if (response.status !== 200) {
@@ -85,5 +85,5 @@
85
85
  ]
86
86
  }
87
87
  },
88
- "version": "2.0.6"
88
+ "version": "2.0.7"
89
89
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "oorja",
3
3
  "description": "stream terminals to the web and more.",
4
- "version": "2.0.6",
4
+ "version": "2.0.7",
5
5
  "keywords": [
6
6
  "teletype",
7
7
  "terminal",