Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ombori/ga-settings

Package Overview
Dependencies
Maintainers
0
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ombori/ga-settings - npm Package Compare versions

Comparing version 4.0.3 to 4.0.4

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## 4.0.4 (2024-08-25)
### Bug Fixes
* logging ([4934668](https://github.com/ombori/gridapp/commit/4934668dead37809297a0a4a78221711c8f4d982))
## 4.0.3 (2024-08-24)

@@ -8,0 +19,0 @@

7

dist/index.js

@@ -90,4 +90,5 @@ "use strict";

if (gridapp && !hasLoadedSettings.current) {
log('Settings ready: ', gridapp);
log('Settings ready2: ', gridapp, gridapp.getSettings());
var gridappSettings = gridapp.getSettings();
console.log({ gridappSettings: gridappSettings });
var settingsOverride = {};

@@ -127,5 +128,9 @@ var installationType = getInstallationTypeFromSettings(gridappSettings);

}
console.log('Setting settings:', {
settings: __assign(__assign({}, gridappSettings), settingsOverride),
});
setSettings(__assign(__assign({}, gridappSettings), settingsOverride));
hasLoadedSettings.current = true;
}
console.log('Handler done', { gridapp: window.gridapp, settings: settings });
};

@@ -132,0 +137,0 @@ if (utils_1.isDev) {

4

package.json
{
"name": "@ombori/ga-settings",
"version": "4.0.3",
"version": "4.0.4",
"main": "dist/index.js",

@@ -19,3 +19,3 @@ "license": "UNLICENSED",

"test:coverage": "npm run test -- --coverage --watchAll=false",
"gitHead": "f051fc1638263e05b674ae2dcf70a4bbaa5c3ae9"
"gitHead": "9f74913aeef8f9011bcd00912c89aed4681764b5"
}

@@ -92,4 +92,5 @@ import { useEffect, useState, useRef } from 'react';

if (gridapp && !hasLoadedSettings.current) {
log('Settings ready: ', gridapp);
log('Settings ready2: ', gridapp, gridapp.getSettings());
const gridappSettings = gridapp.getSettings() as UseSettingsState<T>;
console.log({ gridappSettings });

@@ -134,2 +135,8 @@ let settingsOverride: unknown = {};

console.log('Setting settings:', {
settings: {
...gridappSettings,
...(settingsOverride as Object),
},
});
setSettings({

@@ -141,2 +148,4 @@ ...gridappSettings,

}
console.log('Handler done', { gridapp: window.gridapp, settings });
};

@@ -143,0 +152,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc