@mtkruto/browser 0.0.954 → 0.0.955

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.
@@ -241,7 +241,7 @@ export class Client extends ClientAbstract {
241
241
  if (dc == null) {
242
242
  await this.storage.setDc(this.transportProvider.initialDc);
243
243
  }
244
- d("enrypted client connected");
244
+ d("encrypted client connected");
245
245
  this.receiveLoop();
246
246
  this.pingLoop();
247
247
  }
@@ -4,7 +4,7 @@ export declare const publicKeys: Map<bigint, [bigint, bigint]>;
4
4
  export declare const VECTOR_CONSTRUCTOR = 481674261;
5
5
  export declare const DEFAULT_INITIAL_DC: DC;
6
6
  export declare const LAYER = 158;
7
- export declare const DEFAULT_APP_VERSION = "MTKruto 0.0.954";
7
+ export declare const DEFAULT_APP_VERSION = "MTKruto 0.0.955";
8
8
  export declare const DEFAULT_DEVICE_MODEL: string;
9
9
  export declare const DEFAULT_LANG_CODE: string;
10
10
  export declare const DEFAULT_LANG_PACK = "";
package/esm/constants.js CHANGED
@@ -61,7 +61,7 @@ export const publicKeys = new Map([
61
61
  export const VECTOR_CONSTRUCTOR = 0x1CB5C415;
62
62
  export const DEFAULT_INITIAL_DC = "2-test";
63
63
  export const LAYER = 158;
64
- export const DEFAULT_APP_VERSION = "MTKruto 0.0.954";
64
+ export const DEFAULT_APP_VERSION = "MTKruto 0.0.955";
65
65
  // @ts-ignore: lib
66
66
  export const DEFAULT_DEVICE_MODEL = typeof Deno === "undefined" ? typeof navigator === "undefined" ? typeof process === "undefined" ? "Unknown" : process.platform + "-" + process.arch : navigator.userAgent.split(" ")[0] : Deno.build.os + "-" + Deno.build.arch;
67
67
  export const DEFAULT_LANG_CODE = typeof navigator === "undefined" ? "en" : navigator.language.split("-")[0];
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "module": "./esm/mod.js",
3
3
  "main": "./script/mod.js",
4
4
  "name": "@mtkruto/browser",
5
- "version": "0.0.954",
5
+ "version": "0.0.955",
6
6
  "description": "MTKruto for browsers",
7
7
  "author": "Roj <rojvv@icloud.com>",
8
8
  "license": "LGPL-3.0-or-later",
@@ -267,7 +267,7 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
267
267
  if (dc == null) {
268
268
  await this.storage.setDc(this.transportProvider.initialDc);
269
269
  }
270
- d("enrypted client connected");
270
+ d("encrypted client connected");
271
271
  this.receiveLoop();
272
272
  this.pingLoop();
273
273
  }
@@ -4,7 +4,7 @@ export declare const publicKeys: Map<bigint, [bigint, bigint]>;
4
4
  export declare const VECTOR_CONSTRUCTOR = 481674261;
5
5
  export declare const DEFAULT_INITIAL_DC: DC;
6
6
  export declare const LAYER = 158;
7
- export declare const DEFAULT_APP_VERSION = "MTKruto 0.0.954";
7
+ export declare const DEFAULT_APP_VERSION = "MTKruto 0.0.955";
8
8
  export declare const DEFAULT_DEVICE_MODEL: string;
9
9
  export declare const DEFAULT_LANG_CODE: string;
10
10
  export declare const DEFAULT_LANG_PACK = "";
@@ -64,7 +64,7 @@ exports.publicKeys = new Map([
64
64
  exports.VECTOR_CONSTRUCTOR = 0x1CB5C415;
65
65
  exports.DEFAULT_INITIAL_DC = "2-test";
66
66
  exports.LAYER = 158;
67
- exports.DEFAULT_APP_VERSION = "MTKruto 0.0.954";
67
+ exports.DEFAULT_APP_VERSION = "MTKruto 0.0.955";
68
68
  // @ts-ignore: lib
69
69
  exports.DEFAULT_DEVICE_MODEL = typeof Deno === "undefined" ? typeof navigator === "undefined" ? typeof process === "undefined" ? "Unknown" : process.platform + "-" + process.arch : navigator.userAgent.split(" ")[0] : Deno.build.os + "-" + Deno.build.arch;
70
70
  exports.DEFAULT_LANG_CODE = typeof navigator === "undefined" ? "en" : navigator.language.split("-")[0];