@better-giving/endowment 4.0.24 → 4.0.25

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/db.d.mts CHANGED
@@ -136,7 +136,7 @@ export declare class NpoDb extends Db {
136
136
  npo<T extends TNpoDbKeys[]>(id: string | number, fields?: T): Promise<TNpoDbProjectedTo<T> | undefined>;
137
137
  npo_update_comps({ target, slug, social_media_urls, ...update }: INpoUpdate): UpdateComps;
138
138
  npo_update(id: number, update: INpoUpdate): Promise<import("@aws-sdk/lib-dynamodb").UpdateCommandOutput>;
139
- npo_update_txi(id: number, update: INpoUpdate): Promise<TxType["Update"]>;
139
+ npo_update_txi(id: number, update: INpoUpdate): TxType["Update"];
140
140
  prog_milestones(id: string): Promise<IMilestone[]>;
141
141
  prog_milestone_delete(pid: string, mid: string): Promise<import("@aws-sdk/lib-dynamodb").DeleteCommandOutput>;
142
142
  prog_milestone_put(pid: string, content: IMilestoneNew): Promise<string>;
package/dist/db.mjs CHANGED
@@ -287,7 +287,7 @@ export class NpoDb extends Db {
287
287
  });
288
288
  return this.client.send(cmd);
289
289
  }
290
- async npo_update_txi(id, update) {
290
+ npo_update_txi(id, update) {
291
291
  const upd8 = this.npo_update_comps(update);
292
292
  return {
293
293
  TableName: NpoDb.table,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@better-giving/endowment",
3
- "version": "4.0.24",
3
+ "version": "4.0.25",
4
4
  "dependencies": {
5
5
  "ksuid": "3.0.0"
6
6
  },
package/src/db.mts CHANGED
@@ -379,10 +379,7 @@ export class NpoDb extends Db {
379
379
  });
380
380
  return this.client.send(cmd);
381
381
  }
382
- async npo_update_txi(
383
- id: number,
384
- update: INpoUpdate
385
- ): Promise<TxType["Update"]> {
382
+ npo_update_txi(id: number, update: INpoUpdate): TxType["Update"] {
386
383
  const upd8 = this.npo_update_comps(update);
387
384
  return {
388
385
  TableName: NpoDb.table,