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

@cord-sdk/components

Package Overview
Dependencies
Maintainers
6
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cord-sdk/components - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

16

dist/cjs/index.js

@@ -19,2 +19,8 @@ 'use strict';

};
const InboxSharedAttributes = {
'show-settings': 'boolean',
};
const InboxSpecificAttributes = {
'show-close-button': 'boolean',
};
const componentAttributes = {

@@ -25,2 +31,3 @@ Collaboration: {

'show-close-button': 'boolean',
'show-inbox': 'boolean',
'show-presence': 'boolean',

@@ -67,2 +74,3 @@ 'show-all-activity': 'boolean',

'show-close-button': 'boolean',
'show-inbox': 'boolean',
'show-presence': 'boolean',

@@ -97,6 +105,6 @@ 'show-launcher': 'boolean',

'inbox-badge-style': 'badge-style',
'show-inbox-on-click': 'boolean',
...InboxSharedAttributes,
},
Inbox: {
'show-close-button': 'boolean',
},
Inbox: { ...InboxSharedAttributes, ...InboxSpecificAttributes },
};

@@ -110,3 +118,3 @@ const enumAttributeConverter = (possibleValues) => (value) => value === null

json: (value) => (value ? JSON.parse(value) : undefined),
boolean: (value) => value === 'true',
boolean: (value) => (value === null ? undefined : value === 'true'),
number: (value) => (value ? parseInt(value) : undefined),

@@ -113,0 +121,0 @@ string: (value) => value !== null && value !== void 0 ? value : undefined,

@@ -23,2 +23,3 @@ import type { BadgeStyle, JsonValue, Orientation } from '@cord-sdk/types';

readonly 'show-close-button': "boolean";
readonly 'show-inbox': "boolean";
readonly 'show-presence': "boolean";

@@ -65,2 +66,3 @@ readonly 'show-all-activity': "boolean";

readonly 'show-close-button': "boolean";
readonly 'show-inbox': "boolean";
readonly 'show-presence': "boolean";

@@ -92,8 +94,11 @@ readonly 'show-launcher': "boolean";

readonly InboxLauncher: {
readonly 'show-settings': "boolean";
readonly label: "string";
readonly 'icon-url': "string";
readonly 'inbox-badge-style': "badge-style";
readonly 'show-inbox-on-click': "boolean";
};
readonly Inbox: {
readonly 'show-close-button': "boolean";
readonly 'show-settings': "boolean";
};

@@ -100,0 +105,0 @@ };

@@ -15,2 +15,8 @@ const componentNames = {

};
const InboxSharedAttributes = {
'show-settings': 'boolean',
};
const InboxSpecificAttributes = {
'show-close-button': 'boolean',
};
const componentAttributes = {

@@ -21,2 +27,3 @@ Collaboration: {

'show-close-button': 'boolean',
'show-inbox': 'boolean',
'show-presence': 'boolean',

@@ -63,2 +70,3 @@ 'show-all-activity': 'boolean',

'show-close-button': 'boolean',
'show-inbox': 'boolean',
'show-presence': 'boolean',

@@ -93,6 +101,6 @@ 'show-launcher': 'boolean',

'inbox-badge-style': 'badge-style',
'show-inbox-on-click': 'boolean',
...InboxSharedAttributes,
},
Inbox: {
'show-close-button': 'boolean',
},
Inbox: { ...InboxSharedAttributes, ...InboxSpecificAttributes },
};

@@ -106,3 +114,3 @@ const enumAttributeConverter = (possibleValues) => (value) => value === null

json: (value) => (value ? JSON.parse(value) : undefined),
boolean: (value) => value === 'true',
boolean: (value) => (value === null ? undefined : value === 'true'),
number: (value) => (value ? parseInt(value) : undefined),

@@ -109,0 +117,0 @@ string: (value) => value !== null && value !== void 0 ? value : undefined,

{
"name": "@cord-sdk/components",
"description": "Structured information about the Cord web components",
"version": "0.0.13",
"version": "0.0.14",
"homepage": "https://docs.cord.com/",

@@ -22,3 +22,3 @@ "license": "MIT",

"dependencies": {
"@cord-sdk/types": "0.0.13"
"@cord-sdk/types": "0.0.14"
},

@@ -25,0 +25,0 @@ "devDependencies": {

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