@ipld/dag-pb
Advanced tools
Comparing version 4.0.2 to 4.0.3
@@ -16,4 +16,4 @@ /** | ||
/** | ||
* @typedef {import('./interface').PBLink} PBLink | ||
* @typedef {import('./interface').PBNode} PBNode | ||
* @typedef {import('./interface.js').PBLink} PBLink | ||
* @typedef {import('./interface.js').PBNode} PBNode | ||
*/ | ||
@@ -23,4 +23,4 @@ export const name: "dag-pb"; | ||
export type ByteView<T> = import('multiformats/codecs/interface').ByteView<T>; | ||
export type PBLink = import('./interface').PBLink; | ||
export type PBNode = import('./interface').PBNode; | ||
export type PBLink = import('./interface.js').PBLink; | ||
export type PBNode = import('./interface.js').PBNode; | ||
import { prepare } from "./util.js"; | ||
@@ -27,0 +27,0 @@ import { validate } from "./util.js"; |
@@ -6,4 +6,4 @@ /** | ||
export function decodeNode(bytes: Uint8Array): RawPBNode; | ||
export type RawPBLink = import('./interface').RawPBLink; | ||
export type RawPBNode = import('./interface').RawPBNode; | ||
export type RawPBLink = import('./interface.js').RawPBLink; | ||
export type RawPBNode = import('./interface.js').RawPBNode; | ||
//# sourceMappingURL=pb-decode.d.ts.map |
@@ -8,4 +8,4 @@ /** | ||
export function encodeNode(node: RawPBNode): Uint8Array; | ||
export type RawPBLink = import('./interface').RawPBLink; | ||
export type RawPBNode = import('./interface').RawPBNode; | ||
export type RawPBLink = import('./interface.js').RawPBLink; | ||
export type RawPBNode = import('./interface.js').RawPBNode; | ||
//# sourceMappingURL=pb-encode.d.ts.map |
@@ -15,3 +15,3 @@ /** | ||
*/ | ||
export function createNode(data: Uint8Array, links?: import("./interface").PBLink[] | undefined): PBNode; | ||
export function createNode(data: Uint8Array, links?: import("./interface.js").PBLink[] | undefined): PBNode; | ||
/** | ||
@@ -24,5 +24,5 @@ * @param {string} name | ||
export function createLink(name: string, size: number, cid: CID): PBLink; | ||
export type PBLink = import('./interface').PBLink; | ||
export type PBNode = import('./interface').PBNode; | ||
export type PBLink = import('./interface.js').PBLink; | ||
export type PBNode = import('./interface.js').PBNode; | ||
import { CID } from "multiformats/cid"; | ||
//# sourceMappingURL=util.d.ts.map |
{ | ||
"name": "@ipld/dag-pb", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"description": "JS implementation of DAG-PB", | ||
@@ -169,4 +169,4 @@ "author": "Rod <rod@vagg.org> (http://r.va.gg/)", | ||
"devDependencies": { | ||
"aegir": "^38.1.2" | ||
"aegir": "^39.0.5" | ||
} | ||
} |
@@ -12,4 +12,4 @@ import { CID } from 'multiformats/cid' | ||
/** | ||
* @typedef {import('./interface').PBLink} PBLink | ||
* @typedef {import('./interface').PBNode} PBNode | ||
* @typedef {import('./interface.js').PBLink} PBLink | ||
* @typedef {import('./interface.js').PBNode} PBNode | ||
*/ | ||
@@ -16,0 +16,0 @@ |
const textDecoder = new TextDecoder() | ||
/** | ||
* @typedef {import('./interface').RawPBLink} RawPBLink | ||
* @typedef {import('./interface.js').RawPBLink} RawPBLink | ||
*/ | ||
/** | ||
* @typedef {import('./interface').RawPBNode} RawPBNode | ||
* @typedef {import('./interface.js').RawPBNode} RawPBNode | ||
*/ | ||
@@ -10,0 +10,0 @@ |
@@ -6,7 +6,7 @@ const textEncoder = new TextEncoder() | ||
/** | ||
* @typedef {import('./interface').RawPBLink} RawPBLink | ||
* @typedef {import('./interface.js').RawPBLink} RawPBLink | ||
*/ | ||
/** | ||
* @typedef {import('./interface').RawPBNode} RawPBNode | ||
* @typedef {import('./interface.js').RawPBNode} RawPBNode | ||
*/ | ||
@@ -13,0 +13,0 @@ |
import { CID } from 'multiformats/cid' | ||
/** | ||
* @typedef {import('./interface').PBLink} PBLink | ||
* @typedef {import('./interface').PBNode} PBNode | ||
* @typedef {import('./interface.js').PBLink} PBLink | ||
* @typedef {import('./interface.js').PBNode} PBNode | ||
*/ | ||
@@ -7,0 +7,0 @@ |
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
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
52658