@amohamud23/notihub 1.0.198 → 1.1.0
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 +4 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -524,7 +524,10 @@ var NotiHubStats = class _NotiHubStats {
|
|
|
524
524
|
const command = new import_lib_dynamodb5.UpdateCommand({
|
|
525
525
|
TableName: _NotiHubStats.TABLE_NAME,
|
|
526
526
|
Key: { id, customerId },
|
|
527
|
-
UpdateExpression: "ADD views :inc",
|
|
527
|
+
UpdateExpression: "ADD #views :inc",
|
|
528
|
+
ExpressionAttributeNames: {
|
|
529
|
+
"#views": "views"
|
|
530
|
+
},
|
|
528
531
|
ExpressionAttributeValues: {
|
|
529
532
|
":inc": 1
|
|
530
533
|
},
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -504,7 +504,10 @@ var NotiHubStats = class _NotiHubStats {
|
|
|
504
504
|
const command = new UpdateCommand4({
|
|
505
505
|
TableName: _NotiHubStats.TABLE_NAME,
|
|
506
506
|
Key: { id, customerId },
|
|
507
|
-
UpdateExpression: "ADD views :inc",
|
|
507
|
+
UpdateExpression: "ADD #views :inc",
|
|
508
|
+
ExpressionAttributeNames: {
|
|
509
|
+
"#views": "views"
|
|
510
|
+
},
|
|
508
511
|
ExpressionAttributeValues: {
|
|
509
512
|
":inc": 1
|
|
510
513
|
},
|