onairos 0.1.2 → 0.1.3

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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -46,7 +46,7 @@ Individual Request Information:
46
46
  - `description`: Description to display to users about your request
47
47
  - `reward`: Reward Given to User for granting Data Request
48
48
 
49
- Then instantiate the Onairos object from the Onairos package - passing in your Onairos Developer ID and your Request Object
49
+ Then instantiate the Onairos object from the Onairos package - passing in your Request Object and other meta info
50
50
  ```jsx
51
51
  <Onairos requestData={requestData} webpageName={webpageName} proofMode={proofMode} />
52
52
  ```
@@ -68,6 +68,7 @@ event.data.type === 'API_URL_RESPONSE'
68
68
  ```
69
69
 
70
70
  You will also be given an ACCESS TOKEN which you must use in any API requests from that specific client.
71
+
71
72
  This is a short lived token, for usage on your developer registered domain only, and lasts for 1 hour from issue.
72
73
 
73
74
  For example:
@@ -127,6 +128,7 @@ Example JSON body for the POST request:
127
128
  ```
128
129
 
129
130
  You can then call the Inference API with the Inference object created above.
131
+
130
132
  Remember to include the access token in the Authorization header of your API request.
131
133
 
132
134
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "onairos",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^5.17.0",
6
6
  "@testing-library/react": "^13.4.0",