UNPKG

@river-build/sdk

Version:

For more details, visit the following resources:

30 lines (17 loc) 865 B
# 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.