@river-build/sdk
TypeScript icon, indicating that this package has built-in type declarations

0.0.189 • Public • Published

River-Build SDK

For more details, visit the following resources:

River documentation: https://docs.towns.com/introduction River Messaging with encryption: https://docs.towns.com/concepts/encryption River Encryption protocol: https://docs.towns.com/build/towns-encryption GitHub repository: git+https://github.com/river-build/river.git bugs: https://github.com/river-build/river/issues

Debugging Tips

Logging

Enabling logging for tests in the shell:

DEBUG=csb:* DEBUG_DEPTH=100 yarn test src/my.test.ts -t testCaseName

To enabling debug logging in the browser, set var in console:

localStorage.debug = 'csb:*'

Inspecting Network Traffic

Set this in console to switch encoding to JSON instead of binary:

localStorage.RIVER_DEBUG_TRANSPORT = 'true'

Now in Network tab of the browser dev tool requests and responses are more readable.

Readme

Keywords

none

Package Sidebar

Install

npm i @river-build/sdk

Weekly Downloads

37

Version

0.0.189

License

none

Unpacked Size

2.56 MB

Total Files

767

Last publish

Collaborators

  • john_hntlabs
  • texuf
  • serge-hnt
  • erik-river
  • miguel-nascimento