2025-01-08
-
Update CHANGELOG.md - TypeBuffer to Buffer - update license year - sync errors - Update TLSchema - Update TLSchema ### Fix
-
'npm:ip-address@9.0.5' in the node_modules directory error.
2024-12-27
-
better jsdoc - better jsdoc ### Change
-
Update CHANGELOG.md - Update TLSchema - Update CHANGELOG.md - Update TLSchema - Update TLSchema ### Fix
-
browser support ### Fixed
-
typing error ### Remove
2024-11-01
2024-10-26
- Update CHANGELOG.md - target and module versions in tsconfig.json - Update TLSchema - Update TLSchema - Update Error Reference - Update TLSchema
2024-09-15
2024-08-25
2024-08-01
2024-07-02
-
Update TLSchema - saveFileStream - Update Error Reference - Update CHANGELOG.md - using query className when do invoke constructor of invokeWith* ### Fix
2024-06-11
-
use moduleResolution nodenext in browser - Update CHANGELOG.md - module to nodenext and esnext - require engine version to node >= 12 ### Remove
2024-06-04
2024-06-04
2024-06-03
2024-06-02
-
async download - async download - surrfix in browser version ### Change
-
Update TLSchema - Update CHANGELOG.md ### Remove
2024-05-31
-
Workflow to test building source code - dts file in browser folder - browser package builder - workflow for publish package to github registry ### Change
-
add push, on property - log warning to info - static import - salts when is bad - scripts.prepare on browser build - Update CHANGELOG.md ### Fix
-
auto reconnect - file in node - websocket ### Fixed
-
TCPO on Deno ### Remove
2024-05-14
-
mtproxy (untested) - TCP Padded Intermediate ### Change
-
using aes-256-ctr from node:crypto - Update CHANGELOG.md ### Fixed
-
TCPO ### Remove
-
build-doc workflow ### Rewrite
2024-05-05
-
catch in timeout task - maxReconnextRetries options - option to autoreconnect - list of affected error in error.json ### Change
-
invoke getMe when client is reconnecting - Update TLSchema - Update TLSchema - Update CHANGELOG.md ### Fix
-
2fa error ### Remove
2024-04-03
2024-03-09
-
get update state ### Change
-
Update CHANGELOG.md - Update TLSchema - Update Error Reference - Update TLSchema
2024-02-04
2024-01-14
-
default getPts - date on qts - way to save pts ### Change
-
Update Error Reference - Update TLSchema - Update TLSchema - Update CHANGELOG.md
2023-12-24
2023-12-18
-
workflow for automatic fetch error refference - all possible error - generator for sync possible error ### Change
-
trying to escape double quote - escaping double quote in tsv - improve rpc raise - sync with latest source - compatibility with json file - Update CHANGELOG.md ### Remove
-
all double quote in tsv - replace possible error with single file
2023-12-02
2023-10-29
2023-10-05
2023-09-10
-
Update CHANGELOG.md - Update TLSchema ### Fix
-
security error in secret chat - bug file part missing when uploading file
2023-08-27
-
download file - saveFile and saveFileStream method - import streamable library - Streamable file class - error types when upload file - queue ### Change
-
dont show undefined or null in console and json stringify - ignore auth params when session is already - target to ES2022 and moduleResolution to node - Update TLSchema - Update CHANGELOG.md
2023-08-14
2023-08-12
-
env to node process - notification to group when layer updated ### Change
-
update version - client.invoke now can prediction the results - Update TLSchema - silent sending - Update CHANGELOG.md - update to layer 160 ### Fix
2023-07-02
-
Update CHANGELOG.md - improve update handler - refactoring raw api ### Fix
2023-06-29
2023-06-28
-
remove secret chat from session when destroyed - support secret chat - secret chat schema ### Change
-
Update CHANGELOG.md - Update TLSchema - Update CHANGELOG.md ### Fix
2023-04-10
2023-03-28
2023-03-28
-
Update CHANGELOG.md - Update CHANGELOG.md - Update CHANGELOG.md ### Fix
2023-03-12
2023-03-11
2023-02-20
-
custom console on deno - browser compatibility - local option ### Change
-
update version - remove forceSMS param - switch big-integer deno framework to node cdn version - make RPCError.raise as asyncronous - make Mtproto.unpack as asyncronous - make TLObject.read as asyncronous - using notranspile_aes as crypto in deno - switch to Socket class - Update TLSchema - default TCP to TCPFull - Update CHANGELOG.md ### Fix
-
session.invoke return undefined on deno - fix 400 CONNECTION_SYSTEM_EMPTY error - deno connection - Aes encryption on deno using aes-js - login with botToken - TCPFull - TCPAbridge cause the security check error ### Revert
-
bring back WebSocket class and make it support with node,deno,browser
2023-01-23
-
forceSMS params - logger error when failed connecting to telegram server ### Change
-
Update CHANGELOG.md - ungitignore static file - add support to deno - split client code to different file - remove Primitive.Int.write in TCPFull ### Fix
2023-01-07
-
proxy support - types TypeTLRequest for invoke method - support fetch peer when user has multiple username - workflows to automatic change the api.tl amd update api.tl to layer 151 - logger number, better for debuging - class client error - workflows for building docs with typedoc - changelog workflows - config for git-chglog - stack in json of errors - SecurityMismatch error description - Logger.error when got SecurityMismatch error ### Add
-
WebSocketError class - Show TimeoutError in console Change: Change InitConfig timeout Fix: NetworkWorker not started when client restarting - Security error message - Socket.unref() when disconnecting websocket ### Change
-
int to uint - update copyright year - webSocket to promise-socket - improve jsdoc - switch to primitive loop instead of while true - async Mtproto.unpack and Mtproto.pack - checking security error with static class method instead of create new class - move git-chglog config location ### Change
-
Automatic ask recovery code when 3 times try fill 2fa password - do nothing when receive timeout - AES-256-CTR node:crypto - default TCP mode to TCPAbridge - Promise reject instead of trow TimeoutError - support @tgsnake/log latest version ### Fix
-
bug security errors ### Fix
-
module not found - TCPAbridged crash when receive update content ### Fixed
-
Expected 1 arguments, but got 2. ### Improve
-
generator to change the layer number in readme ### Revert
-
revert network task ### Pull Requests
-
Merge pull request #2 from tgsnake/dev
2022-12-03
2022-10-17
2022-08-28
2022-08-08
2022-07-29
- ---- package.json: Update version to 1.1.1. src/Timeout.ts: Make a Timeout class, it better than runWithTimeout function. src/connection/TCP/tcp.ts: Change runWithTimeout to Timeout class. src/connection/TCP/tcp.ts: Clear all timeout task when connection is disconnected. src/connection/TCP/tcp.ts: Bug fix got timeout error when connection is dissconnected. src/connection/TCP/tcp.ts: Bring back to throwing timeout error. src/helpers.ts: Remove runWithTimeout. src/session/Session.ts: Change runWithTimeout to Timeout class. src/session/Session.ts: Clear all timeour task when connection is disconnected.
2022-07-23
- --- generator/api/index.js: Fixed classType. package.json: Update version to 1.1.0. package.json: Add config version (isBeta,isPrivate). package.json: Change main file from "./lib/index.js" to "./lib/src/index.js". src/Client.ts: Add options noUpdates,takeout. src/Client.ts: Invoke updates.GetState when client started. src/Client.ts: Using InvokeWithoutUpdate when options noUpdates is true and InvokeWithTakeout when options takeout is true. src/Client.ts: Invoke account.InitTakeSession when options takeout is true. src/Version.ts: Using package.json as config file. src/raw/core/TLObject.ts: Hide property when starting with underscore ("_").
2022-07-22
- ---- src/Version.ts: Change version to 1.0.2. src/storage/Abstract.ts: Add save() method to abstract class. src/storage/Session.ts: Add default save() function.
2022-07-17
- ----------- src/Version.ts: Update version to 1.0.1. src/Client.ts: Change max retries for client.start to 0 (Only one try invoke). src/connection/TCP/tcp.ts: Change timeout to 10s. src/connection/TCP/tcp.ts: Change timeout error to Logger.error instead of throw. src/connection/webSocket.ts: Make a public connectionClosed property. src/errors/RpcError.ts: Format error message before throwing. src/session/Session.ts: Break network worker when connection closed.
2022-07-17