@fun-xyz/fiat-contract 0.30.1 → 0.31.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-3GKD4CGN.mjs → chunk-UT4VI4ZA.mjs} +1 -1
- package/dist/index.js +3 -2
- package/dist/index.mjs +3 -2
- package/dist/routing.d.ts +5 -0
- package/dist/table.js +1 -1
- package/dist/table.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1087,7 +1087,8 @@ var FiatRoutingTableRequestSchema = $routingTableRequest;
|
|
|
1087
1087
|
var $routingTableProvider = obj({
|
|
1088
1088
|
provider: $routingProvider,
|
|
1089
1089
|
next: import_zod.z.enum(["READY", "AUTH", "DECLARATIVE_KYC", "DOCUMENTARY_KYC", "PENDING_REVIEW"]),
|
|
1090
|
-
visibility: import_zod.z.enum(["COMPLETE", "PARTIAL", "AUTH_GATED"])
|
|
1090
|
+
visibility: import_zod.z.enum(["COMPLETE", "PARTIAL", "AUTH_GATED"]),
|
|
1091
|
+
currentLimit: $decimalAmount.nullable()
|
|
1091
1092
|
});
|
|
1092
1093
|
var $routingTableInterval = obj({
|
|
1093
1094
|
min: $decimalAmount,
|
|
@@ -1242,7 +1243,7 @@ var $stepResponse = import_zod.z.union([$providerBoundStepResponse, $blockedStep
|
|
|
1242
1243
|
var FiatStepResponseSchema = $stepResponse;
|
|
1243
1244
|
|
|
1244
1245
|
// package.json
|
|
1245
|
-
var version = "0.
|
|
1246
|
+
var version = "0.31.0";
|
|
1246
1247
|
|
|
1247
1248
|
// src/table.ts
|
|
1248
1249
|
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-UT4VI4ZA.mjs";
|
|
16
16
|
import {
|
|
17
17
|
MOONPAY_ENDPOINTS
|
|
18
18
|
} from "./chunk-TIEGTTFY.mjs";
|
|
@@ -949,7 +949,8 @@ var FiatRoutingTableRequestSchema = $routingTableRequest;
|
|
|
949
949
|
var $routingTableProvider = obj({
|
|
950
950
|
provider: $routingProvider,
|
|
951
951
|
next: z.enum(["READY", "AUTH", "DECLARATIVE_KYC", "DOCUMENTARY_KYC", "PENDING_REVIEW"]),
|
|
952
|
-
visibility: z.enum(["COMPLETE", "PARTIAL", "AUTH_GATED"])
|
|
952
|
+
visibility: z.enum(["COMPLETE", "PARTIAL", "AUTH_GATED"]),
|
|
953
|
+
currentLimit: $decimalAmount.nullable()
|
|
953
954
|
});
|
|
954
955
|
var $routingTableInterval = obj({
|
|
955
956
|
min: $decimalAmount,
|
package/dist/routing.d.ts
CHANGED
|
@@ -89,6 +89,11 @@ export interface RoutingTableProvider {
|
|
|
89
89
|
provider: RoutingProvider;
|
|
90
90
|
next: RoutingNextStep;
|
|
91
91
|
visibility: RoutingVisibility;
|
|
92
|
+
/**
|
|
93
|
+
* The most this buyer can spend at this provider now, without another auth or KYC step, in the
|
|
94
|
+
* table's currency. `null` when unknown. The interval edges are the most after every step on offer.
|
|
95
|
+
*/
|
|
96
|
+
currentLimit: string | null;
|
|
92
97
|
}
|
|
93
98
|
/**
|
|
94
99
|
* A `QuoteLimitRange` with two decimals (`"20.00"`) and the providers that serve it. The next
|
package/dist/table.js
CHANGED
package/dist/table.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fun-xyz/fiat-contract",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.31.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": {
|