Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(main): release 3.3.1 #178

Merged
merged 1 commit into from
May 17, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented May 17, 2024

🤖 I have created a release beep boop

3.3.1 (2024-05-17)

Features

  • An AuthorizationManager instance can now be provided as a SDKOption; This allows auto-configuration of Authorization headers for requests made using the SDK.
  • Removes getTokenForScope method. This method has been deprecated since the release of 3.0.0 and with the new Authorization manager should no longer be used.
  • The shared serviceRequest method has been updated to retrieve tokens
    from an AuthorizationManager, when passed via SDKOptions

This change will allow calls like:

const manager = sdk.authorization.create({ ..., scopes: 'transfer...' });
sdk.transfer.endpointSearch({...}, { manager });

Rather than:

const manager = sdk.authorization.create({ ..., scopes: 'transfer...' });
sdk.transfer.endpointSearch({ 
  headers: { 
    Authorization: `Bearer ${manager.tokens.transfer.access_token}`
  }
};

Bug Fixes

  • ESM: addresses missing file extension in generated ESM build (#177) (69fe19c)

This PR was generated with Release Please. See documentation.

@jbottigliero jbottigliero merged commit 1d44b6d into main May 17, 2024
2 checks passed
@jbottigliero jbottigliero deleted the release-please--branches--main--components--sdk branch May 17, 2024 16:59
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant