oorja 1.7.8 → 1.9.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.
@@ -1,5 +1,5 @@
1
1
  import { URL } from "url";
2
- export declare const CLI_VERSION = 1.77;
2
+ export declare const CLI_VERSION = 1.9;
3
3
  export declare const config: any;
4
4
  export type env = "staging" | "local" | "prod" | "prod-teletype";
5
5
  export type SuryaConfig = {
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getoorjaConfig = exports.setENVAccessToken = exports.getENVAccessToken = exports.determineENV = exports.INVALID_ROOM_LINK_MESSAGE = exports.ROOM_LINK_SAMPLE = exports.getSuryaConfig = exports.config = exports.CLI_VERSION = void 0;
4
4
  const chalk = require("chalk");
5
- exports.CLI_VERSION = 1.77;
5
+ exports.CLI_VERSION = 1.90;
6
6
  const Conf = require("conf");
7
7
  exports.config = new Conf({
8
8
  projectName: "oorja",
@@ -99,6 +99,7 @@ class SuryaClient {
99
99
  params: {
100
100
  access_token: this.config.token,
101
101
  },
102
+ heartbeatIntervalMs: 10000,
102
103
  binaryType: "arraybuffer",
103
104
  encode: encodeMessage,
104
105
  decode: decodeMessage,
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.7.8",
2
+ "version": "1.9.0",
3
3
  "commands": {
4
4
  "signout": {
5
5
  "id": "signout",
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": "1.7.8",
4
+ "version": "1.9.0",
5
5
  "author": "Akshay Kumar @akshaykmr",
6
6
  "bin": {
7
7
  "oorja": "./bin/oorja",