@amohamud23/notihub 1.0.191 → 1.0.192
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 +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -496,7 +496,7 @@ var Notifications_default = Notifications;
|
|
|
496
496
|
var import_lib_dynamodb5 = require("@aws-sdk/lib-dynamodb");
|
|
497
497
|
var NotiHubStats = class _NotiHubStats {
|
|
498
498
|
static ENV = process.env.ENV || "dev";
|
|
499
|
-
static TABLE_NAME = `NotiHub-
|
|
499
|
+
static TABLE_NAME = `NotiHub-Stats-v1-${_NotiHubStats.ENV}`;
|
|
500
500
|
static async createStats(stats) {
|
|
501
501
|
const command = new import_lib_dynamodb5.PutCommand({
|
|
502
502
|
TableName: _NotiHubStats.TABLE_NAME,
|
package/dist/index.js
CHANGED
|
@@ -476,7 +476,7 @@ import {
|
|
|
476
476
|
} from "@aws-sdk/lib-dynamodb";
|
|
477
477
|
var NotiHubStats = class _NotiHubStats {
|
|
478
478
|
static ENV = process.env.ENV || "dev";
|
|
479
|
-
static TABLE_NAME = `NotiHub-
|
|
479
|
+
static TABLE_NAME = `NotiHub-Stats-v1-${_NotiHubStats.ENV}`;
|
|
480
480
|
static async createStats(stats) {
|
|
481
481
|
const command = new PutCommand4({
|
|
482
482
|
TableName: _NotiHubStats.TABLE_NAME,
|