use-pusher icon indicating copy to clipboard operation
use-pusher copied to clipboard

Encrypted Channels

Open c-h- opened this issue 1 year ago • 0 comments

Hi, is there a way to use encrypted channels with this library without forking?

https://pusher.com/docs/channels/using_channels/encrypted-channels/

To support encryption, the client needs to import a different path from pusher-js: https://github.com/pusher/pusher-js/tree/master#encrypted-channel-support

import Pusher from 'pusher-js';

import Pusher from 'pusher-js/with-encryption';

Any guidance is appreciated. Thanks!

c-h- avatar Apr 06 '23 14:04 c-h-