Socket
Socket
Sign inDemoInstall

@ombori/grid-signals

Package Overview
Dependencies
Maintainers
18
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ombori/grid-signals - npm Package Compare versions

Comparing version 2.141.1 to 2.141.2

11

CHANGELOG.md

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

## [2.141.2](https://github.com/ombori/gridapp/compare/v2.141.1...v2.141.2) (2021-12-20)
### Bug Fixes
* proper app start ([ccd64d4](https://github.com/ombori/gridapp/commit/ccd64d4975f3fb318a43f62f26953e2c98528f07))
## [2.141.1](https://github.com/ombori/gridapp/compare/v2.141.0...v2.141.1) (2021-12-20)

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

4

dist/grid-signals.js

@@ -82,2 +82,3 @@ "use strict";

let sessionCreated = '';
let isSessionFromCache = false;
if (sessionId) {

@@ -96,2 +97,3 @@ sessionCreated = get_date_string_1.default();

sessionCreated = generatedSession.sessionCreated;
isSessionFromCache = generatedSession.isFromCache;
}

@@ -103,4 +105,4 @@ this.instance.sessionId = sessionId;

return Promise.all([
...(!!initParams.sendAppStartOnInit ? [this.sendAppStart()] : []),
this.sendOrCacheData(types_1.DataRequestTypeEnum.SESSION, instance_helper_1.getSessionFromInstance(this.instance)),
...(isSessionFromCache ? [] : [this.sendAppStart()]),
...(!this.instance.clientId

@@ -107,0 +109,0 @@ ? []

@@ -104,3 +104,2 @@ export declare enum DataResidencyEnum {

password?: string;
sendAppStartOnInit?: boolean;
useValidCachedSessionOnInit?: boolean;

@@ -107,0 +106,0 @@ createNewSessionAfterLastActivityMins?: number;

@@ -9,4 +9,5 @@ export declare const supportsSessionStorage: () => boolean;

sessionCreated: string;
isFromCache: boolean;
};
export declare const getLastActivityCache: () => string | null;
export declare const setLastActivityCache: (dateString: string) => string | false;

@@ -50,3 +50,3 @@ "use strict";

if (!isAfterMins) {
return { sessionId, sessionCreated };
return { sessionId, sessionCreated, isFromCache: true };
}

@@ -58,3 +58,3 @@ }

}
return { sessionId, sessionCreated };
return { sessionId, sessionCreated, isFromCache: false };
};

@@ -61,0 +61,0 @@ exports.getLastActivityCache = () => {

{
"name": "@ombori/grid-signals",
"version": "2.141.1",
"version": "2.141.2",
"main": "dist/index.js",

@@ -35,3 +35,3 @@ "scripts": {

},
"gitHead": "abb6d50433f11e825a4c60da4298688e102227f3"
"gitHead": "43dc37edab96033ab38e01c0e062655b22fb6e8f"
}

@@ -118,2 +118,3 @@ import { v4 as uuid } from 'uuid';

let sessionCreated = '';
let isSessionFromCache = false;

@@ -133,2 +134,3 @@ if (sessionId) {

sessionCreated = generatedSession.sessionCreated;
isSessionFromCache = generatedSession.isFromCache;
}

@@ -142,3 +144,2 @@

return Promise.all([
...(!!initParams.sendAppStartOnInit ? [this.sendAppStart()] : []),
this.sendOrCacheData(

@@ -148,2 +149,3 @@ DataRequestTypeEnum.SESSION,

),
...(isSessionFromCache ? [] : [this.sendAppStart()]),
...(!this.instance.clientId

@@ -150,0 +152,0 @@ ? []

@@ -126,3 +126,2 @@ export enum DataResidencyEnum {

password?: string;
sendAppStartOnInit?: boolean;
useValidCachedSessionOnInit?: boolean;

@@ -129,0 +128,0 @@ createNewSessionAfterLastActivityMins?: number;

@@ -65,3 +65,3 @@ import { v4 as uuid } from 'uuid';

if (!isAfterMins) {
return { sessionId, sessionCreated };
return { sessionId, sessionCreated, isFromCache: true };
}

@@ -75,3 +75,3 @@ }

return { sessionId, sessionCreated };
return { sessionId, sessionCreated, isFromCache: false };
};

@@ -78,0 +78,0 @@

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