Skip to content
Compare
Choose a tag to compare
@zimeg zimeg released this 14 Aug 20:21
· 145 commits to main since this release
c300168

What's Changed

Herein is a patch to allow a typed token attribute in a few API methods that accept it - apps.uninstall, admin.apps.uninstall, and admin.apps.clearResolution. Experiment using the snippet below and caution if you're using an app in production:

  client.apps.uninstall({
+   token: 'xoxb-example',
    client_id: 'example',
    client_secret: '123',
  });

Changes

  • web-api(fix): allow typed token overrides in supported methods - Thanks @zimeg! #1872

Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/[email protected]...@slack/[email protected]