@mojaloop/sdk-scheme-adapter 17.0.2-snapshot.11 → 17.0.2-snapshot.12
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/package.json
CHANGED
|
@@ -651,7 +651,7 @@ class InboundTransfersModel {
|
|
|
651
651
|
if (individualTransferErrors.length) {
|
|
652
652
|
// TODO: Verify and align with actual schema for bulk transfers error endpoint
|
|
653
653
|
const mojaloopErrorResponse = {
|
|
654
|
-
bulkTransferState:
|
|
654
|
+
bulkTransferState: FSPIOPBulkTransferStateEnum.REJECTED,
|
|
655
655
|
// eslint-disable-next-line no-unused-vars
|
|
656
656
|
individualTransferResults: individualTransferErrors.map(({ transferId, transferError }) => ({
|
|
657
657
|
transferId,
|
|
@@ -681,7 +681,7 @@ class InboundTransfersModel {
|
|
|
681
681
|
// create a mojaloop transfer fulfil response
|
|
682
682
|
const mojaloopResponse = {
|
|
683
683
|
completedTimestamp: new Date(),
|
|
684
|
-
bulkTransferState: FSPIOPBulkTransferStateEnum.
|
|
684
|
+
bulkTransferState: FSPIOPBulkTransferStateEnum.COMPLETED,
|
|
685
685
|
};
|
|
686
686
|
|
|
687
687
|
if (response.individualTransferResults && response.individualTransferResults.length) {
|