diff --git a/src/Data/RepresentationType.js b/src/Data/RepresentationType.js index 9ec6522..d67360c 100644 --- a/src/Data/RepresentationType.js +++ b/src/Data/RepresentationType.js @@ -84,6 +84,7 @@ IdentifierToTypeMap[RepresentationTypeIdentifier.List] = Array; IdentifierToTypeMap[RepresentationTypeIdentifier.Map] = Map; IdentifierToTypeMap[RepresentationTypeIdentifier.ResourceArray] = ResourceArray; IdentifierToTypeMap[RepresentationTypeIdentifier.RecordArray] = RecordArray; +IdentifierToTypeMap[RepresentationTypeIdentifier.RawData] = Uint8Array; const TypeToIdentifierMap = {}; TypeToIdentifierMap[Void] = RepresentationTypeIdentifier.Void; @@ -112,6 +113,7 @@ TypeToIdentifierMap[Array] = RepresentationTypeIdentifier.List; TypeToIdentifierMap[Map] = RepresentationTypeIdentifier.Map; TypeToIdentifierMap[RecordArray] = RepresentationTypeIdentifier.RecordArray; TypeToIdentifierMap[ResourceArray] = RepresentationTypeIdentifier.ResourceArray; +TypeToIdentifierMap[Uint8Array] = RepresentationTypeIdentifier.RawData; const TupleIdentifierByLength = { 2: RepresentationTypeIdentifier.Tuple2,