UNPKG

@minespider/core-bundles

Version:

A high-level SDK for Minespider Core. It abstract the low-level features from the core SDK for a more high-level usage such as DAPPs. Some of the features are 1:1 with the SDK some others abstract some low-level interactions or multiple actions

16 lines (14 loc) 292 B
import { Blob } from "./Blob"; export class File extends Blob { constructor( readonly bits: number[], readonly name: string, readonly lastModified: number, readonly size: number, readonly type: string ) { super(Buffer.from(bits), { type: type }); } }