@blumessage/react-chat 1.0.3 → 1.0.4

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.
@@ -215,7 +215,7 @@ export var BlumessageChat = function (_a) {
215
215
  })];
216
216
  case 1:
217
217
  response = _a.sent();
218
- if (!(response.status === 201)) return [3 /*break*/, 7];
218
+ if (!response.ok) return [3 /*break*/, 7];
219
219
  console.log("Blumessage chat initialized successfully");
220
220
  setIsInitialized(true);
221
221
  setError(null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blumessage/react-chat",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "A React TypeScript chat widget component with floating button, theming, and Blumessage API integration",
5
5
  "license": "MIT",
6
6
  "author": "Blumessage <contact@blumessage.com>",