Closed vmx closed 3 years ago
Default exports don't work well with CommonJS and TypeScript. Hence replace the default export with an object export.
BREAKING CHANGE: import of dag-cbor changed
Prior to this change this module was imported as
import dagcbor from '@ipld/dag-cbor'
Now it is imported as
import * as dagcbor from `@ipld/dag-cbor'
This is a change along the lines of https://github.com/multiformats/js-multiformats/pull/70.
building further on this in #18
squashed this into #18 and published
Default exports don't work well with CommonJS and TypeScript. Hence replace the default export with an object export.
BREAKING CHANGE: import of dag-cbor changed
Prior to this change this module was imported as
Now it is imported as