@amohamud23/notihub 1.1.43 → 1.1.45

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
@@ -1948,7 +1948,7 @@ var StripeSubscriptions_default = StripeSubscription;
1948
1948
  var import_lib_dynamodb16 = require("@aws-sdk/lib-dynamodb");
1949
1949
  var PaymentSession = class _PaymentSession {
1950
1950
  static ENV = process.env.ENV || "dev";
1951
- static TABLE_NAME = `NotiHub-PaymentSession-v1-${_PaymentSession.ENV}`;
1951
+ static TABLE_NAME = `NotiHub-PaymentSessions-v1-${_PaymentSession.ENV}`;
1952
1952
  static async createPaymentSession(paymentSession) {
1953
1953
  const command = new import_lib_dynamodb16.PutCommand({
1954
1954
  TableName: _PaymentSession.TABLE_NAME,
package/dist/index.d.cts CHANGED
@@ -210,7 +210,7 @@ type INotiHubStripeSubscription = {
210
210
  };
211
211
  type INotiHubPaymentSession = {
212
212
  id: string;
213
- session: string;
213
+ sessionId: string;
214
214
  customerId: string;
215
215
  status: "PENDING" | "COMPLETED" | "FAILED";
216
216
  createdAt: string;
package/dist/index.d.ts CHANGED
@@ -210,7 +210,7 @@ type INotiHubStripeSubscription = {
210
210
  };
211
211
  type INotiHubPaymentSession = {
212
212
  id: string;
213
- session: string;
213
+ sessionId: string;
214
214
  customerId: string;
215
215
  status: "PENDING" | "COMPLETED" | "FAILED";
216
216
  createdAt: string;
package/dist/index.js CHANGED
@@ -1983,7 +1983,7 @@ import {
1983
1983
  } from "@aws-sdk/lib-dynamodb";
1984
1984
  var PaymentSession = class _PaymentSession {
1985
1985
  static ENV = process.env.ENV || "dev";
1986
- static TABLE_NAME = `NotiHub-PaymentSession-v1-${_PaymentSession.ENV}`;
1986
+ static TABLE_NAME = `NotiHub-PaymentSessions-v1-${_PaymentSession.ENV}`;
1987
1987
  static async createPaymentSession(paymentSession) {
1988
1988
  const command = new PutCommand15({
1989
1989
  TableName: _PaymentSession.TABLE_NAME,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amohamud23/notihub",
3
- "version": "1.1.43",
3
+ "version": "1.1.45",
4
4
  "description": "Notihub Package",
5
5
  "main": "./dist/index.cjs",
6
6
  "types": "./dist/index.d.cts",