@amohamud23/notihub 1.1.17 → 1.1.18

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
@@ -525,7 +525,7 @@ var Notifications = class _Notifications {
525
525
  notiTypeIds.map(async (ntid) => {
526
526
  const params = {
527
527
  TableName: this.TABLE_NAME,
528
- IndexName: "NotiTypeIdIndex",
528
+ IndexName: "NotiTypeIdCreatedAtIndex",
529
529
  // Assuming you have a GSI for notiTypeId
530
530
  KeyConditionExpression: "notiTypeId = :ntid",
531
531
  ExpressionAttributeValues: { ":ntid": ntid },
package/dist/index.js CHANGED
@@ -501,7 +501,7 @@ var Notifications = class _Notifications {
501
501
  notiTypeIds.map(async (ntid) => {
502
502
  const params = {
503
503
  TableName: this.TABLE_NAME,
504
- IndexName: "NotiTypeIdIndex",
504
+ IndexName: "NotiTypeIdCreatedAtIndex",
505
505
  // Assuming you have a GSI for notiTypeId
506
506
  KeyConditionExpression: "notiTypeId = :ntid",
507
507
  ExpressionAttributeValues: { ":ntid": ntid },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amohamud23/notihub",
3
- "version": "1.1.17",
3
+ "version": "1.1.18",
4
4
  "description": "Notihub Package",
5
5
  "main": "./dist/index.cjs",
6
6
  "types": "./dist/index.d.cts",