iota-gateway
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -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'; |
"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' |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50781
913
4
+ Added@types/crc@^3.4.0
+ Addedcrc@^3.5.0
+ Added@types/crc@3.8.3(transitive)
+ Addedbase64-js@1.5.1(transitive)
+ Addedbuffer@5.7.1(transitive)
+ Addedcrc@3.8.0(transitive)
+ Addedieee754@1.2.1(transitive)
+ Addediota-tangle@0.1.0(transitive)
- Removediota-tangle@0.0.6(transitive)
Updatediota-tangle@^0.1.0