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
Copy file name to clipboardExpand all lines: changelogs/v3-upgrade-guide.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,17 @@
66
66
### Added `browser` field in package.json.
67
67
- The `browser` field indicates the entry point for client applications using Microsoft Graph JS SDK library.
68
68
69
+
### Added `customHosts` options
70
+
- The `AuthenticationHandler` and `TelemetryHandler` will add or update the request headers only if the request URL is a Graph endpoint or a custom endpoint.
71
+
-`customHosts` property in `IOptions`, `IClientOptions` takes in a `Set` of custom hosts.
72
+
73
+
```typescript
74
+
// Consider the custom request url is https://CUSTOM_HOST.com
-`GraphClientError` handles client-side errors encountered within the JavaScript Client SDK whereas, `GraphError` class should be used to handle errors in the response from the Graph API.
0 commit comments