Skip to content

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 20 Apr 00:03
· 4 commits to main since this release
6df1cc0
  • clearApiCalls() also drops the bubble cache.

    msg.payload.reply_markup via .toJSON() fallback.

  • clickByText tolerates Builder instances assigned directly to

    in tests.

    appear as plain JSON — no JSON.parse(JSON.stringify(...)) roundtrips

    so Builder instances like InlineKeyboard from @gramio/keyboards

    answerInlineQuery) via .toJSON() before recording in env.apiCalls,

  • Normalize reply_markup (and results[].reply_markup for

    multiple edits on the same reference.

    without manual refresh — user.on(bubble).clickByText(...) works across

    eagerly in the proxy, so references captured before an edit stay current

    kept in sync with editMessageText/editMessageCaption/editMessageReplyMarkup

    MessageObject mirror of the bot's last sendMessage. The bubble is

feat: env.lastBotMessage bubble tracking and auto-normalized reply_markup- env.lastBotMessage(opts?) / env.botMessage(chatId, msgId) return a

chore: widen peer deps (@gramio/types any, gramio <1.0.0), bump to 0.6.0

ci: type-check only src/ at publish time (tsconfig.build.json)
Full Changelog: v0.5.0...v0.6.0