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'
22import { sha256 } from 'multiformats/hashes/sha2'
33import { murmur3128 } from '@multiformats/murmur3'
44
5- mergeOptions . bind ( { ignoreUndefined : true } )
6-
75/**
86 * @param {Uint8Array } buf
97 */
@@ -61,5 +59,6 @@ const defaultOptions = {
6159 * @returns {ImporterOptions }
6260 */
6361export default ( options = { } ) => {
64- return mergeOptions ( defaultOptions , options )
62+ const defaults = mergeOptions . bind ( { ignoreUndefined : true } )
63+ return defaults ( defaultOptions , options )
6564}
Original file line number Diff line number Diff line change 1- import * as $protobuf from "protobufjs" ;
1+ import $protobuf from "protobufjs/minimal.js " ;
22/** Properties of a Data. */
33export interface IData {
44
You can’t perform that action at this time.
0 commit comments