nucypher-experimental-taco-storage
Version:
TypeScript SDK for encrypted data storage with TACo (Threshold Access Control), supporting multiple storage providers including IPFS and SQLite
10 lines • 429 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.unixfs = void 0;
// Mock for @helia/unixfs module
const cid_1 = require("../multiformats/cid");
exports.unixfs = jest.fn().mockReturnValue({
addBytes: jest.fn().mockResolvedValue(new cid_1.CID(0x55, new Uint8Array([1, 2, 3]), 1)),
cat: jest.fn().mockResolvedValue(new Uint8Array([1, 2, 3, 4, 5])),
});
//# sourceMappingURL=unixfs.js.map