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

dag-jose

Package Overview
Dependencies
Maintainers
7
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dag-jose - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

5

lib/encryption.d.ts

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

interface JWERecipient {
export interface JWERecipient {
encrypted_key?: string;

@@ -14,3 +14,3 @@ header?: Record<string, any>;

}
interface EncodedRecipient {
export interface EncodedRecipient {
encrypted_key?: Uint8Array;

@@ -31,2 +31,1 @@ header?: Record<string, any>;

export declare function decode(encoded: EncodedJWE): DagJWE;
export {};

2

lib/index.d.ts
import type { DagJWS, EncodedJWS } from './signing.js';
import type { DagJWE, EncodedJWE } from './encryption.js';
import type { ByteView } from 'multiformats/codecs/interface';
export type { DagJWS, JWSSignature, EncodedJWS, EncodedSignature } from './signing.js';
export type { JWERecipient, DagJWE, EncodedRecipient, EncodedJWE } from './encryption.js';
export declare const name = "dag-jose";

@@ -5,0 +7,0 @@ export declare const code = 133;

import { CID } from 'multiformats/cid';
interface JWSSignature {
export interface JWSSignature {
header?: Record<string, any>;

@@ -12,3 +12,3 @@ protected?: string;

}
interface EncodedSignature {
export interface EncodedSignature {
header?: Record<string, any>;

@@ -32,2 +32,1 @@ protected?: Uint8Array;

export declare function decode(encoded: EncodedJWS): DagJWS;
export {};
{
"name": "dag-jose",
"version": "2.0.0",
"version": "2.0.1",
"description": "Typescript implementation of the IPLD dag-jose format",

@@ -45,7 +45,7 @@ "main": "./lib/index.js",

"@stablelib/x25519": "^1.0.1",
"@types/jest": "^27.4.1",
"@types/jest": "^28.1.3",
"@types/lodash.transform": "^4.6.6",
"@typescript-eslint/eslint-plugin": "^5.18.0",
"@typescript-eslint/parser": "^5.18.0",
"babel-jest": "^27.5.1",
"babel-jest": "^28.1.2",
"blockcodec-to-ipld-format": "^2.0.0",

@@ -59,3 +59,3 @@ "did-jwt": "^6.0.0",

"ipld-in-memory": "^8.0.0",
"jest": "^27.5.1",
"jest": "^28.1.2",
"prettier": "^2.3.0",

@@ -62,0 +62,0 @@ "typescript": "^4.3.2",

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