@better-giving/fundraiser 3.0.7 → 3.0.9

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
@@ -1,5 +1,5 @@
1
- import { Db, UpdateBuilder } from "@better-giving/db";
2
1
  import { QueryCommand, UpdateCommand, } from "@aws-sdk/lib-dynamodb";
2
+ import { Db, UpdateBuilder } from "@better-giving/db";
3
3
  import { UUID_REGEX } from "valibot";
4
4
  export class FundDb extends Db {
5
5
  static table = "funds";
package/dist/index.d.mts CHANGED
@@ -1,3 +1,5 @@
1
1
  export type { CloudsearchFund as FundItem } from "./cloudsearch.mjs";
2
2
  export type { IFundNew, IFundUpdate, IFundsNpoMemberOfSearchObj, IFundsSearchObj, DonateMethodId, Environment, } from "./schema.mjs";
3
+ export type * from "./interfaces.mjs";
4
+ export { FundDb } from "./db.mjs";
3
5
  export declare const MAX_EXPIRATION = "9999-12-31T23:59:59Z";
package/dist/index.mjs CHANGED
@@ -1 +1,2 @@
1
+ export { FundDb } from "./db.mjs";
1
2
  export const MAX_EXPIRATION = "9999-12-31T23:59:59Z";
@@ -1,7 +1,7 @@
1
1
  import type { DonateMethodId, Environment } from "@better-giving/schemas";
2
- import type { IFundNew } from "./schema.mjs";
3
2
  import type { IPageNumbered } from "@better-giving/types/api";
4
3
  import type { CloudsearchFund } from "./cloudsearch.mjs";
4
+ import type { IFundNew } from "./schema.mjs";
5
5
  export interface IFundSettings {
6
6
  hide_bg_tip: boolean;
7
7
  donateMethods?: DonateMethodId[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@better-giving/fundraiser",
3
- "version": "3.0.7",
3
+ "version": "3.0.9",
4
4
  "peerDependencies": {
5
5
  "valibot": "0.42.0",
6
6
  "@better-giving/schemas": "2.0.0",
package/src/db.mts CHANGED
@@ -1,11 +1,11 @@
1
- import { Db, UpdateBuilder, type TxType } from "@better-giving/db";
2
- import type { IFund } from "./interfaces.mjs";
3
1
  import {
4
2
  QueryCommand,
5
- UpdateCommand,
6
3
  type QueryCommandInput,
4
+ UpdateCommand,
7
5
  } from "@aws-sdk/lib-dynamodb";
6
+ import { Db, type TxType, UpdateBuilder } from "@better-giving/db";
8
7
  import { UUID_REGEX } from "valibot";
8
+ import type { IFund } from "./interfaces.mjs";
9
9
  import type { IFundUpdate } from "./schema.mjs";
10
10
 
11
11
  export class FundDb extends Db {
package/src/index.mts CHANGED
@@ -7,5 +7,7 @@ export type {
7
7
  DonateMethodId,
8
8
  Environment,
9
9
  } from "./schema.mjs";
10
+ export type * from "./interfaces.mjs";
11
+ export { FundDb } from "./db.mjs";
10
12
 
11
13
  export const MAX_EXPIRATION = "9999-12-31T23:59:59Z";
@@ -1,7 +1,7 @@
1
1
  import type { DonateMethodId, Environment } from "@better-giving/schemas";
2
- import type { IFundNew } from "./schema.mjs";
3
2
  import type { IPageNumbered } from "@better-giving/types/api";
4
3
  import type { CloudsearchFund } from "./cloudsearch.mjs";
4
+ import type { IFundNew } from "./schema.mjs";
5
5
 
6
6
  export interface IFundSettings {
7
7
  hide_bg_tip: boolean;