pryv 2.3.5 → 2.3.6
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 +1 -1
- package/src/Connection.js +3 -3
- package/src/Service.js +2 -2
- package/src/index.js +1 -1
package/package.json
CHANGED
package/src/Connection.js
CHANGED
|
@@ -292,8 +292,8 @@ class Connection {
|
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
/**
|
|
295
|
-
* Difference in
|
|
296
|
-
* deltaTime is refined at each (non
|
|
295
|
+
* Difference in seconds between the Pryv.io API and local time
|
|
296
|
+
* deltaTime is refined at each (non-raw) API call
|
|
297
297
|
* @readonly
|
|
298
298
|
* @property {number} deltaTime
|
|
299
299
|
*/
|
|
@@ -302,7 +302,7 @@ class Connection {
|
|
|
302
302
|
}
|
|
303
303
|
|
|
304
304
|
/**
|
|
305
|
-
* API
|
|
305
|
+
* API endpoint of this connection
|
|
306
306
|
* @readonly
|
|
307
307
|
* @property {APIEndpoint} deltaTime
|
|
308
308
|
*/
|
package/src/Service.js
CHANGED
|
@@ -114,7 +114,7 @@ class Service {
|
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
/**
|
|
117
|
-
* Return an API
|
|
117
|
+
* Return an API endpoint from a username and token
|
|
118
118
|
* @param {string} username
|
|
119
119
|
* @param {string} [token]
|
|
120
120
|
* @return {APIEndpoint}
|
|
@@ -125,7 +125,7 @@ class Service {
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
/**
|
|
128
|
-
* Return an API
|
|
128
|
+
* Return an API endpoint from a username and token and a ServiceInfo.
|
|
129
129
|
* This is method is rarely used. See **apiEndpointFor** as an alternative.
|
|
130
130
|
* @param {ServiceInfo} serviceInfo
|
|
131
131
|
* @param {string} username
|
package/src/index.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @property {pryv.Service} Service - To interact with Pryv.io at a "Platform level"
|
|
9
9
|
* @property {pryv.Connection} Connection - To interact with an individual's (user) data set
|
|
10
10
|
* @property {pryv.Browser} Browser - Browser Tools - Access request helpers and visuals (button)
|
|
11
|
-
* @property {pryv.utils} utils - Exposes **superagent** for HTTP calls and tools to manipulate Pryv's API
|
|
11
|
+
* @property {pryv.utils} utils - Exposes **superagent** for HTTP calls and tools to manipulate Pryv's API endpoints
|
|
12
12
|
*/
|
|
13
13
|
module.exports = {
|
|
14
14
|
Service: require('./Service'),
|