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

metacom

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metacom - npm Package Compare versions

Comparing version 0.1.0-alpha.4 to 0.1.0-alpha.5

12

dist/metacom.js

@@ -0,1 +1,8 @@

class MetacomError extends Error {
constructor(message, code) {
super(message);
this.code = code;
}
}
export class Metacom {

@@ -17,5 +24,4 @@ constructor(url) {

if (packet.error) {
const { code, message } = packet.error;
const error = new Error(message);
error.code = code;
const { message, code } = packet.error;
const error = new MetacomError(message, code);
reject(error);

@@ -22,0 +28,0 @@ return;

{
"name": "metacom",
"version": "0.1.0-alpha.4",
"version": "0.1.0-alpha.5",
"author": "Timur Shemsedinov <timur.shemsedinov@gmail.com>",

@@ -5,0 +5,0 @@ "description": "Communication protocol for Metarhia stack with rpc, events, binary streams, memory and db access",

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