@pnp/sp 3.9.0-v3nightly.20221213 → 3.10.0

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.
@@ -1,7 +1,7 @@
1
1
  export function Telemetry() {
2
2
  return (instance) => {
3
3
  instance.on.pre(async function (url, init, result) {
4
- let clientTag = "PnPCoreJS:3.9.0:";
4
+ let clientTag = "PnPCoreJS:3.10.0:";
5
5
  // make our best guess based on url to the method called
6
6
  const { pathname } = new URL(url);
7
7
  // remove anything before the _api as that is potentially PII and we don't care, just want to get the called path to the REST API
package/package.json CHANGED
@@ -1,35 +1,35 @@
1
1
  {
2
- "name": "@pnp/sp",
3
- "version": "3.9.0-v3nightly.20221213",
4
- "description": "pnp - provides a fluent api for working with SharePoint REST",
5
- "main": "./index.js",
6
- "typings": "./index",
7
- "scripts": {
8
- "postinstall": "node ./post-install.cjs"
9
- },
10
- "dependencies": {
11
- "tslib": "2.4.0",
12
- "@pnp/core": "3.9.0-v3nightly.20221213",
13
- "@pnp/queryable": "3.9.0-v3nightly.20221213"
14
- },
15
- "funding": {
16
- "type": "individual",
17
- "url": "https://github.com/sponsors/patrick-rodgers/"
18
- },
19
- "type": "module",
20
- "engines": {
21
- "node": ">=14.15.1"
22
- },
23
- "author": {
24
- "name": "Microsoft and other contributors"
25
- },
26
- "license": "MIT",
27
- "bugs": {
28
- "url": "https://github.com/pnp/pnpjs/issues"
29
- },
30
- "homepage": "https://github.com/pnp/pnpjs",
31
- "repository": {
32
- "type": "git",
33
- "url": "git:github.com/pnp/pnpjs"
34
- }
2
+ "name": "@pnp/sp",
3
+ "version": "3.10.0",
4
+ "description": "pnp - provides a fluent api for working with SharePoint REST",
5
+ "main": "./index.js",
6
+ "typings": "./index",
7
+ "scripts": {
8
+ "postinstall": "node ./post-install.cjs"
9
+ },
10
+ "dependencies": {
11
+ "tslib": "2.4.0",
12
+ "@pnp/core": "3.10.0",
13
+ "@pnp/queryable": "3.10.0"
14
+ },
15
+ "funding": {
16
+ "type": "individual",
17
+ "url": "https://github.com/sponsors/patrick-rodgers/"
18
+ },
19
+ "type": "module",
20
+ "engines": {
21
+ "node": ">=14.15.1"
22
+ },
23
+ "author": {
24
+ "name": "Microsoft and other contributors"
25
+ },
26
+ "license": "MIT",
27
+ "bugs": {
28
+ "url": "https://github.com/pnp/pnpjs/issues"
29
+ },
30
+ "homepage": "https://github.com/pnp/pnpjs",
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "git:github.com/pnp/pnpjs"
34
+ }
35
35
  }
package/search/types.d.ts CHANGED
@@ -251,7 +251,7 @@ export interface ISearchResult {
251
251
  FileExtension?: string;
252
252
  ContentTypeId?: string;
253
253
  ParentLink?: string;
254
- ViewsLifeTime?: number;
254
+ ViewsLifeTime?: string;
255
255
  ViewsRecent?: number;
256
256
  SectionNames?: string;
257
257
  SectionIndexes?: string;