@fun-xyz/fiat-contract 0.11.0 → 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-GKKBF7QB.mjs → chunk-KU4EWXRI.mjs} +12 -4
- package/dist/index.js +11 -3
- package/dist/index.mjs +1 -1
- package/dist/table.js +11 -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;
|
|
@@ -101,7 +101,14 @@ var TRANSITION_TABLE = {
|
|
|
101
101
|
screens: [2],
|
|
102
102
|
docStatus: "SPECIFIED",
|
|
103
103
|
allowedTransitions: [
|
|
104
|
-
{ id: "
|
|
104
|
+
{ id: "start", mode: "SUBMIT", endpoint: "POST /fiat/session" },
|
|
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
|
+
}
|
|
105
112
|
],
|
|
106
113
|
mayReturn: [
|
|
107
114
|
"SESSION_AUTH",
|
|
@@ -115,7 +122,8 @@ var TRANSITION_TABLE = {
|
|
|
115
122
|
notes: [
|
|
116
123
|
"A bad code re-enters this same state with error {category: USER_ERROR, code: BAD_CODE} \u2014 banner, not a screen change.",
|
|
117
124
|
"No resend affordance is specified in either doc (known gap, FE doc Screen 2).",
|
|
118
|
-
"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."
|
|
119
127
|
]
|
|
120
128
|
},
|
|
121
129
|
"KYC/CAPTURE": {
|
|
@@ -506,4 +514,4 @@ export {
|
|
|
506
514
|
tableEntry,
|
|
507
515
|
isTerminal
|
|
508
516
|
};
|
|
509
|
-
//# 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;
|
|
@@ -988,7 +988,14 @@ var TRANSITION_TABLE = {
|
|
|
988
988
|
screens: [2],
|
|
989
989
|
docStatus: "SPECIFIED",
|
|
990
990
|
allowedTransitions: [
|
|
991
|
-
{ id: "
|
|
991
|
+
{ id: "start", mode: "SUBMIT", endpoint: "POST /fiat/session" },
|
|
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
|
+
}
|
|
992
999
|
],
|
|
993
1000
|
mayReturn: [
|
|
994
1001
|
"SESSION_AUTH",
|
|
@@ -1002,7 +1009,8 @@ var TRANSITION_TABLE = {
|
|
|
1002
1009
|
notes: [
|
|
1003
1010
|
"A bad code re-enters this same state with error {category: USER_ERROR, code: BAD_CODE} \u2014 banner, not a screen change.",
|
|
1004
1011
|
"No resend affordance is specified in either doc (known gap, FE doc Screen 2).",
|
|
1005
|
-
"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."
|
|
1006
1014
|
]
|
|
1007
1015
|
},
|
|
1008
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;
|
|
@@ -138,7 +138,14 @@ var TRANSITION_TABLE = {
|
|
|
138
138
|
screens: [2],
|
|
139
139
|
docStatus: "SPECIFIED",
|
|
140
140
|
allowedTransitions: [
|
|
141
|
-
{ id: "
|
|
141
|
+
{ id: "start", mode: "SUBMIT", endpoint: "POST /fiat/session" },
|
|
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
|
+
}
|
|
142
149
|
],
|
|
143
150
|
mayReturn: [
|
|
144
151
|
"SESSION_AUTH",
|
|
@@ -152,7 +159,8 @@ var TRANSITION_TABLE = {
|
|
|
152
159
|
notes: [
|
|
153
160
|
"A bad code re-enters this same state with error {category: USER_ERROR, code: BAD_CODE} \u2014 banner, not a screen change.",
|
|
154
161
|
"No resend affordance is specified in either doc (known gap, FE doc Screen 2).",
|
|
155
|
-
"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."
|
|
156
164
|
]
|
|
157
165
|
},
|
|
158
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": {
|