You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add setServiceUrl method as a setter for the serviceUrl property (#41)
* Change `url` to `serviceUrl`
* Validate that `serviceUrl` is set in the `sendRequest` method
* Make "auth type" case-insensitive
* Throw an error for unsupported "auth types" - only default to 'iam' when no "auth type" is provided
BREAKING CHANGE: The internal property `url` no longer exists on the `baseOptions` object, it has been renamed to `serviceUrl`
Copy file name to clipboardExpand all lines: migration-guide.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,3 +31,6 @@ const service = new MyService({
31
31
-`JwtTokenManagerV1` renamed to `JwtTokenManager`
32
32
- Token managers no longer support the `accessToken` parameter. There is no need for a token manager when a user is managing their own token. This behavior is replaced by the `BearerTokenAuthenticator` class.
33
33
- In the IAM Token Manager: the method `setAuthorizationInfo` is renamed to `setClientIdAndSecret`
34
+
35
+
#### URL parameter name changed
36
+
The variable name for the stored, URL parameter has been changed from `url` to `serviceUrl`. Note that `url` can still be compatibility passed into the constructor as an alias for `serviceUrl`. However, if you try to access the `url` property directly in your code, this is a breaking change.
0 commit comments