diff --git a/src/lib/client.js b/src/lib/client.js index 790f2148..90924195 100644 --- a/src/lib/client.js +++ b/src/lib/client.js @@ -106,7 +106,7 @@ StreamClient.prototype = { /* istanbul ignore next */ if (this.browser && this.apiSecret) { - throw new errors.FeedError('You are publicly sharing your private key. Dont use the private key while in the browser.'); + throw new errors.FeedError('You are publicly sharing your App Secret. Do not expose the App Secret in browsers, "native" mobile apps, or other non-trusted environments.'); } },