Socket
Socket
Sign inDemoInstall

@netrunner/registry-log

Package Overview
Dependencies
3
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.8 to 1.0.9

lib/EntryWriter.d.ts

5

package.json
{
"name": "@netrunner/registry-log",
"version": "1.0.8",
"version": "1.0.9",
"description": "Domain registry log based on hypercore and protobuf",

@@ -12,3 +12,4 @@ "main": "lib/index.js",

"pbf": "pbfts . src/pbf schema.proto",
"test": "node test/test"
"test": "node test/test",
"example": "node lib/example"
},

@@ -15,0 +16,0 @@ "repository": {

9

README.md

@@ -12,8 +12,6 @@ # registry-log

```typescript
const ram = require("random-access-memory");
const { registryLog } = require("@netrunner/registry-log");
const ram = require("random-access-memory");
const feed = registryLog(filename => {
return ram(Buffer.from(filename, "utf8"));
});
const feed = registryLog(filename => ram(filename));

@@ -24,3 +22,3 @@ feed.ready(() => {

sig: Buffer.from("fake sig"),
time: Date.now(),
created: Date.now(),
name: "google",

@@ -33,3 +31,2 @@ target: "http://www.google.com"

console.log(entry);
// => {key: ..., sig: ..., time: ..., name: ..., target: ...}
});

@@ -36,0 +33,0 @@ });

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc