Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deps: bump @globus/sdk from 3.3.0 to 3.3.1 (#83)
Bumps [@globus/sdk](https://github.com/globus/globus-sdk-javascript) from 3.3.0 to 3.3.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/globus/globus-sdk-javascript/releases"><code>@globus/sdk</code>'s releases</a>.</em></p> <blockquote> <h2>v3.3.1</h2> <h2><a href="https://github.com/globus/globus-sdk-javascript/compare/v3.3.0...v3.3.1">3.3.1</a> (2024-05-17)</h2> <h3>Features</h3> <ul> <li>An <code>AuthorizationManager</code> instance can now be provided as a <code>SDKOption</code>; This allows auto-configuration of Authorization headers for requests made using the SDK.</li> </ul> <ul> <li><strong>Removes <code>getTokenForScope</code> method.</strong> This method has been deprecated since the release of <code>3.0.0</code> and with the new <code>AuthorizationManager</code> is no longer useful; Tokens are stored by <code>resource_server</code>, not <code>scope</code>.</li> <li>The shared <code>serviceRequest</code> method has been updated to retrieve tokens from an <code>AuthorizationManager</code>, when passed via <code>SDKOptions</code>.</li> </ul> <p>This change simplifies the creation of authorized versions of requests by automatically adding the <code>Authorization</code> header found in the manager instance for the request.</p> <p><strong>Providing an <code>Authorization</code> header prior to this change...</strong></p> <pre lang="ts"><code>const manager = sdk.authorization.create({ ..., scopes: 'transfer...' }); sdk.transfer.endpointSearch({ headers: { Authorization: `Bearer ${manager.tokens.transfer.access_token}` } }; </code></pre> <p><strong>Using an <code>AuthorizationManager</code> instance to provide the <code>Authorization</code> header...</strong></p> <pre lang="ts"><code>const manager = sdk.authorization.create({ ..., scopes: 'transfer...' }); sdk.transfer.endpointSearch({...}, { manager }); </code></pre> <p><code>headers</code> can still be passed as <code>SDKOptions</code> and a provided <code>headers.Authorization</code> value will take precedence over the manager-lookup.</p> <h3>Bug Fixes</h3> <ul> <li><strong>ESM:</strong> addresses missing file extension in generated ESM build (<a href="https://redirect.github.com/globus/globus-sdk-javascript/issues/177">#177</a>) (<a href="https://github.com/globus/globus-sdk-javascript/commit/69fe19ca7ebd5502b06b624486a60369dbf48898">69fe19c</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/globus/globus-sdk-javascript/blob/main/CHANGELOG.md"><code>@globus/sdk</code>'s changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/globus/globus-sdk-javascript/compare/v3.3.0...v3.3.1">3.3.1</a> (2024-05-17)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>ESM:</strong> addresses missing file extension in generated ESM build (<a href="https://redirect.github.com/globus/globus-sdk-javascript/issues/177">#177</a>) (<a href="https://github.com/globus/globus-sdk-javascript/commit/69fe19ca7ebd5502b06b624486a60369dbf48898">69fe19c</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/globus/globus-sdk-javascript/commit/1d44b6d026a754d57cd9b3897bb13c9e413ac200"><code>1d44b6d</code></a> chore(main): release 3.3.1 (<a href="https://redirect.github.com/globus/globus-sdk-javascript/issues/178">#178</a>)</li> <li><a href="https://github.com/globus/globus-sdk-javascript/commit/7abad5ea63a7c71509f8712c69d9076c10148178"><code>7abad5e</code></a> feat: an AuthorizationManager instance can now be provided as a SDKOption; Th...</li> <li><a href="https://github.com/globus/globus-sdk-javascript/commit/69fe19ca7ebd5502b06b624486a60369dbf48898"><code>69fe19c</code></a> fix(ESM): addresses missing file extension in generated ESM build (<a href="https://redirect.github.com/globus/globus-sdk-javascript/issues/177">#177</a>)</li> <li><a href="https://github.com/globus/globus-sdk-javascript/commit/907160b3de67d2d6f3734da3600e95f1d23cdbc1"><code>907160b</code></a> docs: adds <a href="https://github.com/zonca"><code>@zonca</code></a> example to new "Community Examples" section (<a href="https://redirect.github.com/globus/globus-sdk-javascript/issues/176">#176</a>)</li> <li><a href="https://github.com/globus/globus-sdk-javascript/commit/a31dff99b4717e3ede3568589bf9e9b6efd39a5b"><code>a31dff9</code></a> docs: remind to specify redirect URL in registered OAuth app (<a href="https://redirect.github.com/globus/globus-sdk-javascript/issues/174">#174</a>)</li> <li><a href="https://github.com/globus/globus-sdk-javascript/commit/1e9cc92e752203f8b7f029c2e038b5ad911b6d1c"><code>1e9cc92</code></a> docs: adds additional documentation to Authorization and Errors (<a href="https://redirect.github.com/globus/globus-sdk-javascript/issues/173">#173</a>)</li> <li><a href="https://github.com/globus/globus-sdk-javascript/commit/d111aaed2956275e160aad8b9ff5fb8e4b6dd4a0"><code>d111aae</code></a> docs: clarify the type of application to register on Globus</li> <li><a href="https://github.com/globus/globus-sdk-javascript/commit/dead52dadab778b7029526b3ccd48b5b5a8ddfad"><code>dead52d</code></a> deps: bump <code>@types/node</code> from 20.12.11 to 20.12.12 (<a href="https://redirect.github.com/globus/globus-sdk-javascript/issues/171">#171</a>)</li> <li>See full diff in <a href="https://github.com/globus/globus-sdk-javascript/compare/v3.3.0...v3.3.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@globus/sdk&package-manager=npm_and_yarn&previous-version=3.3.0&new-version=3.3.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information