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

libskynet

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libskynet - npm Package Compare versions

Comparing version 0.0.40 to 0.0.41

2

dist/index.d.ts

@@ -15,3 +15,3 @@ export { blake2b } from "./blake2b.js";

export { verifyRegistryReadResponse } from "./registryverify.js";
export { deriveChildSeed, deriveMyskyRoot, generateSeedPhraseDeterministic, seedPhraseToSeed, validSeedPhrase, } from "./seed.js";
export { deriveChildSeed, deriveMyskyRootKeypair, generateSeedPhraseDeterministic, seedPhraseToSeed, validSeedPhrase, } from "./seed.js";
export { sha512 } from "./sha512.js";

@@ -18,0 +18,0 @@ export { parseSkylinkBitfield, skylinkV1Bitfield } from "./skylinkbitfield.js";

@@ -15,3 +15,3 @@ export { blake2b } from "./blake2b.js";

export { verifyRegistryReadResponse } from "./registryverify.js";
export { deriveChildSeed, deriveMyskyRoot, generateSeedPhraseDeterministic, seedPhraseToSeed, validSeedPhrase, } from "./seed.js";
export { deriveChildSeed, deriveMyskyRootKeypair, generateSeedPhraseDeterministic, seedPhraseToSeed, validSeedPhrase, } from "./seed.js";
export { sha512 } from "./sha512.js";

@@ -18,0 +18,0 @@ export { parseSkylinkBitfield, skylinkV1Bitfield } from "./skylinkbitfield.js";

import { ed25519Keypair } from "./ed25519.js";
declare const SEED_BYTES = 16;
declare function deriveChildSeed(parentSeed: Uint8Array, derivationTag: string): Uint8Array;
declare function deriveMyskyRoot(userSeed: Uint8Array): ed25519Keypair;
declare function deriveMyskyRootKeypair(userSeed: Uint8Array): ed25519Keypair;
declare function generateSeedPhraseDeterministic(password: string): [string, string | null];

@@ -9,2 +9,2 @@ declare function seedToChecksumWords(seed: Uint8Array): [string, string, string | null];

declare function seedPhraseToSeed(seedPhrase: string): [Uint8Array, string | null];
export { deriveChildSeed, deriveMyskyRoot, generateSeedPhraseDeterministic, seedToChecksumWords, seedPhraseToSeed, validSeedPhrase, SEED_BYTES, };
export { deriveChildSeed, deriveMyskyRootKeypair, generateSeedPhraseDeterministic, seedToChecksumWords, seedPhraseToSeed, validSeedPhrase, SEED_BYTES, };

@@ -24,3 +24,3 @@ import { DICTIONARY_UNIQUE_PREFIX, dictionary } from "./dictionary.js";

// ecosystem. Compatibility cannot be broken here.
function deriveMyskyRoot(userSeed) {
function deriveMyskyRootKeypair(userSeed) {
let saltBytes = Uint8Array.from(Buffer.from("root discoverable key", "utf-8"));

@@ -168,2 +168,2 @@ let saltHash = sha512(saltBytes);

}
export { deriveChildSeed, deriveMyskyRoot, generateSeedPhraseDeterministic, seedToChecksumWords, seedPhraseToSeed, validSeedPhrase, SEED_BYTES, };
export { deriveChildSeed, deriveMyskyRootKeypair, generateSeedPhraseDeterministic, seedToChecksumWords, seedPhraseToSeed, validSeedPhrase, SEED_BYTES, };
{
"name": "libskynet",
"version": "0.0.40",
"version": "0.0.41",
"description": "helper library to interact with skynet's low level primitives",

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

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