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

twilio-mcs-client

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twilio-mcs-client - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

2

browser/services/network.js

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

if (!(media instanceof FormData) && contentType) {
if ((typeof FormData === 'undefined' || !(media instanceof FormData)) && contentType) {
(0, _assign2.default)(headers, {

@@ -156,0 +156,0 @@ 'Content-Type': contentType

@@ -8,6 +8,6 @@ declare class Configuration {

constructor(token: string, baseUrl: string, options: any);
static readonly backoffConfigDefault: any;
static readonly retryWhenThrottledDefault: boolean;
static get backoffConfigDefault(): any;
static get retryWhenThrottledDefault(): boolean;
updateToken(token: string): void;
}
export { Configuration };

@@ -18,9 +18,9 @@ import { Network } from './services/network';

constructor(config: Configuration, network: Network, data: any);
readonly sid: string;
readonly serviceSid: string;
readonly dateCreated: Date;
readonly dateUpdated: Date;
readonly contentType: string;
readonly size: number;
readonly fileName: string;
get sid(): string;
get serviceSid(): string;
get dateCreated(): Date;
get dateUpdated(): Date;
get contentType(): string;
get size(): number;
get fileName(): string;
/**

@@ -27,0 +27,0 @@ * Returns direct content URL to uploaded binary

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

};
if (!(media instanceof FormData) && contentType) {
if ((typeof FormData === 'undefined' || !(media instanceof FormData)) && contentType) {
Object.assign(headers, {

@@ -70,0 +70,0 @@ 'Content-Type': contentType

{
"name": "twilio-mcs-client",
"version": "0.3.1",
"version": "0.3.2",
"description": "Twilio Media Content Service client library",

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

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