New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@animo-id/mdoc

Package Overview
Dependencies
Maintainers
0
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@animo-id/mdoc - npm Package Compare versions

Comparing version 0.2.40-alpha-20250129121858 to 0.3.0-alpha-20250130024713

LICENSE

16

dist/index.d.ts

@@ -754,2 +754,3 @@ import { JWK } from 'jose';

private sessionTranscriptBytes?;
private sessionTranscriptCallback?;
private useMac;

@@ -796,4 +797,5 @@ private devicePrivateKey?;

usingSessionTranscriptBytes(sessionTranscriptBytes: Uint8Array): DeviceResponse;
private usingSessionTranscriptCallback;
/**
* Set the session transcript data to use for the device response as defined in ISO/IEC 18013-7 in Annex B (OID4VP), 2023 draft.
* Set the session transcript data to use for the device response as defined in ISO/IEC 18013-7 in Annex B (OID4VP), 2024 draft.
*

@@ -815,2 +817,5 @@ * This should match the session transcript as it will be calculated by the verifier.

static calculateSessionTranscriptForOID4VP(input: {
context: {
crypto: MdocContext['crypto'];
};
mdocGeneratedNonce: string;

@@ -820,5 +825,5 @@ clientId: string;

verifierGeneratedNonce: string;
}): Uint8Array;
}): Promise<Uint8Array>;
/**
* Set the session transcript data to use for the device response as defined in ISO/IEC 18013-7 in Annex A (Web API), 2023 draft.
* Set the session transcript data to use for the device response as defined in ISO/IEC 18013-7 in Annex A (Web API), 2024 draft.
*

@@ -838,6 +843,9 @@ * This should match the session transcript as it will be calculated by the verifier.

static calculateSessionTranscriptForWebApi(input: {
context: {
crypto: MdocContext['crypto'];
};
deviceEngagementBytes: Uint8Array;
readerEngagementBytes: Uint8Array;
eReaderKeyBytes: Uint8Array;
}): Uint8Array;
}): Promise<Uint8Array>;
/**

@@ -844,0 +852,0 @@ * Add a namespace to the device response.

@@ -13,3 +13,3 @@ {

},
"version": "0.2.40-alpha-20250129121858",
"version": "0.3.0-alpha-20250130024713",
"files": [

@@ -16,0 +16,0 @@ "dist"

@@ -13,3 +13,3 @@ <p align="center">

This is a JavaScript library for Node.JS, browers and React Native to issue and verify mDL [CBOR encoded](https://cbor.io/) documents in accordance with **ISO 18013-7 (draft's date: 2023-08-02)**.
This is a JavaScript library for Node.JS, browers and React Native to issue and verify mDL [CBOR encoded](https://cbor.io/) documents in accordance with **ISO 18013-7 (draft's date: 2024-03-12)**.

@@ -53,3 +53,3 @@ <h4 align="center">Powered by &nbsp;

```javascript
import { Verifier } from "@auth0/mdl";
import { Verifier } from "@animo-id/mdoc";
import { inspect } from "node:util";

@@ -81,3 +81,3 @@ import fs from "node:fs";

```javascript
import { Verifier } from "@auth0/mdl";
import { Verifier } from "@animo-id/mdoc";
import { inspect } from "node:util";

@@ -112,3 +112,3 @@ import fs from "node:fs";

```js
import { MDoc, Document } from "@auth0/mdl";
import { MDoc, Document } from "@animo-id/mdoc";
import { inspect } from "node:util";

@@ -142,3 +142,3 @@

```js
import { DeviceResponse, MDoc } from "@auth0/mdl";
import { DeviceResponse, MDoc } from "@animo-id/mdoc";

@@ -145,0 +145,0 @@ (async () => {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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