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

rdfjs-di

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rdfjs-di - npm Package Compare versions

Comparing version 0.0.9 to 0.0.95

7

dist/index.js

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

for (let i = 1; i < chain.length; i++) {
const q = quad(chain[i].proofId, (0, proof_utils_1.sec_prefix)("previousProof"), chain[i - 1].proofId, chain[i].graph);
const q = quad(chain[i].proofId, proof_utils_1.sec_previousProof, chain[i - 1].proofId, chain[i].graph);
retval.add(q);

@@ -186,2 +186,7 @@ }

}
else if (q.predicate.equals(proof_utils_1.sec_previousProof)) {
// Per the cryptosuite specifications, the "previous proof" statement is not part of the "proof options", ie,
// should not be used for the generation of the final proof. It was not used to generate the proof graph when signing.
continue;
}
else if (q.graph.termType === "DefaultGraph") {

@@ -188,0 +193,0 @@ dataStore.add(q);

@@ -35,2 +35,3 @@ /**

export declare const xsd_datetime: rdf.NamedNode;
export declare const sec_previousProof: rdf.NamedNode;
/**

@@ -37,0 +38,0 @@ * Generate a (separate) proof graph, per the DI spec. The signature is stored in

3

dist/lib/proof_utils.js

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.verifyProofGraphs = exports.generateAProofGraph = exports.xsd_datetime = exports.sec_created = exports.sec_revoked = exports.sec_expires = exports.sec_verificationMethod = exports.sec_assertionMethod = exports.sec_authenticationMethod = exports.sec_proofPurpose = exports.sec_publicKeyMultibase = exports.sec_publicKeyJwk = exports.sec_proofValue = exports.sec_di_proof = exports.sec_proof = exports.rdf_json = exports.rdf_type = exports.xsd_prefix = exports.rdf_prefix = exports.sec_prefix = void 0;
exports.verifyProofGraphs = exports.generateAProofGraph = exports.sec_previousProof = exports.xsd_datetime = exports.sec_created = exports.sec_revoked = exports.sec_expires = exports.sec_verificationMethod = exports.sec_assertionMethod = exports.sec_authenticationMethod = exports.sec_proofPurpose = exports.sec_publicKeyMultibase = exports.sec_publicKeyJwk = exports.sec_proofValue = exports.sec_di_proof = exports.sec_proof = exports.rdf_json = exports.rdf_type = exports.xsd_prefix = exports.rdf_prefix = exports.sec_prefix = void 0;
const n3 = require("n3");

@@ -46,2 +46,3 @@ const uuid_1 = require("uuid");

exports.xsd_datetime = (0, exports.xsd_prefix)('dateTime');
exports.sec_previousProof = (0, exports.sec_prefix)("previousProof");
/**

@@ -48,0 +49,0 @@ * The proof option graph is the collection of all quads in a proof graph, except the proof

{
"name": "rdfjs-di",
"version": "0.0.9",
"date": "2024-06-12",
"version": "0.0.95",
"date": "2024-06-25",
"description": "Secure an RDF Dataset through VC's Data Integrity",

@@ -6,0 +6,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