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

@nats-io/nkeys

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nats-io/nkeys - npm Package Compare versions

Comparing version 1.2.0-8 to 2.0.0-1

8

deno.json
{
"name": "@nats-io/nkeys",
"version": "1.2.0-8",
"version": "2.0.0-1",
"exports": {

@@ -21,2 +21,8 @@ ".": "./src/mod.ts"

},
"lint": {
"exclude": ["lib/", "build/", "docs/"]
},
"fmt": {
"exclude": ["lib/", "build/", "docs/"]
},
"imports": {

@@ -23,0 +29,0 @@ "tweetnacl": "npm:tweetnacl@1.0.3"

2

lib/curve.d.ts

@@ -1,2 +0,2 @@

import { KeyPair } from "./nkeys";
import { type KeyPair } from "./nkeys";
export declare const curveKeyLen = 32;

@@ -3,0 +3,0 @@ export declare const curveNonceLen = 24;

@@ -1,2 +0,2 @@

import { KeyPair } from "./nkeys";
import { type KeyPair } from "./nkeys";
/**

@@ -3,0 +3,0 @@ * @ignore

@@ -1,2 +0,2 @@

import { KeyPair } from "./nkeys";
import { type KeyPair } from "./nkeys";
/**

@@ -3,0 +3,0 @@ * @ignore

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

export declare const version = "1.2.0-8";
export declare const version = "2.0.0-1";

@@ -5,3 +5,3 @@ "use strict";

// this file is autogenerated - do not edit
exports.version = "1.2.0-8";
exports.version = "2.0.0-1";
//# sourceMappingURL=version.js.map
{
"name": "@nats-io/nkeys",
"version": "1.2.0-8",
"version": "2.0.0-1",
"description": "A public-key signature system based on Ed25519 for the NATS ecosystem in javascript",

@@ -10,5 +10,6 @@ "main": "lib/mod.js",

"clean": "rm -Rf build/ lib/ nkeys.d.ts nkeys.mjs ./coverage",
"real-clean": "npm run clean && rm -Rf node_modules",
"fmt": "deno fmt src/ examples/ modules/ test/ node_test/",
"cjs": "deno run --allow-all bin/cjs-fix-imports.ts -o build/ src/ node_test/",
"generate": "deno run -A bin/generate_version.ts",
"generate": "deno run -A bin/generate_version.ts && deno fmt",
"stage": "npm run init && npm run generate && npm run cjs && tsc",

@@ -41,6 +42,6 @@ "prepare": "npm run clean && npm run stage && npm run generate",

"devDependencies": {
"@types/node": "^22.5.2",
"typedoc": "^0.26.6",
"typescript": "^5.5.4"
"@types/node": "^22.9.0",
"typedoc": "^0.26.11",
"typescript": "^5.6.3"
}
}

@@ -7,8 +7,13 @@ # nkeys.js

[![license](https://img.shields.io/github/license/nats-io/ts-nats.svg)](https://www.apache.org/licenses/LICENSE-2.0)
[![nkeys.js](https://github.com/aricart/nkeys.js/workflows/nkeys.js/badge.svg)](https://github.com/aricart/nkeys.js/actions)
[![nkeys.js](https://github.com/nats-io/nkeys.js/workflows/nkeys.js/badge.svg)](https://github.com/nats-io/nkeys.js/actions)
[![npm](https://img.shields.io/npm/v/nkeys.js.svg)](https://www.npmjs.com/package/nkeys.js)
[![npm](https://img.shields.io/npm/dt/nkeys.js.svg)](https://www.npmjs.com/package/nkeys.js)
[![npm](https://img.shields.io/npm/dm/nkeys.js.svg)](https://www.npmjs.com/package/nkeys.js)
[![npm @nats-io/nkeys](https://img.shields.io/npm/v/%40nats-io%2Fnkeys)](https://www.npmjs.com/package/@nats-io/nkeys)
[![npm](https://img.shields.io/npm/dm/%40nats-io%2Fnkeys)](https://www.npmjs.com/package/@nats-io/nkeys)
The nkeys.js library works in Deno, Node.js, and the browser!
With the 2.0.0 release, the libraries changed npm `nkeys.js` to
`@nats-io/nkeys`.
The nkeys.js library works in Deno, Node.js, Bun, and the browser!
## Installation

@@ -20,4 +25,2 @@

In Deno:
```bash

@@ -24,0 +27,0 @@ deno add @nats-io/nkeys

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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