@fun-xyz/fiat-contract 0.28.0 → 0.29.0
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/{chunk-YNVLBTT7.mjs → chunk-VQTJSULZ.mjs} +2 -2
- package/dist/index.js +3 -2
- package/dist/index.mjs +3 -2
- package/dist/table.js +1 -1
- package/dist/table.mjs +1 -1
- package/dist/types.d.ts +5 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// package.json
|
|
2
|
-
var version = "0.
|
|
2
|
+
var version = "0.29.0";
|
|
3
3
|
|
|
4
4
|
// src/table.ts
|
|
5
5
|
var TABLE_VERSION = version;
|
|
@@ -514,4 +514,4 @@ export {
|
|
|
514
514
|
tableEntry,
|
|
515
515
|
isTerminal
|
|
516
516
|
};
|
|
517
|
-
//# sourceMappingURL=chunk-
|
|
517
|
+
//# sourceMappingURL=chunk-VQTJSULZ.mjs.map
|
package/dist/index.js
CHANGED
|
@@ -575,7 +575,8 @@ var $quote = obj({
|
|
|
575
575
|
totalFee: import_zod.z.string(),
|
|
576
576
|
feeBreakdown: import_zod.z.array($feeLine),
|
|
577
577
|
paymentMethod: import_zod.z.enum(PAYMENT_METHOD_CATEGORIES),
|
|
578
|
-
expiresAt: import_zod.z.string()
|
|
578
|
+
expiresAt: import_zod.z.string(),
|
|
579
|
+
feeSubsidy: $money.optional()
|
|
579
580
|
});
|
|
580
581
|
var QuoteSchema = $quote;
|
|
581
582
|
var $quoteLimitRange = obj({ min: import_zod.z.string(), max: import_zod.z.string() });
|
|
@@ -1232,7 +1233,7 @@ var $stepResponse = import_zod.z.union([$providerBoundStepResponse, $blockedStep
|
|
|
1232
1233
|
var FiatStepResponseSchema = $stepResponse;
|
|
1233
1234
|
|
|
1234
1235
|
// package.json
|
|
1235
|
-
var version = "0.
|
|
1236
|
+
var version = "0.29.0";
|
|
1236
1237
|
|
|
1237
1238
|
// src/table.ts
|
|
1238
1239
|
var TABLE_VERSION = version;
|
package/dist/index.mjs
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
tableEntry,
|
|
13
13
|
unofferedEndpoints,
|
|
14
14
|
unreachableStates
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VQTJSULZ.mjs";
|
|
16
16
|
import {
|
|
17
17
|
MOONPAY_ENDPOINTS
|
|
18
18
|
} from "./chunk-F4NRKWF5.mjs";
|
|
@@ -438,7 +438,8 @@ var $quote = obj({
|
|
|
438
438
|
totalFee: z.string(),
|
|
439
439
|
feeBreakdown: z.array($feeLine),
|
|
440
440
|
paymentMethod: z.enum(PAYMENT_METHOD_CATEGORIES),
|
|
441
|
-
expiresAt: z.string()
|
|
441
|
+
expiresAt: z.string(),
|
|
442
|
+
feeSubsidy: $money.optional()
|
|
442
443
|
});
|
|
443
444
|
var QuoteSchema = $quote;
|
|
444
445
|
var $quoteLimitRange = obj({ min: z.string(), max: z.string() });
|
package/dist/table.js
CHANGED
package/dist/table.mjs
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -150,6 +150,11 @@ export interface Quote {
|
|
|
150
150
|
feeBreakdown: FeeLine[];
|
|
151
151
|
paymentMethod: PaymentMethodCategory;
|
|
152
152
|
expiresAt: string;
|
|
153
|
+
/**
|
|
154
|
+
* The fee the partner reimburses after settlement. Absent when this deposit is not subsidized.
|
|
155
|
+
* A prediction: settlement decides again.
|
|
156
|
+
*/
|
|
157
|
+
feeSubsidy?: FiatAmount;
|
|
153
158
|
}
|
|
154
159
|
/** One inclusive amount interval the current routing set can actually serve. */
|
|
155
160
|
export interface QuoteLimitRange {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fun-xyz/fiat-contract",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"description": "Published conformance contract for Fun's headless fiat onramp: FlowState/Transition types, zod schemas, the transition table as data, recorded fixtures, assertion helpers.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|