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

@dwmt/comlink

Package Overview
Dependencies
Maintainers
2
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dwmt/comlink - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

16

dist/Comlink.esm.js

@@ -391,2 +391,3 @@ import Cookies from 'js-cookie';

this._channels[chn.name] = chn;
console.log(this._channels, chn);
}

@@ -459,2 +460,4 @@

_this3.checkDefaultHTTPChannel();
var channelName = options.channel || _this3._deafultHTTPChannel;

@@ -495,2 +498,9 @@ var channel = _this3._channels[channelName];

}, {
key: "checkDefaultHTTPChannel",
value: function checkDefaultHTTPChannel() {
if (!this._deafultHTTPChannel) {
throw new Error('[Comlink] No default HTTP channel');
}
}
}, {
key: "post",

@@ -503,2 +513,4 @@ value: function post(URI, data) {

_this5.checkDefaultHTTPChannel();
var channelName = options.channel || _this5._deafultHTTPChannel;

@@ -546,2 +558,4 @@ var channel = _this5._channels[channelName];

_this7.checkDefaultHTTPChannel();
var channelName = options.channel || _this7._deafultHTTPChannel;

@@ -589,2 +603,4 @@ var channel = _this7._channels[channelName];

_this9.checkDefaultHTTPChannel();
var channelName = options.channel || _this9._deafultHTTPChannel;

@@ -591,0 +607,0 @@ var channel = _this9._channels[channelName];

@@ -395,2 +395,3 @@ 'use strict';

this._channels[chn.name] = chn;
console.log(this._channels, chn);
}

@@ -463,2 +464,4 @@

_this3.checkDefaultHTTPChannel();
var channelName = options.channel || _this3._deafultHTTPChannel;

@@ -499,2 +502,9 @@ var channel = _this3._channels[channelName];

}, {
key: "checkDefaultHTTPChannel",
value: function checkDefaultHTTPChannel() {
if (!this._deafultHTTPChannel) {
throw new Error('[Comlink] No default HTTP channel');
}
}
}, {
key: "post",

@@ -507,2 +517,4 @@ value: function post(URI, data) {

_this5.checkDefaultHTTPChannel();
var channelName = options.channel || _this5._deafultHTTPChannel;

@@ -550,2 +562,4 @@ var channel = _this5._channels[channelName];

_this7.checkDefaultHTTPChannel();
var channelName = options.channel || _this7._deafultHTTPChannel;

@@ -593,2 +607,4 @@ var channel = _this7._channels[channelName];

_this9.checkDefaultHTTPChannel();
var channelName = options.channel || _this9._deafultHTTPChannel;

@@ -595,0 +611,0 @@ var channel = _this9._channels[channelName];

2

package.json
{
"name": "@dwmt/comlink",
"version": "1.0.7",
"version": "1.0.8",
"description": "Communication library for lazy enthusiasts",

@@ -5,0 +5,0 @@ "main": "dist/Comlink.js",

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