Skip to content

Commit fb071ee

Browse files
committed
fix: upgrade vulnerable dev dependencies
1 parent 3a13254 commit fb071ee

File tree

3 files changed

+2674
-2293
lines changed

3 files changed

+2674
-2293
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ const disbursements = Disbursements({
163163

164164
1. `transfer(request: TransferRequest): Promise<string>`
165165

166-
Used to transfer an amount from the owner’s account to a payee account. Status of the transaction can be validated by using the
166+
Used to transfer an amount from the owner’s account to a payee account. It returns a transaction id which can use to check the transaction status with the `getTransaction` function
167167

168168
2. `getTransaction(transactionId: string): Promise<Transfer>`: Retrieve transaction information using the `transactionId` returned by `transfer`. You can invoke it at intervals until the transaction fails or succeeds. If the transaction has failed, it will throw an appropriate error. The error will be a subclass of `MtnMoMoError`. Check [`src/error.ts`](https://github.com/sparkplug/momoapi-node/blob/master/src/errors.ts) for the various errors that can be thrown
169169

0 commit comments

Comments
 (0)