@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.
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "0.30.1";
2
+ var version = "0.31.0";
3
3
 
4
4
  // src/table.ts
5
5
  var TABLE_VERSION = version;
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.30.1";
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-3GKD4CGN.mjs";
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
@@ -36,7 +36,7 @@ __export(table_exports, {
36
36
  module.exports = __toCommonJS(table_exports);
37
37
 
38
38
  // package.json
39
- var version = "0.30.1";
39
+ var version = "0.31.0";
40
40
 
41
41
  // src/table.ts
42
42
  var TABLE_VERSION = version;
package/dist/table.mjs CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  tableEntry,
12
12
  unofferedEndpoints,
13
13
  unreachableStates
14
- } from "./chunk-3GKD4CGN.mjs";
14
+ } from "./chunk-UT4VI4ZA.mjs";
15
15
  export {
16
16
  DOCUMENTED_ENDPOINTS,
17
17
  STATE_KEYS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fun-xyz/fiat-contract",
3
- "version": "0.30.1",
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": {