filecoin-pin
Version:
Bridge IPFS content to Filecoin Onchain Cloud using familiar tools
15 lines • 811 B
JavaScript
/**
* High-level API for filecoin-pin
*
* This file exports the most common functions and types for interacting with the filecoin-pin library in Node.js.
* For more advanced use cases, you can import from the granular `./core/*` modules.
*/
import { createCarFromPath as createCarFromPathCore } from './core/unixfs/car-builder.js';
import * as browser from './index.browser.js';
export * from './index-types.js';
const publicApi = {
...browser,
createCarFromPath: createCarFromPathCore,
};
export const { getDataSetPieces, getDetailedDataSet, listDataSets, getPaymentStatus, setMaxAllowances, validatePaymentCapacity, cleanupSynapseService, setupSynapse, createCarFromFile, createCarFromFiles, createCarFromPath, checkUploadReadiness, executeUpload, } = publicApi;
//# sourceMappingURL=index.js.map