UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

25 lines (24 loc) 507 B
import e from "./JsonRxMessage.js"; const s = 8; class h extends e { methodName; payload; getMethodName() { return this.methodName; } getPayload() { return this.payload; } constructor(t, o) { super(s), this.methodName = t, this.payload = o; } getJson() { const t = [this.typeCode, this.methodName]; return this.payload !== void 0 && t.push(this.payload), t; } } export { s as NOTIFICATION_TYPE_CODE, h as default }; //# sourceMappingURL=JsonRxNotification.js.map