@akc42/app-utils 4.2.0 → 4.2.1

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.
Files changed (2) hide show
  1. package/debug.js +1 -1
  2. package/package.json +1 -1
package/debug.js CHANGED
@@ -133,7 +133,7 @@ function Debug(t) {
133
133
  }, '');
134
134
  if (initialised) performance.mark(this.topic, { detail: message }); //save our message locally regardless of if enabled
135
135
  let enabled = false;
136
- const debugConf = sessionStorage.get('debug');
136
+ const debugConf = sessionStorage.getItem('debug');
137
137
  if (debugConf) {
138
138
  const topics = debugConf.split(':');
139
139
  if (topics.includes(this.topic)) enabled = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akc42/app-utils",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "description": "General Utilities for SPAs",
5
5
  "exports": {
6
6
  ".": "./*.js"