diff --git a/encoding/unmarshaller.go b/encoding/unmarshaller.go index 0ad2e39..2561dd7 100644 --- a/encoding/unmarshaller.go +++ b/encoding/unmarshaller.go @@ -26,7 +26,7 @@ type Unmarshaller struct { // NewUnmarshallerAtlased creates a new reusable unmarshaller. func NewUnmarshallerAtlased(atl atlas.Atlas) *Unmarshaller { m := new(Unmarshaller) - m.unmarshal = cbor.NewUnmarshallerAtlased(&m.reader, atl) + m.unmarshal = cbor.NewUnmarshallerAtlased(cbor.DecodeOptions{CoerceUndefToNull: true}, &m.reader, atl) return m } diff --git a/package.json b/package.json index fc0a1e7..9fc16aa 100644 --- a/package.json +++ b/package.json @@ -39,9 +39,9 @@ }, { "author": "why", - "hash": "QmfWqohMtbivn5NRJvtrLzCW3EU4QmoLvVNtmvo9vbdtVA", + "hash": "QmNScbpMAm3r2D25kmfQ43JCbQ8QCtai4V4DNz5ebuXUuZ", "name": "refmt", - "version": "1.1.2" + "version": "1.1.3" } ], "gxVersion": "0.10.0",