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

@ipld/dag-ucan

Package Overview
Dependencies
Maintainers
8
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ipld/dag-ucan - npm Package Compare versions

Comparing version 1.1.0-beta to 1.1.1-beta

6

dist/src/ucan.d.ts

@@ -9,7 +9,7 @@ import type { MultihashDigest, MultihashHasher } from "multiformats/hashes/interface";

export declare type Fact = Record<string, unknown>;
export interface Issuer<A extends number = number> extends Signer<A> {
export interface Agent {
did(): DID;
}
export interface Audience {
did(): DID;
export declare type Audience = Agent;
export interface Issuer<A extends number = number> extends Signer<A>, Agent {
}

@@ -16,0 +16,0 @@ export declare type Version = `${number}.${number}.${number}`;

{
"name": "@ipld/dag-ucan",
"description": "UCAN codec for IPLD",
"version": "1.1.0-beta",
"version": "1.1.1-beta",
"keywords": [

@@ -6,0 +6,0 @@ "UCAN",

@@ -80,2 +80,4 @@ import * as UCAN from "./ucan.js"

data.body.facts = data.body.facts || []
data.body.nonce = data.body.nonce || undefined
data.body.notBefore = data.body.notBefore || undefined
return View.cbor(data)

@@ -82,0 +84,0 @@ } catch (error) {

@@ -16,9 +16,8 @@ import type {

export interface Issuer<A extends number = number> extends Signer<A> {
export interface Agent {
did(): DID
}
export interface Audience {
did(): DID
}
export type Audience = Agent
export interface Issuer<A extends number = number> extends Signer<A>, Agent {}

@@ -25,0 +24,0 @@ export type Version = `${number}.${number}.${number}`

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