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

@heathmont/ih-ngiw

Package Overview
Dependencies
Maintainers
54
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@heathmont/ih-ngiw - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

5

example/index.js
const Ngiw = require("../index");
const path = require("path");

@@ -22,4 +23,4 @@ const { RS_ERROR_USER_DISABLED } = Ngiw.STATUS_CODES;

port: 3000,
publicKey: "priv/demo_pub.pem",
privateKey: "priv/demo_priv.pem"
publicKey: path.resolve(__dirname, "priv/demo_pub.pem"),
privateKey: path.resolve(__dirname, "priv/demo_priv.pem")
});

@@ -26,0 +27,0 @@

3

index.js
const express = require("express");
const fs = require("fs");
const path = require("path");
const HmCrypto = require("hm-crypto-nodejs");
const readPem = filename => {
return fs.readFileSync(path.resolve(__dirname, filename)).toString("ascii");
return fs.readFileSync(filename).toString("ascii");
};

@@ -9,0 +8,0 @@

{
"name": "@heathmont/ih-ngiw",
"version": "1.0.0",
"version": "1.0.1",
"description": "Hub88 Next Generation Integration Wrapper",

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

@@ -24,6 +24,8 @@ # ih-ngiw

```
const path = require("path");
const w = new Ngiw({
port: 3000,
publicKey: "priv/demo_pub.pem",
privateKey: "priv/demo_priv.pem"
publicKey: path.resolve(__dirname, "priv/demo_pub.pem"),
privateKey: path.resolve(__dirname, "priv/demo_priv.pem")
});

@@ -30,0 +32,0 @@ ```

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