diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e32a72ba..e6fdec4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,4 +41,3 @@ jobs: with: generate_release_notes: true files: browser/telegram.js - diff --git a/generate_webpack.js b/generate_webpack.js index 25cbc3a6..41b88109 100644 --- a/generate_webpack.js +++ b/generate_webpack.js @@ -82,7 +82,7 @@ delete packageJSON.dependencies["socks"]; fs.writeFileSync( "package.json", JSON.stringify(packageJSON, null, " "), - "utf8", + "utf8" ); const npmi = exec("npm i"); @@ -120,7 +120,7 @@ npmi.on("close", (code) => { fs.writeFileSync( "package.json", JSON.stringify(packageJSON, null, " "), - "utf8", + "utf8" ); webpack(webpackConfig, (err, stats) => { @@ -135,7 +135,7 @@ npmi.on("close", (code) => { } console.log( "DONE!. File created at ", - path.resolve(__dirname, "browser/telegram.js"), + path.resolve(__dirname, "browser/telegram.js") ); }); }); diff --git a/jest.config.js b/jest.config.js index b413e106..3abcbd94 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,5 +1,5 @@ /** @type {import('ts-jest').JestConfigWithTsJest} */ module.exports = { - preset: 'ts-jest', - testEnvironment: 'node', -}; \ No newline at end of file + preset: "ts-jest", + testEnvironment: "node", +}; diff --git a/package-lock.json b/package-lock.json index 07373d7d..601e61a2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "telegram", - "version": "2.17.0", + "version": "2.17.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "telegram", - "version": "2.17.0", + "version": "2.17.4", "license": "MIT", "dependencies": { "@cryptography/aes": "^0.1.1", diff --git a/package.json b/package.json index d3dc284a..4f971a9d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "telegram", - "version": "2.17.0", + "version": "2.17.4", "description": "NodeJS/Browser MTProto API Telegram client library,", "main": "index.js", "types": "index.d.ts", @@ -61,13 +61,13 @@ "buffer": "^6.0.3", "htmlparser2": "^6.1.0", "mime": "^3.0.0", - "node-localstorage": "^2.2.1", "pako": "^2.0.3", "path-browserify": "^1.0.1", "real-cancellable-promise": "^1.1.1", - "socks": "^2.6.2", "store2": "^2.13.0", "ts-custom-error": "^3.2.0", - "websocket": "^1.0.34" + "websocket": "^1.0.34", + "node-localstorage": "^2.2.1", + "socks": "^2.6.2" } }