@@ -1,5 +1,3 @@
-import { isNode } from "./platform";
-
-const crypto = require(isNode ? "crypto" : "./crypto/crypto");
+import * as crypto from "crypto";
export default crypto;
@@ -1 +1 @@
-export const version = "2.12.7";
+export const version = "2.13.0";
@@ -1,6 +1,6 @@
{
"name": "telegram",
- "version": "2.12.6",
+ "version": "2.13.0",
"description": "NodeJS/Browser MTProto API Telegram client library,",
"main": "index.js",
"types": "index.d.ts",