UNPKG

@storacha/client

Version:

Client for the storacha.network w3up api

11 lines 425 B
/** * @param {Uint8Array} bytes */ export function toCAR(bytes: Uint8Array): Promise<Blob & { cid: import("multiformats/cid").Link<Partial<CAR.codec.Model>, import("@ipld/dag-ucan").MulticodecCode<514, "CAR">, number, 1>; roots: CID<any, 85, 18, 1>[]; bytes: Uint8Array<ArrayBufferLike>; }>; import * as CAR from '@ucanto/transport/car'; import { CID } from 'multiformats/cid'; //# sourceMappingURL=car.d.ts.map