Socket
Socket
Sign inDemoInstall

@giosg/types

Package Overview
Dependencies
Maintainers
19
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@giosg/types - npm Package Compare versions

Comparing version 11.0.2 to 12.0.0

3

CHANGELOG.md

@@ -7,2 +7,5 @@ # Changelog

## 12.0.0
- Added types for new shopping cart event messages. Moved "shoppingcart_locked" to CHAT_DATA_MESSAGE_TYPES.
## 11.0.2

@@ -9,0 +12,0 @@ - Added types for new "CSS Selector (JS)" rule condition.

4

lib/cjs/types.d.ts

@@ -211,5 +211,5 @@ export type ApplicationUid = string & {

export type ExperimentGroupType = (typeof EXPERIMENT_GROUP_TYPES)[number];
export declare const CHAT_STATUS_MESSAGE_TYPES: readonly ["join", "leave", "shoppingcart_locked", "action", "call_ended"];
export declare const CHAT_STATUS_MESSAGE_TYPES: readonly ["join", "leave", "action", "call_ended"];
export type ChatStatusMessageType = (typeof CHAT_STATUS_MESSAGE_TYPES)[number];
export declare const CHAT_DATA_MESSAGE_TYPES: readonly ["msg", "autosuggest", "system", "interaction_submit", "call_request", "tag_created", "tag_deleted"];
export declare const CHAT_DATA_MESSAGE_TYPES: readonly ["msg", "autosuggest", "system", "interaction_submit", "call_request", "tag_created", "tag_deleted", "shoppingcart_locked", "shoppingcart_item_added", "shoppingcart_item_removed"];
export type ChatDataMessageType = (typeof CHAT_DATA_MESSAGE_TYPES)[number];

@@ -216,0 +216,0 @@ export type ChatMessageType = ChatStatusMessageType | ChatDataMessageType;

@@ -15,9 +15,3 @@ "use strict";

];
exports.CHAT_STATUS_MESSAGE_TYPES = [
"join",
"leave",
"shoppingcart_locked",
"action",
"call_ended",
];
exports.CHAT_STATUS_MESSAGE_TYPES = ["join", "leave", "action", "call_ended"];
exports.CHAT_DATA_MESSAGE_TYPES = [

@@ -31,3 +25,6 @@ "msg",

"tag_deleted",
"shoppingcart_locked",
"shoppingcart_item_added",
"shoppingcart_item_removed",
];
exports.USER_PERMISSION_SCOPES = ["settings", "reports", "users"];

@@ -211,5 +211,5 @@ export type ApplicationUid = string & {

export type ExperimentGroupType = (typeof EXPERIMENT_GROUP_TYPES)[number];
export declare const CHAT_STATUS_MESSAGE_TYPES: readonly ["join", "leave", "shoppingcart_locked", "action", "call_ended"];
export declare const CHAT_STATUS_MESSAGE_TYPES: readonly ["join", "leave", "action", "call_ended"];
export type ChatStatusMessageType = (typeof CHAT_STATUS_MESSAGE_TYPES)[number];
export declare const CHAT_DATA_MESSAGE_TYPES: readonly ["msg", "autosuggest", "system", "interaction_submit", "call_request", "tag_created", "tag_deleted"];
export declare const CHAT_DATA_MESSAGE_TYPES: readonly ["msg", "autosuggest", "system", "interaction_submit", "call_request", "tag_created", "tag_deleted", "shoppingcart_locked", "shoppingcart_item_added", "shoppingcart_item_removed"];
export type ChatDataMessageType = (typeof CHAT_DATA_MESSAGE_TYPES)[number];

@@ -216,0 +216,0 @@ export type ChatMessageType = ChatStatusMessageType | ChatDataMessageType;

@@ -12,9 +12,3 @@ // Types

];
export const CHAT_STATUS_MESSAGE_TYPES = [
"join",
"leave",
"shoppingcart_locked",
"action",
"call_ended",
];
export const CHAT_STATUS_MESSAGE_TYPES = ["join", "leave", "action", "call_ended"];
export const CHAT_DATA_MESSAGE_TYPES = [

@@ -28,3 +22,6 @@ "msg",

"tag_deleted",
"shoppingcart_locked",
"shoppingcart_item_added",
"shoppingcart_item_removed",
];
export const USER_PERMISSION_SCOPES = ["settings", "reports", "users"];
{
"name": "@giosg/types",
"version": "11.0.2",
"version": "12.0.0",
"description": "TypeScript interfaces for GiosgAPI",

@@ -5,0 +5,0 @@ "main": "lib/cjs/index.js",

Sorry, the diff of this file is not supported yet

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