@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 +2 -1
- package/package.json +1 -1
- package/src/db.mts +2 -1
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
|
-
|
|
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
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
|
-
|
|
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> {
|