core-outline 1.1.14 → 1.1.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "core-outline",
3
- "version": "1.1.14",
3
+ "version": "1.1.15",
4
4
  "description": "A React component for Core&Outline",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -247,12 +247,13 @@ const CoreOutline = ({ children, data_source_id, data_source_secret }) => {
247
247
  },
248
248
  body: JSON.stringify(events),
249
249
  };
250
- fetch(`http://localhost:5000/generate-s3-url/${data_source_id}/${sessionId}`)
250
+ const res = fetch(`http://localhost:5000/generate-s3-url/${data_source_id}/${sessionId}`)
251
251
  .then((response) => response.json())
252
252
  .then((data) => {
253
253
  const uploadURL = data.signed_url;
254
254
  return fetch(uploadURL, requestOptions);
255
255
  });
256
+ console.log("Events saved successfully:", res);
256
257
  }
257
258
 
258
259
  function saveEventsLocally(type = "formatted" || "raw") {