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

@0xcert/merkle

Package Overview
Dependencies
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xcert/merkle - npm Package Compare versions

Comparing version 2.0.0-alpha9 to 2.0.0-beta

.nyc_output/1bd6647c-f53a-42be-b540-8407e8a4c66d.json

2

.nyc_output/processinfo/index.json

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

{"processes":{"1806c20d-05f7-4414-bec6-1cfaf8df555d":{"parent":null,"children":[]}},"files":{"/Users/xpepermint/Work/0xcert/repositories/framework/packages/0xcert-merkle/src/index.ts":["1806c20d-05f7-4414-bec6-1cfaf8df555d"],"/Users/xpepermint/Work/0xcert/repositories/framework/packages/0xcert-merkle/src/core/merkle.ts":["1806c20d-05f7-4414-bec6-1cfaf8df555d"]},"externalIds":{}}
{"processes":{"1bd6647c-f53a-42be-b540-8407e8a4c66d":{"parent":null,"children":[]}},"files":{"/Users/xpepermint/Work/0xcert/repositories/framework/packages/0xcert-merkle/src/index.ts":["1bd6647c-f53a-42be-b540-8407e8a4c66d"],"/Users/xpepermint/Work/0xcert/repositories/framework/packages/0xcert-merkle/src/core/merkle.ts":["1bd6647c-f53a-42be-b540-8407e8a4c66d"]},"externalIds":{}}
{
"files": {
"packages/0xcert-merkle/CHANGELOG.json": "d6d389f16789a99f81f6a9ab51ed68c2b3a6ac27",
"packages/0xcert-merkle/CHANGELOG.md": "8a81faf9c6d3d047c2a2e9a6b34542bf95be239d",
"packages/0xcert-merkle/README.md": "0a92b4eb7eeb4f5dad091ea3011808ede4f9c4fe",
"packages/0xcert-merkle/CHANGELOG.json": "80be4d61b942de72eed1c5ed85dc0d88c8e047e9",
"packages/0xcert-merkle/CHANGELOG.md": "0ca81ebdd758079a7426dd6ed47130046703629e",
"packages/0xcert-merkle/README.md": "b9f00d293150daaed130c3535945749545e97aae",
"packages/0xcert-merkle/nodemon.json": "82b893373db9861f1df4b55d8ea68a5d37b118de",
"packages/0xcert-merkle/package.json": "e1336b66e299f8a8a6ac628205b044e37bab4461",
"packages/0xcert-merkle/src/core/merkle.ts": "4e4fc9d36362bec4cac3fcfac127fad33d29d64f",
"packages/0xcert-merkle/package.json": "b6a5c2f8f85817e51fabc10c50fa4d2a0817ba1d",
"packages/0xcert-merkle/src/core/merkle.ts": "3d390524f4aa71075a5548d3435fff80b9e629ee",
"packages/0xcert-merkle/src/index.ts": "d6e89de6faec0b508d09239bf458d7a8a26e4775",

@@ -16,5 +16,5 @@ "packages/0xcert-merkle/src/tests/core/merkle/disclose-instance-method.test.ts": "4f9fe070ed173289d3d9b7a0a4bbe33c38a53888",

"packages/0xcert-merkle/tslint.json": "c57b3f0cdb7aa74ab2ab02888380f613589cbe66",
"common/config/rush/npm-shrinkwrap.json": "ae6833e86a7863ce7a5d9c35b3af33dc1bd3b853"
"common/config/rush/npm-shrinkwrap.json": "e8ff2b167f47ecf7aaa85f1a9fad20693837e67e"
},
"arguments": "npm run clean && npx tsc "
}
{
"files": {
"packages/0xcert-merkle/CHANGELOG.json": "d6d389f16789a99f81f6a9ab51ed68c2b3a6ac27",
"packages/0xcert-merkle/CHANGELOG.md": "8a81faf9c6d3d047c2a2e9a6b34542bf95be239d",
"packages/0xcert-merkle/README.md": "0a92b4eb7eeb4f5dad091ea3011808ede4f9c4fe",
"packages/0xcert-merkle/CHANGELOG.json": "80be4d61b942de72eed1c5ed85dc0d88c8e047e9",
"packages/0xcert-merkle/CHANGELOG.md": "0ca81ebdd758079a7426dd6ed47130046703629e",
"packages/0xcert-merkle/README.md": "b9f00d293150daaed130c3535945749545e97aae",
"packages/0xcert-merkle/nodemon.json": "82b893373db9861f1df4b55d8ea68a5d37b118de",
"packages/0xcert-merkle/package.json": "e1336b66e299f8a8a6ac628205b044e37bab4461",
"packages/0xcert-merkle/src/core/merkle.ts": "4e4fc9d36362bec4cac3fcfac127fad33d29d64f",
"packages/0xcert-merkle/package.json": "b6a5c2f8f85817e51fabc10c50fa4d2a0817ba1d",
"packages/0xcert-merkle/src/core/merkle.ts": "3d390524f4aa71075a5548d3435fff80b9e629ee",
"packages/0xcert-merkle/src/index.ts": "d6e89de6faec0b508d09239bf458d7a8a26e4775",

@@ -16,5 +16,5 @@ "packages/0xcert-merkle/src/tests/core/merkle/disclose-instance-method.test.ts": "4f9fe070ed173289d3d9b7a0a4bbe33c38a53888",

"packages/0xcert-merkle/tslint.json": "c57b3f0cdb7aa74ab2ab02888380f613589cbe66",
"common/config/rush/npm-shrinkwrap.json": "ae6833e86a7863ce7a5d9c35b3af33dc1bd3b853"
"common/config/rush/npm-shrinkwrap.json": "e8ff2b167f47ecf7aaa85f1a9fad20693837e67e"
},
"arguments": "npm run lint && npx nyc npx hayspec test "
}

