@melio-eng/web-sdk 1.0.25 → 1.0.26-pr.52.57a5a1b
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/index.js +2 -1
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -237,12 +237,13 @@ class SettingsFlow extends Flow {
|
|
|
237
237
|
class PaymentsDashboardFlow extends Flow {
|
|
238
238
|
constructor(containerId, config, partnerName, environment, branchOverride) {
|
|
239
239
|
super(containerId, config, partnerName, environment, branchOverride);
|
|
240
|
+
this.paymentId = config.paymentId;
|
|
240
241
|
}
|
|
241
242
|
/**
|
|
242
243
|
* Construct the specific flow URL for payments dashboard
|
|
243
244
|
*/
|
|
244
245
|
constructFlowUrl(baseUrl) {
|
|
245
|
-
return `${baseUrl}/${this.partnerName}/pay-dashboard/payments`;
|
|
246
|
+
return `${baseUrl}/${this.partnerName}/pay-dashboard/payments/${this.paymentId ?? ''}`;
|
|
246
247
|
}
|
|
247
248
|
}
|
|
248
249
|
const isEmptyString = (str) => {
|
package/dist/types.d.ts
CHANGED
package/package.json
CHANGED