Skip to content

Commit 14943a1

Browse files
authored
Merge pull request #56 from microsoftgraph/export-all-remove-dependency
Export all, remove package.json code dependency
2 parents c91286e + 2757a8c commit 14943a1

File tree

13 files changed

+343
-274
lines changed

13 files changed

+343
-274
lines changed

lib/graph-js-sdk-web.js

Lines changed: 316 additions & 264 deletions
Large diffs are not rendered by default.

lib/src/GraphRequest.js

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

lib/src/GraphRequest.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/src/common.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
export declare let oDataQueryNames: string[];
22
export declare const DEFAULT_VERSION = "v1.0";
33
export declare const GRAPH_BASE_URL = "https://graph.microsoft.com/";
4+
export declare const PACKAGE_VERSION = "1.0.0";
45
export interface AuthProviderCallback {
56
(error: any, accessToken: string): void;
67
}

lib/src/common.js

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

lib/src/common.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/src/index.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ export declare class Client {
55
static init(clientOptions?: Options): Client;
66
api(path: string): GraphRequest;
77
}
8+
export * from "./GraphRequest";
9+
export * from "./common";
10+
export * from "./ResponseHandler";

lib/src/index.js

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

lib/src/index.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.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "@microsoft/microsoft-graph-client",
3+
"//": "NOTE: The version here should match exactly the exported const PACKAGE_VERSION in common.ts. If you change it here, also change it there.",
34
"version": "1.0.0",
45
"description": "Microsoft Graph Client Library",
56
"main": "lib/src/index.js",

0 commit comments

Comments
 (0)