@yosle/tropipayjs 0.1.18 → 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +3 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -689,7 +689,9 @@ const SERVER_MODE = "Development"; // Move the constant here
|
|
|
689
689
|
* @license MIT
|
|
690
690
|
*/
|
|
691
691
|
if (typeof window !== "undefined") {
|
|
692
|
-
console.warn(
|
|
692
|
+
console.warn(`⚠️ **Warning:** The Tropipay SDK should only be instantiated server-side for security reasons.
|
|
693
|
+
Using it client-side may lead to unexpected behavior and security vulnerabilities. YOUR CREDENTIALS COULD BE EXPOSED. Check
|
|
694
|
+
https://yosle.github.io/tropipayjs-docs/guides/installation/ for more details.`);
|
|
693
695
|
}
|
|
694
696
|
|
|
695
697
|
exports.ClientSideUtils = ClientSideUtils;
|