From aa2e0a1fcc579af2a91bd8fab5cce6950d6522c2 Mon Sep 17 00:00:00 2001 From: Maksim Koryukov Date: Mon, 6 Apr 2026 15:22:31 -0400 Subject: [PATCH 1/2] fix(remote-auth): fix the docs for Store API (for `extract` method) external store's `extract` receives { session, path} as options. Update authentication.md --- src/guide/creating-your-bot/authentication.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/guide/creating-your-bot/authentication.md b/src/guide/creating-your-bot/authentication.md index 1f5af0c..ed252e6 100644 --- a/src/guide/creating-your-bot/authentication.md +++ b/src/guide/creating-your-bot/authentication.md @@ -126,7 +126,7 @@ await store.save({session: 'yourSessionName'}); ```js -await store.extract({session: 'yourSessionName'}); +await store.extract({session: 'yourSessionName', path: '/path/to/the/extracted/session/RemoteAuth.zip'}); ``` @@ -282,4 +282,4 @@ client.on('remote_session_saved', () => { | :-------: |:--------------------------------- | | ✅ | MacOS | | ✅ | Windows | -| ✅ | Ubuntu 20.04 (Heroku Compatible) | \ No newline at end of file +| ✅ | Ubuntu 20.04 (Heroku Compatible) | From 0a53a77ae3463c9b2b034f089476f757dbb3f3cd Mon Sep 17 00:00:00 2001 From: Maksim Koryukov Date: Mon, 6 Apr 2026 15:25:41 -0400 Subject: [PATCH 2/2] chore: trying to rollback empty line at the EOF