UNPKG

nft.storage

Version:

A client library for the https://nft.storage/ service. It provides a convenient interface for working with the HTTP API from a web browser or Node.js

1 lines 925 B
{"version":3,"file":"platform.web.cjs","sources":["../../src/platform.web.js"],"sourcesContent":["import { MemoryBlockStore } from 'ipfs-car/blockstore/memory'\n\nexport const fetch = globalThis.fetch\nexport const FormData = globalThis.FormData\nexport const Headers = globalThis.Headers\nexport const Request = globalThis.Request\nexport const Response = globalThis.Response\nexport const Blob = globalThis.Blob\nexport const File = globalThis.File\nexport const ReadableStream = globalThis.ReadableStream\nexport const Blockstore = MemoryBlockStore\n"],"names":["MemoryBlockStore"],"mappings":";;;;;;AAEY,MAAC,KAAK,GAAG,UAAU,CAAC,MAAK;AACzB,MAAC,QAAQ,GAAG,UAAU,CAAC,SAAQ;AAC/B,MAAC,OAAO,GAAG,UAAU,CAAC,QAAO;AAC7B,MAAC,OAAO,GAAG,UAAU,CAAC,QAAO;AAC7B,MAAC,QAAQ,GAAG,UAAU,CAAC,SAAQ;AAC/B,MAAC,IAAI,GAAG,UAAU,CAAC,KAAI;AACvB,MAAC,IAAI,GAAG,UAAU,CAAC,KAAI;AACvB,MAAC,cAAc,GAAG,UAAU,CAAC,eAAc;AAC3C,MAAC,UAAU,GAAGA;;;;;;;;;;;;"}