ravejs 1.14.9 → 1.15.9
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/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/schemas/public.d.ts +18 -0
- package/dist/schemas/public.d.ts.map +1 -1
- package/dist/schemas/public.js +13 -1
- package/package.json +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { APIErrorData } from './schemas/error';
|
|
2
|
-
export declare const VERSION = "1.
|
|
2
|
+
export declare const VERSION = "1.15.9";
|
|
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.
|
|
5
|
+
exports.VERSION = '1.15.9';
|
|
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/schemas/public.d.ts
CHANGED
|
@@ -2,6 +2,15 @@ import z from 'zod';
|
|
|
2
2
|
export declare const LanguagesSchema: z.ZodEnum<{
|
|
3
3
|
ru: "ru";
|
|
4
4
|
en: "en";
|
|
5
|
+
de: "de";
|
|
6
|
+
fr: "fr";
|
|
7
|
+
es: "es";
|
|
8
|
+
it: "it";
|
|
9
|
+
pt: "pt";
|
|
10
|
+
ar: "ar";
|
|
11
|
+
pl: "pl";
|
|
12
|
+
nl: "nl";
|
|
13
|
+
uk: "uk";
|
|
5
14
|
}>;
|
|
6
15
|
export declare const AuthenticatorMethodSchema: z.ZodEnum<{
|
|
7
16
|
LOGIN: "LOGIN";
|
|
@@ -51,6 +60,15 @@ export declare const GetManyMeshesSchema: z.ZodObject<{
|
|
|
51
60
|
language: z.ZodEnum<{
|
|
52
61
|
ru: "ru";
|
|
53
62
|
en: "en";
|
|
63
|
+
de: "de";
|
|
64
|
+
fr: "fr";
|
|
65
|
+
es: "es";
|
|
66
|
+
it: "it";
|
|
67
|
+
pt: "pt";
|
|
68
|
+
ar: "ar";
|
|
69
|
+
pl: "pl";
|
|
70
|
+
nl: "nl";
|
|
71
|
+
uk: "uk";
|
|
54
72
|
}>;
|
|
55
73
|
}, z.core.$strip>;
|
|
56
74
|
export type Credentials = z.infer<typeof CredentialsSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../src/schemas/public.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../src/schemas/public.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,eAAe;;;;;;;;;;;;EAY1B,CAAC;AACH,eAAO,MAAM,yBAAyB;;;EAAgC,CAAC;AAEvE,eAAO,MAAM,iBAAiB;;;iBAG5B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;iBAQ3B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;iBAInC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;iBAO9B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACtE,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|
package/dist/schemas/public.js
CHANGED
|
@@ -6,7 +6,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.GetManyMeshesSchema = exports.EditProfileBuilderSchema = exports.RaveConfigSchema = exports.CredentialsSchema = exports.AuthenticatorMethodSchema = exports.LanguagesSchema = void 0;
|
|
7
7
|
const zod_1 = __importDefault(require("zod"));
|
|
8
8
|
const account_1 = require("./rave/account");
|
|
9
|
-
exports.LanguagesSchema = zod_1.default.enum([
|
|
9
|
+
exports.LanguagesSchema = zod_1.default.enum([
|
|
10
|
+
'en',
|
|
11
|
+
'ru',
|
|
12
|
+
'de',
|
|
13
|
+
'fr',
|
|
14
|
+
'es',
|
|
15
|
+
'it',
|
|
16
|
+
'pt',
|
|
17
|
+
'ar',
|
|
18
|
+
'pl',
|
|
19
|
+
'nl',
|
|
20
|
+
'uk',
|
|
21
|
+
]);
|
|
10
22
|
exports.AuthenticatorMethodSchema = zod_1.default.enum(['LOGIN', 'REGISTER']);
|
|
11
23
|
exports.CredentialsSchema = zod_1.default.object({
|
|
12
24
|
token: zod_1.default.string(),
|