@amohamud23/notihub 1.1.33 → 1.1.34
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 +8 -2
- package/dist/index.js +8 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -660,7 +660,10 @@ var NotiHubStats = class _NotiHubStats {
|
|
|
660
660
|
const command = new import_lib_dynamodb5.UpdateCommand({
|
|
661
661
|
TableName: _NotiHubStats.TABLE_NAME,
|
|
662
662
|
Key: { id, customerId },
|
|
663
|
-
UpdateExpression: "ADD subscriptions :inc",
|
|
663
|
+
UpdateExpression: "ADD #subscriptions :inc",
|
|
664
|
+
ExpressionAttributeNames: {
|
|
665
|
+
"#subscriptions": "subscriptions"
|
|
666
|
+
},
|
|
664
667
|
ExpressionAttributeValues: {
|
|
665
668
|
":inc": 1
|
|
666
669
|
},
|
|
@@ -679,7 +682,10 @@ var NotiHubStats = class _NotiHubStats {
|
|
|
679
682
|
const command = new import_lib_dynamodb5.UpdateCommand({
|
|
680
683
|
TableName: _NotiHubStats.TABLE_NAME,
|
|
681
684
|
Key: { id, customerId },
|
|
682
|
-
UpdateExpression: "ADD subscriptions :dec",
|
|
685
|
+
UpdateExpression: "ADD #subscriptions :dec",
|
|
686
|
+
ExpressionAttributeNames: {
|
|
687
|
+
"#subscriptions": "subscriptions"
|
|
688
|
+
},
|
|
683
689
|
ExpressionAttributeValues: {
|
|
684
690
|
":dec": -1
|
|
685
691
|
},
|
package/dist/index.js
CHANGED
|
@@ -642,7 +642,10 @@ var NotiHubStats = class _NotiHubStats {
|
|
|
642
642
|
const command = new UpdateCommand4({
|
|
643
643
|
TableName: _NotiHubStats.TABLE_NAME,
|
|
644
644
|
Key: { id, customerId },
|
|
645
|
-
UpdateExpression: "ADD subscriptions :inc",
|
|
645
|
+
UpdateExpression: "ADD #subscriptions :inc",
|
|
646
|
+
ExpressionAttributeNames: {
|
|
647
|
+
"#subscriptions": "subscriptions"
|
|
648
|
+
},
|
|
646
649
|
ExpressionAttributeValues: {
|
|
647
650
|
":inc": 1
|
|
648
651
|
},
|
|
@@ -661,7 +664,10 @@ var NotiHubStats = class _NotiHubStats {
|
|
|
661
664
|
const command = new UpdateCommand4({
|
|
662
665
|
TableName: _NotiHubStats.TABLE_NAME,
|
|
663
666
|
Key: { id, customerId },
|
|
664
|
-
UpdateExpression: "ADD subscriptions :dec",
|
|
667
|
+
UpdateExpression: "ADD #subscriptions :dec",
|
|
668
|
+
ExpressionAttributeNames: {
|
|
669
|
+
"#subscriptions": "subscriptions"
|
|
670
|
+
},
|
|
665
671
|
ExpressionAttributeValues: {
|
|
666
672
|
":dec": -1
|
|
667
673
|
},
|