@amohamud23/notihub 1.1.32 → 1.1.33

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/dist/index.cjs CHANGED
@@ -1678,8 +1678,8 @@ var NotiHubStatsHistory = class _NotiHubStatsHistory {
1678
1678
  Item: statsHistory
1679
1679
  });
1680
1680
  try {
1681
- const result = await ddbDocClient.send(command);
1682
- return result.Attributes;
1681
+ await ddbDocClient.send(command);
1682
+ return statsHistory;
1683
1683
  } catch (error) {
1684
1684
  console.error("Error creating NotiHub stats history:", error);
1685
1685
  throw new Error("Could not create NotiHub stats history");
package/dist/index.js CHANGED
@@ -1702,8 +1702,8 @@ var NotiHubStatsHistory = class _NotiHubStatsHistory {
1702
1702
  Item: statsHistory
1703
1703
  });
1704
1704
  try {
1705
- const result = await ddbDocClient.send(command);
1706
- return result.Attributes;
1705
+ await ddbDocClient.send(command);
1706
+ return statsHistory;
1707
1707
  } catch (error) {
1708
1708
  console.error("Error creating NotiHub stats history:", error);
1709
1709
  throw new Error("Could not create NotiHub stats history");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amohamud23/notihub",
3
- "version": "1.1.32",
3
+ "version": "1.1.33",
4
4
  "description": "Notihub Package",
5
5
  "main": "./dist/index.cjs",
6
6
  "types": "./dist/index.d.cts",