Skip to content

Commit b0aa449

Browse files
committed
feat: switches to kiota bundle for dependencies
1 parent 7f1087b commit b0aa449

File tree

3 files changed

+19
-26
lines changed

3 files changed

+19
-26
lines changed

package-lock.json

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

package.json

Lines changed: 1 addition & 7 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",
7574
"@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",
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).

0 commit comments

Comments
 (0)