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

twilio-chat

Package Overview
Dependencies
Maintainers
2
Versions
367
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twilio-chat - npm Package Compare versions

Comparing version 3.3.3 to 3.3.4-rc1

2

browser/data/messages.js

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

if (!(mediaContent instanceof FormData)) {
if (!(typeof FormData !== 'undefined' && mediaContent instanceof FormData)) {
_context3.next = 11;

@@ -244,0 +244,0 @@ break;

@@ -301,3 +301,3 @@ /// <reference types="node" />

* @param {String | FormData | Channel#SendMediaOptions} message - The message body for text message,
* FormData or MediaOptions for media content
* FormData or MediaOptions for media content. Sending FormData supported only with browser engine
* @param {Object} messageAttributes - attributes for the message

@@ -304,0 +304,0 @@ * @returns {Promise<number|Error|SessionError>} new Message's index in the Channel's messages list

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

* @param {String | FormData | Channel#SendMediaOptions} message - The message body for text message,
* FormData or MediaOptions for media content
* FormData or MediaOptions for media content. Sending FormData supported only with browser engine
* @param {Object} messageAttributes - attributes for the message

@@ -611,0 +611,0 @@ * @returns {Promise<number|Error|SessionError>} new Message's index in the Channel's messages list

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

let media;
if (mediaContent instanceof FormData) {
if (typeof FormData !== 'undefined' && (mediaContent instanceof FormData)) {
log.debug('Sending media message as FormData', mediaContent, attributes);

@@ -109,0 +109,0 @@ media = await this.services.mcsClient.postFormData(mediaContent);

{
"name": "twilio-chat",
"version": "3.3.3",
"version": "3.3.4-rc1",
"description": "Twilio Chat service client library",

@@ -11,3 +11,3 @@ "main": "lib/index.js",

"dependencies": {
"twilio-mcs-client": "^0.3.1",
"twilio-mcs-client": "^0.3.3",
"twilio-notifications": "^0.5.8",

@@ -14,0 +14,0 @@ "twilio-sync": "^0.11.5",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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