@pnp/graph 4.18.0 → 4.19.0-v4nightly.20260415
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/behaviors/telemetry.js +1 -1
- package/files/types.d.ts +1 -1
- package/files/types.js +1 -1
- package/package.json +3 -3
package/behaviors/telemetry.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export function Telemetry() {
|
|
2
2
|
return (instance) => {
|
|
3
3
|
instance.on.pre(async function (url, init, result) {
|
|
4
|
-
init.headers = { ...init.headers, SdkVersion: "PnPCoreJS/4.
|
|
4
|
+
init.headers = { ...init.headers, SdkVersion: "PnPCoreJS/4.19.0" };
|
|
5
5
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/dot-notation
|
|
6
6
|
this.log(`Request Tag: ${init.headers["SdkVersion"]}`, 0);
|
|
7
7
|
return [url, init, result];
|
package/files/types.d.ts
CHANGED
|
@@ -125,7 +125,7 @@ export declare class _DriveItem extends _GraphInstance<IDriveItemType> {
|
|
|
125
125
|
/**
|
|
126
126
|
* Method for copying a file to a new location and/or name.
|
|
127
127
|
* @param copyOptions - IItemOptions
|
|
128
|
-
* @returns string, the URL
|
|
128
|
+
* @returns string, the URL to monitor the progress of the asynchronous copy operation.
|
|
129
129
|
*/
|
|
130
130
|
copyItem(copyOptions: IItemOptions): Promise<string>;
|
|
131
131
|
/**
|
package/files/types.js
CHANGED
|
@@ -182,7 +182,7 @@ let _DriveItem = class _DriveItem extends _GraphInstance {
|
|
|
182
182
|
/**
|
|
183
183
|
* Method for copying a file to a new location and/or name.
|
|
184
184
|
* @param copyOptions - IItemOptions
|
|
185
|
-
* @returns string, the URL
|
|
185
|
+
* @returns string, the URL to monitor the progress of the asynchronous copy operation.
|
|
186
186
|
*/
|
|
187
187
|
async copyItem(copyOptions) {
|
|
188
188
|
const creator = DriveItem(this, "copy").using((instance) => {
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/graph",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.19.0-v4nightly.20260415",
|
|
4
4
|
"description": "pnp - provides a fluent interface to query the Microsoft Graph",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"typings": "./index",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@microsoft/microsoft-graph-types": "2.43.0",
|
|
9
9
|
"tslib": "2.8.1",
|
|
10
|
-
"@pnp/core": "4.
|
|
11
|
-
"@pnp/queryable": "4.
|
|
10
|
+
"@pnp/core": "4.19.0-v4nightly.20260415",
|
|
11
|
+
"@pnp/queryable": "4.19.0-v4nightly.20260415"
|
|
12
12
|
},
|
|
13
13
|
"type": "module",
|
|
14
14
|
"engines": {
|