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

iota-gateway

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iota-gateway - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

dist/index.d.ts

@@ -0,1 +1,3 @@

import { Packer } from './packer';
export declare const packer: Packer;
export { Gateway, Data } from './gateway';

@@ -2,0 +4,0 @@ export { Neighbor } from './neighbor';

7

dist/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const iota_tangle_1 = require("iota-tangle");
const packer_1 = require("./packer");
exports.packer = new packer_1.Packer({ factory: iota_tangle_1.factory });
var gateway_1 = require("./gateway");

@@ -9,3 +12,3 @@ exports.Gateway = gateway_1.Gateway;

exports.Transport = transport_1.Transport;
var packer_1 = require("./packer");
exports.Packer = packer_1.Packer;
var packer_2 = require("./packer");
exports.Packer = packer_2.Packer;
{
"name": "iota-gateway",
"version": "0.2.0",
"version": "0.2.1",
"description": "Network gateway for IOTA",

@@ -31,4 +31,6 @@ "main": "./dist/index.js",

"dependencies": {
"@types/crc": "^3.4.0",
"@types/node": "^9.3.0",
"iota-tangle": "0.0.6"
"crc": "^3.5.0",
"iota-tangle": "^0.1.0"
},

@@ -35,0 +37,0 @@ "devDependencies": {

@@ -119,3 +119,3 @@ import { Transaction, Hash } from 'iota-tangle'

transport.on("receive", onReceive = (data: Data, neighbor: Neighbor, address) => {
transport.on("receive", onReceive = (data: Data, neighbor: Neighbor, address: string) => {
this.emit("receive", data, address)

@@ -122,0 +122,0 @@ })

@@ -0,1 +1,6 @@

import { factory } from 'iota-tangle'
import { Packer } from './packer'
export const packer = new Packer({ factory })
export { Gateway, Data } from './gateway'

@@ -2,0 +7,0 @@ export { Neighbor } from './neighbor'

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