ravejs 1.11.4 → 1.11.5

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 { APIErrorData } from './schemas/error';
2
- export declare const VERSION = "1.11.4";
2
+ export declare const VERSION = "1.11.5";
3
3
  export declare const API_URL = "https://api1.a-l-p-a.com";
4
4
  export declare const PARSE_API_URL = "https://api3.a-l-p-a.com";
5
5
  export declare const EVENTS_API_URL = "https://api2.a-l-p-a.com/api";
package/dist/constants.js CHANGED
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CODES_MAP = exports.PARSE_USERS_HEADERS = exports.PATCHED_IP_DATA = exports.PATCHED_DEVICE = exports.MOJO_AUTH_HEADERS = exports.API_HEADERS = exports.SOCKET_PING_DELAY = exports.UUID_PATTERN = exports.DEFAULT_LANGUAGE = exports.HASH_SECRET = exports.MOJO_AUTH_URL = exports.WE_MESH_API_URL = exports.EVENTS_API_URL = exports.PARSE_API_URL = exports.API_URL = exports.VERSION = void 0;
4
4
  // Constants
5
- exports.VERSION = '1.11.4';
5
+ exports.VERSION = '1.11.5';
6
6
  exports.API_URL = 'https://api1.a-l-p-a.com';
7
7
  exports.PARSE_API_URL = 'https://api3.a-l-p-a.com';
8
8
  exports.EVENTS_API_URL = 'https://api2.a-l-p-a.com/api';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export { Rave } from './core/rave';
2
+ export { generateToken } from './utils/cryptography';
2
3
  export { APIException } from './utils/exceptions';
3
4
  export * as schemas from './schemas/index';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC"}
package/dist/index.js CHANGED
@@ -33,11 +33,13 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.schemas = exports.APIException = exports.Rave = void 0;
36
+ exports.schemas = exports.APIException = exports.generateToken = exports.Rave = void 0;
37
37
  const child_process_1 = require("child_process");
38
38
  const constants_1 = require("./constants");
39
39
  var rave_1 = require("./core/rave");
40
40
  Object.defineProperty(exports, "Rave", { enumerable: true, get: function () { return rave_1.Rave; } });
41
+ var cryptography_1 = require("./utils/cryptography");
42
+ Object.defineProperty(exports, "generateToken", { enumerable: true, get: function () { return cryptography_1.generateToken; } });
41
43
  var exceptions_1 = require("./utils/exceptions");
42
44
  Object.defineProperty(exports, "APIException", { enumerable: true, get: function () { return exceptions_1.APIException; } });
43
45
  exports.schemas = __importStar(require("./schemas/index"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ravejs",
3
- "version": "1.11.4",
3
+ "version": "1.11.5",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "files": [