-
- Downloads
fix(send): Simplify message sending interfaces
+ Update send methods to reduce variation and deprecated methods to reduce confusion. + Add tests for all send methods and updated docs. BREAKING CHANGE: sendMessageByRoomId and sendMessageByRoom replaced with sendToRoomId and sendToRoom. sendMessage is now semantically used for the endpoint that sends a message object, where other send methods are abstractions of that and accept strings instead that are converted to a message.
Showing
- README.md 19 additions, 14 deletionsREADME.md
- coverage/lcov.info 162 additions, 172 deletionscoverage/lcov.info
- dist/lib/Driver.d.ts 15 additions, 20 deletionsdist/lib/Driver.d.ts
- dist/lib/Driver.js 29 additions, 39 deletionsdist/lib/Driver.js
- dist/lib/Driver.js.map 1 addition, 1 deletiondist/lib/Driver.js.map
- dist/utils/start.js 0 additions, 5 deletionsdist/utils/start.js
- dist/utils/start.js.map 1 addition, 1 deletiondist/utils/start.js.map
- src/lib/driver.spec.ts 60 additions, 5 deletionssrc/lib/driver.spec.ts
- src/lib/driver.ts 25 additions, 34 deletionssrc/lib/driver.ts
- src/utils/start.ts 0 additions, 5 deletionssrc/utils/start.ts
Loading
Please register or sign in to comment