@fun-xyz/fiat-contract 0.11.1 → 0.11.2
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-TXI4KLBL.mjs → chunk-KU4EWXRI.mjs} +11 -4
- package/dist/index.js +10 -3
- package/dist/index.mjs +1 -1
- package/dist/table.js +10 -3
- package/dist/table.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// package.json
|
|
2
|
-
var version = "0.11.
|
|
2
|
+
var version = "0.11.2";
|
|
3
3
|
|
|
4
4
|
// src/table.ts
|
|
5
5
|
var TABLE_VERSION = version;
|
|
@@ -102,7 +102,13 @@ var TRANSITION_TABLE = {
|
|
|
102
102
|
docStatus: "SPECIFIED",
|
|
103
103
|
allowedTransitions: [
|
|
104
104
|
{ id: "start", mode: "SUBMIT", endpoint: "POST /fiat/session" },
|
|
105
|
-
{ id: "verify", mode: "SUBMIT", endpoint: "POST /fiat/session/verify" }
|
|
105
|
+
{ id: "verify", mode: "SUBMIT", endpoint: "POST /fiat/session/verify" },
|
|
106
|
+
{
|
|
107
|
+
id: "report_auth_result",
|
|
108
|
+
mode: "CLIENT_SURFACE",
|
|
109
|
+
endpoint: "POST /fiat/session/verify",
|
|
110
|
+
note: "Reports a provider-owned authentication surface result; the backend alone reassesses and selects the next state."
|
|
111
|
+
}
|
|
106
112
|
],
|
|
107
113
|
mayReturn: [
|
|
108
114
|
"SESSION_AUTH",
|
|
@@ -116,7 +122,8 @@ var TRANSITION_TABLE = {
|
|
|
116
122
|
notes: [
|
|
117
123
|
"A bad code re-enters this same state with error {category: USER_ERROR, code: BAD_CODE} \u2014 banner, not a screen change.",
|
|
118
124
|
"No resend affordance is specified in either doc (known gap, FE doc Screen 2).",
|
|
119
|
-
"A provider-owned surface may declare client-executed delivery from allowlisted CURRENT_SESSION_INPUTS only."
|
|
125
|
+
"A provider-owned surface may declare client-executed delivery from allowlisted CURRENT_SESSION_INPUTS only.",
|
|
126
|
+
"A provider-owned authentication surface reports through CLIENT_SURFACE; it is not a user-entered OTP submission."
|
|
120
127
|
]
|
|
121
128
|
},
|
|
122
129
|
"KYC/CAPTURE": {
|
|
@@ -507,4 +514,4 @@ export {
|
|
|
507
514
|
tableEntry,
|
|
508
515
|
isTerminal
|
|
509
516
|
};
|
|
510
|
-
//# sourceMappingURL=chunk-
|
|
517
|
+
//# sourceMappingURL=chunk-KU4EWXRI.mjs.map
|
package/dist/index.js
CHANGED
|
@@ -886,7 +886,7 @@ var $stepResponse = import_zod.z.union([$providerBoundStepResponse, $blockedStep
|
|
|
886
886
|
var FiatStepResponseSchema = $stepResponse;
|
|
887
887
|
|
|
888
888
|
// package.json
|
|
889
|
-
var version = "0.11.
|
|
889
|
+
var version = "0.11.2";
|
|
890
890
|
|
|
891
891
|
// src/table.ts
|
|
892
892
|
var TABLE_VERSION = version;
|
|
@@ -989,7 +989,13 @@ var TRANSITION_TABLE = {
|
|
|
989
989
|
docStatus: "SPECIFIED",
|
|
990
990
|
allowedTransitions: [
|
|
991
991
|
{ id: "start", mode: "SUBMIT", endpoint: "POST /fiat/session" },
|
|
992
|
-
{ id: "verify", mode: "SUBMIT", endpoint: "POST /fiat/session/verify" }
|
|
992
|
+
{ id: "verify", mode: "SUBMIT", endpoint: "POST /fiat/session/verify" },
|
|
993
|
+
{
|
|
994
|
+
id: "report_auth_result",
|
|
995
|
+
mode: "CLIENT_SURFACE",
|
|
996
|
+
endpoint: "POST /fiat/session/verify",
|
|
997
|
+
note: "Reports a provider-owned authentication surface result; the backend alone reassesses and selects the next state."
|
|
998
|
+
}
|
|
993
999
|
],
|
|
994
1000
|
mayReturn: [
|
|
995
1001
|
"SESSION_AUTH",
|
|
@@ -1003,7 +1009,8 @@ var TRANSITION_TABLE = {
|
|
|
1003
1009
|
notes: [
|
|
1004
1010
|
"A bad code re-enters this same state with error {category: USER_ERROR, code: BAD_CODE} \u2014 banner, not a screen change.",
|
|
1005
1011
|
"No resend affordance is specified in either doc (known gap, FE doc Screen 2).",
|
|
1006
|
-
"A provider-owned surface may declare client-executed delivery from allowlisted CURRENT_SESSION_INPUTS only."
|
|
1012
|
+
"A provider-owned surface may declare client-executed delivery from allowlisted CURRENT_SESSION_INPUTS only.",
|
|
1013
|
+
"A provider-owned authentication surface reports through CLIENT_SURFACE; it is not a user-entered OTP submission."
|
|
1007
1014
|
]
|
|
1008
1015
|
},
|
|
1009
1016
|
"KYC/CAPTURE": {
|
package/dist/index.mjs
CHANGED
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.11.
|
|
39
|
+
var version = "0.11.2";
|
|
40
40
|
|
|
41
41
|
// src/table.ts
|
|
42
42
|
var TABLE_VERSION = version;
|
|
@@ -139,7 +139,13 @@ var TRANSITION_TABLE = {
|
|
|
139
139
|
docStatus: "SPECIFIED",
|
|
140
140
|
allowedTransitions: [
|
|
141
141
|
{ id: "start", mode: "SUBMIT", endpoint: "POST /fiat/session" },
|
|
142
|
-
{ id: "verify", mode: "SUBMIT", endpoint: "POST /fiat/session/verify" }
|
|
142
|
+
{ id: "verify", mode: "SUBMIT", endpoint: "POST /fiat/session/verify" },
|
|
143
|
+
{
|
|
144
|
+
id: "report_auth_result",
|
|
145
|
+
mode: "CLIENT_SURFACE",
|
|
146
|
+
endpoint: "POST /fiat/session/verify",
|
|
147
|
+
note: "Reports a provider-owned authentication surface result; the backend alone reassesses and selects the next state."
|
|
148
|
+
}
|
|
143
149
|
],
|
|
144
150
|
mayReturn: [
|
|
145
151
|
"SESSION_AUTH",
|
|
@@ -153,7 +159,8 @@ var TRANSITION_TABLE = {
|
|
|
153
159
|
notes: [
|
|
154
160
|
"A bad code re-enters this same state with error {category: USER_ERROR, code: BAD_CODE} \u2014 banner, not a screen change.",
|
|
155
161
|
"No resend affordance is specified in either doc (known gap, FE doc Screen 2).",
|
|
156
|
-
"A provider-owned surface may declare client-executed delivery from allowlisted CURRENT_SESSION_INPUTS only."
|
|
162
|
+
"A provider-owned surface may declare client-executed delivery from allowlisted CURRENT_SESSION_INPUTS only.",
|
|
163
|
+
"A provider-owned authentication surface reports through CLIENT_SURFACE; it is not a user-entered OTP submission."
|
|
157
164
|
]
|
|
158
165
|
},
|
|
159
166
|
"KYC/CAPTURE": {
|
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.11.
|
|
3
|
+
"version": "0.11.2",
|
|
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": {
|