1.2.13 • Published 5 years ago

blocktalk-sdk v1.2.13

Weekly downloads
48
License
-
Repository
-
Last release
5 years ago

Check out basic example

Readme coming soon!

/ Hooks / // ClientAuth (required) { data, channelId, cb? }, return promise as user identifier (string) // ClientMessage { userId, channelId, data, cb? }, return a falsey promise to reject, truthy to accept

/ Effects / // // ServerMesage is called when a message comes in from BlockTalk servers. This will ALSO be called instantly // // When you send a message (please note this is not an acknowledgment of receipt), but will include {local: true} // // So that you may short circuit (ignore) it if you please // ServerMessage { // channelId, // local?, // This will // message: { // payload, // Everything in here has it's value encrypted but not it's key // action, // Currently limited to 'Message' but will expand further in the future // sender // userId of the connected client socket that sent the message // } // } // AuthSuccess { channelId } // Called when you successfully connect to BlockTalk servers // ClientDisconnect { userId, channelId } // Called when one of your sockets disconnects

1.2.13

5 years ago

1.2.12

5 years ago

1.2.11

5 years ago

1.2.10

5 years ago

1.2.9

5 years ago

1.2.8

5 years ago

1.2.7

5 years ago

1.2.6

5 years ago

1.2.5

5 years ago

1.2.4

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago