Skip to content

Releases: gramiojs/wrappergram

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 24 Aug 23:54
b13f10f
  • Add sideEffects:false and wrappergram/utils subpath export

  • Remove @gramio/files hard dependency (opt-in via middleware)

  • Add MiddlewareContext distributive union for type narrowing

  • Add SuppressedAPIMethods with IsSuppressed generic inference

  • Per-request fetch options as second argument to every API method

  • Add suppress pattern: suppress:true returns TelegramError | Result

  • Add TelegramError with method, code, payload and captureStackTrace

  • Middlewares configured via options.middlewares only (no .use())

feat: redesign core as minimal middleware-based wrapper- Replace 4-hook system with single Middleware type (context, next)

Merge branch 'main' into feat/v2-middleware-redesign

Merge pull request #2 from gramiojs/feat/v2-middleware-redesignfeat: wrappergram v2 — minimal middleware-based Telegram Bot API wrapper

docs: update middleware example to use package exports

feat: expose Bot API 10.3

ci: migrate npm publishing to OIDC

fix: avoid ambient Node stack trace types

What's Changed

  • feat: wrappergram v2 — minimal middleware-based Telegram Bot API wrapper by @kravetsone in #2

New Contributors

Full Changelog: v1.3.0...v2.0.0

v1.3.0

Choose a tag to compare

@github-actions github-actions released this 13 Apr 15:29
fbb94a7

chore: bumps

chore: text lockfile

Full Changelog: v1.2.1...v1.3.0

v1.2.1

Choose a tag to compare

@github-actions github-actions released this 18 Mar 13:25
6994977

chore: use params as queryString if there isMediaUpload

Full Changelog: v1.2.0...v1.2.1

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 21 Dec 12:37

chore: update badges

chore: fix badges

chore: bumps

chore: just bumps

chore: add npm downloads badge and fix ts errors

chore: use .ts extension

chore: add MIT license

Full Changelog: v1.0.0...v1.2.0

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 18 Jul 16:20

chore: add tiny in features and fix bundling

chore: build before publint

Full Changelog: v0.0.1...v1.0.0

v0.0.1

Choose a tag to compare

@github-actions github-actions released this 18 Jul 15:33

refactor: add utils dir

feat: add simple configuration

chore: configure package

chore: improve JSDoc comments

chore: complete README

chore: add description and keywords

chore: add CICD to publish

chore: fix link

chore: add deno.json file

chore: fix import

Full Changelog: https://github.com/gramiojs/wrappergram/commits/v0.0.1