@amohamud23/notihub 1.1.63 → 1.1.64

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
@@ -484,6 +484,7 @@ var Notifications = class _Notifications {
484
484
  static async getAllNotificationsByEntityId(customerId) {
485
485
  const command = new import_lib_dynamodb4.QueryCommand({
486
486
  TableName: _Notifications.TABLE_NAME,
487
+ IndexName: "CustomerIdCreatedAtIndex",
487
488
  KeyConditionExpression: "customerId = :customerId",
488
489
  ExpressionAttributeValues: {
489
490
  ":customerId": customerId
package/dist/index.js CHANGED
@@ -472,6 +472,7 @@ var Notifications = class _Notifications {
472
472
  static async getAllNotificationsByEntityId(customerId) {
473
473
  const command = new QueryCommand3({
474
474
  TableName: _Notifications.TABLE_NAME,
475
+ IndexName: "CustomerIdCreatedAtIndex",
475
476
  KeyConditionExpression: "customerId = :customerId",
476
477
  ExpressionAttributeValues: {
477
478
  ":customerId": customerId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amohamud23/notihub",
3
- "version": "1.1.63",
3
+ "version": "1.1.64",
4
4
  "description": "Notihub Package",
5
5
  "main": "./dist/index.cjs",
6
6
  "types": "./dist/index.d.cts",