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

num-client

Package Overview
Dependencies
Maintainers
1
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

num-client - npm Package Compare versions

Comparing version 1.0.19 to 1.0.20

3

dist/dnsclient.js

@@ -141,3 +141,4 @@ "use strict";

else {
throw new Error('Domain was resolved but no records were found');
loglevel_1.default.warn('Domain was resolved but no records were found');
return [2, []];
}

@@ -144,0 +145,0 @@ }

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var loglevel_1 = __importDefault(require("loglevel"));
var _1 = require(".");
var client_1 = require("./client");
var lookupgenerators_1 = require("./lookupgenerators");
lookupgenerators_1.setenvDomainLookups('test');
var numUri = _1.parseNumUri('num://aviva.co.uk:1/homeinsurance');
var lug = lookupgenerators_1.createDomainLookupGenerator(numUri);
console.log(lug.getHostedLocation(_1.MODULE_1));
var numUri = _1.parseNumUri('num://aviva.co.uk:1');
var client = client_1.createClient();
loglevel_1.default.setLevel('debug');
var ctx = client.createContext(numUri);
client.retrieveNumRecord(ctx).then(function (result) {
loglevel_1.default.info(result);
}, function (err) {
loglevel_1.default.error(err);
});
//# sourceMappingURL=scratch.js.map
{
"name": "num-client",
"version": "1.0.19",
"version": "1.0.20",
"description": "A NUM Protocol Client in TypeScript",

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

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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