Skip to content

Commit 39a8d7b

Browse files
1. Adding tslib to reduce the size of the output file
2. Two MSALAuthenticationProviders one for output js and one for npm package
1 parent d0b58dc commit 39a8d7b

68 files changed

Lines changed: 878 additions & 3636 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

browser-wrapper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
/**
99
* Adds exports in index.js to the MicrosoftGraph property in window object
1010
*/
11-
window.MicrosoftGraph = require("./lib/src/index.js");
11+
window.MicrosoftGraph = require("./lib/src/browser/index.js");

docs/CreatingClientInstance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const client = new Client(clientOptions);
4747

4848
Refer, [custom middleware chain](./CustomMiddlewareChain.md) for more detailed information.
4949

50-
## 2. Init With Options
50+
## 2. Create With Options
5151

5252
Pass an [authProvider function](../src/IAuthProvider.ts) in [Options](../src/IOptions.ts) while initializing the Client. In this case, user have to provide his own implementation for getting and refreshing accessToken. A callback will be passed into this authProvider function, accessToken or error needs to be passed in to that callback.
5353

lib/graph-js-sdk-core.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/graph-js-sdk-web.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/spec/CustomHTTPHandler.js

Lines changed: 3 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/spec/CustomHTTPHandler.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/spec/DummyAuthenticationProvider.js

Lines changed: 3 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/spec/DummyAuthenticationProvider.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/spec/content/BatchRequestContent.js

Lines changed: 12 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/spec/content/BatchRequestContent.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)