@melio-eng/web-sdk 1.2.0-pr.94.cf53d50 → 1.2.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/flows/Flow.js +0 -2
- package/dist/types.d.ts +2 -5
- package/package.json +1 -1
package/dist/flows/Flow.js
CHANGED
|
@@ -78,8 +78,6 @@ export class Flow {
|
|
|
78
78
|
this.emit('exit');
|
|
79
79
|
break;
|
|
80
80
|
case 'PARTNER_ACTION_REQUIRED':
|
|
81
|
-
// Only the quick payment button is reported today; every other
|
|
82
|
-
// requiredAction is ignored until the SDK declares a type for it.
|
|
83
81
|
if (data.data?.requiredAction === 'NAVIGATE_TO_NEW_PAYMENT') {
|
|
84
82
|
this.emit('buttonClicked', { type: 'quickPayment' });
|
|
85
83
|
}
|
package/dist/types.d.ts
CHANGED
|
@@ -137,11 +137,8 @@ export interface NavigationData {
|
|
|
137
137
|
* your own supplier selection page, from which you open a payment flow.
|
|
138
138
|
*
|
|
139
139
|
* @remarks
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
* Only buttons whose destination lives in your product are reported here. Buttons that end
|
|
144
|
-
* a flow keep their existing events — "Back to bills" still arrives as `completed`.
|
|
140
|
+
* Buttons that end a flow keep their existing events — "Back to bills" still arrives as
|
|
141
|
+
* `completed`.
|
|
145
142
|
*
|
|
146
143
|
* Further button types are added in minor releases, so switch on `type` and treat an
|
|
147
144
|
* unrecognised value as a no-op rather than an error.
|
package/package.json
CHANGED