tdl-tdlib-wasm
Advanced tools
Changelog
tdl-shared@0.10.0, tdl-tdlib-addon@1.0.0, tdl-tdlib-ffi@3.0.0, tdl-tdlib-wasm@0.6.0 (2021-01-14)
setLogFilePath
, setLogMaxFileSize
, and setLogVerbosityLevel
.getName(): string
.create()
now doesn't need to return a promise.Changelog
tdl-install-types@0.3.0 (2024-07-19)
number | string
instead of string
for int64
types
in output positions (the input int64 is still number | string
).prebuilt-tdlib
: can now use TDLib commit and version
from prebuilt-tdlib/package.json
instead of always extracting the commit
hash from the library file. The --prebuilt-tdlib
option is replaced with the
prebuilt-tdlib
argument (--prebuilt-tdlib
is deprecated).Changelog
tdl-install-types@0.2.0 (2024-05-28)
--github-repo
CLI option.-h
and --version
aliases.bytes
parameters are base64.tdl-install-types
is now included in the header of the
generated files.null
for return types of Execute
.Execute
.$Function
, $FunctionResultByName
,
$FunctionInputByName
, $FunctionName
, $SyncFunctionName
. Invoke
and
Execute
are implemented in terms of these types and may be somewhat faster
now (in typecheck time).Changelog
tdl-install-types@0.1.0 (2023-09-26)
Initial release of a new cli utility that is now recommended to use instead of
installing the tdlib-types
package. It can generate a tdlib-types.d.ts
file
when given a shared library / tdlib git ref / td_api.tl file and can be called
via npx
. (See the "Types" section in the README for more information.) Changes
were also made to the generator to make the autocompletion faster.