We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c4e307 commit 4ec6a37Copy full SHA for 4ec6a37
src/Particle.js
@@ -28,7 +28,6 @@ class Particle {
28
* @param {string} [options.clientId]
29
* @param {number} [options.tokenDuration]
30
* @param {string} [options.auth] The access token. If not specified here, will have to be added to every request
31
- * @param {ToolContext} [options.tool] The tool context which will add the X-Particle-Tool header to every request
32
*/
33
constructor(options = {}){
34
if (options.auth) {
@@ -38,7 +37,6 @@ class Particle {
38
37
// todo - this seems a bit dangerous - would be better to put all options/context in a contained object
39
Object.assign(this, Defaults, options);
40
this.context = {};
41
- this.setContext('tool', options.tool);
42
43
this.agent = new Agent(this.baseUrl);
44
}
0 commit comments