Skip to content

Commit f31d3e9

Browse files
author
REDMOND\lahuey
committed
Fixed bugs several small bugs
1 parent d2636ca commit f31d3e9

18 files changed

+833
-2225
lines changed

lib/graph-js-sdk-web.js

Lines changed: 588 additions & 2035 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import 'whatwg-fetch';

lib/spec/core/responseHandling.js

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

lib/spec/core/responseHandling.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/GraphRequest.d.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { Promise } from 'es6-promise';
2+
import 'whatwg-fetch';
23
import { Options, URLComponents, GraphRequestCallback } from "./common";
34
export declare class GraphRequest {
45
config: Options;
@@ -34,14 +35,15 @@ export declare class GraphRequest {
3435
update(content: any, callback?: GraphRequestCallback): Promise<any>;
3536
del(callback?: GraphRequestCallback): Promise<any>;
3637
get(callback?: GraphRequestCallback): Promise<any>;
37-
private routeResponseToPromise(requestBuilder);
38-
private routeResponseToCallback(requestBuilder, callback);
39-
private sendRequestAndRouteResponse(requestBuilder, callback?);
38+
private routeResponseToPromise(request);
39+
private routeResponseToCallback(request, callback);
40+
private sendRequestAndRouteResponse(request, callback?);
4041
getStream(callback: GraphRequestCallback): void;
4142
putStream(stream: any, callback: Function): void;
42-
private configureRequest(requestBuilder, accessToken);
43+
private configureRequest(request, accessToken);
4344
query(queryDictionaryOrString: string | {
4445
[key: string]: string | number;
4546
}): GraphRequest;
4647
private createQueryString();
48+
private convertResponseType(response);
4749
}

lib/src/GraphRequest.js

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

0 commit comments

Comments
 (0)