Skip to content

Commit b308ccb

Browse files
authored
Merge pull request #351 from microsoftgraph/feat/bundle
feat/bundle
2 parents 6447336 + 4d179d5 commit b308ccb

File tree

5 files changed

+28
-34
lines changed

5 files changed

+28
-34
lines changed

package-lock.json

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

package.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,8 @@
7171
},
7272
"dependencies": {
7373
"@azure/core-auth": "^1.9.0",
74-
"@microsoft/kiota-abstractions": "^1.0.0-preview.39",
75-
"@microsoft/kiota-authentication-azure": "^1.0.0-preview.81",
76-
"@microsoft/kiota-http-fetchlibrary": "^1.0.0-preview.38",
77-
"@microsoft/kiota-serialization-form": "^1.0.0-preview.28",
78-
"@microsoft/kiota-serialization-json": "^1.0.0-preview.39",
79-
"@microsoft/kiota-serialization-multipart": "^1.0.0-preview.18",
80-
"@microsoft/kiota-serialization-text": "^1.0.0-preview.36",
81-
"guid-typescript": "^1.0.9",
74+
"@microsoft/kiota-authentication-azure": "^1.0.0-preview.82",
75+
"@microsoft/kiota-bundle": "^1.0.0-preview.82",
8276
"tslib": "^2.6.2"
8377
}
8478
}

src/adapter/BaseGraphRequestAdapter.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,14 @@ import {
55
SerializationWriterFactory,
66
SerializationWriterFactoryRegistry,
77
} from "@microsoft/kiota-abstractions";
8-
import {
9-
FetchRequestAdapter,
10-
HttpClient,
11-
type ObservabilityOptions,
12-
ObservabilityOptionsImpl,
13-
} from "@microsoft/kiota-http-fetchlibrary";
8+
import { HttpClient, type ObservabilityOptions, ObservabilityOptionsImpl } from "@microsoft/kiota-http-fetchlibrary";
9+
import { DefaultRequestAdapter } from "@microsoft/kiota-bundle";
1410
import { GraphHttpClient } from "../http/GraphHttpClient.js";
1511

1612
/**
1713
* Base request adapter for graph clients. Bootstraps telemetry and other aspects.
1814
*/
19-
export class BaseGraphRequestAdapter extends FetchRequestAdapter {
15+
export class BaseGraphRequestAdapter extends DefaultRequestAdapter {
2016
/**
2117
* Instantiates a new request adapter.
2218
* @param graphServiceTargetVersion the target version of the api endpoint we are targeting ("" or beta).

src/authentication/AzureIdentityAccessTokenProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export class GraphAzureIdentityAccessTokenProvider extends AzureIdentityAccessTo
66
public constructor(
77
credentials: TokenCredential,
88
scopes?: string[],
9-
options?: GetTokenOptions | undefined,
9+
options?: GetTokenOptions,
1010
allowedHosts?: Set<string>,
1111
observabilityOptions?: ObservabilityOptions,
1212
isCaeEnabled?: boolean,

src/authentication/AzureIdentityAuthenticationProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export class GraphAzureIdentityAuthenticationProvider extends AzureIdentityAuthe
77
public constructor(
88
credentials: TokenCredential,
99
scopes?: string[],
10-
options?: GetTokenOptions | undefined,
10+
options?: GetTokenOptions,
1111
allowedHosts?: Set<string>,
1212
observabilityOptions?: ObservabilityOptions,
1313
isCaeEnabled?: boolean,

0 commit comments

Comments
 (0)