UNPKG

nucypher-experimental-taco-storage

Version:

TypeScript SDK for encrypted data storage with TACo (Threshold Access Control), supporting multiple storage providers including IPFS and SQLite

28 lines 860 B
"use strict"; // Mock for helia module Object.defineProperty(exports, "__esModule", { value: true }); exports.createHelia = void 0; exports.createHelia = jest.fn().mockResolvedValue({ start: jest.fn().mockResolvedValue(undefined), stop: jest.fn().mockResolvedValue(undefined), libp2p: { peerId: { toString: () => 'mock-peer-id' }, getConnections: () => [], status: 'started', services: { identify: { host: { protocolVersion: '1.0.0' } } } }, blockstore: { has: jest.fn().mockResolvedValue(false), get: jest.fn(), put: jest.fn(), delete: jest.fn() }, pins: { add: jest.fn().mockResolvedValue(undefined), rm: jest.fn().mockResolvedValue(undefined), ls: jest.fn().mockReturnValue([]) } }); //# sourceMappingURL=helia.js.map