@pnp/core-commonjs
Advanced tools
Comparing version 3.0.0-v3nightly.20211010 to 3.0.0-v3nightly.20211011
{ | ||
"name": "@pnp/core-commonjs", | ||
"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", |
@@ -10,8 +10,3 @@ "use strict"; | ||
class PnPClientStorageWrapper { | ||
store; | ||
/** | ||
* True if the wrapped storage is available; otherwise, false | ||
*/ | ||
enabled; | ||
/** | ||
* Creates a new instance of the PnPClientStorageWrapper class | ||
@@ -134,3 +129,2 @@ * | ||
class MemoryStorage { | ||
_store; | ||
constructor(_store = new Map()) { | ||
@@ -162,4 +156,2 @@ this._store = _store; | ||
class PnPClientStorage { | ||
_local; | ||
_session; | ||
/** | ||
@@ -166,0 +158,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 |
@@ -13,10 +13,7 @@ "use strict"; | ||
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; | ||
@@ -74,3 +71,3 @@ } | ||
*/ | ||
log(message, level) { | ||
log(message, level = 0) { | ||
this.emit.log(message, level); | ||
@@ -77,0 +74,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
79638
1299