UNPKG

raiden-ts

Version:

Raiden Light Client Typescript/Javascript SDK

7 lines 441 B
import * as t from 'io-ts'; /** Partner through which to send transfer through */ export const Via = t.partial({ userId: t.string }); export const CapsPrimitive = t.union([t.string, t.number, t.boolean, t.null], 'CapsPrimitive'); export const CapsValue = t.union([CapsPrimitive, t.array(CapsPrimitive)], 'CapsValue'); export const Caps = t.readonly(t.record(t.string /* Capabilities */, CapsValue), 'Caps'); //# sourceMappingURL=types.js.map