@pnp/core
Advanced tools
Comparing version 3.0.0-v3nightly.20211010 to 3.0.0-v3nightly.20211011
{ | ||
"name": "@pnp/core", | ||
"version": "3.0.0-v3nightly.20211010", | ||
"version": "3.0.0-v3nightly.20211011", | ||
"description": "pnp - provides shared functionality across all pnp libraries", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -7,8 +7,3 @@ import { dateAdd, jsS, objectDefinedNotNull } from "./util.js"; | ||
export class PnPClientStorageWrapper { | ||
store; | ||
/** | ||
* True if the wrapped storage is available; otherwise, false | ||
*/ | ||
enabled; | ||
/** | ||
* Creates a new instance of the PnPClientStorageWrapper class | ||
@@ -130,3 +125,2 @@ * | ||
class MemoryStorage { | ||
_store; | ||
constructor(_store = new Map()) { | ||
@@ -158,4 +152,2 @@ this._store = _store; | ||
export class PnPClientStorage { | ||
_local; | ||
_session; | ||
/** | ||
@@ -162,0 +154,0 @@ * Creates a new instance of the PnPClientStorage class |
@@ -82,3 +82,3 @@ /** | ||
*/ | ||
log(message: string, level: number): void; | ||
log(message: string, level?: number): void; | ||
/** | ||
@@ -85,0 +85,0 @@ * Shorthand method to emit a dispose event tied to this timeline |
@@ -9,10 +9,7 @@ import { broadcast, lifecycle } from "./moments.js"; | ||
export class Timeline { | ||
moments; | ||
observers; | ||
_onProxy = null; | ||
_emitProxy = null; | ||
_inheritingObservers; | ||
constructor(moments, observers = {}) { | ||
this.moments = moments; | ||
this.observers = observers; | ||
this._onProxy = null; | ||
this._emitProxy = null; | ||
this._inheritingObservers = true; | ||
@@ -70,3 +67,3 @@ } | ||
*/ | ||
log(message, level) { | ||
log(message, level = 0) { | ||
this.emit.log(message, level); | ||
@@ -73,0 +70,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
76945
1245