@pnp/core
Advanced tools
Comparing version 3.0.0-v3nightly.20210902 to 3.0.0-v3nightly.20210905
{ | ||
"name": "@pnp/core", | ||
"version": "3.0.0-v3nightly.20210902", | ||
"version": "3.0.0-v3nightly.20210905", | ||
"description": "pnp - provides shared functionality across all pnp libraries", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -180,2 +180,3 @@ import { dateAdd, jsS, objectDefinedNotNull } from "./util.js"; | ||
get session() { | ||
// BUG: sessionStorage is undefined | ||
if (this._session === null) { | ||
@@ -182,0 +183,0 @@ this._session = new PnPClientStorageWrapper(typeof sessionStorage === "undefined" ? new MemoryStorage() : sessionStorage); |
@@ -107,6 +107,2 @@ import { broadcast, lifecycle } from "./moments.js"; | ||
if (!isArray(observers) || observers.length < 1) { | ||
if (p !== "log") { | ||
// TODO:: remove this post development of v3 | ||
console.log(`No observers registered for moment ${p}.`); | ||
} | ||
if (p === "error") { | ||
@@ -113,0 +109,0 @@ // if we are emitting an error, and no error observers are defined, we throw |
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
Sorry, the diff of this file is not supported yet
76484
1224