Skip to content

WireObject

WireObject<TValue> = Record<string, TValue> | Map<WireMapKey, TValue>

Defined in: packages/common/src/codecs/wire.ts:13

Represents object data coming off the wire.

When from msgpack it’s a Map. Both bytes and string keys are represented as Uint8Array. When from JSON it’s a plain object with string keys.

TValue = unknown