File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ import mergeOptions from 'merge-options'
2
2
import { sha256 } from 'multiformats/hashes/sha2'
3
3
import { murmur3128 } from '@multiformats/murmur3'
4
4
5
- mergeOptions . bind ( { ignoreUndefined : true } )
6
-
7
5
/**
8
6
* @param {Uint8Array } buf
9
7
*/
@@ -61,5 +59,6 @@ const defaultOptions = {
61
59
* @returns {ImporterOptions }
62
60
*/
63
61
export default ( options = { } ) => {
64
- return mergeOptions ( defaultOptions , options )
62
+ const defaults = mergeOptions . bind ( { ignoreUndefined : true } )
63
+ return defaults ( defaultOptions , options )
65
64
}
Original file line number Diff line number Diff line change 1
- import * as $protobuf from "protobufjs" ;
1
+ import $protobuf from "protobufjs/minimal.js " ;
2
2
/** Properties of a Data. */
3
3
export interface IData {
4
4
You can’t perform that action at this time.
0 commit comments