Comparing version 2.0.0 to 2.0.1
@@ -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 {}; |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26543