1.2.13 • Published 6 years ago

blocktalk-sdk v1.2.13

Weekly downloads
48
License
-
Repository
-
Last release
6 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

6 years ago

1.2.12

6 years ago

1.2.11

6 years ago

1.2.10

6 years ago

1.2.9

6 years ago

1.2.8

6 years ago

1.2.7

6 years ago

1.2.6

7 years ago

1.2.5

7 years ago

1.2.4

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago