@ombori/ga-settings
Advanced tools
Comparing version 4.0.5 to 4.0.6
@@ -6,2 +6,13 @@ # Change Log | ||
## 4.0.6 (2024-08-25) | ||
### Bug Fixes | ||
* logging ([636df86](https://github.com/ombori/gridapp/commit/636df865515514734f5a0135803eccab87c695a7)) | ||
## 4.0.5 (2024-08-25) | ||
@@ -8,0 +19,0 @@ |
@@ -93,2 +93,3 @@ "use strict"; | ||
console.log({ gridappSettings: gridappSettings }); | ||
console.log('To set in localstorage: ', JSON.stringify(gridappSettings)); | ||
var settingsOverride = {}; | ||
@@ -156,2 +157,4 @@ var installationType = getInstallationTypeFromSettings(gridappSettings); | ||
window.gridParams = { | ||
id: 'app-container', | ||
root: document.location.pathname.split('/').splice(0, 4).join('/'), | ||
settings: localStorageSettings_1, | ||
@@ -166,2 +169,5 @@ }; | ||
}, | ||
send: function (_event) { | ||
// window.send(event); | ||
}, | ||
getSettings: function () { return localStorageSettings_1; }, | ||
@@ -168,0 +174,0 @@ }; |
{ | ||
"name": "@ombori/ga-settings", | ||
"version": "4.0.5", | ||
"version": "4.0.6", | ||
"main": "dist/index.js", | ||
@@ -19,3 +19,3 @@ "license": "UNLICENSED", | ||
"test:coverage": "npm run test -- --coverage --watchAll=false", | ||
"gitHead": "8e0487f0ffff45c0feac2f17d62c3834f7a6bf37" | ||
"gitHead": "7fa487939d6e183555cf4c0fb64d4e02538bff0d" | ||
} |
@@ -96,2 +96,4 @@ import { useEffect, useState, useRef } from 'react'; | ||
console.log('To set in localstorage: ', JSON.stringify(gridappSettings)); | ||
let settingsOverride: unknown = {}; | ||
@@ -171,2 +173,4 @@ | ||
(window as any).gridParams = { | ||
id: 'app-container', | ||
root: document.location.pathname.split('/').splice(0, 4).join('/'), | ||
settings: localStorageSettings, | ||
@@ -181,2 +185,5 @@ }; | ||
}, | ||
send: (_event: any) => { | ||
// window.send(event); | ||
}, | ||
getSettings: () => localStorageSettings, | ||
@@ -183,0 +190,0 @@ }; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
72647
1153