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

twilio-sync

Package Overview
Dependencies
Maintainers
2
Versions
608
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twilio-sync - npm Package Compare versions

Comparing version 0.4.2-dev.5-build.202 to 0.4.2-dev.5-build.203

2

browser/subscriptions.js

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

logger_1.default.debug("Failed an attempt to " + action + " subscriptions (c:" + correlationId + "); retrying", _context.t2);
this.backoff.backoff(_context.t2);
this.persist();
}

@@ -396,0 +396,0 @@

@@ -37,5 +37,12 @@ "use strict";

this.args = new Array();
this.paths = new Array();
}
(0, _createClass3.default)(UriBuilder, [{
key: 'path',
value: function path(name) {
this.paths.push(name);
return this;
}
}, {
key: 'arg',

@@ -51,3 +58,10 @@ value: function arg(name, value) {

value: function build() {
return this.args.length === 0 ? this.base : this.base + '?' + this.args.join('&');
var result = this.base;
if (this.paths.length) {
result += '/' + this.paths.join('/');
}
if (this.args.length) {
result += '?' + this.args.join('&');
}
return result;
}

@@ -54,0 +68,0 @@ }]);

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

logger_1.default.debug(`Failed an attempt to ${action} subscriptions (c:${correlationId}); retrying`, e);
this.backoff.backoff(e);
this.persist();
}

@@ -143,0 +143,0 @@ }

@@ -14,3 +14,5 @@ /**

args: string[];
paths: string[];
constructor(base: string);
path(name: string): UriBuilder;
arg(name: string, value: any): UriBuilder;

@@ -17,0 +19,0 @@ build(): string;

@@ -19,3 +19,8 @@ "use strict";

this.args = new Array();
this.paths = new Array();
}
path(name) {
this.paths.push(name);
return this;
}
arg(name, value) {

@@ -29,5 +34,10 @@ if (typeof value !== 'undefined') {

build() {
return this.args.length === 0
? this.base
: this.base + '?' + this.args.join('&');
let result = this.base;
if (this.paths.length) {
result += '/' + this.paths.join('/');
}
if (this.args.length) {
result += '?' + this.args.join('&');
}
return result;
}

@@ -34,0 +44,0 @@ ;

{
"name": "twilio-sync",
"version": "0.4.2-dev.5-build.202",
"version": "0.4.2-dev.5-build.203",
"description": "Twilio Sync client library",

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

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 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