Telegraf local sessions middleware with multiple supported storage types (Memory/FileSync/FileAsync/...) using lowdb
You can support us by simply starring this repo and/or by giving us feedback via GitHub Discussions
extra.js
example fix f5e3bdftypes
field (package.json) pointing to .d.ts file f7d20eferror TS2309: An export assignment cannot be used in a module with other exported elements.
Β Β ββ Issue: https://github.com/RealSpeaker/telegraf-session-local/issues/117
Β Β ββ As temporary fix please add this to your tsconfig.json
: "skipLibCheck": true
https://github.com/RealSpeaker/telegraf-session-local/issues/117#issuecomment-1092330460
β OR β
lowdb
mysql
, redis
, mongo
, etc. as peer dependencies) to make All In One package telegraf-session-*
with better maintainability than others outdated packages. Or just leave a deprecation notice with advice on moving to grammY
https://github.com/RealSpeaker/telegraf-session-local/compare/v2.1.0...v2.1.1
You can support us by simply starring this repo and/or by giving us feedback via GitHub Discussions or Telegram π
eslint-plugin-standard
package e6208a9https://github.com/RealSpeaker/telegraf-session-local/compare/v2.0.0...v2.1.0
You can support us by simply starring this repo and/or by giving us feedback via GitHub Discussions or Telegram π
This version suitable for Telegraf < 4.x
^3.38.0
as peer dependency, to be in sync with Typescript typings b8338e1
Β Β ββ π¬ Tip: JS users may relax and continue using telegraf-session-local
just as before, without needing to upgrade Telegrafhttps://github.com/RealSpeaker/telegraf-session-local/compare/v1.0.3...v2.0.0
https://github.com/RealSpeaker/telegraf-session-local/compare/v1.0.2...v1.0.3
https://github.com/RealSpeaker/telegraf-session-local/compare/v1.0.1...v1.0.2
lodash < 4.17.12
CVE-2019-10744 (Snyk)https://github.com/RealSpeaker/telegraf-session-local/compare/v1.0.0...v1.0.1
Wow, first major release v1.0.0 π
The main improvement - is package size & install time reduce.
Before v1.0.0 telegraf-session-local
had 3 dependencies, but now only one (lowdb
)
package.json
located): npm i -S telegraf-session-local
telegraf-session-local
. No need any changes in sources.debug
from required dependencies to peerDependencies 8de439blodash-id
from dependencies and import it into source itself 29abaf8https://github.com/RealSpeaker/telegraf-session-local/compare/v0.0.7...v1.0.0