Skip to content

Commit

Permalink
Update package
Browse files Browse the repository at this point in the history
  • Loading branch information
painor committed May 14, 2023
1 parent 86b190a commit b0f60d2
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 13 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,3 @@ jobs:
with:
generate_release_notes: true
files: browser/telegram.js

6 changes: 3 additions & 3 deletions generate_webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ delete packageJSON.dependencies["socks"];
fs.writeFileSync(
"package.json",
JSON.stringify(packageJSON, null, " "),
"utf8",
"utf8"
);

const npmi = exec("npm i");
Expand Down Expand Up @@ -120,7 +120,7 @@ npmi.on("close", (code) => {
fs.writeFileSync(
"package.json",
JSON.stringify(packageJSON, null, " "),
"utf8",
"utf8"
);

webpack(webpackConfig, (err, stats) => {
Expand All @@ -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")
);
});
});
Expand Down
6 changes: 3 additions & 3 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
};
preset: "ts-jest",
testEnvironment: "node",
};
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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"
}
}

0 comments on commit b0f60d2

Please sign in to comment.