@better-giving/donation 3.0.7 → 3.0.8

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.
@@ -13,7 +13,7 @@ export declare class DonationsDb extends Db {
13
13
  };
14
14
  item(id: string): Promise<IDonationFinal | undefined>;
15
15
  put_txi(data: TExplicit<IDonationFinalAttr>): Promise<import("@aws-sdk/lib-dynamodb").PutCommandOutput>;
16
- referred_by_q(referrer: string): Promise<QueryCommandInput>;
16
+ referred_by_q(referrer: string): QueryCommandInput;
17
17
  list_to_npo(npo: number, opts?: IDonationsSearch & {
18
18
  date_start?: string;
19
19
  date_end?: string;
@@ -23,7 +23,7 @@ export class DonationsDb extends Db {
23
23
  });
24
24
  return this.client.send(cmd);
25
25
  }
26
- async referred_by_q(referrer) {
26
+ referred_by_q(referrer) {
27
27
  const q = {
28
28
  TableName: DonationsDb.table,
29
29
  IndexName: DonationsDb.gsi_referrer$settled_date,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@better-giving/donation",
3
- "version": "3.0.7",
3
+ "version": "3.0.8",
4
4
  "devDependencies": {
5
5
  "@better-giving/config": "1.1.2"
6
6
  },
@@ -45,7 +45,7 @@ export class DonationsDb extends Db {
45
45
  return this.client.send(cmd);
46
46
  }
47
47
 
48
- async referred_by_q(referrer: string) {
48
+ referred_by_q(referrer: string) {
49
49
  const q: QueryCommandInput = {
50
50
  TableName: DonationsDb.table,
51
51
  IndexName: DonationsDb.gsi_referrer$settled_date,