Skip to content
This repository has been archived by the owner on Jul 17, 2021. It is now read-only.

Commit

Permalink
chore(release): 1.1.5 [skip ci]
Browse files Browse the repository at this point in the history
## [1.1.5](v1.1.4...v1.1.5) (2021-03-27)

### Bug Fixes

* remove code from codeKeyMap after sending data ([b43ba7b](b43ba7b)), closes [#3](#3)
  • Loading branch information
semantic-release-bot committed Mar 27, 2021
1 parent b43ba7b commit 5b19af9
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [1.1.5](https://github.com/iris-gateway/IRIS-library-js/compare/v1.1.4...v1.1.5) (2021-03-27)


### Bug Fixes

* remove code from codeKeyMap after sending data ([b43ba7b](https://github.com/iris-gateway/IRIS-library-js/commit/b43ba7bedfb4ecf1f47c71dc96dcb4ba903d3042)), closes [#3](https://github.com/iris-gateway/IRIS-library-js/issues/3)

## [1.1.4](https://github.com/iris-gateway/IRIS-library-js/compare/v1.1.3...v1.1.4) (2021-03-21)


Expand Down
5 changes: 5 additions & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
import Iris from './lib/';
import IrisCode from './types/IrisCode';
import IrisDataRequest from './types/IrisDataRequest';
import IrisContactsEvents from './types/IrisContactsEvents';
import IrisUserInfo from './types/IrisUserInfo';
export default Iris;
export { IrisCode, IrisDataRequest, IrisContactsEvents, IrisUserInfo };
2 changes: 1 addition & 1 deletion dist/index.js.map

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

18 changes: 18 additions & 0 deletions dist/lib/Iris.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,25 @@ import IrisUserInfo from '../types/IrisUserInfo';
export default class Iris {
private axiosInstance;
private codeKeyMap;
/**
* Generate an instance of the IRIS connector library
*
* @param options General settings like baseUrl
*/
constructor(options: Partial<IrisOptions>);
/**
* Retrieve the data request and relevant information of the requesting health office
*
* @param code The code tied to the data request
* @returns Data Request
*/
getDataRequest(code: IrisCode): Promise<IrisDataRequest>;
/**
* Sends Contact and event information to IRIS
*
* @param code The code tied to the data request
* @param data Data to be sent
* @param user Information about the user sending the data
*/
sendContactsEvents(code: IrisCode, data: IrisContactsEvents, user: IrisUserInfo): Promise<void>;
}
19 changes: 19 additions & 0 deletions dist/lib/Iris.js

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

2 changes: 1 addition & 1 deletion dist/lib/Iris.js.map

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"type": "git",
"url": "https://github.com/iris-gateway/IRIS-library-js.git"
},
"version": "1.1.4",
"version": "1.1.5",
"dependencies": {
"axios": "^0.21.1"
},
Expand Down

0 comments on commit 5b19af9

Please sign in to comment.