@better-giving/donation 3.0.13 → 3.0.15

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.
@@ -5,9 +5,9 @@ import type { IDonationFinal, IDonationFinalAttr, TExplicit } from "./interfaces
5
5
  import type { IDonationsSearch, IPageOpts } from "./schema.mjs";
6
6
  export declare class DonationsDb extends Db {
7
7
  static readonly table = "Donations";
8
- static readonly gsi_referrer$settled_date = "Referrer-FinalizedDate_index";
8
+ static readonly gsi_referrer$settled_date = "Referrer-FinalizedDate_Index";
9
9
  static readonly gsi_npo$settled_date = "npo-settled_date-gsi";
10
- static readonly gsi_email$tx_date = "email-tx_date-gsii";
10
+ static readonly gsi_email$tx_date = "email-tx_date-gsi";
11
11
  key(id: string): {
12
12
  transactionId: string;
13
13
  };
@@ -2,9 +2,9 @@ import { GetCommand, PutCommand, QueryCommand, } from "@aws-sdk/lib-dynamodb";
2
2
  import { Db } from "@better-giving/db";
3
3
  export class DonationsDb extends Db {
4
4
  static table = "Donations";
5
- static gsi_referrer$settled_date = "Referrer-FinalizedDate_index";
5
+ static gsi_referrer$settled_date = "Referrer-FinalizedDate_Index";
6
6
  static gsi_npo$settled_date = "npo-settled_date-gsi";
7
- static gsi_email$tx_date = "email-tx_date-gsii";
7
+ static gsi_email$tx_date = "email-tx_date-gsi";
8
8
  key(id) {
9
9
  return { transactionId: id };
10
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@better-giving/donation",
3
- "version": "3.0.13",
3
+ "version": "3.0.15",
4
4
  "devDependencies": {
5
5
  "@better-giving/config": "1.1.2"
6
6
  },
@@ -17,9 +17,9 @@ type K = keyof IDonationFinalAttr;
17
17
 
18
18
  export class DonationsDb extends Db {
19
19
  static readonly table = "Donations";
20
- static readonly gsi_referrer$settled_date = "Referrer-FinalizedDate_index";
20
+ static readonly gsi_referrer$settled_date = "Referrer-FinalizedDate_Index";
21
21
  static readonly gsi_npo$settled_date = "npo-settled_date-gsi";
22
- static readonly gsi_email$tx_date = "email-tx_date-gsii";
22
+ static readonly gsi_email$tx_date = "email-tx_date-gsi";
23
23
 
24
24
  key(id: string) {
25
25
  return { transactionId: id } satisfies Pick<