Skip to content

Commit f969b49

Browse files
Revert "Create two different output js files on with vendor polyfills and one"
This reverts commit d16fdfc.
1 parent d16fdfc commit f969b49

File tree

11 files changed

+11
-22
lines changed

11 files changed

+11
-22
lines changed

core-browserify.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

lib/graph-js-sdk-core.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

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/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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +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.1.0";
4+
export declare const PACKAGE_VERSION = "1.0.0";
55
export interface AuthProviderCallback {
66
(error: any, accessToken: string): void;
77
}

lib/src/common.js

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

package-lock.json

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 & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,7 @@
1818
"uglify-js": "^3.4.5"
1919
},
2020
"scripts": {
21-
"compile": "tsc",
22-
"rollup-core": "node core-browserify.js > lib/graph-js-sdk-core.js && uglifyjs lib/graph-js-sdk-core.js --output lib/graph-js-sdk-core.js",
23-
"rollup-with-vendor": "node node-browserify.js > lib/graph-js-sdk-web.js && uglifyjs ./lib/graph-js-sdk-web.js --output ./lib/graph-js-sdk-web.js",
24-
"build-core": "npm run compile && npm run rollup-core",
25-
"build-with-vendor": "npm run compile && npm run rollup-with-vendor",
26-
"build": "npm run compile && npm run rollup-core && npm run rollup-with-vendor",
21+
"build": "tsc && node node-browserify.js > lib/graph-js-sdk-web.js && uglifyjs ./lib/graph-js-sdk-web.js --output ./lib/graph-js-sdk-web.js",
2722
"test": "mocha lib/spec/core",
2823
"test:types": "tsc --p spec/types && mocha spec/types"
2924
},

spec/core/responseHandling.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ describe('#ParseError()', function() {
5656
assert.equal(err.statusCode, -1);
5757
});
5858
});
59-
});
59+
});

src/GraphRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Promise } from 'es6-promise'
22
import 'isomorphic-fetch';
33

4-
import { Options, URLComponents, oDataQueryNames, GraphRequestCallback, PACKAGE_VERSION, DefaultRequestHeaders } from "./common"
4+
import { Options, URLComponents, GraphError, oDataQueryNames, GraphRequestCallback, PACKAGE_VERSION, DefaultRequestHeaders } from "./common"
55
import { ResponseHandler } from "./ResponseHandler"
66
import { RequestMethod } from './RequestMethod';
77
import { GraphHelper } from './GraphHelper';

0 commit comments

Comments
 (0)