@better-giving/endowment 4.0.14 → 4.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.
package/dist/db.mjs CHANGED
@@ -67,7 +67,8 @@ export class NpoDb extends Db {
67
67
  },
68
68
  });
69
69
  const { Responses } = await this.client.send(batch_get);
70
- return (Responses?.[NpoDb.name] ?? []);
70
+ const x = Responses?.[NpoDb.name] ?? [];
71
+ return x.map((i) => this.sans_keys(i));
71
72
  }
72
73
  async npo_count_inc() {
73
74
  const cmd = new UpdateCommand({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@better-giving/endowment",
3
- "version": "4.0.14",
3
+ "version": "4.0.15",
4
4
  "dependencies": {
5
5
  "ksuid": "3.0.0"
6
6
  },
package/src/db.mts CHANGED
@@ -110,7 +110,8 @@ export class NpoDb extends Db {
110
110
  },
111
111
  });
112
112
  const { Responses } = await this.client.send(batch_get);
113
- return (Responses?.[NpoDb.name] ?? []) as any;
113
+ const x = Responses?.[NpoDb.name] ?? [];
114
+ return x.map((i) => this.sans_keys(i));
114
115
  }
115
116
 
116
117
  async npo_count_inc(): Promise<number> {