@better-giving/donation 3.0.27 → 3.0.28
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/interfaces.d.mts +5 -1
- package/dist/schema.d.mts +2 -2
- package/dist/schema.mjs +0 -1
- package/package.json +1 -1
- package/src/interfaces.mts +5 -1
- package/src/schema.mts +0 -1
package/dist/interfaces.d.mts
CHANGED
|
@@ -84,6 +84,8 @@ export interface IDonationOnHoldAttr {
|
|
|
84
84
|
fiatRamp?: TFiatRamp;
|
|
85
85
|
/** bg-marketplace | bg-widget */
|
|
86
86
|
appUsed: TDonationSource;
|
|
87
|
+
/** nanoid | `${number}` - bg form */
|
|
88
|
+
form_id?: string;
|
|
87
89
|
/** "fiat", "trx", "hbar", "eth", "matic", "xrp-mainnet" */
|
|
88
90
|
chainId: string;
|
|
89
91
|
/** "Fiat", "TRON", "Hedera", "Ethereum", "", "Polygon", "Stripe", "XRP Ledger" */
|
|
@@ -176,8 +178,10 @@ export interface IDonationFinalAttr {
|
|
|
176
178
|
allocation?: IAllocation;
|
|
177
179
|
/** "bg-marketplace", "restore-earth", "angel-protocol",
|
|
178
180
|
"ukraine-portal", "bg-widget", undefined, "aging", "black-history-month",
|
|
179
|
-
"make-whole", "mental-health" */
|
|
181
|
+
"make-whole", "mental-health", "tester-app" */
|
|
180
182
|
appUsed?: TDonationSource | (string & {});
|
|
183
|
+
/** nanoid | `${number}` - bg form */
|
|
184
|
+
form_id?: string;
|
|
181
185
|
/**
|
|
182
186
|
"fiat", "columbus-5", "eth", "matic", "juno-1", "ltc", undefined, "btc", "phoenix-1", "56", "1", "137",
|
|
183
187
|
"xrp-mainnet", "zec", "sol", "bch", "bsc", "cchain", "xvg", "xrp", "sei-1", "icx", "base",
|
package/dist/schema.d.mts
CHANGED
|
@@ -2,8 +2,8 @@ import * as v from "valibot";
|
|
|
2
2
|
export declare const frequencies: readonly ["one-time", "recurring"];
|
|
3
3
|
export declare const frequency: v.PicklistSchema<readonly ["one-time", "recurring"], "Please select donation frequency">;
|
|
4
4
|
export type TFrequency = v.InferOutput<typeof frequency>;
|
|
5
|
-
export declare const donation_sources: readonly ["bg-marketplace", "bg-widget"
|
|
6
|
-
export declare const donation_source: v.PicklistSchema<readonly ["bg-marketplace", "bg-widget"
|
|
5
|
+
export declare const donation_sources: readonly ["bg-marketplace", "bg-widget"];
|
|
6
|
+
export declare const donation_source: v.PicklistSchema<readonly ["bg-marketplace", "bg-widget"], undefined>;
|
|
7
7
|
export type TDonationSource = v.InferOutput<typeof donation_source>;
|
|
8
8
|
export declare const donor_titles: readonly ["Mr", "Mrs", "Ms", "Mx", ""];
|
|
9
9
|
export declare const donor_title: v.PicklistSchema<readonly ["Mr", "Mrs", "Ms", "Mx", ""], undefined>;
|
package/dist/schema.mjs
CHANGED
|
@@ -6,7 +6,6 @@ export const frequency = v.picklist(frequencies, "Please select donation frequen
|
|
|
6
6
|
export const donation_sources = [
|
|
7
7
|
"bg-marketplace",
|
|
8
8
|
"bg-widget",
|
|
9
|
-
"tester-app",
|
|
10
9
|
];
|
|
11
10
|
export const donation_source = v.picklist(donation_sources);
|
|
12
11
|
export const donor_titles = ["Mr", "Mrs", "Ms", "Mx", ""];
|
package/package.json
CHANGED
package/src/interfaces.mts
CHANGED
|
@@ -97,6 +97,8 @@ export interface IDonationOnHoldAttr {
|
|
|
97
97
|
fiatRamp?: TFiatRamp;
|
|
98
98
|
/** bg-marketplace | bg-widget */
|
|
99
99
|
appUsed: TDonationSource;
|
|
100
|
+
/** nanoid | `${number}` - bg form */
|
|
101
|
+
form_id?: string;
|
|
100
102
|
/** "fiat", "trx", "hbar", "eth", "matic", "xrp-mainnet" */
|
|
101
103
|
chainId: string;
|
|
102
104
|
/** "Fiat", "TRON", "Hedera", "Ethereum", "", "Polygon", "Stripe", "XRP Ledger" */
|
|
@@ -197,8 +199,10 @@ export interface IDonationFinalAttr {
|
|
|
197
199
|
/// VIA ///
|
|
198
200
|
/** "bg-marketplace", "restore-earth", "angel-protocol",
|
|
199
201
|
"ukraine-portal", "bg-widget", undefined, "aging", "black-history-month",
|
|
200
|
-
"make-whole", "mental-health" */
|
|
202
|
+
"make-whole", "mental-health", "tester-app" */
|
|
201
203
|
appUsed?: TDonationSource | (string & {});
|
|
204
|
+
/** nanoid | `${number}` - bg form */
|
|
205
|
+
form_id?: string;
|
|
202
206
|
/**
|
|
203
207
|
"fiat", "columbus-5", "eth", "matic", "juno-1", "ltc", undefined, "btc", "phoenix-1", "56", "1", "137",
|
|
204
208
|
"xrp-mainnet", "zec", "sol", "bch", "bsc", "cchain", "xvg", "xrp", "sei-1", "icx", "base",
|