@ayush0x44/notifystack 1.0.0 → 1.0.2

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.
Files changed (2) hide show
  1. package/index.js +5 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -27,7 +27,7 @@ class NotifySDK {
27
27
  this.apiKey = apiKey;
28
28
  this.baseUrl = (options.baseUrl || "http://localhost:3000").replace(/\/$/, "");
29
29
  this.maxRetries = options.maxRetries ?? 3;
30
- this.timeoutMs = options.timeoutMs ?? 10000;
30
+ this.timeoutMs = options.timeoutMs ?? 30000;
31
31
  this.debug = options.debug || false;
32
32
  }
33
33
 
@@ -263,5 +263,7 @@ class NotifyError extends Error {
263
263
  }
264
264
  }
265
265
 
266
- module.exports = NotifySDK;
267
- module.exports.NotifyError = NotifyError;
266
+ module.exports = {
267
+ NotifySDK,
268
+ NotifyError
269
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ayush0x44/notifystack",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "The official Node.js SDK for NotifyStack — a scalable, production-ready notification SaaS platform.",
5
5
  "main": "index.js",
6
6
  "scripts": {