puleos/object-hash — pull request #4 by harrisiirak (2014-03-15 11:05:11+00:00)
Title: Always pass options object to typeHasher() function

```javascript
var obj = {
key: 'val1',
key2: 'val2',
keys: [
{
key: 'val1',
key2: 'val2'
}
]
};
```

When I'm trying to create a hash from array of objects I'm getting following error:

```
TypeError: Cannot read property 'excludeValues' of undefined
at /home/harri/Projects/repos/object-hash/index.js:79:22
at Array.forEach (native)
at _object (/home/harri/Projects/repos/object-hash/index.js:77:21)
at Object.dispatch (/home/harri/Projects/repos/object-hash/index.js:60:48)
at /home/harri/Projects/repos/object-hash/index.js:87:28
at Array.forEach (native)
at Object._array (/home/harri/Projects/repos/object-hash/index.js:86:18)
at _object (/home/harri/Projects/repos/object-hash/index.js:70:44)
at Object.dispatch (/home/harri/Projects/repos/object-hash/index.js:60:48)
at /home/harri/Projects/repos/object-hash/index.js:80:41
```

Passing the options object to typeHasher() function solves the problem.

Best regards,
Harri