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

@ombori/grid-signals

Package Overview
Dependencies
Maintainers
18
Versions
127
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.158.0 to 2.159.0

11

CHANGELOG.md

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

# [2.159.0](https://github.com/ombori/gridapp/compare/v2.158.0...v2.159.0) (2022-01-17)
### Features
* add sendFeedback standard event ([cdbc3a8](https://github.com/ombori/gridapp/commit/cdbc3a88e4f776bb01d63716a98ac1c3f416bee8))
# [2.158.0](https://github.com/ombori/gridapp/compare/v2.157.1...v2.158.0) (2022-01-14)

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

9

dist/grid-signals.d.ts

@@ -154,4 +154,11 @@ import { TrackEvent, InitProps, Instance, IdentityTypeEnum } from './types';

rating: 1 | 2 | 3 | 4 | 5;
interactionDelay?: number | undefined;
comment?: string | undefined;
}) => Promise<any>;
/**
* User's comment of the experience
*/
sendFeedback: ({ sendFeedback, }: {
interactionDelay: number;
comment: string;
sendFeedback?: string | undefined;
}) => Promise<any>;

@@ -158,0 +165,0 @@ sendQrScan: () => Promise<any>;

@@ -429,2 +429,12 @@ "use strict";

};
/**
* User's comment of the experience
*/
this.sendFeedback = ({ sendFeedback, }) => {
return this.trackEvent({
eventType: types_1.EventTypeEnum.FEEDBACK,
interaction: true,
str1: sendFeedback,
});
};
this.sendQrScan = () => {

@@ -431,0 +441,0 @@ return this.trackEvent({

3

dist/types.d.ts

@@ -33,3 +33,4 @@ export declare enum DataResidencyEnum {

RATING = "RATING",
CART_CLEAR = "CART_CLEAR"
CART_CLEAR = "CART_CLEAR",
FEEDBACK = "FEEDBACK"
}

@@ -36,0 +37,0 @@ export declare enum IdentityTypeEnum {

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

EventTypeEnum["CART_CLEAR"] = "CART_CLEAR";
EventTypeEnum["FEEDBACK"] = "FEEDBACK";
})(EventTypeEnum = exports.EventTypeEnum || (exports.EventTypeEnum = {}));

@@ -42,0 +43,0 @@ var IdentityTypeEnum;

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

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

},
"gitHead": "0acee2973285a40c20bf972ec86d5400ebf4f07b"
"gitHead": "abcb321cf09ff96dfd6e0da36ac0ef9520df39a3"
}

@@ -605,4 +605,4 @@ import { v4 as uuid } from 'uuid';

rating: 1 | 2 | 3 | 4 | 5;
interactionDelay: number;
comment: string;
interactionDelay?: number;
comment?: string;
}) => {

@@ -618,2 +618,18 @@ return this.trackEvent({

/**
* User's comment of the experience
*/
public sendFeedback = ({
sendFeedback,
}: {
interactionDelay: number;
sendFeedback?: string;
}) => {
return this.trackEvent({
eventType: EventTypeEnum.FEEDBACK,
interaction: true,
str1: sendFeedback,
});
};
public sendQrScan = () => {

@@ -620,0 +636,0 @@ return this.trackEvent({

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

CART_CLEAR = 'CART_CLEAR',
FEEDBACK = 'FEEDBACK',
}

@@ -38,0 +39,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