Skip to content

Commit

Permalink
chore: export postParticipant in typescript global file (#151)
Browse files Browse the repository at this point in the history
* chore(deps): bump browserslist from 4.16.3 to 4.16.6 in /src

Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.3 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](browserslist/browserslist@4.16.3...4.16.6)

Signed-off-by: dependabot[bot] <[email protected]>

* chore(deps): bump ws from 7.4.3 to 7.4.6 in /src

Bumps [ws](https://github.com/websockets/ws) from 7.4.3 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@7.4.3...7.4.6)

Signed-off-by: dependabot[bot] <[email protected]>

* chore: export postParticipant in typescript global file

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
kleyow and dependabot[bot] authored May 31, 2021
1 parent 6a1a97d commit d44c3e3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,17 @@ declare namespace SDKStandardComponents {
destFspId: string
): Promise<GenericRequestResponse | GenericRequestResponseUndefined>

/**
* @function postParticipants
* @description
* Executes a `POST /participants`
* @param {object} participantRequest The participant request
* @param {string} destFspId The id of the destination participant
*/
postParticipants(
participantRequest: fspiopAPI.Schemas.ParticipantsPostRequest,
destFspId: string
): Promise<GenericRequestResponse | GenericRequestResponseUndefined>
}

interface WSO2AuthConfig {
Expand Down
2 changes: 1 addition & 1 deletion src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mojaloop/sdk-standard-components",
"version": "15.10.2",
"version": "15.10.3",
"description": "A set of standard components for connecting to Mojaloop API enabled Switches",
"main": "index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit d44c3e3

Please sign in to comment.