@@ -5,4 +5,4 @@ {

{
"version": "2.0.0-alpha9",
"tag": "@0xcert/merkle_v2.0.0-alpha9",
"version": "2.0.0-beta",
"tag": "@0xcert/merkle_v2.0.0-beta",
"date": "Wed, 19 Jun 2019 10:31:05 GMT",

@@ -9,0 +9,0 @@ "comments": {}

# Change Log - @0xcert/merkle
This log was last generated on Wed, 19 Jun 2019 10:31:05 GMT and should not be manually modified.
This log was last generated on Sun, 01 Sep 2019 16:02:20 GMT and should not be manually modified.
## 2.0.0-alpha9
## 1.9.0
Sun, 01 Sep 2019 16:02:20 GMT
*Version update only*
## 1.8.1
Sun, 01 Sep 2019 15:46:11 GMT
*Version update only*
## 1.8.0
Tue, 30 Jul 2019 10:46:40 GMT
*Version update only*
## 2.0.0-beta
Wed, 19 Jun 2019 10:31:05 GMT

@@ -7,0 +22,0 @@

{
"name": "@0xcert/merkle",
"version": "2.0.0-alpha9",
"version": "2.0.0-beta",
"description": "Implementation of basic functions of binary Merkle tree.",

@@ -67,3 +67,3 @@ "main": "./dist/index.js",

"devDependencies": {
"@0xcert/utils": "2.0.0-alpha9",
"@0xcert/utils": "2.0.0-beta",
"@hayspec/cli": "0.9.0",

@@ -70,0 +70,0 @@ "@hayspec/spec": "0.9.0",

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

<img src="https://github.com/0xcert/framework/raw/master/assets/cover-sub.png" />
<img src="../../assets/cover-sub.png" />
> Implementation of basic functions of binary Merkle tree.
> Implementation of basic functions of a binary Merkle tree.

@@ -24,3 +24,3 @@ This module handles binary trees like this (v = value, n = node, r = nonce):

A user defines an array of values where these values are hashed into an `imprint`, which is a merkle root tree hash. A user can expose selected values to a third-party by providing the evidence file which includes a recipe of `values` and `nodes`. This file holds enough information for a third-party to recreate the imprint.
A user defines an array of values where these values are hashed into an `imprint`, which is a Merkle root tree hash. A user can expose selected values to a third-party by providing the evidence file which includes a recipe of `values` and `nodes`. This file holds enough information for a third-party to recreate the imprint.

@@ -27,0 +27,0 @@ ```js

@@ -127,3 +127,3 @@ /**

* complete recipe (returned by the notarize function) then deletes nodes and
* values that are not needed to recalculate the merkle root (imprint).
* values that are not needed to recalculate the Merkle root (imprint).
* @param recipe A complete data recipe.

@@ -155,3 +155,3 @@ * @param expose Value indexes to expose.

/**
* Returns the root merkle tree hash built from the provided recipe object.
* Returns the root Merkle tree hash built from the provided recipe object.
* @param recipe Recipe object with nodes and values.

@@ -158,0 +158,0 @@ */

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