{"_id":"resin-sdk","_rev":"255-fb841525a580850cf48f9a669d9ab015","name":"resin-sdk","description":"The Resin.io JavaScript SDK","dist-tags":{"latest":"10.1.1","beta":"11.0.0-beta2","434-stage-releases-methods-314488952d45adc7aaa7353259925745da3c2a37":"10.1.0-434-stage-releases-methods-314488952d45adc7aaa7353259925745da3c2a37","591-drop-image-maker-apis-accb5511de393f2ab8e3804b46c4f0041c47b834":"10.1.0-591-drop-image-maker-apis-accb5511de393f2ab8e3804b46c4f0041c47b834","591-drop-image-maker-apis-b576fdd974fd868ba5e465c7b749a273517fa545":"10.1.0-591-drop-image-maker-apis-b576fdd974fd868ba5e465c7b749a273517fa545","591-oss-api-device-types-7333f421b05e757e5a6821d70f8ee73859fbb2e7":"10.1.0-591-oss-api-device-types-7333f421b05e757e5a6821d70f8ee73859fbb2e7","balena-sdk-78e343d605d323cff37b039e8e40cae05b52fb36":"11.0.0-balena-sdk-78e343d605d323cff37b039e8e40cae05b52fb36","balena-sdk-631921028c1fc35f131f9b336b34d74a85d18b59":"11.0.0-balena-sdk-631921028c1fc35f131f9b336b34d74a85d18b59","balena-sdk-0cfa7786a38066601e1eba76bc393c271b5ca40e":"11.0.0-balena-sdk-0cfa7786a38066601e1eba76bc393c271b5ca40e","no-env-credentials-0c0240a7d803a95f09e0e50b7ed60c79747820d1":"10.1.0-no-env-credentials-0c0240a7d803a95f09e0e50b7ed60c79747820d1"},"versions":{"0.0.1":{"name":"resin-sdk","version":"0.0.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"chai":"~1.10.0","chai-as-promised":"~4.1.1","chai-string":"~1.1.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-shell":"^0.2.11","gulp-util":"~3.0.1","jsdoc":"git+https://git@github.com/jsdoc3/jsdoc.git#releases/3.3","mocha":"~2.0.1","mock-fs":"~2.3.2","nock":"~0.52.4","run-sequence":"^1.0.2","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"async":"~0.9.0","bluebird":"~2.4.2","conf.js":"~0.1.1","fs-plus":"~2.4.0","git-cli":"~0.8.2","is-online":"~3.0.0","lodash":"~2.4.1","lodash-contrib":"~241.4.14","mkdirp":"~0.5.0","pinejs-client":"^1.0.0","pubnub":"^3.7.7","request":"~2.51.0","request-progress":"~0.3.1","rimraf":"~2.2.8","typed-error":"~0.1.0","underscore.string":"~2.4.0","user-home":"~1.1.0"},"gitHead":"034366e0b5e2a6f0d02da1b7a3b541cf1344cd1d","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@0.0.1","_shasum":"73e98094afca9caf06ed4dba23d75ae9a60f3d22","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"dist":{"shasum":"73e98094afca9caf06ed4dba23d75ae9a60f3d22","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-0.0.1.tgz","integrity":"sha512-jotVJQ7k2wCO0qJvr6RG+cqOMoKxiWD8sHxypVnsLAl8MEBi3QPxFmX4vTmK7Y+vgKdbr8t6nIILAGVAWuRVcQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICeSXpOvcySo7cZUhL5QQrrMRxEczI0IXa4pVrxfkPlDAiB8GMQmMDGvoOvTgjgDKKKLPOueUVsOhIcc2bxoVZK2gg=="}]},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"0.0.2":{"name":"resin-sdk","version":"0.0.2","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"chai":"~1.10.0","chai-as-promised":"~4.1.1","chai-string":"~1.1.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-shell":"^0.2.11","gulp-util":"~3.0.1","jsdoc":"git+https://git@github.com/jsdoc3/jsdoc.git#releases/3.3","mocha":"~2.0.1","mock-fs":"~2.3.2","nock":"^1.0.0","run-sequence":"^1.0.2","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"async":"~0.9.0","bluebird":"~2.4.2","conf.js":"~0.1.1","fs-plus":"~2.4.0","git-cli":"~0.8.2","is-online":"~3.0.0","lodash":"~2.4.1","lodash-contrib":"~241.4.14","mkdirp":"~0.5.0","pinejs-client":"^1.0.0","pubnub":"^3.7.7","request":"~2.53.0","request-progress":"~0.3.1","rimraf":"~2.2.8","typed-error":"~0.1.0","underscore.string":"~2.4.0","user-home":"~1.1.0"},"gitHead":"754c4a886bfa71b942c8a9739d95d99ba564c99b","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@0.0.2","_shasum":"650c7c8a93273cfc73332084bcfa44c26370e937","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"dist":{"shasum":"650c7c8a93273cfc73332084bcfa44c26370e937","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-0.0.2.tgz","integrity":"sha512-k75uMBusLldIF8xeN+U6Ylv8wpanO23SAk7Gktdm660rLWh8Cz/HeW9yUg6iiFty5Rk5kSwhZZ7rNEgYYX3qiw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3A3CbeKrcQ6WTA5vjw3Zrn1kgKDBHVGo7bJ1k8uo6WAIhALUxOEjVAtMNa+UxeBZV89XyUvv1VJrQy3Tke6LFrOgp"}]},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"0.0.3":{"name":"resin-sdk","version":"0.0.3","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"chai":"~1.10.0","chai-as-promised":"~4.1.1","chai-string":"~1.1.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-shell":"^0.2.11","gulp-util":"~3.0.1","jsdoc":"git+https://git@github.com/jsdoc3/jsdoc.git#releases/3.3","mocha":"~2.0.1","mock-fs":"~2.3.2","nock":"^1.0.0","run-sequence":"^1.0.2","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"async":"~0.9.0","bluebird":"~2.4.2","conf.js":"~0.1.1","fs-plus":"~2.4.0","git-cli":"~0.8.2","is-online":"~3.0.0","lodash":"~2.4.1","lodash-contrib":"~241.4.14","mkdirp":"~0.5.0","pinejs-client":"^1.0.0","pubnub":"^3.7.7","request":"~2.53.0","request-progress":"~0.3.1","rimraf":"~2.2.8","typed-error":"~0.1.0","underscore.string":"~2.4.0","user-home":"~1.1.0"},"gitHead":"e58eb03a48f2d6289e840d233bdab44161267ab2","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@0.0.3","_shasum":"3175476385a26f95cd8c8f75ecbf23c24f1d70dd","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"dist":{"shasum":"3175476385a26f95cd8c8f75ecbf23c24f1d70dd","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-0.0.3.tgz","integrity":"sha512-c7cDiWf9d779QvjDtltpAOr/S8dy2bdeQYwWQ2XlDHkjfiouVgKgz0kiIb9jJ3kytAZ7aXtQ3qnqpzrne6iAJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdKRE5u/T+FapY4akN7fz/CngONbb0R/WeJ4FTHAE23QIgbfTOF8BtHETQv+tRKKuyYvrMupt1tGO+ofn5K1QunOU="}]},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"0.0.4":{"name":"resin-sdk","version":"0.0.4","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"chai":"~1.10.0","chai-as-promised":"~4.1.1","chai-string":"~1.1.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-shell":"^0.2.11","gulp-util":"~3.0.1","jsdoc":"git+https://git@github.com/jsdoc3/jsdoc.git#releases/3.3","mocha":"~2.0.1","mock-fs":"~2.3.2","nock":"^1.0.0","run-sequence":"^1.0.2","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"async":"~0.9.0","bluebird":"~2.4.2","conf.js":"~0.1.1","fs-plus":"~2.4.0","git-cli":"~0.8.2","is-online":"~3.0.0","lodash":"~2.4.1","lodash-contrib":"~241.4.14","mkdirp":"~0.5.0","pinejs-client":"^1.0.0","pubnub":"^3.7.7","request":"~2.53.0","request-progress":"~0.3.1","rimraf":"~2.2.8","typed-error":"~0.1.0","underscore.string":"~2.4.0","user-home":"~1.1.0"},"gitHead":"dce9f92c699ac941e5cf2c7c5c84e67f98537569","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@0.0.4","_shasum":"96c8ceecb8b362c9850b800d51264c1422b7a086","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"dist":{"shasum":"96c8ceecb8b362c9850b800d51264c1422b7a086","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-0.0.4.tgz","integrity":"sha512-4nJpIWzzow7RnoLB3yOcsq83BmYCV7Bnq3qBFpLfmGV9dfaricoRM1GmFbMo1BmGxljiXTnniKj+iCN0NtLkfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHDkteqDEB6OkNf2PvGp80CZU6mFHlsKI7TWjzc60l67AiBADtTzQgan6BWRcXTLq6Stcbtnf7X6+vCxUBggOmMPkA=="}]},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"0.1.0":{"name":"resin-sdk","version":"0.1.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"chai":"~1.10.0","chai-as-promised":"~4.1.1","chai-string":"~1.1.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-shell":"^0.2.11","gulp-util":"~3.0.1","jsdoc":"git+https://git@github.com/jsdoc3/jsdoc.git#releases/3.3","mocha":"~2.0.1","mock-fs":"~2.3.2","nock":"^1.0.0","run-sequence":"^1.0.2","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"async":"~0.9.0","bluebird":"~2.4.2","conf.js":"~0.1.1","fs-plus":"~2.4.0","git-cli":"~0.8.2","is-online":"~3.0.0","lodash":"~2.4.1","lodash-contrib":"~241.4.14","mkdirp":"~0.5.0","node-localstorage":"^0.5.0","pinejs-client":"^1.0.0","pubnub":"^3.7.7","request":"~2.53.0","request-progress":"~0.3.1","resin-errors":"^1.0.0","resin-request":"^1.0.0","resin-token":"^1.0.0","rimraf":"~2.2.8","typed-error":"~0.1.0","underscore.string":"~2.4.0","user-home":"~1.1.0"},"gitHead":"fa3f2262e2760b88e2401efa821a898cd2b9e3c6","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@0.1.0","_shasum":"dfe6d29cee3841ac200f79d6532693fbd9944209","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"dist":{"shasum":"dfe6d29cee3841ac200f79d6532693fbd9944209","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-0.1.0.tgz","integrity":"sha512-EYVQBcPgAW4cENwlL54+ckbAQc7M7/0+XPFdnQCYQWw1lMiIfGXDBTW76i3ZEciywu46AVmetOJz1Yvws1fieg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEhefxRZa5aS4xpcxgpwfLs83+XagkOYlx2r7frEIiXlAiEA7hoUVUORgo3PgekX8g9XYQp5QopxCsajX1o9cfgqqDc="}]},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"1.0.0":{"name":"resin-sdk","version":"1.0.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-shell":"^0.2.11","gulp-util":"~3.0.1","jsdoc":"^3.3.0-beta3","mocha":"~2.0.1","run-sequence":"^1.0.2","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"lodash":"~2.4.1","lodash-contrib":"~241.4.14","pubnub":"^3.7.7","resin-errors":"^1.0.0","resin-pine":"^1.0.0","resin-request":"^1.2.0","resin-token":"^1.0.0"},"gitHead":"2eb8388d32d78d9a7b090b59c9da9d026a64b1f8","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@1.0.0","_shasum":"ca13ff0e8056b7ce6cd1dc19fb39ead0a076b8f3","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"dist":{"shasum":"ca13ff0e8056b7ce6cd1dc19fb39ead0a076b8f3","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-1.0.0.tgz","integrity":"sha512-I++4mWKZB4nUYRVvvFbTwG3jFd4aMjFzXJ0sk1pF0OGIRWj4Mhqisr29Ectyvl+3z53rhyWR4e5GXL2JPP/Ixw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICm2X4u3kY4Q0KY0Opvce0cDOxJ3hu4xfC4epppifiLBAiAxsqQvZ7l36K/daxyQVdQ9XPJIdU84O0+xTpCp3G6w6g=="}]},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"1.1.0":{"name":"resin-sdk","version":"1.1.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-shell":"^0.2.11","gulp-util":"~3.0.1","jsdoc":"^3.3.0-beta3","mocha":"~2.0.1","run-sequence":"^1.0.2","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"lodash":"~2.4.1","lodash-contrib":"~241.4.14","pubnub":"^3.7.7","resin-errors":"^1.0.0","resin-pine":"^1.1.0","resin-request":"^1.2.0","resin-token":"^1.2.0"},"gitHead":"dfd727a17372ac959f65d5ebc5a9f94224328d31","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@1.1.0","_shasum":"72295e6e7796ac2e649ad12953fbe1aa843c5b15","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"dist":{"shasum":"72295e6e7796ac2e649ad12953fbe1aa843c5b15","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-1.1.0.tgz","integrity":"sha512-hm1uHQp6i8ycqkoSue2zTtgil7lD/VXVRgNFjqQc/DaJ2rURB7nTI+dvRYsgRuWqh8L3EPox2dj4D30JGsRZxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHAsDcOkXle2fCWsAluvGt2yyICdAooS8WX3XNWZ7VAFAiB9OsZrcb3uWSqeNSHkqSVMzNuFVPPVR/a+/dvHe6+PNw=="}]},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"1.2.0":{"name":"resin-sdk","version":"1.2.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"bluebird":"^2.9.14","chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-shell":"^0.2.11","gulp-util":"~3.0.1","jsdoc":"^3.3.0-beta3","mocha":"~2.0.1","run-sequence":"^1.0.2","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"lodash":"~2.4.1","lodash-contrib":"~241.4.14","pubnub":"^3.7.7","resin-errors":"^1.0.2","resin-pine":"^1.1.0","resin-request":"^1.2.2","resin-token":"^1.2.0"},"gitHead":"c8be39364df2cf265f54fcf9f24b5163375fb840","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@1.2.0","_shasum":"b716e954f089f540975cb33573b21096db4bf619","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"dist":{"shasum":"b716e954f089f540975cb33573b21096db4bf619","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-1.2.0.tgz","integrity":"sha512-NE+L9c++C7i+Oomq6ZYnkCa8sC/iibbQDhk+rHG9Erhq2sq0P5NrEGonLtAodd0Wr3rAYQSrptH7Tf6HFlncYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDLKt7CYJQTPlTSH2S+8xZCwUW8P9+evfYivyYahsvWnAiEA07pozTltyeaxiMNqXGBminVC8xU8U6YUoUaNwYh8i/k="}]},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"1.2.1":{"name":"resin-sdk","version":"1.2.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"bluebird":"^2.9.14","chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-shell":"^0.2.11","gulp-util":"~3.0.1","jsdoc":"^3.3.0-beta3","mocha":"~2.0.1","run-sequence":"^1.0.2","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"lodash":"~2.4.1","lodash-contrib":"~241.4.14","pubnub":"^3.7.7","resin-errors":"^1.0.2","resin-pine":"^1.1.0","resin-request":"^1.2.3","resin-token":"^1.2.0"},"gitHead":"aff2cbf00fb4aab8310c0b654fdebcffe07c0d72","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@1.2.1","_shasum":"177f3f9638b7f3717e4ad29e126b00cf614b4f94","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"177f3f9638b7f3717e4ad29e126b00cf614b4f94","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-1.2.1.tgz","integrity":"sha512-yNTeTgTwC+cCsIwhG2um0hg+jso8jrfF5faGgIB2tBZKXI/3DTo+m8bbC5gnPgBk3Q35RxHiUAx3VN1C1eWXig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDrbLo3FyoZVyGCjQiLJprUXkA73PMiX4JNzMa1kbp+KAiB+V8Z+3vgV1Nh6e0e4/+No2I3CLmocc9aVNWeWmpXTPg=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"1.3.0":{"name":"resin-sdk","version":"1.3.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"bluebird":"^2.9.14","chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-shell":"^0.2.11","gulp-util":"~3.0.1","jsdoc":"^3.3.0-beta3","mocha":"~2.0.1","run-sequence":"^1.0.2","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"lodash":"~2.4.1","lodash-contrib":"~241.4.14","pubnub":"^3.7.7","resin-errors":"^1.0.2","resin-pine":"^1.1.0","resin-request":"^1.2.3","resin-token":"^1.2.0"},"gitHead":"0f7eca39eefc3eb1c7e6fbc48ea3c78e11e80ddf","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@1.3.0","_shasum":"cd0f65d4d9c9ae9a3a4dec08426f84f18d95c403","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"cd0f65d4d9c9ae9a3a4dec08426f84f18d95c403","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-1.3.0.tgz","integrity":"sha512-8NRKpqkeO8a4hxuglOrn3wmI6VhFCvbw5R+HsN2Jq/Gi4tIgja1yRfIPPfqQpIsGmgve/UGOLBsJl8ZcXBm1Pg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOtVLTrm5cLQEfojurdcmW1YXXQxz7AFY6r1/pq9ZF1AIgNZmar+SxQxFcmA3QVGlxjvQCxz9qAkhO8kfU0snGX4k="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"1.3.1":{"name":"resin-sdk","version":"1.3.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"bluebird":"^2.9.14","chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-shell":"^0.2.11","gulp-util":"~3.0.1","jsdoc":"^3.3.0-beta3","mocha":"~2.0.1","run-sequence":"^1.0.2","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"lodash":"~2.4.1","lodash-contrib":"~241.4.14","pubnub":"^3.7.7","resin-errors":"^1.0.2","resin-pine":"^1.1.0","resin-request":"^1.2.3","resin-token":"^1.2.0"},"gitHead":"da9fc89cb860c02f2d103f85c4cca6e59378ca95","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@1.3.1","_shasum":"1b9225623c281b4d572fa6db20aca7d73cc6b7de","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"1b9225623c281b4d572fa6db20aca7d73cc6b7de","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-1.3.1.tgz","integrity":"sha512-HpFS0AQ9vH9M/9ltAJCRWfTlHOlCLRXIzrkjU8poREd3qmPlE9MttyylyXncfbc2nAt5RIKx/djFG4QOsedNBw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4rWpXIyJMDfc7nx0icT1bFtrhJ3mltUJzhJskzdPGQgIhAOF9YN2FIcHyPkmPoEbG+agiCl4pbjn6ujIhHKTZvcHj"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"1.3.2":{"name":"resin-sdk","version":"1.3.2","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"bluebird":"^2.9.14","chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-shell":"^0.2.11","gulp-util":"~3.0.1","jsdoc":"^3.3.0-beta3","mocha":"~2.0.1","run-sequence":"^1.0.2","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"lodash":"~2.4.1","lodash-contrib":"~241.4.14","pubnub":"^3.7.7","resin-errors":"^1.0.2","resin-pine":"^1.1.0","resin-request":"^1.2.3","resin-token":"^1.2.0"},"gitHead":"f8699716add5a7f944beb967062aaf42155f188b","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@1.3.2","_shasum":"396be64af0c2595750eb4a43d08142dca8bdb56e","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"396be64af0c2595750eb4a43d08142dca8bdb56e","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-1.3.2.tgz","integrity":"sha512-u0Jnen6MW3t8tvqvYYjVWb3hDmxleQnfPN25agmoq6OIHk75Ld7kMMOqy+v1N1o+73HfhNRnEQR+O/ua2mn98w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDD/VOMk/AvUYUqIgLh43i34txn2oS+7opN5bAGhZSMDQIgAix2ruDKi4ZvlTw+/N462qmMboyrPtHDv0izQtWfEVk="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"1.3.3":{"name":"resin-sdk","version":"1.3.3","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"bluebird":"^2.9.14","chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-shell":"^0.2.11","gulp-util":"~3.0.1","jsdoc":"^3.3.0-beta3","mocha":"~2.0.1","run-sequence":"^1.0.2","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"lodash":"~2.4.1","lodash-contrib":"~241.4.14","pubnub":"^3.7.7","resin-errors":"^1.0.2","resin-pine":"^1.1.0","resin-request":"^1.2.3","resin-token":"^1.2.0"},"gitHead":"cc7a3f29305427ea66a2b1f563a97fb802894ba0","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@1.3.3","_shasum":"6618d2a04f92806734fa74b41919cea2d1009800","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"6618d2a04f92806734fa74b41919cea2d1009800","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-1.3.3.tgz","integrity":"sha512-RqebuOdTyOCBbQV57GaPW8sD4MVq1ipslIfl0nymPKUBbmiC6BLj+MhfdV1qk99oi67PrOQL4/xA3CGhz8vFPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA6CjywQymzJ4x8k+AWppSuKEnfqoYOkKC5b57uE0VldAiEAm/tyEYMUEkoYl60n3MvpHOOG56Vx9WJi4K6uDOQXocw="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"1.3.4":{"name":"resin-sdk","version":"1.3.4","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"bluebird":"^2.9.14","chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-shell":"^0.2.11","gulp-util":"~3.0.1","jsdoc":"^3.3.0-beta3","mocha":"~2.0.1","run-sequence":"^1.0.2","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"lodash":"~2.4.1","lodash-contrib":"~241.4.14","pubnub":"^3.7.7","resin-errors":"^1.0.2","resin-pine":"^1.1.0","resin-request":"^1.2.3","resin-token":"^1.2.0"},"gitHead":"71f7a5938a1cf8dfa3c877d8b7c851db995d9e80","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@1.3.4","_shasum":"c72ce34657af43b6eda096bdeafbdee7e0a74aa1","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"c72ce34657af43b6eda096bdeafbdee7e0a74aa1","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-1.3.4.tgz","integrity":"sha512-28sOsntWQ2ZZjDQ0BNixJDjmwtLdJ+SxuXukT2+NFA1NLsK2hDsaJB+38STyFzE0/Pm+Bclt81pdd1HUkt/OoQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFkZaBk0u+PAMNzmbG5oACinQjFMUvy/yrqYdLPWQBrIAiEAh2kLnWsR7BepFHb8vUQvWaGZlg+oyrh9eJzmZu4DCQE="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"1.4.0":{"name":"resin-sdk","version":"1.4.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"bluebird":"^2.9.14","chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-shell":"^0.2.11","gulp-util":"~3.0.1","jsdoc":"^3.3.0-beta3","mocha":"~2.0.1","run-sequence":"^1.0.2","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"lodash":"~2.4.1","lodash-contrib":"~241.4.14","pubnub":"^3.7.7","resin-errors":"^1.0.2","resin-pine":"^1.1.0","resin-request":"^1.2.3","resin-token":"^1.2.0"},"gitHead":"b6cee6264cf310036c1f548f77bb36394abb630b","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@1.4.0","_shasum":"e80263cdbb90d08a7835e01880be87ca5c4030f8","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"e80263cdbb90d08a7835e01880be87ca5c4030f8","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-1.4.0.tgz","integrity":"sha512-H5tLetZsJmzB1+pvVu4TKKaGFXPoqmr6n/KST09vpXSzlB7btbhLBdnotw5YKPh3xDgHWG/Av7F5eL24A+Jmlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1R6WHcu/J4RsHVSN0EOjtCoOLRGxYyeuNS3TsGdVsQAIgMWrm9ueRYglmhbUra3/0MSqBubqVAtrT4oE3SsV2S5I="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"1.4.1":{"name":"resin-sdk","version":"1.4.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"bluebird":"^2.9.14","chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-shell":"^0.2.11","gulp-util":"~3.0.1","jsdoc":"^3.3.0-beta3","mocha":"~2.0.1","run-sequence":"^1.0.2","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"lodash":"~2.4.1","lodash-contrib":"~241.4.14","pubnub":"^3.7.7","resin-errors":"^1.0.2","resin-pine":"^1.1.0","resin-request":"^1.2.4","resin-token":"^1.2.0"},"gitHead":"43e0f244be58784e66ca113cf849265b2585de0f","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@1.4.1","_shasum":"d34df5b036c2580126c489f0814f041b06770ab1","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"d34df5b036c2580126c489f0814f041b06770ab1","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-1.4.1.tgz","integrity":"sha512-v/6Dr859IQXr0jI3GDoHHquRvOiwAqFIJoqJadi0did46NLQ5OF5P9zIPDVDoLF8Uh+pVLRLZ63CluKbjhPT/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbre7YVMYnYvihpuGCe5bzQSvumDpbaLTiwJebQ9lRkwIhAP9v7tnghFPfJiTzkgq6ym8riz4xj5GfktdFJMya4VRM"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"1.4.2":{"name":"resin-sdk","version":"1.4.2","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"bluebird":"^2.9.14","chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-shell":"^0.2.11","gulp-util":"~3.0.1","jsdoc":"^3.3.0-beta3","mocha":"~2.0.1","run-sequence":"^1.0.2","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"async":"^0.9.0","lodash":"~2.4.1","lodash-contrib":"~241.4.14","pubnub":"^3.7.7","resin-errors":"^1.0.2","resin-pine":"^1.1.0","resin-request":"^1.2.4","resin-token":"^1.2.0"},"gitHead":"376a178685562229c92858ca2a9988fcd8d48dc9","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@1.4.2","_shasum":"c038538c4ef37fa73a77a6e06af6a1548e7ad36f","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"c038538c4ef37fa73a77a6e06af6a1548e7ad36f","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-1.4.2.tgz","integrity":"sha512-nRI5LmSypE1akGmkGJQklwuCmzvTW5jkGJKE6gC/QWPShZcujf+6rWOTSo8YrTbDGUDpn/C4/d1EBFPTeHBP6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDw4dMp0Q/z0iRfGMKTPhKbJLz5npU/qw9FnsmCWTbkWQIhAKkI8fZcDITknqdQqf/1TMp6+v15nF3c50sZc7Y6wA49"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"1.4.3":{"name":"resin-sdk","version":"1.4.3","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"bluebird":"^2.9.14","chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-shell":"^0.2.11","gulp-util":"~3.0.1","jsdoc":"^3.3.0-beta3","mocha":"~2.0.1","run-sequence":"^1.0.2","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"async":"^0.9.0","lodash":"~2.4.1","lodash-contrib":"~241.4.14","pubnub":"^3.7.7","resin-errors":"^1.0.2","resin-pine":"^1.1.0","resin-request":"^1.2.4","resin-token":"^1.2.0"},"gitHead":"28e770b35960e07c0bdd1a0eccd45e70ed37609e","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@1.4.3","_shasum":"4131ac72a39c06c20defb3293615e2c46fc82559","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"4131ac72a39c06c20defb3293615e2c46fc82559","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-1.4.3.tgz","integrity":"sha512-0B63ESZ8mt+An5Kg6xmcu01ss4UWuvPQnoAUzjzE6ccwPCckGdWMyaj2jQ9IPjMhwSyHOjJ09voe/srbpZN9qQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBzE+TrtcPsmfLLo3MxYnqihILcSVOxpxO/WbpzSx2PbAiEA2kFdBQWPj97OuTVsuppHxxdUY3jxudHjsqF3/aCWKbU="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"1.5.0":{"name":"resin-sdk","version":"1.5.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"bluebird":"^2.9.14","chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-shell":"^0.2.11","gulp-util":"~3.0.1","jsdoc":"^3.3.0-beta3","mocha":"~2.0.1","run-sequence":"^1.0.2","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"async":"^0.9.0","lodash":"~2.4.1","lodash-contrib":"~241.4.14","pubnub":"^3.7.7","resin-errors":"^1.0.2","resin-pine":"^1.1.0","resin-request":"^1.2.4","resin-token":"^1.2.0"},"gitHead":"11bc74c5da9d97019939ee8b3bd136e504371c87","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@1.5.0","_shasum":"01fefab0878222cc97ff530532cf16a4d07f00ed","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"01fefab0878222cc97ff530532cf16a4d07f00ed","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-1.5.0.tgz","integrity":"sha512-2J5p88tWOTUcv5y9fDHPjLiRr0f3CIPunUf632D7JGiS05nYJN7r0vHUSimhO69bEvD3NRQpgwiJg1rg3gcT0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrV/ZSWzblosUoOdelfq09tumSafLZQQk9xQQeS1QS2AIhAPpybKgGXVdK7ousfw5TztMKJjnH1X96zdur4ctF2xIZ"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"1.5.1":{"name":"resin-sdk","version":"1.5.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"bluebird":"^2.9.14","chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-shell":"^0.2.11","gulp-util":"~3.0.1","jsdoc":"^3.3.0-beta3","mocha":"~2.0.1","run-sequence":"^1.0.2","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"async":"^0.9.0","lodash":"~2.4.1","lodash-contrib":"~241.4.14","pubnub":"^3.7.7","resin-errors":"^1.0.2","resin-pine":"^1.1.1","resin-request":"^1.2.5","resin-token":"^1.3.0"},"gitHead":"80d1ced877e440689cce6620d84790da57582468","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@1.5.1","_shasum":"f050bcbebb2339db262db843d596cb5597e0eb56","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"f050bcbebb2339db262db843d596cb5597e0eb56","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-1.5.1.tgz","integrity":"sha512-9mgtytmTatV1WmHEYXIrQveL3stOK4ZI+HLJ1BDA8e1y7e4Yyon8yItPmIafVxFnmHgYT64xKp/DlgAeKMKxQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChvW1NtKq7Yn3SpZFu/33jUe5WImevd41zfpt7D43EMQIhALkecWkOcrI2a6PZSw6nzTAAAJZgN2rMKWRl/qR408cU"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"1.6.0":{"name":"resin-sdk","version":"1.6.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"bluebird":"^2.9.14","chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-shell":"^0.2.11","gulp-util":"~3.0.1","jsdoc":"^3.3.0-beta3","mocha":"~2.0.1","run-sequence":"^1.0.2","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"async":"^0.9.0","lodash":"~2.4.1","lodash-contrib":"~241.4.14","pubnub":"^3.7.7","resin-errors":"^1.0.2","resin-network-config":"^1.0.0","resin-pine":"^1.1.1","resin-request":"^1.2.5","resin-token":"^1.3.0"},"gitHead":"53a6e1fae8c48d28184e7a10e24c8d5c84336274","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@1.6.0","_shasum":"768ceda721c990a0c4c2d03e399bdb1833b501d4","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"768ceda721c990a0c4c2d03e399bdb1833b501d4","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-1.6.0.tgz","integrity":"sha512-2mliboF8Im5eFrhOc8GtiCX1gfe/aK0JLRkJelnexhJABUfb+GIkG/VDO1rKLTwHieQvjZoaFJ5vNznPZXNf1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG3+MJ8Tl1U3d/xzuhsHd9aYxvcInOg+p10+r1fte9CRAiBtUpwT2AbH8S3DhaJA9ydE673UTKUQUg+Pna7t45bchQ=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"1.7.0":{"name":"resin-sdk","version":"1.7.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"bluebird":"^2.9.25","chai":"~2.3.0","coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-shell":"^0.4.1","gulp-util":"~3.0.4","jsdoc":"^3.3.0","mocha":"~2.2.5","run-sequence":"^1.1.0","sinon":"~1.14.1","sinon-chai":"~2.7.0"},"dependencies":{"async":"^1.0.0","lodash":"~3.9.1","lodash-contrib":"~241.4.14","pubnub":"^3.7.11","resin-errors":"^1.0.2","resin-network-config":"^1.0.0","resin-pine":"^1.1.1","resin-request":"^1.2.5","resin-token":"^1.3.0"},"gitHead":"d5d2430ce52348b9479bf4ad560c609531c00723","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@1.7.0","_shasum":"1bca2baca2876cf8049ff27b36675d27010e096c","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"1bca2baca2876cf8049ff27b36675d27010e096c","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-1.7.0.tgz","integrity":"sha512-LODiyP8EZPiT5S0NBvNsF+vpck4MyxtmyN5H5fLhS22q9W6fkwae9JtVa4PLSjHTuF3yDtqHa6sPUKWOoBxt+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYJftWmModpFeqER4v6+Rm+oYvQgc4etVE43v+ObS8JQIgcmCMv2mE++cvsU3HtA38hIJ7EddaMnd3dPf/gb3uDjk="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"1.7.1":{"name":"resin-sdk","version":"1.7.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"bluebird":"^2.9.25","chai":"~2.3.0","coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-shell":"^0.4.1","gulp-util":"~3.0.4","jsdoc":"^3.3.0","mocha":"~2.2.5","run-sequence":"^1.1.0","sinon":"~1.14.1","sinon-chai":"~2.7.0"},"dependencies":{"async":"^1.0.0","lodash":"~3.9.1","lodash-contrib":"~241.4.14","pubnub":"^3.7.11","resin-errors":"^1.0.2","resin-network-config":"^1.0.0","resin-pine":"^1.1.1","resin-request":"^1.2.5","resin-token":"^1.3.0"},"gitHead":"066f3a96144bc861f8418f80e82a394e53919404","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@1.7.1","_shasum":"21f5f8e006813758907c1838bdd61a5d3b1648c5","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"21f5f8e006813758907c1838bdd61a5d3b1648c5","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-1.7.1.tgz","integrity":"sha512-eWUNsz8L9kmWaZdiObi4chF3gXa3ZnpVv7Wo6rWX2SO+z9Z+Plmo4RXy6qOZ6aCgcJe8qjHw9iK8a4204a5gEQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEH9tIzI5Jm5ltajJGeyx5lOLVJyOs9soMaDeg5mzkXlAiBS1vfnb0KsrJ+Aako94pckuObj5uZ+0jLPoakTmzEigA=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"1.7.2":{"name":"resin-sdk","version":"1.7.2","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"bluebird":"^2.9.25","chai":"~2.3.0","coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-shell":"^0.4.1","gulp-util":"~3.0.4","jsdoc":"^3.3.0","mocha":"~2.2.5","run-sequence":"^1.1.0","sinon":"~1.14.1","sinon-chai":"~2.7.0"},"dependencies":{"async":"^1.0.0","lodash":"~3.9.1","lodash-contrib":"~241.4.14","pubnub":"^3.7.11","resin-errors":"^1.0.2","resin-network-config":"^1.0.0","resin-pine":"^1.1.1","resin-request":"^1.2.5","resin-token":"^1.3.0"},"gitHead":"ec6fb81f6551b9420545cc34d2cabe4d9c40b31d","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@1.7.2","_shasum":"292a2f0e3704d9e2c7b1dd4657e861141e37524f","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"292a2f0e3704d9e2c7b1dd4657e861141e37524f","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-1.7.2.tgz","integrity":"sha512-l9dg0EujKtlDgu5PUaHgwIbDs4YETf1ybvmFXo1qdHo1MYKXUkoMYF5tEOQZ8KQbqtdMJEs76U080xvO2aSoTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9P+1qIxxSsS5std1bMUdwHsrDgU2jFksH9JqRULj8JAIgKB12L583WKWPzdQU62TR2gHxarSYxgyAQTOH2+Hn75g="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"1.7.3":{"name":"resin-sdk","version":"1.7.3","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"bluebird":"^2.9.25","chai":"~2.3.0","coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-shell":"^0.4.1","gulp-util":"~3.0.4","jsdoc":"^3.3.0","mocha":"~2.2.5","run-sequence":"^1.1.0","sinon":"~1.14.1","sinon-chai":"~2.7.0"},"dependencies":{"async":"^1.0.0","lodash":"~3.9.1","lodash-contrib":"~241.4.14","pubnub":"^3.7.11","resin-errors":"^1.0.2","resin-network-config":"^1.0.0","resin-pine":"^1.1.1","resin-request":"^1.2.5","resin-token":"^1.3.0"},"gitHead":"5d2c32a77472998ed387974a78e2f29050f3b205","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@1.7.3","_shasum":"5f065787636750ae4cfee24ed7aab5296b287e67","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"5f065787636750ae4cfee24ed7aab5296b287e67","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-1.7.3.tgz","integrity":"sha512-FB85GPHfjmDbY1S8I4WwoUzfHUHa1n7VXJt1Amf/EeHK5ntsx1zZpprC2X5sfUuAa1V/v3x47mpC0KhcvYRyGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEt9mvRCXLma6mh1+jMvtF+LxliNpDeoSAThATwmZK2tAiEA3K8PbuPWJc5CuaL+6TAy+LO/+MFFjjIjp5h4oaJROGU="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"1.7.4":{"name":"resin-sdk","version":"1.7.4","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"bluebird":"^2.9.25","chai":"~2.3.0","coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-shell":"^0.4.1","gulp-util":"~3.0.4","jsdoc":"^3.3.0","mocha":"~2.2.5","run-sequence":"^1.1.0","sinon":"~1.14.1","sinon-chai":"~2.7.0"},"dependencies":{"async":"^1.0.0","lodash":"~3.9.1","lodash-contrib":"~241.4.14","pubnub":"^3.7.11","resin-errors":"^1.0.2","resin-network-config":"^1.0.0","resin-pine":"^1.1.1","resin-request":"^1.2.5","resin-token":"^1.3.0"},"gitHead":"bb2880cc3ba85410cdf84c424d06feed7a55ed91","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@1.7.4","_shasum":"28b54cbf7391a6d7219aec356afe3ede703a4cf1","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"28b54cbf7391a6d7219aec356afe3ede703a4cf1","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-1.7.4.tgz","integrity":"sha512-4o5OgMuzDd6oAusUURUqGmsbQEHO65epm5GLXNfXWKFsydygsaaP8pKkMItcoM/I/Pg31dH/ivcVxhMhomUYYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGH+WaKjN2Bhxy2kDaqfkflvXO+kH3RGHRjRy6Gu7V+pAiEAhlXfdiFZ4c4Q8DXjNtoa2Y863KER7J+M9lGNqo6PNzE="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"1.8.0":{"name":"resin-sdk","version":"1.8.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"chai":"~2.3.0","coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-shell":"^0.4.1","gulp-util":"~3.0.4","jsdoc":"^3.3.0","mocha":"~2.2.5","run-sequence":"^1.1.0","sinon":"~1.14.1","sinon-chai":"~2.7.0"},"dependencies":{"async":"^1.0.0","bluebird":"^2.9.27","lodash":"~3.9.1","lodash-contrib":"~241.4.14","pubnub":"^3.7.11","resin-errors":"^1.0.2","resin-network-config":"^1.0.0","resin-pine":"^1.1.1","resin-request":"^1.2.5","resin-token":"^1.3.0"},"gitHead":"bf203dfe73be60bf1df26568f6336328c2bb8ab3","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@1.8.0","_shasum":"88498d3cbedf2375a5eba5e248a7a6f46ff8c85f","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"88498d3cbedf2375a5eba5e248a7a6f46ff8c85f","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-1.8.0.tgz","integrity":"sha512-uv3YaPkgoM0Og9VkssohvlALcRy+g9zlKJw7eYmg4rXChg5cMrzYJ536Xq0fR3awBtp34QoPW7qJ9xswk9EWrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAkg3828otlp9yB3nBFTLRfbCUZCe7trYBI42HIWpdpyAiEA4DHy2LJeMWcmrDgM4wdMbbp4Ezz31ZPwnsaWVkFNFZE="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"2.0.0":{"name":"resin-sdk","version":"2.0.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","run-sequence":"^1.1.0"},"dependencies":{"bluebird":"^2.9.27","lodash":"~3.9.1","resin-device-logs":"^1.0.0","resin-errors":"^1.0.2","resin-network-config":"^1.0.0","resin-request":"^2.1.0","resin-token":"^2.2.0","resin-pine":"^1.3.0","resin-settings-client":"^1.3.0"},"gitHead":"575d17e04a5b4e7ad3d90c379067a3f2afabde3d","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@2.0.0","_shasum":"01e505f11805395a2602a5e1be3162092f87cada","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"01e505f11805395a2602a5e1be3162092f87cada","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-2.0.0.tgz","integrity":"sha512-EHtTNscJiHb8FHBmCs2FK+yEYy1hHPjuXmabc+QwXvXc5tczyU+43z7ib6taxWU/cNRxE98i9hWNqaqcvv/RHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGYQaLBYRg4UqMen49e/WN0VtVLQVQrKr/D3WlB+sWhSAiBd7fofifc30XNepdnbAWvkDcmpdNp83d8E9UUKJJWoCw=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"2.1.0":{"name":"resin-sdk","version":"2.1.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","run-sequence":"^1.1.0"},"dependencies":{"bluebird":"^2.9.27","lodash":"~3.9.1","resin-device-logs":"^1.0.0","resin-errors":"^1.0.2","resin-network-config":"^1.0.0","resin-request":"^2.1.0","resin-token":"^2.2.0","resin-pine":"^1.3.0","resin-settings-client":"^1.4.0"},"gitHead":"27e6fed89417837e6ce711a8e8d4565546c21131","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@2.1.0","_shasum":"df93dd125861df415e96fe002da12310acebbba4","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"df93dd125861df415e96fe002da12310acebbba4","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-2.1.0.tgz","integrity":"sha512-Fqpa4pZ6zskuu66U+tg7Bi12F216ejlHvNZP1ul09MIIhXZ5q+y7i+Qm2zHKXXA5x/w2YpACOqgKuNdECHwm7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLqAsMb36jCDd/j4mNwtbZbEUExarM2DvVKg3bNoX2+wIhALkRvXJTnk+3ZJTGx+7Q0ZYToecMOHOmelNWUr/LNQai"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"2.2.0":{"name":"resin-sdk","version":"2.2.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","run-sequence":"^1.1.0"},"dependencies":{"bluebird":"2.9.30","lodash":"~3.9.1","resin-device-logs":"^1.0.0","resin-errors":"^1.0.2","resin-network-config":"^1.0.0","resin-request":"^2.1.0","resin-token":"^2.2.0","resin-pine":"^1.3.0","resin-settings-client":"^1.4.0"},"gitHead":"74b0ee2080e12ce2e8f28c96d1b056d17ca432ef","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@2.2.0","_shasum":"92e64db416981651871210fb70db30a95e5ce8b1","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"92e64db416981651871210fb70db30a95e5ce8b1","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-2.2.0.tgz","integrity":"sha512-Jj7KgEY4A8wX0HSNALtd3si44GeadhGHu2hQZukgBITB8TlSMd96aq7pKWgIrWpwiSXJ+/NIJ2Ax96WUEkcIoA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaHBBt3QObWtW6nizEwK3EGaZnhDElpFk+GWq9wEUTBQIgFfWfWYhhKKqu0R4yNsdd3Pin3+892kDsxLNpkbAuIUg="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"2.3.0":{"name":"resin-sdk","version":"2.3.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","run-sequence":"^1.1.0"},"dependencies":{"bluebird":"^2.9.32","lodash":"~3.9.1","resin-device-logs":"^1.0.0","resin-errors":"^1.0.2","resin-request":"^2.2.1","resin-token":"^2.3.0","resin-pine":"^1.3.0","resin-settings-client":"^1.4.0"},"gitHead":"983ed7f3d751653af73fe6bde57fcc5fdc846dec","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@2.3.0","_shasum":"4a60bb8081a58155d556505b28eb890f4bff6c7e","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"4a60bb8081a58155d556505b28eb890f4bff6c7e","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-2.3.0.tgz","integrity":"sha512-HSKAMlU+/dhXo+eRaP32I/Viu9ANLTjkyUNtWeUH/9mfNfpx6TmA+VCHyh962iT8Pgwd3Iixk9XdwANyStVTMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGJNe3PhPmVwsqMATp8HiLsRpN7mioq3vN2tRvz5+fzGAiAvqWREP/YEshGUtL3YCEpVuMgVaizSgC87/akivVoLBA=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"2.3.1":{"name":"resin-sdk","version":"2.3.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","run-sequence":"^1.1.0"},"dependencies":{"bluebird":"^2.9.32","lodash":"~3.9.1","resin-device-logs":"^1.0.0","resin-errors":"^1.0.2","resin-request":"^2.2.2","resin-token":"^2.3.0","resin-pine":"^1.3.0","resin-settings-client":"^2.0.0"},"gitHead":"04a93f78450a8707e95f9ab032b19927c529b271","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@2.3.1","_shasum":"303927afa3f56e9abdc2f3b31366e47918778d67","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"303927afa3f56e9abdc2f3b31366e47918778d67","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-2.3.1.tgz","integrity":"sha512-FXrzs7CBFhRfwzt0tstlMAm0imLUtRRwxXfqiVmMPtXVEx8b4URc+cxuOz7h/zx6SIxiQtc208oZ+9EWAsCJYg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnmXbSzB58Gd6AKCxyBqv2MnK8wz9ogimbgKi/ntx/qAIgONHdTBAiSvA0IWN2i3Z1zN/JW9r0omg37RMhVEW7ZPE="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"2.4.0":{"name":"resin-sdk","version":"2.4.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","run-sequence":"^1.1.0"},"dependencies":{"bluebird":"^2.9.32","lodash":"~3.9.1","resin-device-logs":"^1.0.0","resin-errors":"^2.0.0","resin-request":"^2.2.3","resin-token":"^2.4.1","resin-pine":"^1.3.0","resin-settings-client":"^2.0.0"},"gitHead":"8dde122ed61cd19532623f9c8e9fc3522a34b9dd","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@2.4.0","_shasum":"e0dd518c34639d423edf89c1f326ec67d12359ab","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"e0dd518c34639d423edf89c1f326ec67d12359ab","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-2.4.0.tgz","integrity":"sha512-lgjz90/3sn6ssylYSpLo4htBqgbncgPNyRelGHMXiolnnDcDPCyNv0xEPb2es0AyKDdjwJ8mVNoATEnujsMF5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDMulXjd9vqjJIJBC7L2NXvX8Ws8NfXv/jKglJ0U9iwPAiEA32GwQ6XkvvzFkBYPvdn1iCorkC17PKfNyr2CxS1Z3EI="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"2.4.1":{"name":"resin-sdk","version":"2.4.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","run-sequence":"^1.1.0"},"dependencies":{"bluebird":"^2.9.32","lodash":"~3.9.1","resin-device-logs":"^1.0.0","resin-errors":"^2.0.0","resin-request":"^2.2.3","resin-token":"^2.4.1","resin-pine":"^1.3.0","resin-settings-client":"^2.1.0"},"gitHead":"fda89403a85e4ca601e7caf4690e6604eed14675","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@2.4.1","_shasum":"27b09f15babfef07a638596e61f9718bc0fc8ac3","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"27b09f15babfef07a638596e61f9718bc0fc8ac3","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-2.4.1.tgz","integrity":"sha512-VaENMICGkKECLGCA7CEG+TLlHRtvRhke2uLyVa1gcCwWMTUI/BbWdX3zEu2cssUPW7y5cBlvxE60x9z9oASGmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMgVO2GcoEfuqsmd+BX+jfGkJAaqbwot7mgfjWLGuXnAIhAKe4/zlt8JN6l+Kpqm9JyUNAmc/dmReHhsZ/yPDQYMWa"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"2.5.0":{"name":"resin-sdk","version":"2.5.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","run-sequence":"^1.1.0"},"dependencies":{"bluebird":"^2.9.32","lodash":"~3.9.1","resin-device-logs":"^1.0.0","resin-errors":"^2.0.0","resin-request":"^2.2.4","resin-token":"^2.4.1","resin-pine":"^1.3.0","resin-settings-client":"^2.1.0"},"gitHead":"217b57ad69655c4aa863e6dd7198a4d01960c337","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@2.5.0","_shasum":"3b70097c1643ba8ce13271bbda83761c3bba2ad3","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"3b70097c1643ba8ce13271bbda83761c3bba2ad3","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-2.5.0.tgz","integrity":"sha512-IO8VnpbkGW1SwpHEDJ18StRvR+AQ43lFeKTVOpBrehWG6XONekGJsab1MHVf+fE9yS06+GFWBjnNBPkz3bSthw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCC+e1fXrSoniRUwGZ3fkOpLbY1KP1eQJRMfActqyF9gIgPiADu+YdWEZbOOU812Ihrfxl57J9OS+W/U5GmDUZaZg="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"2.6.0":{"name":"resin-sdk","version":"2.6.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","run-sequence":"^1.1.0"},"dependencies":{"bluebird":"^2.9.32","lodash":"~3.9.1","resin-device-logs":"^1.0.0","resin-errors":"^2.0.0","resin-request":"^2.2.4","resin-token":"^2.4.1","resin-pine":"^1.3.0","resin-settings-client":"^2.1.0"},"gitHead":"86d87ce41b148bbebcf8cc2f6caebfde353f55f1","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@2.6.0","_shasum":"4b3a89148f155e79699be747f7caf0cfc3cefd43","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"4b3a89148f155e79699be747f7caf0cfc3cefd43","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-2.6.0.tgz","integrity":"sha512-1Hud9DSGYtrtZ3Ek/urQ+AR63M1sVJ3olA+AE6XpLImvryWqthjr94OrFfNIToTMfFNlOJxabgfmKNbMZZ8YhQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGQSEqJpUHDrm3nezrsbCeqql+xJgrRVlVBiDUPnziFPAiEAgmxn2UZS2W++nvufIKfDlhut1KajRsEkSTAw6g6Tw18="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"2.6.1":{"name":"resin-sdk","version":"2.6.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","run-sequence":"^1.1.0"},"dependencies":{"bluebird":"^2.9.32","lodash":"~3.9.1","resin-device-logs":"^1.0.0","resin-errors":"^2.0.0","resin-request":"^2.3.0","resin-token":"^2.4.1","resin-pine":"^1.3.0","resin-settings-client":"^2.1.0"},"gitHead":"65139dc753105a6de0e60a8b104c010808e35120","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@2.6.1","_shasum":"7ce57c056fd3013a715fac935b87876ba9963f2c","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"7ce57c056fd3013a715fac935b87876ba9963f2c","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-2.6.1.tgz","integrity":"sha512-h41pCbg2k8T2b46VvRrNrIUCUCz8N8t8g9xBhRwsFGnWlExtZvta2jFAA7dbJNxtRvBytS4vk0/5g5aOgbczdQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDAfe1t1+s0DsqZVYg3itIVPEEUddOK46jNb6UlHA0qCAiEAuj7Kwq8yEH/U0k3FSUTVkchqCIK/4SjqZ/Qlp+W8Nbw="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"2.6.2":{"name":"resin-sdk","version":"2.6.2","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","run-sequence":"^1.1.0"},"dependencies":{"bluebird":"^2.9.32","lodash":"~3.9.1","resin-device-logs":"^1.0.0","resin-errors":"^2.0.0","resin-request":"^2.3.1","resin-token":"^2.4.1","resin-pine":"^1.3.0","resin-settings-client":"^2.1.0"},"gitHead":"4af98fe03ad03591af8167c7a6636e5e0bb29ed5","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@2.6.2","_shasum":"90be3148282e4b2f3e297a40a015a6012c68da2a","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"90be3148282e4b2f3e297a40a015a6012c68da2a","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-2.6.2.tgz","integrity":"sha512-uAsyFvBxhmhqM+T3RRg/Udt8tjvD+w3wELu942whsaCM43r5/ezAn1DJmHIqn7fGt/iEi/Cbgjy7TNSKSrBvGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICmW7ELoKquyOw27D1IKWTYLRCpGrzj/2oQuV+N/hDOHAiEA2j/CIAaDcHKUKTFIgtDYOFAf63lBh7XsE0++8zMQJxs="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"2.7.0":{"name":"resin-sdk","version":"2.7.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","run-sequence":"^1.1.0"},"dependencies":{"bluebird":"^2.9.32","lodash":"~3.9.1","resin-device-logs":"^1.0.0","resin-errors":"^2.0.0","resin-pine":"^1.3.0","resin-register-device":"^1.1.0","resin-request":"^2.3.1","resin-settings-client":"^2.1.0","resin-token":"^2.4.1"},"gitHead":"e2373a73fb2e33ff41c4b03d53ff9954880a7ec8","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@2.7.0","_shasum":"26d5c33e479759f48118e86fa7dada1f375b487a","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"26d5c33e479759f48118e86fa7dada1f375b487a","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-2.7.0.tgz","integrity":"sha512-vCudG6Aqvtcug8MkyeHmbsmiU+uOgeQ38A9lv1aW4QJdpR+Egra8cDL/WhN56LBCxs9A+zLlTHDB1Gg7l2lHgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyW+EZ84FH+aAMrardjqC6Oni6TI5oL5LhrAOz3+t88gIgPSvOxbEEp1Pnzp0NL9NM3GiXXm/HGQJvua8273VD1nc="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"2.7.1":{"name":"resin-sdk","version":"2.7.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","run-sequence":"^1.1.0"},"dependencies":{"bluebird":"^2.9.32","lodash":"~3.9.1","resin-device-logs":"^1.0.0","resin-errors":"^2.0.0","resin-pine":"^1.3.1","resin-register-device":"^1.1.0","resin-request":"^2.3.2","resin-settings-client":"^3.0.0","resin-token":"^2.4.1"},"gitHead":"3253ca323674656241928598e0b9ed456bacca88","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@2.7.1","_shasum":"223cac86557a856998ba2fd02f00eb7a7b651dfd","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"223cac86557a856998ba2fd02f00eb7a7b651dfd","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-2.7.1.tgz","integrity":"sha512-GBFiOw69eK33NmCQ693F9CPNkcKG6+ZcJeaTvP8As5Q77qCYQxeinxy7jiGLat8UWE2PF5WPscwsV3rPMU72/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDgx0CQVlZfHephTEgIXnEt8nSZMw/Iwn4PmTYvzlfq9AiBnMxzYJIRmfPxp33q0FCs8dPMsgW/NkXWMhaHc+7xwgw=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"2.7.2":{"name":"resin-sdk","version":"2.7.2","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","run-sequence":"^1.1.0"},"dependencies":{"bluebird":"^2.9.32","lodash":"~3.9.1","resin-device-logs":"^1.0.0","resin-errors":"^2.0.0","resin-pine":"^1.3.1","resin-register-device":"^1.1.0","resin-request":"^2.3.2","resin-settings-client":"^3.0.0","resin-token":"^2.4.2"},"gitHead":"2ae51d923a26387c835ca9515eb642c2ffc88ed5","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@2.7.2","_shasum":"a27ef121f1f8f2300dc0ac10d74a134feba86545","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"a27ef121f1f8f2300dc0ac10d74a134feba86545","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-2.7.2.tgz","integrity":"sha512-Nx0AWQptIxOcWHSX8Uoo+WTFmZJLfqm9GEFR+5uokyNZpMqA6paGATisCqYplAoG6SzKOswAEjs3uuFC0m0FYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEKZEf9nIinPH/oHyADn8N0qzrPKaSyb3YRI+qrJzJcYAiEAnFZBShVX/B0x3/3KmLZEQazMzFnH0njXMIYujMW8H8Q="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"2.7.3":{"name":"resin-sdk","version":"2.7.3","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","run-sequence":"^1.1.0"},"dependencies":{"bluebird":"^2.9.32","lodash":"~3.9.1","resin-device-logs":"^1.0.0","resin-errors":"^2.0.0","resin-pine":"^1.3.1","resin-register-device":"^1.1.0","resin-request":"^2.3.2","resin-settings-client":"^3.1.0","resin-token":"^2.4.2"},"gitHead":"f5beb7b7a6a4da0e81210f566eabc0351310049c","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@2.7.3","_shasum":"09c942345ceb6bdf8b8be7ea42c857b54ec09253","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"09c942345ceb6bdf8b8be7ea42c857b54ec09253","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-2.7.3.tgz","integrity":"sha512-xf9W0UqAGWSNBM+GbumNl4Pv013IkCS47Bx9tp/8YiNTjlgJG25O/tSC6YMM75HTj33qrtJbK4CXoX/yShjkxA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGET5CQDgJlQ1O+fjGuzksIt6XW8M9S6Ohp8y6FrV9PVAiBJNRl9VnAwb16AjPmwohX2wGIenjgsuJ2pBOlANJDRXQ=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"2.8.0":{"name":"resin-sdk","version":"2.8.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","run-sequence":"^1.1.0"},"dependencies":{"bluebird":"^2.9.32","lodash":"~3.9.1","resin-device-logs":"^1.0.0","resin-errors":"^2.0.0","resin-pine":"^1.3.1","resin-register-device":"^1.1.0","resin-request":"^2.3.2","resin-settings-client":"^3.1.0","resin-token":"^2.4.2"},"gitHead":"f26c8ec8441924e709dbe9603f9fdbb98f2e80f2","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@2.8.0","_shasum":"c900f0f6b2d9217c83f55e1061a30e4aacbc6d73","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"c900f0f6b2d9217c83f55e1061a30e4aacbc6d73","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-2.8.0.tgz","integrity":"sha512-GfvrzA2325moJtt4t5hhGlzWFl5C72RDBRSvcwKMeJpI8Nyg5B51RB6kDfE+m/vq1mrUgCC0J0VuoibV++Y/Hw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2fcXWaSJ8s+jed3oa4Chriiaaadq939sfLy1fZnB/UQIhAP8imrzjRzcbMEObTSiXmZ4HYf5uiDr4wFWObNYZ0Qp9"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"3.0.0":{"name":"resin-sdk","version":"3.0.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","run-sequence":"^1.1.0"},"dependencies":{"bluebird":"^2.9.32","lodash":"~3.9.1","resin-device-logs":"^1.0.0","resin-errors":"^2.0.0","resin-pine":"^1.3.1","resin-register-device":"^2.0.0","resin-request":"^2.3.2","resin-settings-client":"^3.1.0","resin-token":"^2.4.2"},"gitHead":"aadf896db99ebd0738184c966b3774613bede214","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@3.0.0","_shasum":"ab333faa943bd5eac96eee47703e3d74db0af5bd","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"ab333faa943bd5eac96eee47703e3d74db0af5bd","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-3.0.0.tgz","integrity":"sha512-laxmny8zZ2oVNOu+Lg78MOrV6i/Yecw8oz4thutu73OODNcQbaqxlIxIG+raPQaeiZZnqE+E0K2B/1tYcxKzXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1A+Z51fbr7a8uk0bsByXhvRditd1cASayoivVU8e9uwIhAKDziCBKtXRmhpEIfsR5IZZMPIIokS/tsxULsce9PLkt"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"4.0.0":{"name":"resin-sdk","version":"4.0.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","run-sequence":"^1.1.0"},"dependencies":{"bluebird":"^2.9.32","lodash":"~3.9.1","resin-device-logs":"^1.0.0","resin-errors":"^2.0.0","resin-pine":"^1.3.1","resin-register-device":"^2.0.0","resin-request":"^2.3.2","resin-settings-client":"^3.1.0","resin-token":"^2.4.2"},"gitHead":"a46e5a15580b8b86488cbc2ffbc174af789dd1c0","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@4.0.0","_shasum":"e5ce5b5aa7a191ee09dfe5e12bf859877c7b621f","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"dist":{"shasum":"e5ce5b5aa7a191ee09dfe5e12bf859877c7b621f","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-4.0.0.tgz","integrity":"sha512-pVG6LWQ9zaL2cTx9uHZ83fZ8Ovbbb/kK4gJ7OnFn5TdPnBVVUv1wtLE7SNkQDkvUEhVMtocE4bxBBiIvE29bXw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCK6VmzELw3dIzY2HmYDKElLKOQg4rnxGH2M2jq7cMADQIhAIgZ6u5LSbvtT2vyl647yeL3hmvHE+yHs3qvx70x7KKK"}]},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"4.1.0":{"name":"resin-sdk","version":"4.1.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","run-sequence":"^1.1.0"},"dependencies":{"bluebird":"^2.9.32","lodash":"~3.9.1","resin-device-logs":"^1.0.0","resin-errors":"^2.0.0","resin-pine":"^1.3.1","resin-register-device":"^2.0.0","resin-request":"^2.3.2","resin-settings-client":"^3.1.0","resin-token":"^2.4.2"},"gitHead":"3fb5240ecd5b76503afabdfde923eb5c00016cd3","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@4.1.0","_shasum":"b2de8ec71627ad43c8ea6de28d9edc22e6f4f150","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"b2de8ec71627ad43c8ea6de28d9edc22e6f4f150","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-4.1.0.tgz","integrity":"sha512-wF2XM+hu4/PD6uxzAfiNgXk/OP5WoteHytpW33E6wTf6hQmB0CYmrq9JKFX5nlQqXUahmUbRgKPVpYc2EWstRg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyOiEnLM2Nr1byEwiXY/Vs8WeJZNP3KSgwW/7BgXct+wIhAImdPFoVLva4xJrdBjJsSLFyHdmHFp51jABdfre0aWV4"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"4.1.1":{"name":"resin-sdk","version":"4.1.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","run-sequence":"^1.1.0"},"dependencies":{"bluebird":"^2.9.32","lodash":"~3.9.1","resin-device-logs":"^1.0.0","resin-errors":"^2.0.0","resin-pine":"^1.3.1","resin-register-device":"^2.0.0","resin-request":"^2.3.2","resin-settings-client":"^3.1.0","resin-token":"^2.4.2"},"gitHead":"9822aa2b2eff97a8f015501de314ded24dc28294","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@4.1.1","_shasum":"000480b344be318643d4125771955d0884e65b55","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"000480b344be318643d4125771955d0884e65b55","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-4.1.1.tgz","integrity":"sha512-8OsK7pzisQyEW0DCgHw0dAh9AV7aJGBNJsLnjT+TMsW2k1OpCdp3OgJ2vxsOw2uDQxMedUkd2gQwA7C1kFpBNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB9bUxM6A79TErzcS+/dFV1djkOZ3belOiitxY8cu17aAiEAjgos+ESxcOeucEOPN4ez9y75F+NHS3vMxt+x48m89TY="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"4.1.2":{"name":"resin-sdk","version":"4.1.2","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","run-sequence":"^1.1.0"},"dependencies":{"bluebird":"^2.9.32","lodash":"~3.9.1","resin-device-logs":"^1.0.0","resin-errors":"^2.0.0","resin-pine":"^1.3.1","resin-register-device":"^2.0.0","resin-request":"^2.3.2","resin-settings-client":"^3.3.1","resin-token":"^2.4.2"},"gitHead":"ea590e23cf0eb20c77c49d8e71cc2faf4d42b1ca","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@4.1.2","_shasum":"063f58645ee9a617fe307426f98738d8b3b44231","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"063f58645ee9a617fe307426f98738d8b3b44231","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-4.1.2.tgz","integrity":"sha512-W8SXMZoO79CEV2xCOwO9iJB5O6U6YKlPxRPkUoKp5aP85SmmAZX+dGjseDG6KJrZLKbosLgNaRtN/U1ilKZ/2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH+whAGjb4GR5FiLwMAvwAbeBNGNtyjcd5S7f2FTHCMfAiEAsgVfeB0SYpCdBu7Fm3Zv3Q7ZSbGabXSeO4N/DI3OYTU="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"4.1.3":{"name":"resin-sdk","version":"4.1.3","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"MIT","devDependencies":{"coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","run-sequence":"^1.1.0"},"dependencies":{"bluebird":"^2.9.32","lodash":"~3.9.1","resin-device-logs":"^2.0.1","resin-errors":"^2.0.0","resin-pine":"^1.3.1","resin-register-device":"^2.0.0","resin-request":"^2.3.2","resin-settings-client":"^3.3.1","resin-token":"^2.4.2"},"gitHead":"6b3498248cfa353a24d2d3be88b16cfdea294d37","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@4.1.3","_shasum":"4e748c5076c8feb783743bb60d82eeb8120df00e","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"4e748c5076c8feb783743bb60d82eeb8120df00e","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-4.1.3.tgz","integrity":"sha512-Q7N1aIjLxiXRf4/BwOhW0/Gl92M/asExh+0Dkh3EHlFriNzp92dxc9WSulp/UXZu+fN8BRd3a3KXRQfM4smDSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcvzcBqvZFpZef5sk4UbUBXX9qZXzuLOq/fOH/8Z9VXgIhAOuBewWh1F3yY4dMk4eX+X8F2m516lJUuQCvruD6lewJ"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"5.0.0":{"name":"resin-sdk","version":"5.0.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"cheerio":"^0.19.0","coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","request":"^2.67.0","rindle":"^1.2.0","run-sequence":"^1.1.0","tmp":"0.0.28"},"dependencies":{"bluebird":"^2.9.32","lodash":"~3.9.1","resin-device-logs":"^2.0.1","resin-errors":"^2.1.0","resin-pine":"^1.3.1","resin-register-device":"^2.0.0","resin-request":"v2.4.2","resin-settings-client":"^3.4.0","resin-token":"^2.4.2"},"gitHead":"5de6f197bbad5180be448e373eed59fcc69b508d","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@5.0.0","_shasum":"f8d0a6ec826921a93237184790717d364386aa39","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"f8d0a6ec826921a93237184790717d364386aa39","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-5.0.0.tgz","integrity":"sha512-5zEIInWDZmoqJfhBqZz2NV2SdtcRTv29hz8k+B8SeA1fvxHf5pezm14kTnWylONDoU8JXqyZXKb5ht3xdMSaQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBhtKrRub/Bczcwxe2TRhHsaBUo2rTaVdLsGy1WiaRpIAiEAoUx14XQTRdFqknUbtkFyfkdcd8czpvXBXa+n8UVvBME="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"5.0.1":{"name":"resin-sdk","version":"5.0.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"cheerio":"^0.19.0","coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","request":"^2.67.0","rindle":"^1.2.0","run-sequence":"^1.1.0","tmp":"0.0.28"},"dependencies":{"bluebird":"^2.9.32","lodash":"~3.9.1","resin-device-logs":"^2.0.1","resin-errors":"^2.1.0","resin-pine":"^1.3.1","resin-register-device":"^2.0.0","resin-request":"^4.0.0","resin-settings-client":"^3.4.0","resin-token":"^2.4.2"},"gitHead":"abd172bfecb16c1f142abda256f1ca1bdbb9e84a","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@5.0.1","_shasum":"99b858af3c3bc179c5bac346b52d3a331545b921","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"99b858af3c3bc179c5bac346b52d3a331545b921","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-5.0.1.tgz","integrity":"sha512-C0tjPoPPda1U9opENZ2ww43+C2ObEVJ20rQQCeV9sY25KJ272gZiADMVgjOnQhNXAcymIwuP11PNOEhZ3XTFvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvyxgZFtgkOyLMaC9tYVvc2vjuwnq5B68S6Yh+56hUogIgRMXhG9WHgsic1IjzaQjaV6wRarY4XxGz81MtSNtNCoI="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"5.1.0":{"name":"resin-sdk","version":"5.1.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"cheerio":"^0.19.0","coffee-script":"~1.9.2","gulp":"~3.8.11","gulp-coffee":"~2.3.1","gulp-coffeelint":"~0.5.0","gulp-mocha":"~2.0.1","gulp-util":"~3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"~2.2.5","mochainon":"^1.0.0","nock":"^2.6.0","request":"^2.67.0","rindle":"^1.2.0","run-sequence":"^1.1.0","tmp":"0.0.28"},"dependencies":{"bluebird":"^2.9.32","lodash":"~3.9.1","resin-device-logs":"^2.0.1","resin-errors":"^2.2.0","resin-device-status":"^1.0.0","resin-pine":"^1.3.1","resin-register-device":"^2.0.0","resin-request":"^4.0.1","resin-settings-client":"^3.4.0","resin-token":"^2.4.2"},"gitHead":"6a52feb1215bfbc2880c9d93700443105fb14c1e","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@5.1.0","_shasum":"5258e9ac6df7732ccb6bb4930638d30e35d593c9","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"5258e9ac6df7732ccb6bb4930638d30e35d593c9","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-5.1.0.tgz","integrity":"sha512-PLBICl5tLL9lVbtxLbxU4IX7ixHBNTEr3E2YoQ1bPenxttGeHAZf1neeaLSWqo2CtwHftQtRqkMQzBfBiOleDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIErLVE8mghwXg45vf19i0NhNNDSVPw3fHP0Qfxlyo36SAiEA7rZ77W57ulrb6Q6RqRJ/jTVIvXwbfgfmg3LAN74T7Bo="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"5.2.0":{"name":"resin-sdk","version":"5.2.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"cheerio":"^0.20.0","coffee-script":"^1.10.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^2.2.0","gulp-util":"^3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"^2.4.5","mochainon":"^1.0.0","request":"^2.67.0","rindle":"^1.2.0","run-sequence":"^1.1.0","tmp":"0.0.28"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","resin-device-logs":"^2.0.1","resin-errors":"^2.2.0","resin-device-status":"^1.0.0","resin-pine":"^1.3.1","resin-register-device":"^2.0.0","resin-request":"^4.0.1","resin-settings-client":"^3.4.0","resin-token":"^2.4.2"},"gitHead":"f46d68a3ee3b74962d454fb0f9520e08d27a805f","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@5.2.0","_shasum":"d87549d71e3f9306a7f8e97c7f91a31c64e0b07c","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"d87549d71e3f9306a7f8e97c7f91a31c64e0b07c","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-5.2.0.tgz","integrity":"sha512-4IdDZKqort+45attDOwnYt6emEBfycpWQjrCouxbtkArte5FDUeOBlLcFDC4FsuSMCQzTgI8MfnX/AbK32g6mg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAnyGRgs0G82me0ZFDSz5eEXDQP41AwFq6LsIYeQ3bWeAiB4LQVbheicUX51pi/AIyxqDowlervbcEakW/9S0BS4bw=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/resin-sdk-5.2.0.tgz_1456766249539_0.6287890719249845"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"5.3.0":{"name":"resin-sdk","version":"5.3.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"cheerio":"^0.20.0","coffee-script":"^1.10.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^2.2.0","gulp-util":"^3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"^2.4.5","mochainon":"^1.0.0","request":"^2.67.0","rindle":"^1.2.0","run-sequence":"^1.1.0","tmp":"0.0.28"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","resin-device-logs":"^2.0.1","resin-device-status":"^1.0.0","resin-errors":"^2.2.0","resin-pine":"^3.1.0","resin-register-device":"^2.0.0","resin-request":"^4.1.1","resin-settings-client":"^3.4.0","resin-token":"^2.4.2","semver":"^5.1.0"},"gitHead":"8693b8f96ba05f993eeec352b9b1ffb7b2fa4801","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@5.3.0","_shasum":"70d96542eb61b536a120455a9e2fadf65240ffc6","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"70d96542eb61b536a120455a9e2fadf65240ffc6","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-5.3.0.tgz","integrity":"sha512-EtnvxJfjg+JhhiTC8TgXG7dnk/TRFn/TgjbWYtJ9IxTtJufL4zvTVSkr6CNqz9wjwb3kFKASyMvpv5UaDbGO/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHuBRV4qQX0+8F7It50IslOVoScWeo0wOPSpAeMj7hGlAiEA9+jGJtrcUhK60OK09xZze9TE1rg0iqm7+V22kTkPknE="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/resin-sdk-5.3.0.tgz_1461674390239_0.3136017806828022"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"5.3.1":{"name":"resin-sdk","version":"5.3.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"cheerio":"^0.20.0","coffee-script":"^1.10.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^2.2.0","gulp-util":"^3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"^2.4.5","mochainon":"^1.0.0","request":"^2.67.0","rindle":"^1.2.0","run-sequence":"^1.1.0","tmp":"0.0.28"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","resin-device-logs":"^2.0.1","resin-device-status":"^1.0.0","resin-errors":"^2.4.0","resin-pine":"^3.1.0","resin-register-device":"^2.0.0","resin-request":"^4.1.1","resin-settings-client":"^3.4.0","resin-token":"^2.4.2","semver":"^5.1.0"},"gitHead":"037ad9f1005873cac7ae73b0e9417bf7e7f9a96d","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@5.3.1","_shasum":"b665e14e2aa123f5064ac2393345ab1e50d362d6","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"b665e14e2aa123f5064ac2393345ab1e50d362d6","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-5.3.1.tgz","integrity":"sha512-LEANzKuGBPgPpS6BHcwtHFHmlf2gNGl0yevoZpkC86Ap5p9ul33XcLUGCShBc0I1SfK4dSkJTB8BE8/0GZfeDw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCp8T9+ZTJ+TXqVl9G8k1RW8dGmtudcoxq7F2UQDVlmIQIgcarMINjubMc8DOPH009kS/jGXSu8DSKDY1Fw23NcFrw="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/resin-sdk-5.3.1.tgz_1463506532830_0.865301983198151"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"5.3.2":{"name":"resin-sdk","version":"5.3.2","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"cheerio":"^0.20.0","coffee-script":"^1.10.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^2.2.0","gulp-util":"^3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"^2.4.5","mochainon":"^1.0.0","request":"^2.67.0","rindle":"^1.2.0","run-sequence":"^1.1.0","tmp":"0.0.28"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","resin-device-logs":"^2.0.1","resin-device-status":"^1.0.0","resin-errors":"^2.4.0","resin-pine":"^3.1.0","resin-register-device":"^2.0.0","resin-request":"^4.1.1","resin-settings-client":"^3.4.0","resin-token":"^2.4.2","semver":"^5.1.0"},"gitHead":"8ad150a15b6a59856466d65168ce73b40d719db5","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@5.3.2","_shasum":"406f6add4d1fd0f9c21ca87dc7148d4317410596","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"406f6add4d1fd0f9c21ca87dc7148d4317410596","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-5.3.2.tgz","integrity":"sha512-WQ7End06//wqUFkOjJf2dogdna1LInoTs5ZU7lr+egcOLZnh9PZ6HBAElyI0uhwtcw0iOLxWouZbyQK9o99IEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWFEDhoAeGRmq4whbJ9OlqhoYYmBpJseKqVazp0QfoAQIhAJRg25VRkMeBfSjJ6LopyDwmwOwddz6iHxKFmSeNDoAH"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/resin-sdk-5.3.2.tgz_1465477423335_0.021207347512245178"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"5.3.3":{"name":"resin-sdk","version":"5.3.3","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"cheerio":"^0.20.0","coffee-script":"^1.10.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^2.2.0","gulp-util":"^3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"^2.4.5","mochainon":"^1.0.0","request":"^2.67.0","rindle":"^1.2.0","run-sequence":"^1.1.0","tmp":"0.0.28"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","resin-device-logs":"^2.0.1","resin-device-status":"^1.0.0","resin-errors":"^2.4.0","resin-pine":"^3.1.0","resin-register-device":"^2.0.0","resin-request":"^4.1.1","resin-settings-client":"^3.4.0","resin-token":"^2.4.2","semver":"^5.1.0"},"gitHead":"4ec71b484ba546ea80630c61d42286efc00da307","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@5.3.3","_shasum":"cb0ba020a73cceb4b89586622099de87514c33e7","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"cb0ba020a73cceb4b89586622099de87514c33e7","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-5.3.3.tgz","integrity":"sha512-UsNeitU43U8Vy/6raF5JCtXjJp/BpUaED+UPdpf9VPGFaaGjf/COIleo/E3CSAyFokjd/d6MFjzmZYIWGmpcsw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB1jpLikej1Romc4BJFk1M3bfDxiITfWJ5tQGoJvNs9OAiBiKZ0pZO4kDLT7CaM27+/MQov7wYRC4jymx8UbHH4JOA=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/resin-sdk-5.3.3.tgz_1466004060841_0.7682636375539005"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"5.3.4":{"name":"resin-sdk","version":"5.3.4","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"cheerio":"^0.20.0","coffee-script":"^1.10.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^2.2.0","gulp-util":"^3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"^2.4.5","mochainon":"^1.0.0","request":"^2.67.0","rindle":"^1.2.0","run-sequence":"^1.1.0","tmp":"0.0.28"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","resin-device-logs":"^2.0.1","resin-device-status":"^1.0.0","resin-errors":"^2.4.0","resin-pine":"^3.1.0","resin-register-device":"^2.0.0","resin-request":"^4.1.1","resin-settings-client":"^3.4.0","resin-token":"^2.4.2","semver":"^5.1.0"},"gitHead":"944429706513cc9e05e7906bcc0865397a7ca263","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@5.3.4","_shasum":"a5bbb8dff6360be2b2b29449d8409894ff123ff9","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"a5bbb8dff6360be2b2b29449d8409894ff123ff9","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-5.3.4.tgz","integrity":"sha512-MEql6lF4h2bJ39dBuWOKKzc+XyrvKI3h7mEYb5d4yK+hKAecmsB3BUgHyTtQmb741N+fW898HiW8NF+Bpb5EBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdSg3kpAsAVWzShJ9izjQA5csMBoyH2U+31A57KrpCYAIgRY7tYlBCIDwuD642uiDWFHHIIOqYe2rCMBj7P5wtjEM="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/resin-sdk-5.3.4.tgz_1467809849857_0.6452470913063735"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"5.3.5":{"name":"resin-sdk","version":"5.3.5","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"cheerio":"^0.20.0","coffee-script":"^1.10.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^2.2.0","gulp-util":"^3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"^2.4.5","mochainon":"^1.0.0","request":"^2.67.0","rindle":"^1.2.0","run-sequence":"^1.1.0","tmp":"0.0.28"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","resin-device-logs":"^3.0.0","resin-device-status":"^1.0.0","resin-errors":"^2.4.0","resin-pine":"^3.1.0","resin-register-device":"^2.0.0","resin-request":"^4.1.1","resin-settings-client":"^3.4.0","resin-token":"^2.4.2","semver":"^5.1.0"},"gitHead":"9b395917d2eb13391cdb50d65bf8802bd00d9109","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@5.3.5","_shasum":"2c0e0fc5dac088b4fb06b8edb0a9cd6bde9e3381","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"2c0e0fc5dac088b4fb06b8edb0a9cd6bde9e3381","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-5.3.5.tgz","integrity":"sha512-fE+OajBfvpue4OF22O86UpCDKaOKvZ+9Rj2mjAmfV06NOsk8wmRhEInvl88TBmEEfbnk5HRDmx8+Vzdk+8llvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFAMAPQgi04mMQZfJxBkJh+psMCqRjxu80XwdMe8MvztAiEA+eTmUjq2JRIadXy7zXXqVZAeqVcIy9rxMQDxIuw2SXw="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/resin-sdk-5.3.5.tgz_1469550279712_0.2939487397670746"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"5.3.6":{"name":"resin-sdk","version":"5.3.6","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"cheerio":"^0.20.0","coffee-script":"^1.10.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^2.2.0","gulp-util":"^3.0.4","jsdoc-to-markdown":"^1.1.1","mocha":"^2.4.5","mochainon":"^1.0.0","request":"^2.67.0","rindle":"^1.2.0","run-sequence":"^1.1.0","tmp":"0.0.28"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","resin-device-logs":"^3.0.0","resin-device-status":"^1.0.0","resin-errors":"^2.4.0","resin-pine":"^3.1.0","resin-register-device":"^2.0.0","resin-request":"^4.1.1","resin-settings-client":"^3.4.0","resin-token":"^2.4.2","semver":"^5.1.0"},"gitHead":"e9b8c631d305c763fa0205444f33f72f4fa54a14","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@5.3.6","_shasum":"cc7430c7c4e95810d6f26d142bfe29c1feadc185","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"cc7430c7c4e95810d6f26d142bfe29c1feadc185","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-5.3.6.tgz","integrity":"sha512-5PbiwDXlwb8V4jQ2u9iYX9qPz2IheG/ar4Sye8BFfSL8nDob3u39EjkS4mYtofY+ZKJ/GdHZhzBc5gojXJolqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB3xMDcevdKNJTSHQ/vK3x+QKoUPn2rLI6UsGzxZ6X7nAiBDJy0OwPQYXvt06xpMr7dLzqWXON0uRFpJNCW5Z3LfpQ=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/resin-sdk-5.3.6.tgz_1474898659131_0.10961658041924238"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"5.4.0":{"name":"resin-sdk","version":"5.4.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"cheerio":"^0.20.0","coffee-script":"^1.10.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^2.2.0","gulp-util":"^3.0.4","jsdoc-to-markdown":"^2.0.1","mocha":"^2.4.5","mochainon":"^1.0.0","request":"^2.67.0","rindle":"^1.2.0","run-sequence":"^1.1.0","tmp":"0.0.28"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","resin-device-logs":"^3.0.0","resin-device-status":"^1.0.0","resin-errors":"^2.4.0","resin-pine":"^3.1.0","resin-register-device":"^2.0.0","resin-request":"^4.1.1","resin-settings-client":"^3.4.0","resin-token":"^2.4.2","semver":"^5.1.0"},"gitHead":"b79fa54a185ebdbafb8af24c1a686d9defc67f0b","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@5.4.0","_shasum":"4581d9a534403596dc340fba9d0a7b95473286b8","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"4581d9a534403596dc340fba9d0a7b95473286b8","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-5.4.0.tgz","integrity":"sha512-v9X9cta7AwAfcgcheVWtnpnulvOe5vlorqtniPS4zMsV0sVS56b0UUu144/EHF/CfroAaxDPrCNkEEEqPEx0ig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHSBy1voQgzJN6L1trMI0KobteP+OcLVlsqFgnZVrf9lAiEAnEvF/H2kAlQ/IRiv4SWjAKv8UOcZplU+73NsRqL1Qqw="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/resin-sdk-5.4.0.tgz_1477580013779_0.11350692063570023"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.0.0-beta1":{"name":"resin-sdk","version":"6.0.0-beta1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^13.3.0","coffee-script":"~1.12.2","dotenv":"^2.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^3.0.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","jsdoc-to-markdown":"^2.0.1","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","resin-settings-client":"^3.5.2","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","resin-device-logs":"^3.0.1","resin-device-status":"^1.0.1","resin-errors":"^2.4.0","resin-pine":"^5.0.1","resin-register-device":"^4.0.1","resin-request":"^8.1.0","resin-token":"^3.0.0","semver":"^5.3.0"},"gitHead":"986632685a1b2c960a11796f1fe9159b9dc15dff","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.0.0-beta1","_shasum":"820c1f8a8f7abfad57e9519981cfd1cb41b15bea","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.2.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"820c1f8a8f7abfad57e9519981cfd1cb41b15bea","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.0.0-beta1.tgz","integrity":"sha512-1x7wePH9vmoU712Zw5jR7+UvJZME90unGXNm1JxUIdMslKw8BNRG6ITSGO20a8gmKrjRpvZEluKFVi3YjgdOQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHIuwtBTzRmRBDA0iwya7XXUvLgtbP84olEaIAmN4RgsAiEAia7p1M7LDFRyoJj+KZ1vUUA2v63T/Z4mVhdjE0Dof1M="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/resin-sdk-6.0.0-beta1.tgz_1484140900820_0.369499460561201"}},"6.0.0-beta2":{"name":"resin-sdk","version":"6.0.0-beta2","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run build","docs":"jsdoc2md build/{,**/}*.js > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^13.3.0","coffee-script":"~1.12.2","dotenv":"^2.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^3.0.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","jsdoc-to-markdown":"^2.0.1","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","resin-device-logs":"^3.0.1","resin-device-status":"^1.0.1","resin-errors":"^2.4.0","resin-pine":"^5.0.1","resin-register-device":"^4.0.1","resin-request":"^8.1.0","resin-settings-client":"^3.5.2","resin-token":"^3.0.0","semver":"^5.3.0"},"gitHead":"cd26abd6c2cb894636ce6e7ec6b2ffa2f82942bd","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.0.0-beta2","_shasum":"39d30ca8b9a0dc205b65e002574abdb3d6a31f2f","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.5.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"39d30ca8b9a0dc205b65e002574abdb3d6a31f2f","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.0.0-beta2.tgz","integrity":"sha512-nep9MyS/YdbJyJBGEdFNxO2fsaP0r0CdCQMbeVSQiZwu46SOdeyVZMMml3hE58R+bxh6RWbhUBLhwO75vUanxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0X0OVZn+lwFakqv3fJhx+ETDrxSS/0ZC4pX72uullpwIgBrrnJrnfnxikQiqhxJCk3OSKIdZ3kcsixtESPFN8KwM="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/resin-sdk-6.0.0-beta2.tgz_1484314259819_0.4716326426714659"}},"6.0.0-beta3":{"name":"resin-sdk","version":"6.0.0-beta3","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run build","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^13.3.0","coffee-script":"~1.12.2","dotenv":"^2.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^3.0.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","jsdoc-to-markdown":"^2.0.1","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","resin-device-logs":"^3.0.1","resin-device-status":"^1.0.1","resin-errors":"^2.4.0","resin-pine":"^5.0.1","resin-register-device":"^4.0.1","resin-request":"^8.3.0","resin-settings-client":"^3.5.2","resin-token":"^3.0.0","semver":"^5.3.0"},"gitHead":"4883f76342808fd6ce645b11edbd68273a6724e1","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.0.0-beta3","_shasum":"14fac5ca421b7dc63b25f7ace4037256d4b21b14","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.2.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"14fac5ca421b7dc63b25f7ace4037256d4b21b14","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.0.0-beta3.tgz","integrity":"sha512-YoFJZU+nVhgeQp/clYYcPgzTim2wtWTrkT+8Xk9qCPCKuqsJzXAt61F/g+3lKRKSe0hjJ9H2dpV+WUevxuBxHw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCe6NSyVsXzn52R8BG+GeozKeh43d1JubMhtLOi6CN4WAIhAIoL0gFknEAYf90xsKyLGJwwJdAIGpYVK0OeXUXnAUe0"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/resin-sdk-6.0.0-beta3.tgz_1487936873629_0.8818424961064011"}},"6.0.0-beta4":{"name":"resin-sdk","version":"6.0.0-beta4","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run build","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^13.3.0","coffee-script":"~1.12.2","dotenv":"^2.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^3.0.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","jsdoc-to-markdown":"^2.0.1","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","resin-device-logs":"^3.0.1","resin-device-status":"^1.0.1","resin-errors":"^2.4.0","resin-pine":"^5.0.1","resin-register-device":"^4.0.1","resin-request":"^8.3.0","resin-settings-client":"^3.5.2","resin-token":"^3.0.0","semver":"^5.3.0"},"gitHead":"0ffa3c7e097a86b5d9a58825a373e10877471f37","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.0.0-beta4","_shasum":"a27ca76dc18af2d3de02de86e08323095f62dd39","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.2.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"a27ca76dc18af2d3de02de86e08323095f62dd39","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.0.0-beta4.tgz","integrity":"sha512-XdGgdTl9Pby09R/S274PyLOgwamc06q3Y7Toozp1wdF62/FU+euOvk6+lI2gXC0ruJLh0MBkE+tYdvH58tOY/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICp307RCuxIZNkRyaFTFr1m8x0WS7C1MLHp29rJc9LkjAiEAz5CB3LYn0oUG2Y+cAFqTUjyCLb2x4jkk6FMzehLLy8Y="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/resin-sdk-6.0.0-beta4.tgz_1488210138989_0.5333804399706423"}},"6.0.0-beta5":{"name":"resin-sdk","version":"6.0.0-beta5","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run build","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^13.3.0","coffee-script":"~1.12.2","dotenv":"^2.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^3.0.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","jsdoc-to-markdown":"^2.0.1","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.4.0","resin-pine":"^5.0.1","resin-register-device":"^4.0.1","resin-request":"^8.3.0","resin-settings-client":"^3.5.2","resin-token":"^3.0.0","semver":"^5.3.0"},"gitHead":"a4de7a13716596454f8b0be617e3e4a4690c0eb4","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.0.0-beta5","_shasum":"907ca96679e782685c19974374fae65fa0a3200e","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.5.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"907ca96679e782685c19974374fae65fa0a3200e","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.0.0-beta5.tgz","integrity":"sha512-VBc4ts1KoU/6MvXLXOWmYo+aEzYHnlTuHOf2/ECpPhOqUHnmM2WrSaXo5QRzmQTpSCChykt6KG9KkW7WdQaVbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrIfLP4naqzQ3A7sgJFiZ2FcmaNuOhJ64txA/Ya8PrUAIhAL30kCCGfplntXZkpkb9Qnh8jGet3UNQizG8wtUwGDn3"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/resin-sdk-6.0.0-beta5.tgz_1489129390994_0.9901360117364675"}},"6.0.0-beta6":{"name":"resin-sdk","version":"6.0.0-beta6","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run build","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^13.3.0","coffee-script":"~1.12.2","dotenv":"^2.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^3.0.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","jsdoc-to-markdown":"^2.0.1","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.6.0","resin-pine":"^5.0.1","pinejs-client":"^3.1.0","resin-register-device":"^4.0.1","resin-request":"^8.3.0","resin-settings-client":"^3.5.2","resin-token":"^3.0.0","semver":"^5.3.0"},"gitHead":"2ffac5f28e7e1cce6fb27a1ecc72866510f6c623","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.0.0-beta6","_shasum":"5cf6ac706321d2097c2bcef79364da46a8e657b5","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.2.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"fb83d8c43b9e8e057c10654a7173b357d701f639","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.0.0-beta6.tgz","integrity":"sha512-NaGiPhIDUDxcPUdqu86QWjG0uCoAnMoAG+bZXZoyQzLvYe0jsjBCic6E0/8InU9NMO4ys9Z6APrDRPEBs2j7+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICgHuXlf/Ugkp0j2ChJ6CtiHN2qhohBz+dQ1ZBdrV0BpAiBBXXbqAvz1JHe6e2iJS/n9gTgP2BYxMdeV23FaGKHQ5w=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/resin-sdk-6.0.0-beta6.tgz_1490176751343_0.35790969687514007"}},"6.0.0-beta7":{"name":"resin-sdk","version":"6.0.0-beta7","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run docs","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^13.0.0","coffee-script":"~1.12.2","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","pinejs-client":"^3.1.0","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.6.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.3.0","resin-settings-client":"^3.5.2","resin-token":"^3.0.0","semver":"^5.3.0"},"gitHead":"b85eebe7767305da1c092ca38e26a78b401448a3","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.0.0-beta7","_shasum":"2a813cc205e010e3dc35e119b4aa76041009c511","_from":".","_npmVersion":"4.4.1","_nodeVersion":"6.5.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"2a813cc205e010e3dc35e119b4aa76041009c511","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.0.0-beta7.tgz","integrity":"sha512-zBIAcoNOY5UqfGYypEoaMdShysvTof4+NAuGumhm7NYyZX0dI3KVTaKlIe8CfD5oVxXlJXzfE0KFX6MmNWrVZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+CnlmS/lZEAzUKEW7KK5epM1CIrSMOLvaQ/0EKF46TwIhAJOtCmInI8dF3uFRGo3ZQ4jJphNMtD2s19YxwEFYgb7C"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/resin-sdk-6.0.0-beta7.tgz_1490219877756_0.7661526016891003"}},"6.0.0-beta8":{"name":"resin-sdk","version":"6.0.0-beta8","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^13.0.0","coffee-script":"~1.12.2","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","pinejs-client":"^3.1.0","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.6.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.3.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"afd236119bbb28d1f1c5a29269b11b21a00c3e35","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.0.0-beta8","_shasum":"038268d09cccf9c77d2d882f8f48c83e074d427f","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.2.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"038268d09cccf9c77d2d882f8f48c83e074d427f","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.0.0-beta8.tgz","integrity":"sha512-EeMqP1Ok0AcWiXtrU2cl1PvdlPV1pjzr9uyn36rNSpgfiNnHI53Yeikrc04GjiK/wenBymW++snMH9+zQWx4SA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICTKSwhg9ueSrzwGxAqLec/QMUA73ndkOWPVLvX6pA8kAiEAteep6x1WkhzwCBVv+Eju4y2UxHptc7P4J5V/9tivLlo="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/resin-sdk-6.0.0-beta8.tgz_1491225326300_0.4763342463411391"}},"6.0.0-beta9":{"name":"resin-sdk","version":"6.0.0-beta9","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^13.0.0","coffee-script":"~1.12.2","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","pinejs-client":"^3.1.0","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.6.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.3.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"6ebf933a55a0be395be462027fc7b6c64bec1712","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.0.0-beta9","_shasum":"dcf1b4670051f5b8cf80670e42bfa1f7401aa6d8","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.2.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"dcf1b4670051f5b8cf80670e42bfa1f7401aa6d8","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.0.0-beta9.tgz","integrity":"sha512-c7hgT1uNeF1bGCW1qrXC4aDRkfWfFDoEYVOHDjmMJPZuwY2TKQwgt94SNZ+AOAHqSSHRT9Cum5cHgV+VKGiFZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHXIraFk6KK6/wmylCXSKzJ2+08YKuR7gNTL2puAVIgZAiAR3iGHFVps9/JdSd2QyW45pVxiDchbkh3ZfWzZ3bvuIg=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/resin-sdk-6.0.0-beta9.tgz_1491257844851_0.3484156809281558"}},"6.0.0-beta10":{"name":"resin-sdk","version":"6.0.0-beta10","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^13.0.0","coffee-script":"~1.12.2","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","pinejs-client":"^3.1.0","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.6.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.3.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"bfe7ccbff9edaf2a903aa3330b1e42bead03c3cc","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.0.0-beta10","_shasum":"aa13ec923d1980d158c17373623c04ad1ef1c560","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.2.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"aa13ec923d1980d158c17373623c04ad1ef1c560","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.0.0-beta10.tgz","integrity":"sha512-rP/hkhXMYZSVcWfR/R41XNDbn8AsXz1q8Pd1vRqlSPUOu3fZ/43hZX5Gb1D/8g4gS5QlhJ5/gU4cmv+fPLXNDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHD3PF13hyKgwy4CQ/SMZSwMnzlqXw9C/sHS1IwvyAM5AiBaE/0i4AqeoC3R9DbdzTtuJSR7svDwAYiHQCq0+cBCqA=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/resin-sdk-6.0.0-beta10.tgz_1491504891126_0.5681095134932548"}},"6.0.0":{"name":"resin-sdk","version":"6.0.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run docs","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^13.0.0","coffee-script":"~1.12.2","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","pinejs-client":"^3.1.0","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.6.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.3.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"32a1b132e0ba68f57f031a8a84e7e6b823efdf27","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.0.0","_shasum":"f0c21631e78c1f2efede55b2b09aed2da6a21b24","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.2.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"f0c21631e78c1f2efede55b2b09aed2da6a21b24","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.0.0.tgz","integrity":"sha512-tARQizmYWc4QfsodH3dY3lRqErm99rG1dsFL9oN742xtXjEziAMhutifk/mPGVuWhgHNVuIzPC8M53ocPJa6Zw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHKUdJvtsQb8Olmbs9rBpxJDv1taBzRf+tFG+E9YuODiAiEAkdJ77dD+GcQMUhUYZanktkHs9xBZaRKPQmL5hzzQsKI="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/resin-sdk-6.0.0.tgz_1491583258000_0.2857966343872249"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.0.1":{"name":"resin-sdk","version":"6.0.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run docs","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^13.0.0","coffee-script":"~1.12.2","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","pinejs-client":"^3.1.0","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.6.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.3.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"b44c69b4a8ff71c216c658c51f1e07259e319ecb","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.0.1","_shasum":"d4cde9a52aee98c31c4cbd45b8ab4df99faf98bc","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.2.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"d4cde9a52aee98c31c4cbd45b8ab4df99faf98bc","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.0.1.tgz","integrity":"sha512-R2dA4jwVg8vDLs3+w10TdEcsEzh5rYMhIr55fEU0dC9aOaSw9+ZHwAAFIiNRNlxkNZgOEr0hXejX6tQxtD60xA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH9IDep+Xx8Lb1W1R1h/pUsrgxNTNp+IsohjF30LAuaBAiBwFd2qiv2ZemwUO4QkTziZyxnA4GfztNU/NUvXOHhUuA=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/resin-sdk-6.0.1.tgz_1492023666109_0.8237822444643825"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.2.0":{"name":"resin-sdk","version":"6.2.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run docs","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","coffee-script":"~1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.6.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.3.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"eb193f610438e7ec80ac8f16c5685db46e38b5ee","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.2.0","_shasum":"b3ea840177d4e9b9a787988edb049a2064ae4c25","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.2.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"b3ea840177d4e9b9a787988edb049a2064ae4c25","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.2.0.tgz","integrity":"sha512-sxSVa29nikHd2s8cDHJucwJcOLw2NqhgNdFQKq2RplyzoviEI65VOa8ErH3Zt4uF4tgLr/kX5FhIHcuL7jJGlA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAF2m2eXTiu6wMfS+RisNYrSApwYPs/B70WqqIxBsjUKAiEAtdWDn+gK7PmQXD6CSdjJfO/mej7lW93krDDzoj64vqs="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/resin-sdk-6.2.0.tgz_1493735129563_0.3141925847157836"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.3.0":{"name":"resin-sdk","version":"6.3.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run docs","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","coffee-script":"~1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.6.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.3.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"5c2ed9736807052ca22c7d2fe6bee3cb6aa408bf","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.3.0","_shasum":"447bade70394d7db773b6a326a599a272c4c0fb0","_from":".","_npmVersion":"4.5.0","_nodeVersion":"6.10.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"447bade70394d7db773b6a326a599a272c4c0fb0","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.3.0.tgz","integrity":"sha512-zEAk7+g0FDmJDd9QuqwJffM9J3JLKGQTeuC6RcLIa6LYzjy8h2V7JGxFQ435qEpNCdK/IdqIl60gbuXF3HT6bQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNDrBUoRhiBCYTrl78alq1Rnnbz02KPP5krHPzjdGJewIgeh6IuXCczslOwcbca49uSTVxU6SK8F+LaXy+YtLGGGI="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/resin-sdk-6.3.0.tgz_1494499534619_0.194739029975608"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.3.1":{"name":"resin-sdk","version":"6.3.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run docs","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","coffee-script":"~1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.6.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.3.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"870462d8bb4d574be109b496dde0be399c11dc30","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.3.1","_shasum":"771e78c311bc077bbcfdd5dd6ebae29b7f715dcb","_from":".","_npmVersion":"4.5.0","_nodeVersion":"6.10.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"771e78c311bc077bbcfdd5dd6ebae29b7f715dcb","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.3.1.tgz","integrity":"sha512-iBDGN5Tj1TbqM2ynhekDDS+kBBSPyeWGev5R6yif2TdC8lfwiLIAx9XSjimnV15F9Y/GiwDLoRbmnSeo92E9TA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFysqekSxq4Z9wC4tKYd113yS2JZ780r+ZNFhfgksKwwIgV0jSWU1hu41lYHLFSDuKk6grzaGPPR6lj0CkFuGf9II="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/resin-sdk-6.3.1.tgz_1494509594165_0.8320853495970368"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.4.1":{"name":"resin-sdk","version":"6.4.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run docs","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.6.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.3.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"52617dc5a3de554f6008a85bf6cddc713d58c3ac","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.4.1","_shasum":"cf82dae6f4ba2e7f5afa3991b67d6cc02157955c","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.10.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"cf82dae6f4ba2e7f5afa3991b67d6cc02157955c","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.4.1.tgz","integrity":"sha512-fgglbnYixGnHdPyHYhMDAURrRgqoYTg7WoifrdVPdyByHevoaHUnhTXtSXiNcq7MNvLGJJLTRsNoqQNBp6G+oQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDmhVHcaxAT9juG/eLt+5rL+Mv13QaTPFfbfMlGw2K0sAiEA9HcSZqdDfQh0sudSP7izTwnj1BqiLdgSffU09IfYW0g="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.4.1.tgz_1495656274215_0.35070532420650125"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.5.0":{"name":"resin-sdk","version":"6.5.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run docs","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.6.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.3.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"5dc15f4213248f9b40b96562b91087b1a4893980","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.5.0","_npmVersion":"5.0.4","_nodeVersion":"6.11.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-k20nVnwFAEG7ylKIli27KiZ9esWdTZnWxEk9Qa7dRwdPeI4FlstBMwzM9cgP1Ti0hnBE1sDU4LhtqZjAj8GpzA==","shasum":"af9ce9a122440a6d5ca6ab803a58965e7dd6fe62","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.5.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBTp8PBoXV1PDiJdKEU7NmBbmfk2UwOsqPSrRsrxpXn/AiEAi3RY0M+pOzvZxGXHC045OIlmqC1EOT9JymTs03HAyHg="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.5.0.tgz_1498851080765_0.11852479539811611"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.6.0":{"name":"resin-sdk","version":"6.6.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run docs","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.7.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.3.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"5a156192c67d8d59541ca043c87b71df868e1011","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.6.0","_npmVersion":"5.0.4","_nodeVersion":"6.11.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-2azKi2Hv+eAR29DtkOyDPJ12VdbwBPHzDXd3wRKTc2mlNKdPaLzNjTMsP7rnYMYwaiSlYVMFC9dYYou8CMtsNg==","shasum":"daf41e8f533e494a6f24bef478fd2840b62122fd","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.6.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQmf99W0gMww3wX1co/URatnB2+Yrvc8YNrwb0F1qJywIhAM4wx5iygsZAHvFMcXqDdna98yFO532dfmA+PDMh99dK"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.6.0.tgz_1499244885712_0.3027487522922456"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.6.1":{"name":"resin-sdk","version":"6.6.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run docs","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.7.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.3.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"8d134d19922d77853e1d9f54c87b694f34d895ce","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.6.1","_npmVersion":"5.1.0","_nodeVersion":"6.11.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-hi6+oAILTTLWPI+/NuPDqUz41vZcBFPxqFdtlGdoy4AQgldl28D8cwb0Tfc6Fr5vIeTayytaPIg3txRrQmN9BQ==","shasum":"cf8e11c36957b9bbf604a341841efcc4acb478e7","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.6.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEovBXiAg0Ba7/F6lTeaOWe9FFqDdCBdLqCZCZHNZOnNAiEAxwga2x2WXCS8hIp7fbhPW09VE2n9CT1ytxgpdwJ95l0="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.6.1.tgz_1499696191699_0.6277996816206723"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.7.0":{"name":"resin-sdk","version":"6.7.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run docs","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.7.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.3.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"ae203d512ebff7bdc4bbba6f7f9f3bb4f90304ef","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.7.0","_npmVersion":"5.3.0","_nodeVersion":"6.11.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-IOn1XR6IG3I3P9S2I+TsWwgIKzIdQG4g2JvOQ3lCR/FDTZmaY0Zm08yGfkmnlGUPFuwXgWUdAh5HLTK0NAu0eA==","shasum":"b46d3e447f3ba480accdbe818fbe5f68da473de1","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.7.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFXHYMzolMNoxULthPILtaEYe+e0ZqyNe51Mg+T0Y4UmAiEArDT06aEXiio4ILLEAMWHQDNGvN2uQ0lLlmLAn1UPyu8="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.7.0.tgz_1500558132109_0.9865386185701936"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.7.1":{"name":"resin-sdk","version":"6.7.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run docs","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.7.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.3.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"3312c3e0df590951a0efdb689ec33d1f2f691c66","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.7.1","_npmVersion":"5.3.0","_nodeVersion":"6.11.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-VQJi2CXyxdNxWkLC6tz2U4HI/Te6Qlqohkp+lukJwD9KQ8hrSv40M1jZ+DsNREzDAMcjVnXoEzcsoHTM+U53Aw==","shasum":"19911821343a66286420a16281638f1124b1932c","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.7.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4JTIqfYehSG+xl4SBJllA7uRUFItakJRGVyeVoR7yWwIgRhK0WdIYLWS4vr0KQ42gfrVoGQsA9DT/o/Ke+Zg+oGc="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.7.1.tgz_1501167308660_0.48904970777221024"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.8.0":{"name":"resin-sdk","version":"6.8.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-all","test-all":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run docs","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.7.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"bf4b1b98dbb24a45a3ad7932a0f11533c172db56","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.8.0","_npmVersion":"5.3.0","_nodeVersion":"6.11.2","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-y7sN25c13TwdfU2giYF03GzpSOlTG6i3uC+j/DvaYTK/XqEPmRQjI45qyFD3jBoUMjENyLBb1cNaGU2ve7kDfw==","shasum":"60ed1608b8e28fd09c3a4ba0c38fb902912f5b3f","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.8.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRvBx8AVJvbDgzfBrIIsX0vxkhn78wcUD6sVzsykIBlwIgWu49xkNSKtjqkB98ZX/Mj7saS7OCak0q5RjMkkuGQxE="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.8.0.tgz_1501575304897_0.7599003699142486"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.9.0":{"name":"resin-sdk","version":"6.9.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-all","test-all":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run docs","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.7.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"1e8591b9ba64a65af9a809a18e4aeac3ca67ba03","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.9.0","_npmVersion":"5.3.0","_nodeVersion":"6.11.2","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-tOFTxUWlxheJSHDgikNkzH7PJC627mJpRD8CPBzom5ErRX484gjOodm3Ktungg7j+Ao1v/P9g1woI8v6sKB9VA==","shasum":"c1095332dead73f25c34aaa476dac6e40089d953","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.9.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6J3AJwNDfVHAvxSvABvHd3KvoEh3vjhTw6qZOfjiumwIhAIiZQJLhfSSe4fSDImezQCqsz9gmKATvawHdLBpaQ0/v"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.9.0.tgz_1502455983060_0.945674832444638"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.10.1":{"name":"resin-sdk","version":"6.10.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-all","test-all":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run docs","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.7.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"476550fb7ec940e373cc1bbc45ba07746930f197","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.10.1","_npmVersion":"5.4.0","_nodeVersion":"6.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-lYyY5uNUco4/DceI3Kswa1G/0cCyo9g7b8yP/yEhp47wW3z9y9ZV5vBIX11miodBSH6Dl0JRm0mrvAl6/KFqVw==","shasum":"d28a7d21a0649c168f41d99a6f97bd9ed2b73597","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.10.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBXk8zHn6i7le69sKR8OnOCctGw1dK75xzgrQtlrW/oAIgNgcukp6CmzhqCI1AKBazXr9fyiM2Moz2yDexmlEHW88="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.10.1.tgz_1504686120404_0.017330540344119072"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.11.0":{"name":"resin-sdk","version":"6.11.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-all","test-all":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run docs","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.7.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"6c732eebb25b716ad3740729a73e5c5199e79fd0","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.11.0","_npmVersion":"5.4.0","_nodeVersion":"6.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-w9mIsWFgRcS8uR4pO3DNw4O38Iv7pngC32yLmSmr2uegu+XwbW/9Xz1JHh2YhnPWe9xRxdnt8fe0fMa8p9DAVw==","shasum":"276cbc634793b66854521078d497398d2c9a4b5f","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.11.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAffC5y96QORlRRaEh+QNxrQKMFEUrM+4DCb/qNIzqN6AiEA/YOoOJWgp0qiyZuBNwco0RQLMlIlaRzah7rwKQ2sI7g="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.11.0.tgz_1504708586824_0.1185137873981148"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.11.1":{"name":"resin-sdk","version":"6.11.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-all","test-all":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run docs","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.7.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"8c641305d469c246eb95cb061b98d8f23ecc5c75","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.11.1","_npmVersion":"5.4.0","_nodeVersion":"6.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-14YsRp+DDGVI40ZwiQSHjWez4UKtk7B543QU6WlmNrD02WtAFFfODGzVb1TL17qjPWBNLLrPI19Oaf4/5RGsKQ==","shasum":"f2d6908a2bd1383fa777ac83984eedeb365b874b","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.11.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICEHRcBjYmCwgPbrJZ0WmEztIVCjxs/5953JnOqUrqVYAiEA84N7fakF25BKup1iqNESdMVyYKwgV+bsawFC7r2e6oM="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.11.1.tgz_1504723189905_0.9305701570119709"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.12.0":{"name":"resin-sdk","version":"6.12.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-all","test-all":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run docs","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.7.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"afcd70f4802dd4d9f19135761fc43756adc36be0","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.12.0","_npmVersion":"5.4.1","_nodeVersion":"6.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-V10V2Gk0gJD/hojYzZwxamU27M3Rq+3feHXxe2gfCXA5ZfgnQO1pdC8AkP1uGKDqptocY/Hmv3lALg1+pTR7qA==","shasum":"33caab0c71ef3a6d93e91cb8fa51718c900ed17e","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.12.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDr8EAe1hmawEu37af3b1HOZfmc8UVNmjKX6A3IAx2CmAiEA8vMa2fPxVGze0QkYzZAvl7qe92sBisIAwLU+bgQEHLk="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.12.0.tgz_1504873776337_0.6881263151299208"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.12.1":{"name":"resin-sdk","version":"6.12.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-all","test-all":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run docs","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.9.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"753629ab23347e3f1c799bf6d7a110faedca2944","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.12.1","_npmVersion":"5.4.1","_nodeVersion":"6.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-3NL8SAYkcLnTm9Uc7W1/HCrFiYGad71FhIypIoV+x+kZn7lLDmFJe5p0t2jM3zODGWuOhSRgZYbi6ON7d3wqsQ==","shasum":"b827fff54870b40d207d3dbf9a03b5eea38ab211","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.12.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA5Tgd2OARh4frb6kJmEW/RfMp/uMvYynikVi/ZSK9eGAiAU2RdUaVvxhW9GcN96ncd/6pn3raaP84THH5HkIrHafw=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.12.1.tgz_1505149791313_0.35107581759802997"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.13.0":{"name":"resin-sdk","version":"6.13.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-all","test-all":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run docs","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.9.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"dd5087300d21adec37102823a883d42fc9a27269","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.13.0","_npmVersion":"5.4.1","_nodeVersion":"6.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-81QcbezzorP1ZEV4y+AvSMUVst2j9tMUIWgmcBYX0f4Jflt1dIDxdt+iIqGyHIeT0mAGuVOBCbBpOZFvdQv6ww==","shasum":"820a071ad538e192acfbc2d9497c90720707d8db","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.13.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5ggmDLx1uIwxnOaFxcvzamfGADLn15UvBGZihuSxXPwIhAMnXq3XtBK+yVCco9431wJP2J4fFdrfSAmE2NzOQrgqj"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.13.0.tgz_1505227061217_0.7317277372349054"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.14.0":{"name":"resin-sdk","version":"6.14.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-all","test-all":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run docs","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.9.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"27c47a7942c6e63e3c86fd2b90e9dc1ff559b0d0","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.14.0","_npmVersion":"5.4.1","_nodeVersion":"6.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-HmD42JgExolhFBFwucbpqdHPGgSY1+FHkHLu0ncxpOKNjVhdZ9U0U0KgVJx0ZAWUyVVL8RwnGJDgKvvxnk0/Ig==","shasum":"0631c819517eda26c2e7ab18023b1add6757a10d","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.14.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJAHIhhumfI0SEMZHqwRuSUXeCcUN4rfWZhZkIiY/NGAIgO2WRWvHNprV6UYaBCcz5sWsrLmxUzPr12debm1Nr3pQ="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.14.0.tgz_1505238541664_0.8834272173698992"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.14.1":{"name":"resin-sdk","version":"6.14.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-all","test-all":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run docs","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.9.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"c01b918e735ffe5ce8ff6e1e5b22855a0d465d0b","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.14.1","_npmVersion":"5.4.2","_nodeVersion":"6.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-gYbNgKYYlyEu+GzMkvUJypklxeyRg7cP6O4CnESqlUt99ebrvVXjU5bu29Vu3LfU/mSf/sqhNXb8BHWsvApKeA==","shasum":"a658d66ebeb154117c6519e1197da1af371e7de8","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.14.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG5ZKh39HZ9qy34Ift+7E9p7x6dhiXb2EibEhHLc5PFjAiEAr2SgLJJkyABOzowB8CP0RSrW+WsnZHw8/tNiBKnKvqs="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.14.1.tgz_1505821983714_0.9887627700809389"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.14.2":{"name":"resin-sdk","version":"6.14.2","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test-all","test-all":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test && npm run docs","docs":"jsdoc2md 'build/**/!(resin-browser*.js)' > DOCUMENTATION.md"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.9.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"eddc1a9d04369577e66e898dd789b3e9d90666de","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.14.2","_npmVersion":"5.4.2","_nodeVersion":"6.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-/YXX5wgUwfsPG+3N/bcfNIAXF/naLD1zcOaXSLjxShD+cl3BMaWhfAAooRrViF3bZQJLJc8+hjz8J8azNSAMcA==","shasum":"3dc890930208cd1b5c136960dfa78454f46f3fa3","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.14.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDTLJZ27U9J4vpF3aGQM3kieAQ+w8GW9Di6PN0ueYQqCAiAackDbJj6J+RgNOqEZbNSN/PrA9LOLi8MFtgsjldR71A=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.14.2.tgz_1506008496767_0.46582738240249455"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.14.3":{"name":"resin-sdk","version":"6.14.3","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.9.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"260c8f5420927c8dbd3bd3319ae57d96ee96fe5b","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.14.3","_shasum":"d952dacb01a1c7dbee63305fd70ec564ebeff0d3","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"d952dacb01a1c7dbee63305fd70ec564ebeff0d3","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.14.3.tgz","integrity":"sha512-a27rSZm74vnD6wMnA91kQeVEHPy82YOYdXIKqOrjt/KnNt8GoSaO1lYaBNlu+83ALpwjg0AhcYnVlCAaZad/IA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICAUlSWolGtGK2bEan+Tt2M7cl9VJvveJXGw8Ch26r68AiEAtblZRRxnqYQgW6WEISFTf2t+7UPxyhu/5bO73QP8jPk="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.14.3.tgz_1506435008625_0.8259977423585951"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.14.4":{"name":"resin-sdk","version":"6.14.4","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.9.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"746516b68602357de118ac974a13dde13ab88f50","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.14.4","_shasum":"d9949bb1c3e9f5d44f495b872e3a8ad9a6f24970","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"d9949bb1c3e9f5d44f495b872e3a8ad9a6f24970","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.14.4.tgz","integrity":"sha512-8XUmS1W0Bo3L/4/fzakeWt6jbNqRv/pVTpp1u13XDnPkA2BECilccSxFMDgR/l+fAA9xk92DG0+eNBHTLMX+4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbuhJGbePMfZ35QEpEEtc8y+/7WhPo48O4u07qDJY5hwIgeq5oHkX2LVfN8N7/31cnhJx/4tQ3t06Rbp4BRRc2+F0="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.14.4.tgz_1506449316391_0.799980771029368"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.14.5":{"name":"resin-sdk","version":"6.14.5","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","prepublish":"require-npm4-to-publish","prepublishOnly":"npm test"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.9.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"7f4f72f90d2a74ab73540015aff5b2d96f6d6b6e","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.14.5","_shasum":"3b94878afb193ea0235c79f712dd5bdc1f3c10bd","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"3b94878afb193ea0235c79f712dd5bdc1f3c10bd","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.14.5.tgz","integrity":"sha512-rP7FIkZMlA51OjcQOF59TpAhWOS9wkGZOXyW6LQO5rksHS+IYSPIB+htw1Vz6U8wBIcOP8ATj5lKB/yI6WVpEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+vikbbJaWPx4hQ9l9y7Y96pkJFKoSgUYiX6Lj1VnOmwIgZ6tnS2amMyVASKgGwJj7pLeJWL/pqjl2MoQRw1r1ALU="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.14.5.tgz_1506514609069_0.5617225717287511"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.14.6-test.publish":{"name":"resin-sdk","version":"6.14.6-test.publish","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","prepublish":"require-npm4-to-publish","prepublishOnly":"npm build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.9.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"7f4f72f90d2a74ab73540015aff5b2d96f6d6b6e","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.14.6-test.publish","_shasum":"d99b8abca7b56e272deb07405d69e37e2f24d86f","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"d99b8abca7b56e272deb07405d69e37e2f24d86f","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.14.6-test.publish.tgz","integrity":"sha512-YCgITheQnpTbJm+7URO8nWxkeqhR/c8EE7kwEliMueg4MPKn8QDjyncEwRXU2WQejzTaj2uoHYZ9ckllV1xlJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLtqXRrSxHFWT1rYMUCaSyXVieLK86oSf2hafEhCM/ZQIhANHw5N3opPKdNCMJODaHFyuIwl7phnrTr1BFCLxhc/rS"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.14.6-test.publish.tgz_1506517211646_0.8589878354687244"}},"6.14.6-test.publish2":{"name":"resin-sdk","version":"6.14.6-test.publish2","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","prepublish":"require-npm4-to-publish","prepublishOnly":"npm run build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.9.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"6d5c091a9ab990cbaea38ea745f2a2e3b03ca362","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.14.6-test.publish2","_shasum":"d2e8c47a2eab76cacc3242589217d192c71e2508","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"d2e8c47a2eab76cacc3242589217d192c71e2508","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.14.6-test.publish2.tgz","integrity":"sha512-JuuAlN0o355IMHydo8jLhSUurp8apcIzhUMfV3VH0SuYAPTEwddRbYxFUnKyh9lA/uBGbU73iGglwuzYSH4rqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB6lhaNSTZBrOXTInaGj70V+DYzpqTAgdU4WQ97TkSEeAiEA0MwlF+7ccPSKHrsQoZHEGv7qprJDQHqK3EB3ka9cONw="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.14.6-test.publish2.tgz_1506518090625_0.8954200884327292"}},"6.14.6-test.publish3":{"name":"resin-sdk","version":"6.14.6-test.publish3","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","prepublish":"require-npm4-to-publish","prepublishOnly":"npm run build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.9.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"6a8efcdbf8f80e76a10d4b46ba4141a7ac481717","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.14.6-test.publish3","_shasum":"be9f20cea048dd1fbd55a1d996261c69c9ece8ef","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"be9f20cea048dd1fbd55a1d996261c69c9ece8ef","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.14.6-test.publish3.tgz","integrity":"sha512-3K/YoKInjGvyhurEflBQTIJrXAmixiDlxlAuGZ1+yJJb97127QbZoQIT40RTo8QFdnTQpx9fzS0Nw999+/ZZ6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGXAxVL29eNY5DJ90sGtYPsJ5rMh1nzfFc3L1YBJ4OFFAiEAnss/fT3apUVKEO18Vomr5U+UQ69nX67YQFzmCrSw6SQ="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.14.6-test.publish3.tgz_1506518813096_0.1490730436053127"}},"6.14.6-test.publish4":{"name":"resin-sdk","version":"6.14.6-test.publish4","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","prepublish":"require-npm4-to-publish","prepublishOnly":"npm run build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.9.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"984f943df213975c46f4256529b7c7f8bd48df68","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.14.6-test.publish4","_shasum":"85d8a208aa226ef716c7e94f065e025115dc9191","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"85d8a208aa226ef716c7e94f065e025115dc9191","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.14.6-test.publish4.tgz","integrity":"sha512-6VNLxkx4HBxzi68iJXC+NLFKrFdpFHWPWM2eQlJ/ilUArsUcHCd8j3035E/0CV6L+EwRrrik7LHPhF5hqJJwFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHECMYa2QtlmVWKCc25XmHUbZh7M2no/Aail7xrkepbAAiABRjd6iBnSgjq0tS0OVbqNHgfpObhV5MWT3O2eO/kCQA=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.14.6-test.publish4.tgz_1506519447006_0.6579205146990716"}},"6.14.6-test.publish5":{"name":"resin-sdk","version":"6.14.6-test.publish5","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","prepublish":"require-npm4-to-publish","prepublishOnly":"npm run build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.9.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"b0187fd80f7196c7e991f4d0688a59a40bf8c0bb","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.14.6-test.publish5","_shasum":"4f16b1901c87b776bbec438f4437d292bfe0e3e9","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"4f16b1901c87b776bbec438f4437d292bfe0e3e9","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.14.6-test.publish5.tgz","integrity":"sha512-Ol78WucHI1zsP0iOAmThZlKCisUxj9SIsqRtaI0Zf0taTHqzF2zKF8E6RjujsEZVGwFjNmwpEUjvG9F4j3xONA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXDkw+Zb406gGGrVQgHH0QUn/hn+1T70Ny/JAPEbkTRgIgFqYwX9XyChMoYNGx1dclf9G2tUH1AasXHw9pwyzDgx4="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.14.6-test.publish5.tgz_1506519967778_0.526301727630198"}},"6.14.6-test.publish6":{"name":"resin-sdk","version":"6.14.6-test.publish6","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","prepublish":"require-npm4-to-publish","prepublishOnly":"npm run build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.9.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"ee1552223d2ec89c40aa99247a1debfdcd391209","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.14.6-test.publish6","_shasum":"a51ae1ed0912bd8c93f928cef809122e7c6b8e0b","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"a51ae1ed0912bd8c93f928cef809122e7c6b8e0b","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.14.6-test.publish6.tgz","integrity":"sha512-r8W5OnjDWJT9HaOkyYxF3mIwQ4edFk77ZpIVK4SX0khtv2102ZBou8I4/swTTq3RXGoNES3rGuxnrZ+F64s85A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDL4S25oQiVYZeMQzFTclIBSMm0R9LCvHYEYjt8XcuijgIgeVXp0Qdyd1482c7PBbpGGuBqvpCWb/fn0XHS8/1nF68="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.14.6-test.publish6.tgz_1506520260185_0.18820107425563037"}},"6.14.6-test.publish7":{"name":"resin-sdk","version":"6.14.6-test.publish7","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","prepublish":"require-npm4-to-publish","prepublishOnly":"npm run build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.9.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"34848197a0fe66ff9670925ebd82f496a5c32c91","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.14.6-test.publish7","_shasum":"a6902f5c239418b32266db3b92df6bbc7b72e9eb","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"a6902f5c239418b32266db3b92df6bbc7b72e9eb","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.14.6-test.publish7.tgz","integrity":"sha512-t/IullXujr9w9Bn89yu01DO+Zqpib04lP88aqLEdHMWcswSbnwr/HMcWuXzCzj/hTS6bGmV7EpBtOxrXeB+GlQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHGQYianG0LXuYM9dgV7cVXTcIFuOKfcOcO9+gm+jClsAiB+sPbTJzyqpLQ/4hVbIFs25Ip+GKaT3k94k1qk5i6UGg=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.14.6-test.publish7.tgz_1506520704257_0.5217087143100798"}},"6.14.6-test.publish8":{"name":"resin-sdk","version":"6.14.6-test.publish8","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","prepublish":"require-npm4-to-publish","prepublishOnly":"npm run build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.9.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"34848197a0fe66ff9670925ebd82f496a5c32c91","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.14.6-test.publish8","_shasum":"d7005077244c11909b8b30cfc8451adbaf6610cc","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"d7005077244c11909b8b30cfc8451adbaf6610cc","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.14.6-test.publish8.tgz","integrity":"sha512-Cib2oZhIWAXNaTw19EU9TxugE+id83WRFYWBfrJKOCCwlHZFlovpR8ma91kgZmtBFQ/b+NHQOf47mGN/9NYbMA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIExWFu1LIWkOqZUbNTG4hd6A0ezVoCXlQ6n7r3YDeFjxAiEA70pqbfjPmfCCZWm01ab8aJj1Gd0ZRPrZdRWDh18sKsM="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.14.6-test.publish8.tgz_1506522586120_0.3678134011570364"}},"6.14.6-test.publish9":{"name":"resin-sdk","version":"6.14.6-test.publish9","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","prepublish":"require-npm4-to-publish","prepublishOnly":"npm run build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.9.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"34848197a0fe66ff9670925ebd82f496a5c32c91","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.14.6-test.publish9","_shasum":"731ed47e5697bbe1456e3d8f8e96a1db98ee3040","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"731ed47e5697bbe1456e3d8f8e96a1db98ee3040","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.14.6-test.publish9.tgz","integrity":"sha512-pkTFfmkLYgfG76aKCoxgVKCP4/rvwYIoJ9ruTMEIrcy0RFVTacQCoEmS9QbQWipbvgthgT68zz6/S1XaeESvcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGfFgU5XWXxIwr7FkWPho2S/kY+skUdTB5YeMW4Ys2MRAiEAvc46YM/hm+2XJnDs7HjEi9PYuhzUxgCb3hhiHPyxxy8="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.14.6-test.publish9.tgz_1506522670271_0.8357322567608207"}},"6.14.6-test.publish10":{"name":"resin-sdk","version":"6.14.6-test.publish10","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","prepublish":"require-npm4-to-publish","prepack":"npm run build"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.9.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"c8c1ff732f9eeb142d42d58aeb804416021a4d5b","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.14.6-test.publish10","_shasum":"45093c6d90db56b8213e6aa862fd8b6bf4fe24f0","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"45093c6d90db56b8213e6aa862fd8b6bf4fe24f0","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.14.6-test.publish10.tgz","integrity":"sha512-I48Dfz3kar1Gy0yrQQlhP6ha27zj2KhbTJm5HBXXuI0m5O+cFcKtzecBV36ecByf0ecxpC4fANGI5/x0CfmTEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBSnO+zQ/0jCY1fvVo+wsYZKN2krAnWqA9mLxWtDYDp6AiA6G3DQM7ez9brPMfd/AKkjQm4xTO6JTYvYZ8nltLRiQQ=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.14.6-test.publish10.tgz_1506523339592_0.8420460817869753"}},"6.14.6-test.publish11":{"name":"resin-sdk","version":"6.14.6-test.publish11","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","prepublish":"require-npm4-to-publish"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.9.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"d19981e320b3ee86a0931dcc3f764838a9857f9a","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.14.6-test.publish11","_shasum":"40c43f26723f53b1d6ae10e0e3379349e6478d78","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"40c43f26723f53b1d6ae10e0e3379349e6478d78","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.14.6-test.publish11.tgz","integrity":"sha512-S7AuYY/sHNZrbBBtXXMtjYUQklny/xlnPKuocCZ5d8y2rmrS11blpNmINEGYaNkyFIEzPFimzkQnx7kZtkBXzg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFD5aTzep0TPdBIMH7qQX0qTNu1htcTI82yyE7UbLV3EAiEA4bkKUn9WbD1gEqpB7acEepRAAWn8JZpxZCGHDxbjyB4="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.14.6-test.publish11.tgz_1506524283919_0.7866593329235911"}},"6.14.6":{"name":"resin-sdk","version":"6.14.6","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","prepublish":"require-npm4-to-publish","prepack":"npm test"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.9.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.5.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"61c69160e79808862597e3b7439b25e76df4dd52","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.14.6","_shasum":"0a6294f67ff60278229e2fd08562b8d5a60234d1","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"0a6294f67ff60278229e2fd08562b8d5a60234d1","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.14.6.tgz","integrity":"sha512-PuJ9r+BzTL3U5wDxcY25WcSo4zzV0phZthmyO5zx5WMe6yyUAfispRCQGX6o+GAapg4/uoJe8txtAdM1sJwpGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEvTUgIHIhotytmqspJjU/8+IapWbJ9CA4qWWIPUcHwwIhAO8Sb69e85+nyL5Ncmqfit1uM6Cw6k544OGd3SyeoPYD"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.14.6.tgz_1506596221412_0.4431586468126625"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.14.8":{"name":"resin-sdk","version":"6.14.8","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","prepublish":"require-npm4-to-publish","prepack":"npm test"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.9.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.6.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"04ea97746a90c7dd5ad0cf829ae6103a01d36267","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.14.8","_shasum":"d29ad8a123d4a387f1df699ef8d9d3f4a33defaf","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.11.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"d29ad8a123d4a387f1df699ef8d9d3f4a33defaf","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.14.8.tgz","integrity":"sha512-qg9/W+5ucUcTrewT9oQVD4lTNZY92hcnkFKSJnJ1w0rMYCoEHjod1qzaS3zBrg8ON6F6V9xY6qdJMGcY6UyteA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8jnnvw02ZdWJchz3mWaXLgmCgEn4FLs180ZfVJitYiQIgOtCa0+T+T2Jumil2+bIfFY1pHxmbowlsOXRNG1/yzZk="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.14.8.tgz_1507275638221_0.24321664357557893"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"6.15.0":{"name":"resin-sdk","version":"6.15.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","prepublish":"require-npm4-to-publish","prepack":"npm test"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","devDependencies":{"browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.9.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.6.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"e5e1b3d537c640f77b3386b7397f636ec86fd93e","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@6.15.0","_shasum":"fb1c671df90a7fb974221262d96b7aaf29b95957","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.11.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"fb1c671df90a7fb974221262d96b7aaf29b95957","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-6.15.0.tgz","integrity":"sha512-k4prWqoihLTHfLTMagJKht3B3/usOhV61ZWih3EZkwpmNwBuSPhrAGTp15sTYnzIAbR3yfBGbS4ZmLceu0tPWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVX1loVPpjYtG5vvkC+LjlIwYcnFwmSznsx/Bxx13ovwIgXQk0A5AemcP82FPkyzcCnxficrCEkSxhVXBrdDXGHtU="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-6.15.0.tgz_1507803917792_0.6491641716565937"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"7.0.0":{"name":"resin-sdk","version":"7.0.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","prepublish":"require-npm4-to-publish","prepack":"npm test"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.6.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"25db78aca3ec96041ba2d745b1aa3f73d9e31a5d","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@7.0.0","_shasum":"3dd41ac978052f46ef3f7d531ed7e088cd03c751","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.11.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"3dd41ac978052f46ef3f7d531ed7e088cd03c751","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-7.0.0.tgz","integrity":"sha512-p5PZCTpE97MglWc8S8UrkGcTxmTqQqwmxdr+i1AbwSAJ66J5YFi0O0e3eapWH6zglvqOv0gkymXRqBIRR+h3Kw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFOBdOuV96jsBTGdp/tKlSOr2WYjGWfUasFyOKoUXpyaAiEAvNZml8FNiIR2GLpsT9LNflw4+WYnUKMGKe+6j71JA4A="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-7.0.0.tgz_1507825218770_0.30727471061982214"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"7.0.1":{"name":"resin-sdk","version":"7.0.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","prepublish":"require-npm4-to-publish","prepack":"npm test"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.6.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"45c0ed0cb1af4833952d84b03cbd8a8ed2d30e28","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@7.0.1","_shasum":"d49d61f4834d57d5d6085b15e55337a6889f2e37","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.11.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"d49d61f4834d57d5d6085b15e55337a6889f2e37","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-7.0.1.tgz","integrity":"sha512-VxItwY8UhXsFRMbXWEJIRhQ4rwgvI535XP8oDMl9NuG3sT3K8YfD9h5Lg5kO4WErnKctVltG/Vr2trpMnQOsrQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2/P9e36lFs2bEkgv1qYuJMxYp8kqxH853wxwBPtPNUAIgY9aRRBjYdxw2ftuIU/G7cgwAuJYTWsl3WSEb773tJ1s="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-7.0.1.tgz_1508259221223_0.3927842737175524"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"7.0.2":{"name":"resin-sdk","version":"7.0.2","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","prepublish":"require-npm4-to-publish","prepack":"npm test"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","mocha":"^3.0.0","mochainon":"^1.0.0","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","vinyl-source-buffer":"^1.1.1"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.6.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"gitHead":"b7a8afbcfcec177aea6c3b9abf10db041c06a609","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@7.0.2","_shasum":"7a02b993cc88db65df1a66bead3a3752284df08b","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.12.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"7a02b993cc88db65df1a66bead3a3752284df08b","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-7.0.2.tgz","integrity":"sha512-d319XMb9Vw5rh5bi256g+M0lZi31/VVF6lzcHtq0PQ1nrCeV/XgXcvkYa8gVkxLsmKmFyHzOhFZoTj/futdbww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpMNoW3+upYI0aqq8NhiceS4MMRujNbERDZMrBX3BH6gIhAJPZcLcLCJ1kAIKTyEEYkAYYcNgj3hk9bXT1XM+bmnt9"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-7.0.2.tgz_1511894671709_0.9983001626096666"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"7.0.3":{"name":"resin-sdk","version":"7.0.3","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"lib/**/*.ts\"","lint":"npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/bluebird":"^3.5.18","@types/lodash":"^4.14.85","@types/node":"^8.0.53","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"^2.6.1","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.6.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"261e233ce2f1e815e853b555090f74ffc81eace8","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@7.0.3","_shasum":"2f40d52a585b35ada3e48c774de2e668a1bac43e","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.12.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"2f40d52a585b35ada3e48c774de2e668a1bac43e","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-7.0.3.tgz","integrity":"sha512-ru3hSqtCgjb5JLJFfbKMLSOtx5C4yoQ52ZXas3T0nwzElPhbAEcv4eUJ6AuDC7FMfE1Nerxdt6/qtjJTKRFXLw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFML7GlLPTo1bzRxUrG0i/EtTSjlf18DHdHC3CnETGQQIgANxg2EEQKR0D6PVsPeQipjryKpPqRV+8aYjIHRPA0fY="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-7.0.3.tgz_1511949850322_0.5736424480564892"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"7.1.0":{"name":"resin-sdk","version":"7.1.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"lib/**/*.ts\"","lint":"npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/bluebird":"^3.5.18","@types/lodash":"^4.14.85","@types/node":"^8.0.53","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"^2.6.1","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.6.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"b325c57bc87877740d20bc35da6eead598b6ca35","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@7.1.0","_shasum":"3c5d730a5c49d64c01a1e269dd27bd14927fcdf3","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.12.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"3c5d730a5c49d64c01a1e269dd27bd14927fcdf3","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-7.1.0.tgz","integrity":"sha512-8bpKN6kvR2B6lcCGWOHA5BohcCc5nflZ729gOPPPR/RFz9XdfT5wPOtN34s7+jFQ+CVfECfsTXeknx2/hjUe/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzeRYTU/1B8eSYMTEWdJgLGMIadAXDRstX0nU25ODpZgIhAMUP+Hdg9ZN8ttCMgZoB3B30KZYQUXbA8V5kuxvoZRdg"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-7.1.0.tgz_1511962819083_0.12769023096188903"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"7.2.0":{"name":"resin-sdk","version":"7.2.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/bluebird":"^3.5.18","@types/lodash":"^4.14.85","@types/node":"^8.0.53","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"^2.6.1","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.6.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"1605c027a14f7487f736a8e810cdbf7f42ed7ae8","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@7.2.0","_shasum":"a596c39f7d2cf8243875a27f19559fd104285ea7","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.12.2","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"a596c39f7d2cf8243875a27f19559fd104285ea7","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-7.2.0.tgz","integrity":"sha512-ukq8/AIzAfrSGdJKknZG7HDKBZCRxu+JmoUVaGfZ4eTllzLK7SujRPBYDbM1oJSLA/W6bCXBzsUyP6RedkY9mw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF210vpL0vnt2zQIBcqmtjmYLP0cLe5MBrrORjEl/c8nAiB1L36EBxyK+zii/FKvU01VHSudjkCVLhppWBdVyuDwyQ=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-7.2.0.tgz_1513709362121_0.7578953744377941"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"7.2.1":{"name":"resin-sdk","version":"7.2.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/bluebird":"^3.5.18","@types/lodash":"^4.14.85","@types/node":"^8.0.53","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.4.0","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.6.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"efeb05b1fb2ba690065aec0de66db9f4688e3409","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@7.2.1","_shasum":"7710fa63b55704ee145cba0fe192ce7a8da9cd82","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.12.2","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"7710fa63b55704ee145cba0fe192ce7a8da9cd82","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-7.2.1.tgz","integrity":"sha512-ktca+R3RBHdJ+CvZCXcPq8+RnCMKgQmu5RyTBP6E/ZlmMpr/cDkPouD6ClJvLtXAUSIO32f6PzzRYFShjjfhGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDG4MSLvsI/S3M09SZSZqkCHYIV3xVmwC83wHflv7E43AIgWp/cpDwA6jEavK9POsqrJ9CN1/36+mbQqK8Sn70OZPM="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-7.2.1.tgz_1513855247861_0.5114397194702178"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"7.2.2":{"name":"resin-sdk","version":"7.2.2","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/bluebird":"^3.5.18","@types/lodash":"^4.14.85","@types/node":"^8.0.53","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.4.0","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.6.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"3108566a9c9a35833e0e704219b312d0e70665ca","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@7.2.2","_shasum":"47b4fd9b81de8578d2ca629856c3f60ed4b4434a","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.12.2","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"47b4fd9b81de8578d2ca629856c3f60ed4b4434a","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-7.2.2.tgz","integrity":"sha512-iTRYerZ9Z0pa0UvBwolSJ47OJfmKMn/5dojJ+CYzMTuxoLzePnQqQ30VE4lu/AjIBFNdwrrHEoPjBObFfvov7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAX4F9SE5viug44tPmsT51A18UPAgAUjGQt7W4M8N+6ZAiBSZO9Ol9VjtLSu64DpxIxfOucEA9FBxFaGLGHU4qZn/g=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-7.2.2.tgz_1513879726960_0.3249724500346929"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"7.2.3":{"name":"resin-sdk","version":"7.2.3","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.4.0","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.6.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"e2658d2cdd7e96e00602aadb9dbcbe9914469e53","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@7.2.3","_shasum":"b41ae2baea9afab1f3154f7f2c95391abc1c171e","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.12.2","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"b41ae2baea9afab1f3154f7f2c95391abc1c171e","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-7.2.3.tgz","integrity":"sha512-vkY5ZahHGuHNcttaukqUzovsAxp+jnGkqxGK3RwPWYDfI7vNx+hvfEfT0CJ+ALJcWGK9TEkiPB+RYDJjftxl+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICYk33gPAaB0xHWc7zErHrlOw0juiflFakykPKp6fk1iAiBuPotnbg/+YpN3MfcpR1N4Rs21RZmYurnQsUzePnBHww=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-7.2.3.tgz_1513940280028_0.9807550564873964"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"7.2.4":{"name":"resin-sdk","version":"7.2.4","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.4.0","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^5.0.2","resin-register-device":"^4.0.1","resin-request":"^8.6.0","resin-settings-client":"^3.5.2","resin-token":"^4.0.0","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"a22a0f93b4a49f3dc73a26ee9d2e101d86965396","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@7.2.4","_shasum":"56cc34d922584b8591d4901bdeba5c4b6c81fe9c","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.12.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"56cc34d922584b8591d4901bdeba5c4b6c81fe9c","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-7.2.4.tgz","integrity":"sha512-W30G2JI5SkNk5A2otkHZUlBX7gkRluqDdV0fkX1cf6ZbTaMB5+2xjFGKaPwboLPX0ECC2pF5cNI0YytlGg1FJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4FN/28TvTZQKicmc3QAEj2P1miW8bMutJsbUvCf7ecgIgKRsGQ6vANApWeawJQ3ndt1yzFbPkNWWcAVoXsPKn7eA="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-7.2.4.tgz_1515174161458_0.3041055316571146"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"8.0.0":{"name":"resin-sdk","version":"8.0.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.4.0","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^6.0.0","resin-register-device":"^4.0.1","resin-request":"^9.0.0","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"04663418cdc96ef86610615807fd5257adb83a58","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@8.0.0","_shasum":"7543cc1873441cd7d7a57a2d5e54b42470158fd7","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.12.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"7543cc1873441cd7d7a57a2d5e54b42470158fd7","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-8.0.0.tgz","integrity":"sha512-qLv2i3kq2MfaP5dQI749MTMDIft16TBSqW7Wkemsew2Acg6M898vIIHusS9Jith7weJ8Dcj2+8yabYYU6BU/gw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzHDNSzpcbk3o1nTgPmrGDCgvYGbmhJuw6VwjZmxXy7AIhALKLt/1GDc8HKgqwkz7fLXwoFhxgznRTtZt7iQyCLorV"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-8.0.0.tgz_1515436096257_0.5753385773859918"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"8.0.1":{"name":"resin-sdk","version":"8.0.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^6.0.0","resin-register-device":"^4.0.1","resin-request":"^9.0.0","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"bd0aa98fba3e5fee14493aa46119e16650333fd0","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@8.0.1","_shasum":"a586012f70df1927eebf52b9fb80d8d93a17c6f6","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.12.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"a586012f70df1927eebf52b9fb80d8d93a17c6f6","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-8.0.1.tgz","integrity":"sha512-Wu8OzKpMWC326Mcbepjmml0KEvROkZNrS2pKy/7Fq35ltAThMGN7mGdYks/6sZwBrb+IqAKE+mdryHHJih8p1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJBs/4ml2ahUAqJagX3nPHxCdexiWjas1YlsTtrO5k0QIhAOIT8py0D9iPa6ksCWUupJpS+Hl4Ja/oQ8nZwJ8rBjd2"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-8.0.1.tgz_1515600098396_0.9488900424912572"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"8.0.2":{"name":"resin-sdk","version":"8.0.2","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^6.0.0","resin-register-device":"^4.0.1","resin-request":"^9.0.0","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"6dc63f1bd4e0e7caafbd9d2703b7f3823bb7134d","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@8.0.2","_shasum":"b220c59bb781f9e291c1fa395123b1f3ff75465b","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.12.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"b220c59bb781f9e291c1fa395123b1f3ff75465b","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-8.0.2.tgz","integrity":"sha512-lNOJzJbvjz1lICXB7FuVMvdxwOWRqOCE0LZMKlxZvTA6omY8+E13dzR4TJ7OuUjFSMwVmPwtRagr/e4I10i5ow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHWkdk+T0TYvOP8tkJ8slD9I/PT4pQFqn3E6qyLdzt1vAiEArHapqnXhW+JSz090AexN2MI/R/wvATfzLPFxLydNPjU="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-8.0.2.tgz_1515687403355_0.6576826486270875"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"8.0.3":{"name":"resin-sdk","version":"8.0.3","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^6.0.0","resin-register-device":"^4.0.1","resin-request":"^9.0.0","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"5ca7650cebe83f14c22b643f62205f26711a2135","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@8.0.3","_shasum":"9362e3f401b74a77d91be394af3c8e398fa830e6","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.12.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"9362e3f401b74a77d91be394af3c8e398fa830e6","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-8.0.3.tgz","integrity":"sha512-Vn2/AtHKKwL6KlUM5cO06Za3rpIIrIeIzmi65Fe/x+agxl3j3cUCNdfcETcQVBKfRjjZy1anUM05zfbfo2oQhg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC93GDMGAE03H159+R9/vtzxjDOlvApiwebJ3vCC3fiywIhAO5hQAvX3PW5rkSIabQ0+mqImgzw3DxGvRI+85ngm2KY"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-8.0.3.tgz_1516236702692_0.6230684667825699"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"8.1.0":{"name":"resin-sdk","version":"8.1.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^6.0.0","resin-register-device":"^4.0.1","resin-request":"^9.0.0","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"3d719ff64b09ade94ed0a14a23ed1f6361347de2","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@8.1.0","_shasum":"6486738a4b3023a031a25b5fcd5a4273d28c0b26","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.12.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"6486738a4b3023a031a25b5fcd5a4273d28c0b26","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-8.1.0.tgz","integrity":"sha512-h8oM+Y5ur3uVsRXE/DpCrxyPt7BS2Mv1btm7Pa7BcUb5h/N4WQKV5J7hqANFboBjw38lYppbK9eU197iTsxNqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG/5rxkzkH3Pk2s4Rkn/Tlhbu2C7up4fem4A9ihK8vAVAiAX9RCs2GuHJbsDypc+2yoYL95N9kiCI9WxFB5ijMNL0w=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-8.1.0.tgz_1516292349599_0.7172681458760053"},"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"9.0.0-beta1":{"name":"resin-sdk","version":"9.0.0-beta1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^6.0.0","resin-register-device":"^4.0.1","resin-request":"^9.0.0","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"5175d98fd5db7040b6823a94429e761fd426fd94","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta1","_shasum":"31d0787a4e493cf4eec6e18fac299db3f77c3bea","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.9.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"31d0787a4e493cf4eec6e18fac299db3f77c3bea","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta1.tgz","integrity":"sha512-vOxSsqi4Z1STVhqBoxqLfBYlERqVVbwT7luKPuyDIIzj2vlpvVk9D0thqfqiewoE/lnxLyP86+a5qQGYNEhUNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCR+XjucU1FzobgtKPSQud4H83dqDEoWrXvYgWGuBrjOgIhAIgJeaXTeFM1vnNiQWvjVSa1MzSPOn9Tvu3ivaCq2Hx7"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-9.0.0-beta1.tgz_1516487468732_0.6870248699560761"}},"9.0.0-beta2":{"name":"resin-sdk","version":"9.0.0-beta2","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^6.0.0","resin-register-device":"^4.0.1","resin-request":"^9.0.0","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"6a31eaa5737cba843dc367ac951ba6491d830b35","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta2","_shasum":"1ccbc51e13c61288fcb56b2cf9ce0126a90918f9","_from":".","_npmVersion":"4.1.1","_nodeVersion":"6.9.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"1ccbc51e13c61288fcb56b2cf9ce0126a90918f9","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta2.tgz","integrity":"sha512-/Oh9i661805RQkJEpkF5V2eLz7FEra126xbklDoBIowgO5f+15U1xrPvDFtC1YSfMr1jmybrA4PxAmNv7j531Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTWKx0uMLlaYfevZmzXwtwUexMF6Zg1+rpl5XCPfiP1wIhAJrWQU3IG2MiWukH7O6YwifZO+pEFRxdOF1F686AE4yS"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-9.0.0-beta2.tgz_1516708007913_0.33716334169730544"}},"9.0.0-beta3":{"name":"resin-sdk","version":"9.0.0-beta3","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^6.0.0","resin-register-device":"^4.0.1","resin-request":"^9.0.0","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"7c64bc1e35ceac676b9b178157531243755d7a0b","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta3","_shasum":"5ff1b0746be260b38896445fa7c6dffb38585fa7","_from":".","_npmVersion":"4.1.1","_nodeVersion":"6.9.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"5ff1b0746be260b38896445fa7c6dffb38585fa7","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta3.tgz","integrity":"sha512-sZIsNE1qbzEcO+WW5/gDquLIMhZiyXlNtMuRYHfrYZLESGqk+4AFKpaPsrzaxrnSeNOiDSxUCmdZK/1m5jDklA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDBCWNOcnyJ3mwDtiUiK5BqYQD8I7G8SPyL4OXafCGkbAiEAgl2S44zyJ5Q5nd9mb9wOzMBABMlTXzRHyNuZvnh9HNg="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-9.0.0-beta3.tgz_1516788410938_0.29251444851979613"}},"9.0.0-beta4":{"name":"resin-sdk","version":"9.0.0-beta4","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^6.0.0","resin-register-device":"^4.0.1","resin-request":"^9.0.0","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"a7935c600d2a92345a3d2c30e876ae54ea069b52","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta4","_shasum":"ed948dec4d6dbfb37d3a62820cb3f139a3627584","_from":".","_npmVersion":"4.1.1","_nodeVersion":"6.9.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"ed948dec4d6dbfb37d3a62820cb3f139a3627584","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta4.tgz","integrity":"sha512-j5nR5LY0GUxVEi6W/oHStjvKxLRv55k4adCLO+dgT4XdbP8wlw7qFE99BU9ZPsPVcAnGRIAXnNw92QO8DqpwUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICPvrtOEYrEiebiw9R66U2viWQC4j9N9Gxxl7tZUiZ7DAiEA4JbGTyoJNoGcKrYrwDQcofzwIXT4fDdXzikp09T47Gw="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-9.0.0-beta4.tgz_1516793161882_0.08553138095885515"}},"9.0.0-beta5":{"name":"resin-sdk","version":"9.0.0-beta5","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^6.0.0","resin-register-device":"^4.0.1","resin-request":"^9.0.0","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"0bebcfc208be1761e83681b4ef3d054e3a00bf79","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta5","_shasum":"8fccdc4f6579b716c8add088ef550bd722dd5fd5","_from":".","_npmVersion":"4.1.1","_nodeVersion":"6.9.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"8fccdc4f6579b716c8add088ef550bd722dd5fd5","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta5.tgz","integrity":"sha512-J1MoMQOseo9scxLQByfVjM0/E1HvuRhmddZ6Fm3mkOKPwpneRSaEhdzUNBV4o5wIADIRT+OitHdlrufK8h4fmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrsJoWBWZaFHgbvqPZP+2s9dZPMAJpm4lAx7RGpCVaRQIgXe0E0Z8f4O2BuYlMh2CJM+ekQegL43KxjMPDaodvJWo="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-9.0.0-beta5.tgz_1516797023308_0.41782340640202165"}},"9.0.0-beta6":{"name":"resin-sdk","version":"9.0.0-beta6","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^6.0.0","resin-register-device":"^4.0.1","resin-request":"^9.0.0","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"5baea75eae5c8ba7da463518b8bf2b69815ea107","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta6","_shasum":"040f156f7558cd4915623d143f535f4476b4ab4d","_from":".","_npmVersion":"4.1.1","_nodeVersion":"6.9.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"040f156f7558cd4915623d143f535f4476b4ab4d","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta6.tgz","integrity":"sha512-jFMhuWTOYPeRPQ+ewjsSG3YWO1ZK3FKiYQ4I9P86kb+HLn0G5QMH04cLXzxLtcdoHRfHmhca0WjGJJPBVGmJLw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDd1XpmhQGV+9CmjpjRpLh8xc9xPeN8B5bJLIZT0C8lFwIhAMdgv1g0+nT0yahs8YB7bA9Qgpu+uXp+wq5tMJKxzC/L"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-9.0.0-beta6.tgz_1516799989966_0.05949375662021339"}},"9.0.0-beta7":{"name":"resin-sdk","version":"9.0.0-beta7","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^6.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"b3755b4133d33851a80841b8e48eec82abfaf876","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta7","_shasum":"57951181dacc0cbff4d9718500f8b915217f8fe9","_from":".","_npmVersion":"4.1.1","_nodeVersion":"8.9.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"57951181dacc0cbff4d9718500f8b915217f8fe9","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta7.tgz","integrity":"sha512-inLwTOtz0/m9N6/qsI04eC6l+QySN2sAxNlOeFwNePoyNpBsXOezimpIMFL6ibDawiofz49GKtFCmsUVAKQT/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuYM9LbsOs+xNV/ueHF8Wjq9fVecjZP6uGvJOZhBoipwIgU+qdDoopcmtF4VrD/kAh7zs8FM3cDjZGIWnKSKakess="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-9.0.0-beta7.tgz_1517250403019_0.443453227635473"}},"9.0.0-beta8":{"name":"resin-sdk","version":"9.0.0-beta8","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^6.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-semver":"^1.2.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"6ecacd6e4d83562015ba999ceb89855ddcabd9a2","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta8","_shasum":"0601f3fcc9df12309fd82ac38b099f867566309c","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.9.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"0601f3fcc9df12309fd82ac38b099f867566309c","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta8.tgz","integrity":"sha512-pnZULF07YzoLBZxZpl6qPh7btlXMZPdFQhFIHA814Xf1Q3wfSvA4qtikcdRP6J9RtcM9QWMSuvc6/5XiinLBhQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3vz0nAK1ORKJd9yXQo2pjDurYHezGB0efMF/VegtdJAIhAPmH09kdCd+1LffORlF4keVogMvfxpk1Kt6LHhECHxpq"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk-9.0.0-beta8.tgz_1517573782589_0.25291751231998205"}},"9.0.0-beta9":{"name":"resin-sdk","version":"9.0.0-beta9","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/json-schema":"^6.0.0","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^6.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-semver":"^1.2.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n* rindle\n* zlib\n* progress-stream\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"6a5c86a2f8c2f8119228cd46b310cb2cb264dda6","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta9","_shasum":"71a449daf1369bfcc740648051eac31d67be291f","_from":".","_npmVersion":"4.1.1","_nodeVersion":"6.9.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"71a449daf1369bfcc740648051eac31d67be291f","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta9.tgz","fileCount":30,"unpackedSize":3519622,"integrity":"sha512-4sXqYkgttInNdIEO+/d1PmpC3+fJr3HFxg3ud0OSbYrGkgrLHxzuIba4NbJS+F8PrZIsT5P9gyjSNLaOhGPzFw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBokzfmORLQulRmaxPcjNJfQU2JTni4zddBBBK0apV1aAiArjLJqyUEAIHb2cBeUSgELpV+5cVAy6F0Bn2N3CHs4nw=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.0-beta9_1518429416141_0.3563736019804049"},"_hasShrinkwrap":false},"9.0.0-beta10":{"name":"resin-sdk","version":"9.0.0-beta10","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/json-schema":"^6.0.0","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^6.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-semver":"^1.2.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n* rindle\n* zlib\n* progress-stream\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"cfef7b460bcef7a7fced31e6101ab069a9b0233d","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta10","_shasum":"3adbf483d565acf2c40ea810f0782107d32a2437","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.9.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"3adbf483d565acf2c40ea810f0782107d32a2437","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta10.tgz","fileCount":30,"unpackedSize":3452597,"integrity":"sha512-2+ipZuouQPhgqAquvQ4wCXIG9IcvAVBz7Ygi1pyU+ylyih7qCGDPKmuYE2gs/wj0nW6yI5sVfKIFUrMPzO6Bdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFYaLDaYjfhc2kh6SPUkuIVRKcY3nTiLyCMf/cT7ZpHQAiEAh5UG997kXs2NF0lPomedeQAh4K77EtLAB6A/+ELd1i8="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.0-beta10_1518441089717_0.09907009736676131"},"_hasShrinkwrap":false},"8.1.4":{"name":"resin-sdk","version":"8.1.4","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^6.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"045c988942efd96861389580bf61393db74c58e5","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@8.1.4","_shasum":"2c4501685f256a38d1c3fe2d1b5a61fc2d284277","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.12.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"2c4501685f256a38d1c3fe2d1b5a61fc2d284277","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-8.1.4.tgz","fileCount":29,"unpackedSize":3413792,"integrity":"sha512-L7WLYNKG3eNpUf66Y8SvFuO8J/3S6z5tlJNcLDkH+qQaV7CLRvv6UV7ua3Kcf6jB/7mbKolWAx3zmOh9uxkObQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHufUSWOJqRxMSgJiz/aABxGqBkoAKmMW97RstAuu4VHAiBWiBCX937HuQmCg0jTh1hrmhmeUNURc9hXkqowWW9kLg=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_8.1.4_1518547300110_0.22834088813801312"},"_hasShrinkwrap":false,"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"8.1.5":{"name":"resin-sdk","version":"8.1.5","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^6.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"6e67919644c4352cd1446e3f6ffb2d5c4410c37a","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@8.1.5","_shasum":"f45575776cee1bca3022cc8182a1a20a2fb392f8","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.13.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"f45575776cee1bca3022cc8182a1a20a2fb392f8","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-8.1.5.tgz","fileCount":29,"unpackedSize":3413966,"integrity":"sha512-60WsDRfiNd/xP6f/oEQxEhQa1s+xihGuco9hul2I2SPMKX8Tv4BzJhZBa2RPUUxDckRAe5z//LyingN+ICmR2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEBVrElVDqaeq/NkO6JPRNM+IaCsirL0OeCo7mcdZbxgAiBXBKhEbmv1Gn0wQ4nHZ1WNv0ka54ePO0c2yUAK8401fA=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_8.1.5_1518600210351_0.18392673107101398"},"_hasShrinkwrap":false,"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"8.2.0":{"name":"resin-sdk","version":"8.2.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^6.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"13360c22ea80cd253466765fbcb7c98732378190","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@8.2.0","_shasum":"05ad871af59dd70d034cc21183d2e584c2c3737f","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.13.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"05ad871af59dd70d034cc21183d2e584c2c3737f","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-8.2.0.tgz","fileCount":29,"unpackedSize":3414101,"integrity":"sha512-rvsNjaszKYf78e82oUc1DpSW7GPA72CxFdpm4MOZzRqz96R226cneb9BESDmA1LYm0Kw39iVT6cZ1rIOiXbVqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFm9TZf2qCVxDuUZD4aEXN6oLuWpPS/hHBe80Gn+2FqSAiEA3Bax8P2e3B7qNRK7teRNZubyZIqHdB6W+4HdPdf35Kw="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_8.2.0_1518611913270_0.8187300849999828"},"_hasShrinkwrap":false,"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"9.0.0-beta11":{"name":"resin-sdk","version":"9.0.0-beta11","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/json-schema":"^6.0.0","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-semver":"^1.2.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n* rindle\n* zlib\n* progress-stream\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"8e4f05b9c5c5eb1eb3a2436b5190fbf5ebf251d3","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta11","_shasum":"1d793ed95ca18d22aa93dc513ae7c3645839adac","_from":".","_npmVersion":"4.1.1","_nodeVersion":"6.9.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"1d793ed95ca18d22aa93dc513ae7c3645839adac","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta11.tgz","fileCount":30,"unpackedSize":3529934,"integrity":"sha512-7e+w5N+RZRX4UHjd2fn4oG/wxi8iSJa+ijr6FpQsHVaDZWWS0eEA0YsBMnlnZXyDc8aE9vMBcPeeeD3lpAb5LA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUK74Oqt4LLib+C1L5oxnF+bFQe15LClclDAeX1E7O8QIgQ6CYR3FxIjb3WoTmh8zaxcjQ8Jb0aCrCSPa+0S2IFTI="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.0-beta11_1518694552765_0.4436490448528734"},"_hasShrinkwrap":false},"9.0.0-beta12":{"name":"resin-sdk","version":"9.0.0-beta12","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/json-schema":"^6.0.0","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-semver":"^1.2.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n* rindle\n* zlib\n* progress-stream\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"a1132c6caab999681bba1a8449b6025f9ca431f5","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta12","_shasum":"7d8c958a3928aa6e96f02177fbca3d525e43b056","_from":".","_npmVersion":"4.1.1","_nodeVersion":"6.9.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"7d8c958a3928aa6e96f02177fbca3d525e43b056","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta12.tgz","fileCount":30,"unpackedSize":3529501,"integrity":"sha512-a3k0pSxKXqvwjFCUAwrxoX5JhZAr9Jdwa/+Jp7tL/8C+wt3KkORatxjl/SJHLCYCiENGBQ0x8dnuNwcCJY4+Og==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMmLbSIWNmOhUFpcLAiyyoUWGE4rLsH64e7VS/YPPEzwIgLUvZa4RPWJ++4fTSSY2iT7lh6FEDO5PJnfJcaHo5/eM="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.0-beta12_1518697852901_0.17802020476554392"},"_hasShrinkwrap":false},"9.0.0-beta13":{"name":"resin-sdk","version":"9.0.0-beta13","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-semver":"^1.2.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n* rindle\n* zlib\n* progress-stream\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"8d54648a8977ca6c351ca17ed1662946551e3017","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta13","_shasum":"485855df103eeb4896dde84fea09e47794d80438","_from":".","_npmVersion":"4.1.1","_nodeVersion":"6.9.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"485855df103eeb4896dde84fea09e47794d80438","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta13.tgz","fileCount":30,"unpackedSize":3529291,"integrity":"sha512-GInpYd0CtT/Ks2PG/0tHFB9j7FVexm9V2Sz3QJJe/ooVVbbT4c/gZsMMz3gVzNm55Hs0paa+R+CsNA676rxKnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1vCnpqH0a1F6xSxAT/AGmAOmmaaFR9pi922dnYreG9wIhAJs7ns3rsnVwbvmgIaiWLl5tX8da/aK3JMio+2Par6VR"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.0-beta13_1518707602216_0.6681381844545389"},"_hasShrinkwrap":false},"9.0.0-beta14":{"name":"resin-sdk","version":"9.0.0-beta14","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-semver":"^1.2.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n* rindle\n* zlib\n* progress-stream\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"9afdfbce7a4d84919d49ab11078dbdec3b014257","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta14","_shasum":"5cf09233ce03554d9f1d878233688fae48692f2e","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.9.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"5cf09233ce03554d9f1d878233688fae48692f2e","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta14.tgz","fileCount":30,"unpackedSize":3466001,"integrity":"sha512-swV1cOnfV0KPvAeTPukzHAD9pRGxzrd/h1cWLlfPWsqmetlZmjvCNDvhmW7TrLYCF1PKtNAddhy4eW/09cpymg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGjWdW/EpOlEtlyGnc/KGVR7pQ7nw+SuMAWZ35JUaeTTAiBw+SeZNfExZbeAmPKMnn4fj0XtM8147KeCIKjka+Ph5Q=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.0-beta14_1520432543340_0.2893451233683031"},"_hasShrinkwrap":false},"9.0.0-beta15":{"name":"resin-sdk","version":"9.0.0-beta15","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-semver":"^1.2.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n* rindle\n* zlib\n* progress-stream\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"55ee55fde61897e9297099bf693414fe453ee0f0","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta15","_shasum":"7d59ffe980fb5c7895d73df0f02a14a08ee03309","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.9.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"7d59ffe980fb5c7895d73df0f02a14a08ee03309","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta15.tgz","fileCount":30,"unpackedSize":3466665,"integrity":"sha512-RiIAU7uQfa7H5kNO96S7mO0lwfFkOJftJOTtU5PEor8uQjLXCKj1o1KStC0Ka6DZJOVSNc2aiWXFE1gMZtH4YA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgjOZZq/vSpaDckofYYA4tksQywhS751gRqas/dj71kAIhAN2YzK3Q1lgS5fDzjxyFoJlI8LH0qbkSLWYg7AZArkR8"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.0-beta15_1521726198306_0.4011733814424272"},"_hasShrinkwrap":false},"9.0.0-beta16":{"name":"resin-sdk","version":"9.0.0-beta16","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-semver":"^1.2.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n* rindle\n* zlib\n* progress-stream\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"fa9cd1bc5ab77522207aacfdc1c7c1ca0e577159","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta16","_shasum":"d4258d07b2fc5f95f49017c929ac26e4a4ca0063","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.9.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"d4258d07b2fc5f95f49017c929ac26e4a4ca0063","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta16.tgz","fileCount":30,"unpackedSize":3466732,"integrity":"sha512-g0RkNUCIBZfmAOrcku/kqBpLHKKlcf5Nym6wuFR8uQ/KfXbOpIsVWa9O5aqkkpkzWSWBXlLKIi4NjmGDqEeVGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSthBYw6LJt7B10jvazzfiKHmu7RbhlsmdBvdd7KuA4wIgHmfLqVBcSiYZV3xCSzn++l1gsoIBALRILFYy0taa+SY="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.0-beta16_1521808625808_0.7145190713684451"},"_hasShrinkwrap":false},"9.0.0-beta17":{"name":"resin-sdk","version":"9.0.0-beta17","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-semver":"^1.2.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n* rindle\n* zlib\n* progress-stream\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"8f0dc48c825787b28631c76f855a3c676ba15f47","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta17","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-laMIlSn5UJjUv9cYM1rpvqrFCrgMl58BytFtTLZwW2YfiXWrdcHtLM2UYnC2cqOtKhAuwM3VekFWGNwvJv632g==","shasum":"a3394be5de7707a0336e1b2c65e21cbf14b30ef5","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta17.tgz","fileCount":32,"unpackedSize":3480095,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpMORjMxId7v6uPWSzNj+v2ixXoUlmIu7zxjodnzPITAIgLpIXUBWFn7Y+zoaLuRGU7Tf0Yak7zjI2AnGuGFSdS7Q="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.0-beta17_1523292344502_0.2646949791292801"},"_hasShrinkwrap":false},"9.0.0-beta18":{"name":"resin-sdk","version":"9.0.0-beta18","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-semver":"^1.2.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n* rindle\n* zlib\n* progress-stream\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"e108012a56f1b08e1077dcad5a62e5f31cfbe79a","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta18","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-nqnwwiWsR06t8elmwtr+7XWm2+U0PZbnhPNmUoqb2FRagjxBRiEdOrIiLvFfRrQ2iO2JsEvTshnrWxO/pO1uaA==","shasum":"c8330b0b793a0075f7250c55e3c57adc3b249bc2","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta18.tgz","fileCount":32,"unpackedSize":3501091,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2I2WCRA9TVsSAnZWagAAcaAP/2B2EYUP+w/3LCRI0oWV\nr4jFg9DU8LZ/qsFbU6U95o2jdt75dLpL71muz25G+nT98f8J8cXvZqol8bNS\n8Uqt1doX9UjURFSbgrhVcWPNvhvYRFKgbceey164gaDX5cnCP0OihcQPTIT7\n3caEz2bB8VLcMxpSqXo5UHfnwK2KNNzS9lJwg3/56XehgjFWJzcoX5ShAN1x\nf97U75wNPdWEW1AY7ArDJW4dOCBtyLvO8PNgHJ+C8pB0EM7CcE+g2Cen0I8f\nALfinkQggg/bPdaqfzRuMv8pb+YyIJNSBQnJzNsGqbDbgfF7fJbz4RY9TssT\ngt8t7FEW69HfHra0TtZfdORCApGL1lqRWTO3N93gHG+gJ4GxoJBEj2wMdr4i\nAWLJioGaywFMCfL+q/aYEua60c3jB6298F45l5rtsdZwGCbWGJG2zLBqpccQ\nebjEmUp7ex7ebWmzdDQRcgRV0k2/Tj6cK+Nu1AEIX3fdJrHgTcCXAiw1NqfK\n/KeiIXnPv2x8uIg1McY0d7F78+A3IIvvgeKNjJ/3y6No0RTqFNqBGDTuTclS\nxrWqA9PH86BdGFX90W0DJfaRZvM7GpixHPsYWL7EQPuJyxQ07CrgqEZr5tu5\nYcx2K2yiad0DhFLRTum+Soimz5LHM8h4ZA0A1i3QC5WVQrMigr8j+AXxSVj4\nzHbk\r\n=wt+P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFTAM/wJUV/R2XkcNXek/Yqh55lmS4X1gYyjLImkXyQsAiEAyNOpexRaWGUWL+15LZKyTX06tLAAJ9JUEIv0UdTijjQ="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.0-beta18_1524141462118_0.4231205755258969"},"_hasShrinkwrap":false},"9.0.0-beta19":{"name":"resin-sdk","version":"9.0.0-beta19","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-semver":"^1.2.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n* rindle\n* zlib\n* progress-stream\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"2db83ceb76793fbcd56a36f137546dc65075f864","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta19","_npmVersion":"6.0.0","_nodeVersion":"8.11.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-fVG3NK0jQz2cfVW63uyK9IPCll33ke0ouuStLgXu44g+NQC2CvmKZDUILoe1IG448cJeT4zv2Isu74pzwMTx8w==","shasum":"621528a38f19aeb8545128ff1cdde7df5dc89745","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta19.tgz","fileCount":32,"unpackedSize":3517949,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8FYuCRA9TVsSAnZWagAAGFYP/2uXlYdiiD0Jofzu8LU5\nIl35pd/2kkeqMYHBG/U/NhhLtuUqnkwKBRkymjINSG/Ysmo2W1Kbe5/4esjd\nw94soLxZo5ob+P4tRusLRSwyB2ObrLYvFKMCycWTy4Nhsu/spyHexSVlH5WR\nzMbNpWSMop7gn8cBCQJdlzOYayomYj4qFCPD3PPwSkaX8jX8AZ/vBxrO6SU/\nl2O5cU5hEXSHbC9BqLlHQwWUbO043+TwBCQ6+RhCCHiQPOOsoaEbB0X+K2FW\nn7KZyPkAuyyfuh9DSaXphxZJ4+zPLSNIs2e/ORWqyooFi9zJdD+lYnHgHwPc\nFHvCW4f7PdZAGBlFy2Q7qvdKWYQGYe5pUpGRMnc9pxBJUK8WFprncj5mkkMH\nEqOXYFBvv/fl6I2fLzUSA0Vtby3fyvIHj3zG4xC3+tYaAOdA6/DR3HyeFsrc\nOwSQwnGRE885aVoUjTfCCZAULwVPKZJJIr415wDb/6qUl6kAjd5fPfeJEdER\noKI/gWd6ul1allyeAXL9sRK/FOk2hHh9XHZQEG04qznuF11MMrq9HnMWfSYU\n1ui+b+gK87m30e43N2rmXOijpBc+9hgwmvMYiWiChF70KsUNm433XpV2Slyo\nHU6EtON1IGhZ3BPuXdq4NlRqG0aycofkQQLE9mVwnI5c8BO8ImyBifrUDXnT\navxp\r\n=3sVk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBqiWcqGu8m903VevrVBnEd5hoxfNwpYa3yen5GSkirWAiAKZg/nstjd7rhwR81D8Ft4u3cEIfLBQ5Ol2WxcjG9WNw=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.0-beta19_1525700141864_0.22985148825863"},"_hasShrinkwrap":false},"8.2.1":{"name":"resin-sdk","version":"8.2.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^6.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"b48d87c10bfdf9a50e17d3b325745cbccf38a94a","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@8.2.1","_shasum":"9b467f306e66739b8b72511a67c921e53ea38a1d","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.14.2","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"9b467f306e66739b8b72511a67c921e53ea38a1d","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-8.2.1.tgz","fileCount":29,"unpackedSize":3414969,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8xTTCRA9TVsSAnZWagAA8vsP/3ave9eDIrXcx9j1EXPa\nxn4rKwjP0HbmWonOCCS4cmqF4GxMI++7waqPTYijfpwbcrHfDsKB3abnC/4J\naMzCETW0hY9iwKmQE94f+yOSw+6FJAPhgDWGnHBBK7qGmn38mOvuLi5J5Wkm\nMYaBr/nTEJH8T+EZBQKFLeHXbBTGiBYDTqrMovkCH+sHrl3VSvPcJGRIUPLU\nV/mT0/MkMeadLNLihftX0ZoMQNe4xCKRivDXSKHigLQrYGlahZNA30Uv87m4\nVBZpjlyuN0LNyg2xHiyhhZTCcw6BgcULZTIUm1glA3H2figPSETJcYMMZRQL\nVcbX4FH0mPO3LP+Kso+jDhA6eSynwVS8qe/OnWPREjUtYtn+/QjbEYtiksnW\n+H4ypdjM8w8p3NcGBTUWy2T5MjMjIrRgfC/3zCXITMW8Hdbm1OI7TFo1RMNk\nYsQsBUMSE8GwWiNWvmOjePiOBZWRajtElH9AlnwOdrVeJ61X64oUHRKSxrfB\nvOws2isWTM1SJrIa2OhYMvsNG8D5gGpjAbJc98v2VDoMhTSuH7AeX/1m4GA7\nPUWTRpD5ePjRxIb5XeN1Um7fidnxzmtBToWNMUlA8zfHkET6XAPisHhVT89G\n3IXxxmsukKdZ1Wx2EI7Qaw5q/4KYT3Bz8/ZK56qt+cr3QvuhgNaFI7a4rFT8\n7hSw\r\n=Vvah\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-4QDdY4rXLjvpvqFIDBmKB6dig9VhYGT8F+mUgkmuxEiBNARpaCNv3mhCz8K9JaG5IROS1AtW6dpUkTCpwB39cA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHVVNGc7THW5NWTr52PG4lobdjc6TUIC3oM+mGP73nzAIgajjtApA3bEQgAdeGL8SzAev+N6oKBrHn7KsNCogtom8="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_8.2.1_1525880018429_0.07818228469473998"},"_hasShrinkwrap":false,"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"9.0.0-beta20":{"name":"resin-sdk","version":"9.0.0-beta20","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-semver":"^1.2.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n* rindle\n* zlib\n* progress-stream\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"2968686acb72b83367f983513fd07f1ce80a7f28","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta20","_npmVersion":"6.0.0","_nodeVersion":"10.0.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-j8jV+VIJhnaKMEGmp9t724ZQbe4zYLlsu9cGwI/A6x8Buz0zUB0vBmnOoJZL8RVRfJyu8j+ptLZagJtStOpUDw==","shasum":"81d15518aedb0994a4dee93c86b1aa9c1912a714","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta20.tgz","fileCount":30,"unpackedSize":3470511,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9a6bCRA9TVsSAnZWagAAETgP/2pR3lE5tr1qGexoHs5D\n6Bag7TkC/QdnZQ9AotKsEtLsK7azr8itY91fplW/1JL+Q8MrtJMOIB5p0kxn\n2Y7nXOqascDt9Bul8drvu+YtafoHnAYBfXwZGhsZMye1tAjfxRnAYoijws9M\nmLyYDjH67CFaDWkfLLJI00mDSE/O6HqbelVnvNzJZ1vbk0G5QQ/aRIMjx+sl\nsQ76Du+0QkydjhzwdfqfeLy7r7+L44aO+I00SG4xU7SWcK5PVDCS+LOAOjsx\nE3WSkP9ua2UF2NafkWA+b7Rb9H+HB3Bkl1Jhof1T/n9QO3ztOIfRLv6JIhRH\n1HYDxpkl743I0cp0c3VqjEJ/dlN36JsiOs/rd19CGowP8XQ5LpLrUHNETuhL\nTTrfkPeUE4KdOyCeyXSWgXPLLCe+xeywmNqk8S3/5S5OcDs8Iw0TJWCRs7Cn\n7hK96G3Y653TQl6rCsT8FNLD5SPXiDiHICdejwqNik61VpAY+nrmtR7nhTmt\nNuTYazVnko8YHQhHw0Tm9SDyH/XrHP4dB81PITtY3ebgsEPJI70Gv/5JetAx\nEyaKDI66gy1OTw78UFqjgKyVhBuwP7GqFagmXs5lG4oFGjXdOJCClcjpuGDb\nhXk4kM3RphL02AjI/9Z5a01pzh5n3NG8Klkc31U6vabxScYecCEsUeca1mVk\nED9A\r\n=XBX9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHFsejjPlz249MAKcbic3cDvWSoqF7EOrcsb7QRPVE/bAiEA+YQfL1DY4qWruItVSwP0cm9OTmxOlLJr/7pktFZc5Rg="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.0-beta20_1526050458176_0.16744217738472988"},"_hasShrinkwrap":false},"9.0.0-beta21":{"name":"resin-sdk","version":"9.0.0-beta21","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-semver":"^1.2.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n* rindle\n* zlib\n* progress-stream\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"2968686acb72b83367f983513fd07f1ce80a7f28","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta21","_npmVersion":"6.0.0","_nodeVersion":"8.9.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-3IdzX+I/vlJCW/vF6K8LBIE9jDjjR2naJyvYQn5sTcw3wqkAhlHQjJ2MTxYkeTVVfPF5dZaCAJ+H08FVqnA87Q==","shasum":"6174f59556266c798cf30988eea379ab9410f0e6","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta21.tgz","fileCount":32,"unpackedSize":3521611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+TgGCRA9TVsSAnZWagAAie0P/2EqpmvODRTJ9K5dYzi5\niL31AL30tPht5ha5AFTREv7CspmyYRbNOzIHWDtkXN/ZA7aYeJzBHzUsaC6u\n+3UiqExOxEuCpvjaUSsOhv1j+WWxwQl08oswpdQjYIgJT4xRbPvXSKedbOxU\nltt0dT2qyvZUT0fzuxBuC7UlQ3euH9zQiiYCaIQxwSZV2ejS+5ysIJ3z8bl4\nT9LYGtJ10+QwkBtb9En+n8GenzMQvagezCypAMfHJzB0i88nJkZNu8JhWVyi\nhxvUDGO6lEPaTxTkJQqaMNy9F3/3DWfdQajwgFcdyZPk1ZYzTjp7Qlg2/Q/C\nPllkdRXtjZgIv3GjuCm0da2291I2zKEaoqR6KW25LTAzGlZPZFi1sIceT6qT\nzE5KB4clDaKZnOYbVAdeNnNxpDvkkk5D8OTwYF2fpClMJZE1y90w1CetdgKg\nPSiIC3A3szUubonbLE79gvL58R7/JzmLEdStOVGIboD+fsTB0wcdbWFMOFBw\nO9tXDQExOdDI8g+KoAxhx4otBwWCXY1ZVI3yZAsAeoZy67CK8FKDxIg3y5Tj\nGHz3BT0EEVrYN9/Uv++xqGKKCFIMwYMD+n7XW8ddulVeAVD1nSJxq7hHqTEO\nx8AThhsi2Mjj9Dfkhdts9lmT4uwslD6iQFcrEkI8/xc8WXVZrSYj11LQDyHA\n2c0f\r\n=keKb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4PeBFgQLujUUUfPh5/IRh9R6elGHlOibuDousdM7dxQIhAOTZJbFo0XgFlYdwKynkcsNrZNMSsCk6VncoA2xvyH1c"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.0-beta21_1526282245745_0.7434493146462462"},"_hasShrinkwrap":false},"9.0.0-beta22":{"name":"resin-sdk","version":"9.0.0-beta22","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-semver":"^1.2.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n* rindle\n* zlib\n* progress-stream\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"68c7b848f134a97a697b9df90b33374fc81132b5","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta22","_npmVersion":"6.0.1","_nodeVersion":"8.11.2","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-LxWISoDEt3qFHS9tdutsdF3bq9rxQ/YGR3R3bEd/a4pRRRys9kHJnK96ny77C+lpP6WLNKgNfAum12ScSa4Vkw==","shasum":"e254494d7067065bfa83cb6de83dad2eef54d254","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta22.tgz","fileCount":9,"unpackedSize":218444,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/FMGCRA9TVsSAnZWagAAMeUP/A4WYsOp30f820f1JeS6\n1Gfa+BekIJS7n5SnjccdRmnpmxBXzNAq3+qvzyK6nMUjjjBzcgO6iuG2GKbU\nzoH14mHMJbEUQVst1Oop5kWi3FJ2pshmyoZEZsGMi8q9MYAZxkOefFyaofQb\n2tI3MPwO/3V+EGnumIVMTVhxVFmekQBnMeWknvUxPo38uV5rUEkzeASIzHxq\nZCgC2UnldPg2eSGYpbGyidkga4aVc7FmgKBBLLtUTzfc0hej8ICTu6KsqYiF\nwrXN5z76T3axycPioMMKHaYSoML3Xu+eBjKEtJphzvMrkB/ExYEtVZ93wjOz\nDfNraRsunup4B0EpAncOpDfiV4Uzr8oV/bNKpzB/XdfjZp0am/KsN6bAZo3W\n50yKpu+rIa8EFNIEVS0mOQCsTBBAtI1n/WiJ9IxT+c3U7fy8Kg9rJgdxK3bM\ncfdLma5+YodnXBIZAUpKx1iIVm6c7PJR7HRSmqxUIoQBvKmyF22WIF0NlN8A\nApVroLmEMV7BXTrdAxxwndRehSme4h6zD1vNi71pTjLoUXpSm99uzwaaR7th\n3T4bz51OZiXCyutpzEMt+3aKOXWqK9/e6JJeqhpNTZ+V3nb1OOF/YjpgV79H\nedrvA8XHK5hRFRMGOXSuL9jvO4GGRkHLYLhtCUR9NqLpkmfJTLVFTC9XJKhG\n7x6r\r\n=AQhz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD90jGW7s405ml+cgFp53KwmFsv/U3JSIbmbcd/cci+ywIgS3i0hU6pH+IgjALue4ZZXPhoKXIZEeRqTlfFXNOdAUc="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.0-beta22_1526485765717_0.8176020727714037"},"_hasShrinkwrap":false},"9.0.0-beta23":{"name":"resin-sdk","version":"9.0.0-beta23","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-semver":"^1.2.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n* rindle\n* zlib\n* progress-stream\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"f1f6bb74e717433e92f3449f1aacca9b7e723a0f","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta23","_npmVersion":"6.0.1","_nodeVersion":"8.11.2","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-X07nT+CN78oGypFPXMBiUx/T+E7Wzvh53jXbx0RF5q0g+TlCq0y9pEZ6eOYIhLR2p9EEetYq19zkFynC2wJbjg==","shasum":"95c54aedc5f905fdfd86c92f59d61fd27e0bbb81","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta23.tgz","fileCount":32,"unpackedSize":3580339,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/GaKCRA9TVsSAnZWagAA2rYP/38gvypaIIYe0SfvyT7N\nhJbekZQe5z74gNYtKKiG401blE+R3j6Zg0Sm+2j1vxAnTPvUKoFfjMTHO4+/\nZUVwMCVlrVBloxwx87BQ7SikNLIu89Dp63S9yyLNwf/MH6Wewl7v2OvNeTuf\nDy1Zn29zYq3GzUnjGNWJrXbjU7P0E3GbdCzo25kkDu8iq/nTnlFCb3dNbU0d\nbK+ZGXuocmf21xi5avA56ZIkcwjGhw8icYMFv5iivIXPOGpdkV+LlGT+4JT5\nhgUVxPoAuN5N229IweKl9/ZzVSI+1IQgaBC6OJLLwvX5oBwLhDvU3KkD5sc2\n9/ZknQV/Vc+S1svH5cWGV0zyEP0sxNXrjLbD6AQhcWs4Lpo7gS6kTh6B6o4q\nR+AcWLmwURNo7cCe0yR7Od4xkODzNzue/3oWbTBPl6F54qEHJAENHrTr3c58\nv+Uzyo+oLeZxTR9IoVUkNbPjXFEBGK9OtGQIPGNEy3VY8eee5OhTzTlzIOie\nIRsm/E0mzSmAX/1ds5tFRBZD1YUBlvK15TANDTv0dIaK7vNP3FNgWPD8C4AH\nf17/3805kiaLB0+PzE3xyhIxJcVoe85vfO6ZC4dfzfbxMoXE5O4N3yz49bBI\n5fovwG5KjEzEzucrIbkXppC8DR2MZsazbu3a7p8G54VVSyjWsm4emY53CJQr\nx8Uz\r\n=Hxwp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCt8cI1cjR3j57FciYCoIaaZUK6wjK6k3rA1RVsqirKkgIhAMD7g1b7MD8rDngn2hpR44BA1V9t1W0J97NgxjQCrD6E"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.0-beta23_1526490760940_0.5005768005366977"},"_hasShrinkwrap":false},"9.0.0-beta24":{"name":"resin-sdk","version":"9.0.0-beta24","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-semver":"^1.2.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n* rindle\n* zlib\n* progress-stream\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"8d35c5e3ff3ecb0995dcc9c200dcd5df9d0e3cb9","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta24","_npmVersion":"6.0.1","_nodeVersion":"8.11.2","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-H6c42DIf7VTFHKtQyWvz2NaxBjfEWwPsgfhUYc7Lon27JoeS6y9PuZezHIoRffIG9L5NAUXU28/h936XFzxwjA==","shasum":"0f752543d1b1969c73576af665274601a3890bd0","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta24.tgz","fileCount":32,"unpackedSize":3585559,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBqkqCRA9TVsSAnZWagAAWi0QAJpf3eSJrktmTrwuOF8q\nE3C7mfaU7MEKdyX/chgSTsnhg1jMxjaz1JoNCTSgSWBBNXbd9KXoV5aLtG0H\nE7ibOJvBCyNz3/StpVIEcrZP228pXCKRL8MpN4UFkmxMJrY9bE8SUeWsTYPH\nXMiBn0ZgcMtU3gJiPN/j3W/1pb1UFXsgX5hDmLngINYtKiVigacR+Wcnb9da\nYRSwqW3I0uXVn5GZ2ogjBz7m5LTNm+9k/7oPUYNljA7PG/FAnI6TqQdhRuaG\nYVkWyXCD9D6e2lz+kTHt2m8LIxefJ1G+b8Jg/O8muo9K0MmhznhiO9KWzOdW\nK2ylJgQzlpKsGyS2yPjTAwPSW+/S94nzHnL960znB+iVlzcJfKmAigDPgOpp\ng6CW1xnJu97rUw7qrzVFhTWi3YQVaNPaDCkMdSh7sQpnCRsV6RoGEI0HsT+p\nrvjugJDhDejw8miQZnV0HfPGRKk3J8pWDNnYTCf2krAjuUu2NwHqzLymOOCG\ntkt0i9Clx4rmjHrkpiCKZ13Kmr0Yun56MKqIMzk5hKUiE63vIsgaYgqwM2TS\nUap22oiI4m7yTk7BLmzs9ySv0sR1FGf5HcHmrPMwjNc0ERZrEwLIqH8SzAv9\no9ZBYZLcXrOeBVb6HpKIq9VffbN3DX5L0hOHEWHot9pXXoN4mnLrpAYv055T\nyIFq\r\n=GEoD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxZ44F75+Jec5PfAoGo7lD3Ic9nZWsgSJ+dBXUiYW1DQIhAILtpUhrqHJXZvtSnSWJgJ2jyRGUS2wb90/pXwfEI/ur"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.0-beta24_1527163177759_0.8866332162018917"},"_hasShrinkwrap":false},"9.0.0-beta25":{"name":"resin-sdk","version":"9.0.0-beta25","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-semver":"^1.2.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n* rindle\n* zlib\n* progress-stream\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"21a12ec9d28080779e9b922f6b764b24f25c1d02","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta25","_npmVersion":"6.0.0","_nodeVersion":"8.9.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-fFt4SB2mKEP/R3KWSlibx9jN9DTXLLdx45nkQ6m6UvTc6WSfj6mCj6cw9O6nPjhJgm5O59Jsl/Fd679w504CEw==","shasum":"a390ec4874f28573ef4a8e2fe3149341c4ad02e0","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta25.tgz","fileCount":32,"unpackedSize":3526917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbD8MfCRA9TVsSAnZWagAAndMP/3Kz4PEM5+Xd4gkdoTeG\nWvQlu7FN1hloUQUPgTw6DmB+9HMsYkjyluQiWBTEWafxHztgC+Lda8+x/1Yw\ndr3qjXlAFYFeZt25SWtMicN59En6zaeVwRJU37r0agtKs7Pl/0I1yXPiaxu4\nHq2q2BWQ56Ey/sbkYjHw4p2mOXKj4as+qPMsDVrWAXNqKBN0h9WkCaBPQFFD\nfnl15xLhRfus57uVNlmA/B2SSd0joXkqUehyB1cWUguBOibFYl2h38O8Gbdg\n/o0tMeVyAwSahKW0nGI/P35Qzv0P27YGrYmN2nplsctg/469sD8plymofmsb\n7ojqgs2ei52o900sJWHeIbMfi7ihfGtyGTl+KmVCCC8qXt3WwdSoMM8JG5YY\n8DF7BgxOazlTViMsoO24GblshckGOzk3gEAdEGYN73RDPAzeRJhMw5N6y4mX\nx/RgruaMB/Fc7y4MbBiDb4Y+4TkSJIpRwGvgligEDeTphznK2s4qxBVHBh96\nFh4SFVz7GtpB/uTNrNogpLZpdvLx1FrkRmaW0iy3pwaSNLx0Y2f81nnz7SqC\nYezDzOh9b9iCrIT9zhxZ7nv+HYs1IIlQ4SMKvIb0ZxZ5TYBya8ePDTnqKoZy\n7TWzaKd7X+k0v+gTTR26ofjJ74sbWz5ryZcRs6WWUjDEQV3+qCLcujP0Rc4i\npvgX\r\n=GvV7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF3ttQCRShiA+oTeA/SlIdiPwQQ4Z3222KWrIDy/9REaAiEAx+QzbfOx8fYoUVyID9LkK+oNXyG3tOE0Tasmozutu3Y="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.0-beta25_1527759646604_0.7938448668444535"},"_hasShrinkwrap":false},"9.0.0-beta26":{"name":"resin-sdk","version":"9.0.0-beta26","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-semver":"^1.2.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n* rindle\n* zlib\n* progress-stream\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"927f41b56ad6c3940a16968840a6fd5ffe5ef348","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta26","_npmVersion":"6.1.0","_nodeVersion":"8.11.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-c8hkRvrnbOfyBXPbPV3U3jVoxozzLiQGa6kii27bGFPMnR4slXExxqsXRGVu2HfxO5Tr6+EVQsgCy0FD6lIP5w==","shasum":"e2b0c18647a8d77ea2b780ed5058d82cbc55d916","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta26.tgz","fileCount":32,"unpackedSize":3579922,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHiO2CRA9TVsSAnZWagAA/FsP/2ojLWZPhzIAuGd78UWJ\nUK8Cc3sj5D62nQoh640cAE9nkqC1MspniCrWhMG92/o98QkNrtsmIRitSQwO\nGGJuHrIdiQGC19Cw8hdBVsjdajQRKQP7VUNFBeJOArf3VIGDtIiSYX8euYNu\nssLTHyFKaBryUtDS3kOBkLtdpe9DFHvvDiXs6BruuvKWxc9w5nhGNBropZWj\n1CG5g3dEpIApXcxQGh5K50eo/0Re4WgNAPLHCvMmwW3GmoL77eSUX4m3NHD7\nep0JjG9BaF4ejVmIf4bcZcEUhZ9K0w6Fsz5/+uKyX5oU1TQLd/naK0TSwJJO\nC+lm4XxoFdaES89DJPQFrinVKAPuqlbdaG+ndFVkninNeHrBcEq9n5XkbKQp\na7K8c/MNUP0o+305WHd2BgpTyJid7y8EckiXtA10IDOBKV+MjYaB7e3vt3dV\n6DgyCU6xWim/aGM9TYkxjdpUUgJ+yM9h0+cLyvZ8ygBBaHzFrupaB9om7w4R\nlaUjM944CS1mxDTOr9weUvm+iOlybcuJTBuo3HtjgraeBUXWhXndreLLQacW\nU010Hw57nFbNv4gVt/IB58QAzt+3Cd5JJRrDB6Z5Vk+mQAOIbh8gIzAqAXuM\nEm+Ar13+NtHtd8+NSoqgluLPA/aYDdXHn8NNZyy6R2Zre+rRO63PRJGNQZ5F\nW+7C\r\n=m/1Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB2KMAUS/YTTyQVmNtF3VITTksEs0wKU/8+qaWP4yaE6AiAtrdHMHh9euCiQKtk+m4A5/LinI8HqSgQcM7bRk2+7LQ=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.0-beta26_1528701877649_0.1070345074599437"},"_hasShrinkwrap":false},"9.0.0-beta27":{"name":"resin-sdk","version":"9.0.0-beta27","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-semver":"^1.2.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n* rindle\n* zlib\n* progress-stream\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"1f6423dadcc95e9627f655801801a59a0aca4dff","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta27","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-zF4eTP7aVfCsj/TsjBlKJZgXbnPWvu4KlZb8nvreQMucjHTwsz/QCvfGw41hpzbEYYnDC2ATghLF3LRsHIDvhQ==","shasum":"f089a86b80a06cbc28b5277329730e5c83fa2b7c","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta27.tgz","fileCount":32,"unpackedSize":3634328,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbI7KZCRA9TVsSAnZWagAANPIQAKMyd/TtU0Gve+H0v7mU\n/tYL0mB4IzEVy9subfBnppyIv0usJxbOoRW00n5gebz0rNniRsIu0KAgS2Nf\nkhHZIu7M9NSz4hImj5+9uXXr1k7V2nyCP6JeTzNLu+XxHDo5YwW0sO1qoLYQ\nV0GALZcMvJDD4YBMxU6qvNXW7mCgtvYP3h6prmQ9fvBIJ82lIWT8PsS53obO\nCHh63j0glFwzUGBOPstSdK8oWUIvzhogQ8MFaFb3otPr1F09LplUp7gWhaRO\nY+RCoXFdKWedq2pMn4DsV9pYAozPHtc3/Z82qVtoo0jSZRVI+1iYH9PSYTwE\nBW1Ladf7FJKICYI9S3ecLsXs2FdOZJA8+tEpXckdeRLTL9yOCwnBXqfh6lLL\n+ZI3XQh4Il/bv7ELbJ0SsUQJDKg6Tt25V2bVcoBWRLOok0EysnHVXw6BLoPp\n8pnroV+klD/pgiZFAi9P+1ZUSesE0c26FDFxYXQRYFXNroFgym6TwiLbgprD\ngJuHle8qJHCqnP8i0NlrEVhuJyLCXrOPEbKicKdV8n3dyXdBaoOmwiREibSn\nE6bZxmSACg0kSbS2x4rOaX8B3Hc0qKXKUrVHiFN8+uaqGeLce7HDMHUoXLP9\n/ENCuIYE2mNMfipwp7PqFvlBwLIyxtEwMLZ9izyJAFrfT3ypy1X3Lq5qCROd\nd5LE\r\n=BSUp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID+Ps/7BSjWTIFyLUjNo2LoEBYFjoOZzdbIal+WeNhF2AiEAtWVzzN6W+W0KrPRKhMucRDU96Hdy2VKPUsvhyKJUC+c="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.0-beta27_1529066136299_0.06411351926098696"},"_hasShrinkwrap":false},"8.2.2":{"name":"resin-sdk","version":"8.2.2","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^6.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"a0ea00262d78947b134771ce781a97df616e1340","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@8.2.2","_shasum":"76832548591b4b34d83e54cfd6166d1238dc8886","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"76832548591b4b34d83e54cfd6166d1238dc8886","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-8.2.2.tgz","fileCount":29,"unpackedSize":3415837,"integrity":"sha512-jybHC7+6vl85uhmkVdVWQQd01YrUrrKJtwctW1K/cKrJwiSkOLwYbV8QJXmfQphNZt4Mun/ppalcNFM6kECORQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfcsjssDitwza5okBhWPN3NBcACfCGReAkihlYjyHsHwIgN3Pxj8d86VAWmv4cVzWtciw1Zimlbn/slAFOVz4Ok+U="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_8.2.2_1529953141267_0.7815299653424912"},"_hasShrinkwrap":false,"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"9.0.0-beta28":{"name":"resin-sdk","version":"9.0.0-beta28","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-semver":"^1.2.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n* rindle\n* zlib\n* progress-stream\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"92b8ee4138068a83bf332e8dab245df4da78ee2e","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta28","_npmVersion":"6.0.0","_nodeVersion":"8.9.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-xzGu0q7bWw9jVBD5U92naaptmu8neevETp7aI6qPKcr6dH3GyasdSea3U4FgVcxigZcoM7b+NQZyRPnOko7Mvg==","shasum":"a66dc51c9d42d9bf754b63d7bd06f84ea2300cb7","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta28.tgz","fileCount":32,"unpackedSize":3527650,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbMiYLCRA9TVsSAnZWagAAHLIQAIU+nlmRnIQChbgiWYeO\neuvMfop3WWYRLkW9YaDrkvARXoyiebz2y/y3uNtTHGxU2rjOVuH3kjLQQ/oB\npLkT5PEb0LvIjAfYq6RrH2CdXse1p0JjtXO9wSpgwiF8/1lMbxJeCYv+EsQn\nES/Qz5n7v57ovwFb/19teDamPJbecxJ8Gd7o28PfSI8na4iAaon8lGN3Ij08\npOeG86JM7pF9duU9kWiyDc2TP2D7sk0O8mgtvurk0v9NHx+7VgPL2Ags/Ydx\n9qhmIIEn8e4Qe2ipda1p+dIdX5FdbJU7JIxOPQP31Ycbtc0WJ533AZhZfANa\nltasg/XwxdfyFHYfGn3AFB9XRcDKxv5hgyNKM+Dvcf0yf7M2e42Gre03DS/J\ngV6yEH8o4VEKryAsrp+W3yAXb/vdRGM+xPSiedMbbD6C0PisDSqj7yHi9kTS\n4EbLWiHvQwtwMHanEaIkUR2Q5SgZzCBZaFMFQmxg9H8/aEjXI/dSfXULL6o/\nSY/4f13JCjcHHQ36reAAh45UxhZy/6VvC0mf0xq6VpcFXDf5hKR38ChOSZuw\naciXnnsYvblFzlZKDj2s3OEz5vrbQjO84kTxLWZOk56TamLy8akYXIHCmTcE\nDMFlkK9wPwhsevXY6/SMOlUWhFeVMiDNa5pzqZbzFbGO+Uwnn9Ly8iJjp3JA\n4+Ah\r\n=x/za\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFhpY/+am4gMHWjorLEEARCbfp/xfzQ0MaPmAP6X/ahLAiAQApDNcg3aLfdJAVJK8B9nb+RtxeKsT8LLty8xywcoPg=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.0-beta28_1530013194915_0.4661019278305403"},"_hasShrinkwrap":false},"8.2.3":{"name":"resin-sdk","version":"8.2.3","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^6.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"e26037c01a8a49c70bfadcc9056917a408a6f3c3","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@8.2.3","_shasum":"38011e39e2614517e72999ba9e3f092aadbcc430","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"38011e39e2614517e72999ba9e3f092aadbcc430","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-8.2.3.tgz","fileCount":29,"unpackedSize":3719983,"integrity":"sha512-OSwHDFIYkiQDcsmSQj2y8AIspfY37a1/Gdk27kvSNjmMxGqLPl7PnOuPHtFhtvzkX/kyiSfzqAM94IpIrqoYzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD07nVmfniBL0pwnufszeqHK3KHY7aKYRqwg9xyfSROpgIhALvpvyHhgJcXdmWfsTCF/PZNQQD5Ah7gcKr4kKJyJUde"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_8.2.3_1530530126773_0.6741330535830092"},"_hasShrinkwrap":false,"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"9.0.0-beta29":{"name":"resin-sdk","version":"9.0.0-beta29","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^2.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/node":"^8.0.53","bluebird":"^3.3.1","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.2.1","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-semver":"^1.2.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n* rindle\n* zlib\n* progress-stream\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"034444f97e8fbac347b014d990220cd5770366aa","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0-beta29","_npmVersion":"6.0.0","_nodeVersion":"8.9.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-WckXhuGxfwNqbagEduRi5NmIOR9ZsWByL2K1kGecWyzldgeKmmjdJXYnNzd0zN7mSUx4TT4ITUrCMt9PESN6EQ==","shasum":"ac055a4873e15ec464d158bc3e8ba33db81fb56d","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0-beta29.tgz","fileCount":32,"unpackedSize":3527661,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbOhmjCRA9TVsSAnZWagAAVvkP/0P0PI9iOCVk3uhxNrbV\ngpc35oG/fd2iyxUXAAgKgxkzJa2DlsD8Nob/SX5DuMJW/HTkZqjJKojFpZKN\nuH7hFUfjCwT8RY83FVCHQrEBnLoKg+8GTUuzAGHzLm6FfxRuaS+lHsY6H1oG\n49nh8MLNFZUdaHgegdL0T+LIc+c8yflU9b7QPWWheCdEurLpcDFMftkStcK4\n7kwdGG6z4IkKYmC3NBeWQHzlK1Uxl/7shyvlDz1YxGai0jDb1g757HKC9+Xu\nXSOVSYFrOw3UAYVPGUmyo5uHbHhk3eAdKJbvl+qThJoVKkph/aPC9ZgvuUAj\nSu34ZeJ50VsC+CFpDigFtO6K+0ctK3vcn61fvQxFCI9NZmcg3RO/soo6Y0a9\nwucbPWYRvH4rVCnjtERHO/1x4JC6KHTU4seZCbBkgBnsIA7o/UkqwkDFARrn\nUMNulvHz3lPs+c1/f1kL87ekQDC7i+pwndd8EndvfDLJhj+rO5eZue0p5MXF\nNBdymugU2QRYz5tczeICzTrpmGIvTj1lQVNtj34RKYECvU3epRE0+vXnaO4A\nFIGYafbaXEHPhNnXizU/gIINkic1S6OtdVvORV0LxUt0LsPIAAsg9veG+M+4\nx4bUW/fL7jnoEzyGhEzenV/8XlVyrzz6UIcc9E2s4HDW73qzRVADsnFdMPtl\nCCRy\r\n=es0/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkAXaaB0xzWE5Gm2YOPe8Q79OIxo/MpA/Of7AQsONLaAIhAL+ZZvJFFTQ4W370cOiPO+aQiW7Kg+h7Q6nRkcmgctS4"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.0-beta29_1530534307022_0.4515806702863756"},"_hasShrinkwrap":false},"8.2.4":{"name":"resin-sdk","version":"8.2.4","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","request":"^2.67.0","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^6.0.0","resin-register-device":"^5.0.0","resin-request":"^9.0.0","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"5c21578f5ae1ffd02ec841b05c8541f653b08a41","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@8.2.4","_shasum":"3b8a88929cf63f5d4df876c87699493b85e4aca7","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"3b8a88929cf63f5d4df876c87699493b85e4aca7","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-8.2.4.tgz","fileCount":30,"unpackedSize":3794679,"integrity":"sha512-hftP7nB5UDnefkxKUw1SKUqpO+AGeC8qegfARpueteb0ysWN0lRYZeCHxMmyptuwNMcqjTAIwSg30hjPU0jbUQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCB19dFddFTlA7OXMLcuwIpszlA0jTlfCIex5ILBz+8GgIhAOSBB1AXyQQ1o0GIWF+DWRf2FXu94mrpt+6nxkjmCAJd"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_8.2.4_1531163612063_0.329522022391741"},"_hasShrinkwrap":false,"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"9.0.0":{"name":"resin-sdk","version":"9.0.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^6.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"e4fdcddf7a0b5444f726c84b38ef7449205fb591","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.0","_shasum":"5789bf551dd5ebf2c24931a1ca80381891bbc975","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"5789bf551dd5ebf2c24931a1ca80381891bbc975","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.0.tgz","fileCount":30,"unpackedSize":3731533,"integrity":"sha512-jG35I4LKTWfRzJ83gGhfmDP3vMXvcbG2/qaM4TY6VkVqarQVS0P1P1NcGdHFrYvAL+tH5oxlYlupYiQB3pUjeQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDejOJ5j/onngcNbrYJAI9LgTqdbsN/fr5GKLHPbxqwpQIgAQwvZYkrCBGmCEOPqHM+ZEcqfmn53gllJfKtQULuKM4="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.0_1531167593579_0.8381497968458727"},"_hasShrinkwrap":false,"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"10.0.0-beta1":{"name":"resin-sdk","version":"10.0.0-beta1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"^3.5.18","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"0c96b2a7bb823f2a5a501ed47648fd873af6ac1c","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.0.0-beta1","_npmVersion":"6.1.0","_nodeVersion":"8.11.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-3lcVA6EKJbqTxx+Q1L79ighe3WXVG9cToyu9ALTNLHkEMiXFiDHhNLpZ9YIylvputx2YPaoR/ugeMa43OzZ9Sw==","shasum":"3a60edfb5219f407111fa2c10432315897432bfa","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.0.0-beta1.tgz","fileCount":33,"unpackedSize":3844373,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbRoLpCRA9TVsSAnZWagAAuY4QAJw8QLWey15VCIvqoBrV\nX27tiug4J6KFDMmyJJ3kXaYE32/Kea4aVoFav+lHzUqOy6o3uXNNzaBvE4M0\ntIgxL/I8VmZEw/47Fd7NMfGCIXoWqKJaCSeSRqpCXSTUO0WiF14qpDcAmyfG\nco/UhmK3q+DYrDSKGwRF/OcLevCwUy/IHNO8xyp1hwV70aiyAfi0OxBIPHz5\nQ5TuPSeIxRqjgqVgfm4qN3im8RuyMj4syA0KHj+AamwOEFkX0+ptba5XHMyV\nlsKmVv7rk8K1UW9mxZMfurY4iOQnEWjLusTl4IukrD1/n3zqCQdlRESNAsCG\nNACxZ0SiYt8ngOFoO4U+U2G7SkCQtAOZgc1zdHStNtIOdLpu7T7AARxHxrWH\nJ1yHI3gC6kFoDEd5r84N4B8WS23m8rC+BCG6zUjI0ef1eIxqOQcFcgAtbhfe\n1KjnKNKFRYQm8CqjrJRk9rfxyguYoi80hdKz73pa82+rLLEVgxi1L/HDBHzn\nQOK7v7TetHmuy1o66zEC6CiTyeZGhlzGtZjB8R7VAAn9aSwLIV9im6RmbfAC\nvBWIG7eVnWON5zXXTrVs/5+4p04PEhOIi+SLgKY4tDQGwGc7w6isuLtMMmgi\ng79R4wZuTX1gzR+jMWdfM/T09vbjjraQFGfy5cRv/jHHTcaHScuX+MXyEWoE\nbQgv\r\n=qv+l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCb/G5HA6iyHGjnqD7JW8VdGFZIcna8dGUcXCtFs+H8twIgOJhiFnOEuevBoFj5HEJ0iYyLowzyALQ9Y2TBK5+iCB8="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.0.0-beta1_1531347689480_0.35943038613928247"},"_hasShrinkwrap":false},"9.0.2":{"name":"resin-sdk","version":"9.0.2","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^6.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"2287d22f4aa4fc5d4aba7ee9e44147692f51f076","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.2","_shasum":"e409ea90d4791ca4515146c013b3d754f782dd36","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"e409ea90d4791ca4515146c013b3d754f782dd36","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.2.tgz","fileCount":30,"unpackedSize":3731731,"integrity":"sha512-lQgPIBDngIq0V+R9rbcfBlYOAphzJxGasiVe1DaaSF/FEBKIjI7xtmsVqNnYFZqY+EpRuTuJD1CVYUlz2LMOqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmFCcGyliw6H1lh6uxK9YgTVTcsAWPShqqN5S2ZmkYbAIgVcX3+CpTqzGY+zxkMNd6Vw78BBHHbALu5v/gQIsY9e8="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.2_1531930554360_0.27031029938825646"},"_hasShrinkwrap":false,"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"10.0.0-pubnub-logs":{"name":"resin-sdk","version":"10.0.0-pubnub-logs","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-logs":"^3.1.0","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"916c807f77a7a585291f0bf36819a7ab60b166e8","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.0.0-pubnub-logs","_npmVersion":"6.1.0","_nodeVersion":"8.11.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-UtJHDfbR4eoM0KhkTdOioC14dsy6oN1DzPfFD0+B1CFHyYt10shotqHQUAZhZXau5GLz/fVqsqYjTx0G/iLAXQ==","shasum":"21a623ef3a746bf89dfddb19956984b3cbabc80f","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.0.0-pubnub-logs.tgz","fileCount":33,"unpackedSize":3999863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbUcXdCRA9TVsSAnZWagAAXKkQAJY5s34DVJI+4W7kB5RQ\nhAj7sgWRwih+uxsUKdYG5cw2IF1j2y5xYl5QqbK3M1+dDs3BXQUrt6hKU3cv\nyoeuvP5HniPHbuyr23PkAJR+c1jDIBNubs22j7nOLVYUBUkWS3h/Gn+0Cz4w\n7vN7gT7wRylSYh9JFyoU1wSpoRuvV4cJ2FtpPyRQn053jDeXS0/R2fAIVOEG\n/OPb5QpCLVgrUaef4fQGtuwkGOgUt6Tyfufp5aQSgOqfxu0KZgFMWTZzBef3\n/Oomq3EYYAlDqO3c0/I+UDNXn+42qszRh8IbBKo4wQnFM+0FFtjN6E+xw+o8\nnclgbsix3Yn45BXFnsRyh17x92pwIzZVyncCR7FKe3+161uGDBgF/cwRuISf\nZV/F+0R7aEemuh8Bi5ACCdWn6i4ci89kknF/lHd/sFqzKy/eEh1zVIhAtBGX\nCj4NGo5SSALTAlX613kwSq4HZPQJAikX0VGVjcYLOSAXfPBpC63RFz+ZbMg3\n8TTFJvVsrCyJz8EqMVq7XjWxDovDVRps3beoo112TUMJiBRmYCJYYNf6yWlZ\n6OhdaFEDmcqIz2ZedS2if/9c2X/yZQPRkF6UdJhv/Xmr7Wa/Ys5vEXgc778z\nS4JJDjzIUxPfW+zRhhakKRGbgif0TYMstoL5bt6YnnQRvSPEreb7UK8vT1AQ\nakfY\r\n=uRbt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEPisOOpYFIIpC7VVT/F1LQOvGiuFSvRLqYmwC/cLc7jAiBq2g9A2UWl3wnZ7GAl9TkvcHB2RmzLsWao6asnCi+FfQ=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.0.0-pubnub-logs_1532085725155_0.2943845665232394"},"_hasShrinkwrap":false},"9.0.3":{"name":"resin-sdk","version":"9.0.3","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^6.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"8d26cd505c90b2b91aa3365b1174ac8dfca10969","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.3","_shasum":"241277d70167aae766cff00a936da08703f65d98","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"241277d70167aae766cff00a936da08703f65d98","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.3.tgz","fileCount":30,"unpackedSize":3732080,"integrity":"sha512-eahhv3BszE2rWaMSsQFM5it6EC6i8BuDoEJ+yBqzYghmYlWR2dcYiv6mB5Wm6Xsa1oeMVIqFT+NqG0BqXQ/uNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGcHPjLUw2ay2Y+nWzFUXb5D/dE2uTjPfQ5ual4EE5gzAiB+ISSOR0eXeiuR1AwYX1tQFY9A6d6GpJzsUUh7bUKo/g=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.3_1532099444517_0.011602784188386561"},"_hasShrinkwrap":false,"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"10.0.0-beta2":{"name":"resin-sdk","version":"10.0.0-beta2","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"4228d6ede983f50ddcc1988d3e4e672019ef6f24","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.0.0-beta2","_npmVersion":"6.1.0","_nodeVersion":"8.11.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-gy1RpnBIDPPvqk4YWg8aVTxuWfU0Eyoi19m9zPTIPIiCoN+w271H9owYFpTK+9/cbmADcJAtprhlBOfKwYznEA==","shasum":"ac3ea8eda677abe5fd5cd951ae08162324f91c96","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.0.0-beta2.tgz","fileCount":33,"unpackedSize":3797039,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbUf7FCRA9TVsSAnZWagAAPwMQAJubBT+oFp8Ta323lAcr\n6axQufv9NPIcIq9WMUnoRJHFXbFuQY3sksdoKMsPoCi79CMp2bopUNE59kDa\nCalq+hH2O1WWq9n/UtPg7nrasX1xiOxHgguA5pFkgYZf1h7L75V/+qumcjRb\nVYu9oDYWNejerNpzixkNJmdd3/L2XswE6zcLQpJhSWLMM4BD+DdiPP2aRTmY\nvhjtO2fRD/yjkKlHv4ohD0XQ1NqWxiK9b0Vvjzv/UpRJIc22fex09mas+5wP\nPkkOtXQtdAKvvEquNeKNAU8RJNQxDRFI6FnA5OHpD6COpsYsx1dmSxDIM6Ik\naJ66lqfVl5FzHitNwvQAiF19AFVej2gp7WPB6tR3/EtKd0KSQvRdUFPJRibk\nMgjxzoNoII2sRtHDNNh8zl5PrlndcoQhPSaFFc5qdq769g/LsAiVA8IFYx4o\nlpyfvrgjpSUh960CODr43iVCxVUmbDe1K7Z207MF15dbAHFFIuhKcd2W45+T\nUGmjK3ecbznhuUXAOM9y3LJYKNdyGNZbz5Aw9H4eFy0yH09Qiu7LZQqFAUZN\nB0tb3JfKpvcWRNQvYPtnwHVXJ8SgRLNlR1a50ZnTU4A+pQQ9uwxMWH/U7es2\ng13pZBjyxGDlxzlWlLYvMPFpsO0mKTmjSnYyvc1T3eHGAlQ7NggcYvH4DjT+\npRtq\r\n=Z0HI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCn1RaQ1oNUB9CSXZ25R1sCuQnYgxjc628YsaWkIlUjTgIgA/OU4yhoKE+XqigvF3hp02C/0XBn4DyP9zl+svhBCqM="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.0.0-beta2_1532100292560_0.7197867233691948"},"_hasShrinkwrap":false},"10.0.0-beta3":{"name":"resin-sdk","version":"10.0.0-beta3","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"e0faed3ae4376543eb8bdff511d48c837889759f","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.0.0-beta3","_npmVersion":"6.1.0","_nodeVersion":"8.11.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-e8NBLYZKgLlZpNpdfiVa/JCTcloTHt9Nl33Qiuun7OfiSY8YAJZv069TJWRqw8BPojoC2to6R4bB2XSj/p4WQA==","shasum":"659910445ec06ca8fb198da2ee15d472d84176dc","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.0.0-beta3.tgz","fileCount":33,"unpackedSize":3797098,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbUh+mCRA9TVsSAnZWagAAqakQAI3CSQGCKJ8GbFvmFclv\nfYPyn95DdZDGeCgBeBuUkCim0F61uoeXEYR9hQMZfBcvdGOyWp2YJseOiv6I\nTnW8ZAx0PfYQu4tc5G0qtfwacGvS1Te7aRiLXf7YtGXK20DmTpr3++uv6XHr\nM1mswHmWKoUz+XvZpcRXTJDEIFmuVVzJEcclIHkdmb9hcM36ONsQlTcsq3AA\n8p6Q48ioOU8zLMPV9ze8unSvNZifCTc4sF5pD097n3b3dQh843X6Xb5HWamK\nzDxDrYjqVzQDmUkZTEVkPh6m4CW9wE/iq0iuWX+eFXisAUDW2G1ud2QjXvl4\n6EOza5Tbbx8/RWNhonQ1/Lo46A7rJsGeNQAJ3qqCAzOt/rFoUKeSKaPY34jp\nphhpmlWNfsKPvzGymucap+CDF+DBh0xy7eQUtfXnIe8Ak4r8AbhATzNnCwtu\n9KMyj5ne6KNBUCT7IQ7YybSGFgp8Q/N22Uwcw3AmAMo5SQ8bhvLKsbhJCSPX\nJ9ySkeoijNr1XHI9IMSgBns3ADM4ie/oc/T25BulAx1ai/os3UJYABkH7Tnf\nHC9WQUGKUiv8gs2z/2jwBsizfp2r/1BmstrcMOaCrYdIlxDWd1sANT8poaQR\nZ6yWcm3nJeGFh72N3bgWQKNOpVLL2xcoR/FqD7sSD2g59zmOdvT20u3kRpXS\n9a2a\r\n=83ZR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBQzHX7frxwd2CIPvlqb5fWgL5afkrZUh2icGYurX23aAiANQQ2eDKyBDwVHOe1dIjSsXBqGp+LVTijxc/KAERIwhQ=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.0.0-beta3_1532108710214_0.5181202119983614"},"_hasShrinkwrap":false},"9.0.4":{"name":"resin-sdk","version":"9.0.4","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.10.0","resin-pine":"^6.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"a83923dd89dcf8c58c5eabb7084260c71ed68a1b","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@9.0.4","_shasum":"eca326c88d66bf7d1df9d61f8751cf861b7a197f","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"eca326c88d66bf7d1df9d61f8751cf861b7a197f","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-9.0.4.tgz","fileCount":30,"unpackedSize":3732238,"integrity":"sha512-wD/V1+1j0KgBdBnJNr2Qo2ZYENDi3N4uNqtzunn7eDAS60T9WtSa2yhip7x7J5HZjikrLnwX2fiwVpguhyRYsw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7njtApevpIcueA8z2efzxRKShxagi8kK4L1D13Gqj2QIgUPaB8WofqW0hs5JFTinUS4IZRGy9dMKkU2o+0zRDya4="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_9.0.4_1532110083101_0.6713499696764147"},"_hasShrinkwrap":false,"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"10.0.0-beta4":{"name":"resin-sdk","version":"10.0.0-beta4","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.12.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"b5024ac8f27be2bc9e373ad1a46ed5831e0b6ee2","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.0.0-beta4","_npmVersion":"6.2.0","_nodeVersion":"8.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-NoLAcU52+zN06ZR27/b1dNd7u8ecbiitDNeV3lZOcpQQTKN/kOYO+qMBpcKxW/aq1fJrpOlajXPXJfm+gPv2Yw==","shasum":"2ed779da8d5f7f6cc2552a7c767afb62597ab04b","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.0.0-beta4.tgz","fileCount":33,"unpackedSize":3847846,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbWr6QCRA9TVsSAnZWagAA1C8P/16tb+9iJqxrUk63yzvv\nyzXkVgjiJSmgDnBnWuv9Grbm4qTQ1u+1K+eDQoB/xD83OJVfjuntmCfPfOQx\nat5ZRzMlY3LJhF6NAFGwj2KvVGa+BHpim72SVjqTUU7hLQpAkAhfblRJOWp/\nC3E7M63Q8yY3VMM336r3U7/9rJfQAey0j9JF0mr5jSd68WKZq/PoBQBGoSGL\nQK70lMrXZg5g/uD4ugCz2Zf3mkXmy9XyzacaAmSlsMvlrNFs5H0/RrspQina\nwrm6oCYcHPhDBXj0Rr4EUSRxDAQhomvPHDAdd5bBu6vkzxNGF0WIzBdyAtKT\nvn5AZ/+gOQrS+Cnyq4cBy277joQdsuxqtWb2p8zvmztI3s6R5xgUvr6hqiov\nh6MGlHJ7x9DjexD6tW7BjyR2vk9FVIYV/0jL5wsiIkoTaIcWHeSmjXlr2q6w\ntCf3aZK0V6RMozuqCd+/kLbArM8V6aBEekpaYX9/Hchuqk19faojGZhRHEFV\nSGqw3Qae9sd2uXlxum0kMux0kFGBxFmqMcQLpXCNdxc4UnZN3yw0X1rJLwvO\nPDblok8e21yxGnAI0MVeDRsRLeDnzVWlIvTmGMkSkakxyQHpNbKrRZN0NgQL\npMIlwpOGbejdPtXF/9Ns4+CYXJ1KzqFQJRU/FefCwivU4b3NCJPvel2kpmlB\n1vJv\r\n=4Fbe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOl0+Tra8ic98lem24qIIvUKerjulkoaLxPJXoYja2+wIgeJv4O+VQuuZOe9zD5QstlZOwdrEUEE9CvRBWwupCiMo="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.0.0-beta4_1532673680667_0.36139989348849944"},"_hasShrinkwrap":false},"10.0.0":{"name":"resin-sdk","version":"10.0.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"16be229070a29637af9a23643e1a144f75be5f25","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.0.0","_shasum":"c6ee8fc328f2fa311b80cd8f49f4645ec8517034","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"c6ee8fc328f2fa311b80cd8f49f4645ec8517034","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.0.0.tgz","fileCount":33,"unpackedSize":3989640,"integrity":"sha512-Brx180xOvm7/xjtUBuKioBkV2aX/+6sD2n6jufsGnT+xMmFVL6c4wJkT7kfA8x0YGA70ragFWUFCnLfJs78N5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFwbcfKzZ8cFohUzNZtoVqpKs8P9715TMZ4/HekoLUP9AiEAonEouvPOLMBncbJRC90W+e74nuvfjKoST1+u1LeI8vY="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.0.0_1533217583424_0.18073071732387036"},"_hasShrinkwrap":false,"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"10.0.1":{"name":"resin-sdk","version":"10.0.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"618d83f55ee65d9d24446fd9d36a47e30fd45fa8","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.0.1","_shasum":"01649594f9e4916ffdb89d01970531fe3625b3af","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"01649594f9e4916ffdb89d01970531fe3625b3af","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.0.1.tgz","integrity":"sha512-PQFDQSIDDC6YvOydelwZBFxTZf60tL6Ka5aZd7rF1cBwroUOyRQWRAdk43Z1mH4UhJiMAYdaEVw2Yb6h0acMOg==","fileCount":33,"unpackedSize":3989921,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbac10CRA9TVsSAnZWagAAaXcP/0AUMXzf3ef+2gffjO2y\nS1+1FDp8PfQifOV7e++Zu0u1jKQgAEjPK9QcgshC2m0IvVhYuopZcwQ4VVgJ\nS8D+hlEN0gaqx6JUX80AkOkQKT7TBK7Cr4JU4q4wjo9ZAzlQ7GNQf42GRCkK\nvsu47V1qSWu9yRdBMk9GXz9zy7d50VrSP+nkp4W2wb7Lwpq9EJrGDgiWItlm\nFArPfkz9JFhFpPwvcWP3B14i1YFTpV36IYhKW4ZfGd2L0PXgijNEdtN+HtYd\nPX2hZUqZDClN+iLF1Jr1jGo1LeDu0iqeLjvWQKRBajFjJsA8ius3dozlGdAI\nvJwq1gXZ9y/wAowjwMPpiFp2UKbOowYy32LdtgKDV1Z2DdBv4wc0RjxDmTgE\nun7CbrGZssweIUs6Jhd+L2BWCrP4HPAS83FQR1OaeFDQj4O2sAbJVykwQvMs\nOJKY+OR39bvO9Kgq3SBBw10R8flPY4KxlqRop0XaAB48Tb5qY4FW3HMqaudt\n5J1e3RZr8CxcvsZeMhOf5+HSYhBlxqCYFkVg5ihSV03X21p6ISe0PBFMUJbH\nWggphxFcFhrCh+Mg6Fx3uTqWoioxakEBqseulnRgaFYppeJHJR04A9/LeSHN\nNENq6PyQwNp56m85KdFUvlbqXw+bdIfLbbtXZlvm/KabsHgmH0mLwtW6Fsqm\nCdx0\r\n=SjJE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFCY9VpI/fPrGFVbEH2vN6jYL1WJfVIR9NGZ3OsqbKyGAiBL7szYOday6MTz1XgfeLqlqWpew7bVb8GpXdpKFYYDcw=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.0.1_1533660531985_0.49653181399319735"},"_hasShrinkwrap":false,"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"10.0.2":{"name":"resin-sdk","version":"10.0.2","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"88a223d75c634aa533cc995ef008b49e109e21d0","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.0.2","_shasum":"c97087d24385607ea710697b8677a304bafdb073","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"c97087d24385607ea710697b8677a304bafdb073","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.0.2.tgz","integrity":"sha512-MFe0SL2O7NxTNDaCFzgzFl+0NZPf5knkumOXNC6Ig0hGwKCwH38GtP9lLgRnw1slJ/qD1Ugk9gP1KEEsLA48qA==","fileCount":33,"unpackedSize":3990097,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaxApCRA9TVsSAnZWagAAWlgP/0UX4ssvDXznWjFHNHvc\ns9Cs/5VVa7w+QfTOR+4AadcTP+f4ZE6n6nXwku8GOzf7aCeNoueN98rdyGai\nXGKnyL2ULeJW8rRdT5LKbtZecXceXLuAmVnizto5XQ9unF3AM+OxCKI0cD9f\ndOZIxMwYdw+iTe24IQ0AWwvmW4rtr973tm3xvxSGf3zUli8Xt7UDXwyKECRZ\nL2dbE+dskednlwdSkV8MZgps2zBMU1BpMGeMRXlJWaizcNj69iSHmAncuq4z\nncJ6Tc6pLIBXs1/4IiHNwJyAQ6/7dK+21LDzStXGihIXPJ98gErzOpfdNbBa\n3+9/qk/3noQxqXVcBQbcweBEbccafdxNFl2ooOKcetnuozM3oE0t9HgOoGEX\nFjIYL6QMrQ5gY4LOyJb4WsT97qdRcqvKHU2MBo65qLPOth8a1bSMlf7DDtOt\nMfUksswXw26RqL+Sy/XKrt5itbj0TxGK53sMpsWvGGyk+3d85LRqDfqiwwB6\nOB//9Anxx+oHgeBrCzHVlVJWhOodqnunGaDCMXTPyR6Wm7Yr2Sytwsk+JphM\nnC2puqvZxebbPPMv6WSQSNVibdgQwSPTubJAo4WF3bYc2EpKvK/xae9/N0Wp\nGoLfAWnqm5wYOzwjQK9mBKqyzxfZYLr7Fe7tMHWcz/GTj6pYGNksH4Yom5R1\nVskk\r\n=BgDV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+3Y5C4of9k2Z5FORVZZK5nLpM5FFvBGk0s46yS2ri4gIhAOKHZdY4zlzaAdmi/kFvR7qU9q7dVcfgSyPm8SZJgGZ3"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.0.2_1533743145309_0.7274968924341878"},"_hasShrinkwrap":false,"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"10.0.3":{"name":"resin-sdk","version":"10.0.3","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"36a872851f259d6b8e5d592c8fcc93bff17f9b93","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.0.3","_shasum":"81c2c5f284a0acbdea1c17031a871471194b2677","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"81c2c5f284a0acbdea1c17031a871471194b2677","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.0.3.tgz","integrity":"sha512-ZMST6JCb/NjfN+WpGyD2cXtpeBOqlL05nPWy7w0htRCYBg4YQEComGBb8f0FKma7FMqNV16RYC42Fx/ZjTLlAA==","fileCount":33,"unpackedSize":3993704,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcXR/CRA9TVsSAnZWagAAF04QAI6jZHof6GbhYPCNgNSP\nes1JpWTnyKuwavEVCr1G1CpFPUU7lE+2nGVQwlJmnr6pTolf5daaodu2UdNx\nj6PQ84jq7978Ay5536foUvSMLU1vvmEqPX7+ah24Ek9guyGcU0p/Cd1Rdhm/\nGuEPyWYIybfBnOtMPybpOqDgpTbxOnuuSq0Zw+5rjwek21aYCIjnGj7hr0Ui\ndzISis+3s7kgF+YdA5c5lA3uLZELfJt68e/f6KY5WMq3Knqj4SElLJqw821t\nbNN/McNe/PhF4QdLvPdrk3k369nBKjvs7rqCjWC1jliXblEp4Y2LN+ZLeO4I\nR1tNjDh9ippO0/OqnrCzdzaLRQUEnXS5+7HRMqCfYp231J4WoHNE7BqMwYMx\n3W+TYDisSjPq+Gq2UfXwUxWPI9i/jGsfKWVxm602FYCbprO3tOaYPz8GPSvA\nuO+6San2ohcebM7LRddp+ZqAGjP4LFAuXCsyrOJhGVOhTHGLt91nucvMfgKp\nrPWeyED3N3ywoDYrqGcROI+BtNNFN9ITFgze/glWkptE7ehYQYQnoMLYBuO4\ngbpoVmyRPoH50YqfWIUM6DMH7CIEBQrRjDPw22CfaL0CKRZQeuVFzB6zm9JJ\nu/yLhDEmroosJ1qIlHW7nrj+s9zOo6kF99sCMUHSevMCsQR/07PH2Cj5YOrW\nPfFV\r\n=vBqc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEfzm3X2CHkg9rqZguosGKXTlaAgynQo7KT5Kgakb7YyAiEAtoPjt9BoRmHjKEMSFqYiUGU1IWekcdJCHe5BoKxxbn0="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.0.3_1534162047113_0.563970265266043"},"_hasShrinkwrap":false,"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"10.0.4":{"name":"resin-sdk","version":"10.0.4","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"f5de14600579f8e0df1c4b550b4fd185611ea123","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.0.4","_shasum":"e98a300f6e44765821cecf7f84cdfe5634be56f1","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"e98a300f6e44765821cecf7f84cdfe5634be56f1","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.0.4.tgz","integrity":"sha512-aNZfD64QnI8VuILxjTEwnhHJ7+oNGmspR3vlIet+mViyWEU5RrHISK5Gbnk62sKHo/7tHJjRLaHQi8wkRuw35g==","fileCount":33,"unpackedSize":3993781,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcZHPCRA9TVsSAnZWagAA/TUP/2zmDHay5B7nJw5q6qMS\niFFc54EovGYTrP3w+b1p2H3F/KNBLBoyUhf3nH9TL3rkFRskEl9hnUwgXQ8A\nRpkTKWoQ9KbbxG8y8PWqoJWHNZy31lmr21Y3sAAP/RL4gG+qADqZ0L64DOvw\nV7lsNLwaZU7aAi6tJhSRKFg6jpM6/9uwJh0QHz2lEgGtZTUkFkaTzI+l8zNw\nsK67LPmCNld9qBTseLTmo7cSgEU4XgMKuHg2KF86LjwaA+gEQ/YxN7PwQn0y\n/uwARNCYxOGM7MYDwUXiM6K7RDIqc9kiDRKA/2WBBe867r00PyA4kXnlwg7C\ns+ti39AZm46dIZ76vvtRv696dAN/Dc3m3zyeL/qxgCyTlhubOXRkPzXKhLgJ\nJhWvmNioWeAwo8KN/lg3i2X8tcxSoveI5GDnZwlhQ/6aWvq7zVxyZvyvmgUd\n5Gscszg7O9ZRUuggEPWhxGwwC4hYYJmvgNtkW86tFpzDsM2aYFrMsNkPuMT9\nV8nQPkvbwzGP+Ww9Tggg0BlkfscV+CosuPnLgCQnAjJsZyZ3YMxzldlp/Vw8\n87LDkmofAZyD/06NSZDM0NdL8NPOtprBFCvNi3vW5PrJKy//gsI9FXFDmlg5\n+i4fe+Q/NiTXkJ6OZqVNuvVichT6SUPXySO6omWBTBMFOcvEVawC+qHHHbpP\n1HV7\r\n=7uQa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDR32Z/Vpd3Z0JCmmCk3w5BOIiZw2ejUtEuOQA9+qm9fQIgBCe9yKGfzB2zDUJYvr9feWHQozBVx7j7aD9nbrIvkm8="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.0.4_1534169551439_0.4888196148613362"},"_hasShrinkwrap":false,"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"11.0.0-beta1":{"name":"resin-sdk","version":"11.0.0-beta1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"04048095e2c95b3d33feabc1b915a9323da0dc22","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@11.0.0-beta1","_npmVersion":"6.3.0","_nodeVersion":"8.11.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-Oh0i+TTm0u0yCCQACGoq5RVl4ULFLrEX0xSm+LxFUwxKihSSZ/MUb20+wjv2phTiKJApf1xoLfHKV4+Vv/2oew==","shasum":"e4a8a85580862b0833aa5ec17e8c77261b18f3ad","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-11.0.0-beta1.tgz","fileCount":33,"unpackedSize":3984590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcdt6CRA9TVsSAnZWagAAEhUP/2G5uqgFoBLcBrAcG614\n7qxRA7ln7UZBTdtEeiRtcA9lXX+VxvYhnQC0OaswvT/Z7KHjYEgy9wCF0w2+\noJ9eW1pFSnd15m47CpuYxQcDeL2Dty5dtPdzzZ7xZm/q5VOcfXnejtR8xRDR\ncM165bj7YTLsQzONIyUfu2rpuUOPs2LdKpHuuALLwqGbDTEHJ5Qz5GBRAzJz\nrG7DEyMLSL7t4nGB9QhjUhzeRvx6k8FAcWA8ANvAEmR+HIdaii07DVmL8tZk\nucKzB8nILm35gYo9dTUsnQtgHnK+ohRw+Di7luhQeerIkntagJFoi+daBp08\nBQG+yWyHifPFVCK+Sf8zJpFrmX/LAfM3x8YbRgLhUOcLa21TLz0K++/BJO2l\nYOqvDCTHqQONKD5AkWoff7jfCrawHs6v+SpIqUP1cB2r5mStVbMsq4/moCrd\nZ//WdFIhsrdcwfWeRz1x6ErLWiuBCOTg3fDSZ4uJquZdboL6pO9N1ftO+5FN\nY8CAgThOZ3UgOSevFa9xN2OXWnBSUKrjeVnlG4tJzbVU8RoPYEwvYWbyY3v/\nIWDy37TfBR1HSonZwcGsGYdLS1Po4l8hPAGgIJ4FlcSUI8yqrfs7MALQ3mEC\nCh9bzpxJRghtw+zltxX9N/jGDQsEWQkhymIcxtdyCO3y0h6Kuv9iJXoJFZe8\nyLBe\r\n=PCPJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4WpjbiVGM2FaDCN+mT2NMNrOnT5yJ5VqmM18wbKepIgIhAPuoYvq3WxlMXPJYasXjqWmGCEa4zR5MM/KRd9YXW2uT"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_11.0.0-beta1_1534188409399_0.8349468879833333"},"_hasShrinkwrap":false},"10.0.5":{"name":"resin-sdk","version":"10.0.5","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm test","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"c69a1127768d3edbfd2b9f5655a638c0e98db74d","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.0.5","_shasum":"1bda8b80645d25b63878ff2f6f7aa8e8446bdd2e","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.11.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"1bda8b80645d25b63878ff2f6f7aa8e8446bdd2e","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.0.5.tgz","integrity":"sha512-opmYfxrWqBOGXuO3doYl5jkw00yTKVN/L/zQ7jlVLo5yCyY7qBXj0LVAudNN7fW4WAK20JPkWDn0wsKbn9UCsw==","fileCount":33,"unpackedSize":3993988,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbduBpCRA9TVsSAnZWagAAOIYQAJgknyh8ESnDqJGhxLp9\nFOusTLCWLDjLW9vsX3w+4CV6K+Nk3Gx6X6bRp7lItgEZGuv9BDdMpAEuDgZ7\nys5ylnIzzF9z0o4TNo6ht5LFhfA4S9DEnRpQny7ClQE+3rxMv/yFX9BZ5eoq\nanYZzdvER8aOGmA/NTS2F+OvUTM2itXCmi7OTJJenP65HYSsP9T4cjhDFp58\nR3wJTruRCT2WRDFmh89+5TwfIXaDkyOUxxV+cNJ0J7QuG7buFBfpxNADg6Sn\nriP5sRqWPxH9FypciD6c+5uLzC4GOVGDqkrKoQ7/WSzvPdv4f7CwLHeH0n4W\nu+RwpLQuKlHBaJKs8j3BBnFh9PDqpuIHq2/+s76wFrDAOwlznNjBpD2pCwjB\nJqrc3X1WbPmCjP1IWrpbHaVbcQA0WWM2CC3B4BSBxHkZ+SmIn5N1OMOriIQV\nnKOm1GM5Bf9pa/wm68xPXDAN09Pm0mH4JlAM/07yfzKlJOIwI02EPGLSbz9b\nYWDJGffvjOg4nLMwlYwhRbGYxylhhwFp6HE/JCdNi9FzAeyCqRhDZ34mI/IZ\nB5/zvuQEEGBX0sP0svDCYd7eODQn+MAzO2WaMxLOjAvdwWjEWrbAyUi13suO\nbE68vJWpGc1GqbWj7rlnWCnnuITp++tswzBJBBUPhfPZzNw5LPQxJteQIcJ0\nC5JJ\r\n=7Wx9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE1Q+QNYSj9WheyVys1pF2tAJvprPPfJFncsoL7KwvP6AiAhpi/seYfNTEL10nTsm3nURVP/ddcmHlM2EMNZmY77QA=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.0.5_1534517352130_0.3787605756323551"},"_hasShrinkwrap":false,"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"11.0.0-beta2":{"name":"resin-sdk","version":"11.0.0-beta2","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"files":["build/","typings/","DOCUMENTATION.md"],"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"3a35af657156cc4b85c79b5dfc7afd7c9f39a704","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@11.0.0-beta2","_npmVersion":"6.4.0","_nodeVersion":"8.11.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-BVWrCkQ6mS6jvk1IlR0OjzxJ/tyWp71gS1yOAKbG0qRgdNFkx3lC42bMwgT6JP/3DXDwbffqHO1jMvj5Rdt0xw==","shasum":"3574f7d504a0277b8f44ccaf5646338285616fa6","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-11.0.0-beta2.tgz","fileCount":33,"unpackedSize":3985717,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhT0NCRA9TVsSAnZWagAAjB4P/1lhMEBsfnD/zzfNLhVd\nhO/IW4/wtQWNefZratOuSujQBsZxi4QkFn7qiEjZQk7jiBzcPrL6mNGWREyF\n9fwUl8qUOPXWXzsiAfa583D+rIQIyWo4ZQ0X+dIPp/e0dreo+XZjmp8e6UJd\nHsJdKDentjwJxk6LAzgsimGioCO86yZHKcmKt4xPsuhJZwT0DMYogEUgPShe\nqZ3WNVTCdEAzYsjEN2G9XrJWCzfQ9kqa8woARQ/PbnamQflDk428SMAvCk7X\njHVpAN1RayDzc34fM/5Piplrc8JqH5FSf7ZCH6DtrQ9p6uHLeCP7TP7XL1Zj\nz7TII4qUHloJrqdAEJ34oZR5RpUI28pRP0ALkNzoIbkyeqVUeQpOiHR6HK3P\nWCJwze1XxOOpp+C6OwPA8f8Mv4cTu10ZSs/08V8twYToiHsqKqwLApVOm10F\nThQV/SzSgHJ8noQZQwzZrNOAm1/LvGldaAhlFVwCWkKWTlQ/IXUDriuUS+/V\nlOLH6gSGciYnb8yxL307M4rgtF4IeteInQbxfJRObmXNcEnMNBFUuVVLS4it\ng0kOR0L1CynCDfzw9hUFrrKqmwIAdfl/u5/z+FBDqtt1GN0K0n/aPbc5LbuW\nCmPImNuiZJ8gRvVkIrNbeGpFwP96QVQ6bndS3ZXXZWEBKvzVDWNi13XqNy+8\nGKHb\r\n=g8Px\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJ5ymmo4lr0+gz1mMgWMO+CUL/XpEcAJcJyrjerNnUMQIgVsHuLtJsPM7O3Zmf/0/a/8BgBcCM/rr1XvhTbJO7E0s="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_11.0.0-beta2_1535458572376_0.05577414403195213"},"_hasShrinkwrap":false},"10.0.8-579-update-billing-tests-8678d4bd1d87f04712a5fc722abec43cbd6a576a":{"name":"resin-sdk","version":"10.0.8-579-update-billing-tests-8678d4bd1d87f04712a5fc722abec43cbd6a576a","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"8678d4bd1d87f04712a5fc722abec43cbd6a576a","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.0.8-579-update-billing-tests-8678d4bd1d87f04712a5fc722abec43cbd6a576a","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-+PgHXx9UJ5do39wd35EQ7v2LTzBWmRFv8wYG0q15nFVpQYPxSL45jUpkbQQ9Q5HpXARM2viXGJG2lg8z4fe4JA==","shasum":"090089a103c1562f52fa12fcc45afb3db754570f","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.0.8-579-update-billing-tests-8678d4bd1d87f04712a5fc722abec43cbd6a576a.tgz","fileCount":33,"unpackedSize":3979450,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbq7rcCRA9TVsSAnZWagAAr8gP/ifTx5G3rrSy54WSQ8kr\nNIXbRdVGXzPQA0xF6kRBUdNWJSuw5A7fYpXNfkXaRqLrJZdgXCkMu2Ew9M1f\ncZAsAd+Q3LLVjVySmfPkf7WXZyEUkep+Bl+ZHgWXNQjGDDiJtwBndsQ5df41\nT+H8vKmiObbS1MGvDy4Wnn9wwfa2DPWZfKStYMzRpXP1ELAMHigePrpaPiBt\nLUU/meT2YKt7yYypMBAtHWd3fvrZIPv4ED7mAY1TEQ4tjM291CWmngdVfAl8\nn4giBHGjhGM44ljcuBNjIa2KrjIYE86rAVGP51noO7rkD+GZpHIMkUmT9dsB\nkbeuVeReHBMVOgSzSvWgMnyDuWMONTJIz5Z4gnPzS8V2GOmbWbCaaAWOT9Le\nksjdMWP6aNHZMQ81ZywPCNIjNTRIAydltkMdh/m7FW21k7HhGMgmK9LMAn3P\nowN7qLhIn2cvJ2qyoaa2TC5JehP57kunieK0RfAQdA4MfHfMHVw/+dObKdGa\nTLHJ4vvoxsnZ16/p6tSxUa25InZDK1ur3yrIu0fqp6YH0pUHCpY9/u6SSCZJ\nuUcF2O2qadriAYvcn8HJm+bVUqykinrsGMF1xtRv91eQ84E6u9IP80dEnx5/\nGM9QQLD1ku6ecI0n7+F8UG6iPt86/Oi2a5arAGWzbFktlOOj07Youn9s8ozU\n3FjK\r\n=zHgn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHGGyo47/W87xHe0sd2tjkggHUYxqnQX2lDHlrhSeeQAIhAJ39MN7Ho+4qNC9M/tSkFVzIbmJ8U6RK8SwWkYrd0HdG"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.0.8-579-update-billing-tests-8678d4bd1d87f04712a5fc722abec43cbd6a576a_1537981146910_0.4062197564391359"},"_hasShrinkwrap":false},"10.0.8-579-update-billing-tests-6c93bcc919bb2052e59f93cf5b527506345e6207":{"name":"resin-sdk","version":"10.0.8-579-update-billing-tests-6c93bcc919bb2052e59f93cf5b527506345e6207","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"6c93bcc919bb2052e59f93cf5b527506345e6207","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.0.8-579-update-billing-tests-6c93bcc919bb2052e59f93cf5b527506345e6207","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-s96KPAbchHEaBQeNzyqAXhJhPEpTnzgF3DJBPpF5PC5LRC/duvJk3CJOtwy9JRj0WKpR9Xyy3xXg6iLzoDtmXw==","shasum":"bfe6d09536e0dbdae1da03f2d8095fec2d0feab7","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.0.8-579-update-billing-tests-6c93bcc919bb2052e59f93cf5b527506345e6207.tgz","fileCount":33,"unpackedSize":3979450,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbq7vWCRA9TVsSAnZWagAASocP/38gdAP2TKgAD5lowNlb\nAeEmf45Lm9ftJODhzaIIFXhEuuFuj2ssAWIyx4I+wqEJE6j+qouUyT5HpHfo\nNvwwZ2Q+9gQ6B/mddOQZaFigK5sj2+/5oJgUur8xo54x1pDxRf8o7j8dzdSL\nOKagH8rc/wqoUcEfJWIeTsMeDJzOvKsI4zjwXG5C3xVp8BhsxGrEbDUgOvrz\nH/NMR9aXGG2NMCFfA5L9+86FzkjGZPu5nI382qmfECPU95/5JlIXifCMRQgY\nZBh6cws35VtFU/eUBgRTaCXTSXcEfq9VTxx8I2mKXYAZnvZCzPrWiAl5Xdik\nDmyQlihbe5/A09dVIPvbVOB+k+X/pg69l0RjDLjkkyDxZ9J0a1v96qjV43ZM\nM74k9zbJX1uPpweW+0aOAogCvghYvKhOfYwyKWpvUD76qAxtGBa/+a8Up2hH\n//2IxnBew5LxPTq5zJHgb20kdMIC68/M3joqTt6r0ViSiIYBCndTtSSMRNnN\nT1dAvIiFOrBApkHZZVGP26wTHlAW8bcsLVFxc/H3Krd/kcvftkP2X1XItwh6\nm2ridoO4/xdM2Il2Ahku/X/mL9nKPt5zlXQpGCyGMNckiCU7Hw8MY7sNXAcZ\nN4Lr3GE+1Is7WJ0p11yN7jVFQ3cFIqwIbMiopkAyjU0w5YWKYR0mew7u5056\n0TjK\r\n=mi0m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDXZDEvK2ElDxC+n6FVWGb8laHkVKp6FSfGsziv9erdnAiEA6hNhguiXewMo1bXAgJ4qz3XY030Q7Kp7sWeGUp/6esw="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.0.8-579-update-billing-tests-6c93bcc919bb2052e59f93cf5b527506345e6207_1537981398040_0.3538259673492703"},"_hasShrinkwrap":false},"10.0.8":{"name":"resin-sdk","version":"10.0.8","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"678b2a992eac577fcf86f850966d934d7501df57","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.0.8","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-6v39wPNnMiJhM6+Gvh8Jcp2DiPwLOudXmTbU9tl7u1f/OW4izfhDgZxiG2F4hIxYahsnhJYKyxiD5nkytR5SAw==","shasum":"24667dd0d8fcef93d9a918ce52facd933b3dd46f","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.0.8.tgz","fileCount":33,"unpackedSize":3979384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrNXfCRA9TVsSAnZWagAA0osP/3nMTpiiQ0+irJ1tgu1Z\nwHeJ6J//bWkHZ9uBXexiadY3ugZSfNT3e4rbQ3B7K4cn/XAxp3HjZUPNG4a6\n9HFleenf0H9eWobuB3UOt1/muIV+pepx2wCMpctQ+JbhgBwnBkU+tg5rl4tS\nLEhJhwl0Bv1Pu4R+Tp5/FTUDKMxyM5lDI6BWxt9dJZQQJPg2+BruSoRb98B/\nMQK++EyvHUpo8DaLA77vMVswx9aTDgP5trbJy3V7iYdRHoorQOYBqHrsAjib\nF1zAUCIdh/dskZ2p86BsrPJJijw8srkqBUcZDzogIcT9uIPYqgFkzl2abWZM\nx4vJtwmnIBQhzJJquNjQw1ZdFckZUIgM99IVP9qXmwph5u3OfUWv0rEmESZs\n/EdYSr7GbEB+s2hvtXMHJfA1WnrgWcfmnV8N8Ud0qTKhuWmL0ozIVtzUeRpx\nITF9fRZHVVqvK40FXR1Xv0yzSYDGU1ma8yO31gbta/uhaiM5pYfp8baPS54q\neMd38jQsneOtjNiTa+kU8anZDdWH9M8n3CLZ7PEaD/uN7h8Sh7dCjn9kFuf4\nFIAWzBu0P6vM/RwZiUB42D5u80losT8ilICo+1dqbmhtb/ICqJCtyfqzI7nb\nQKyH7bq/JHUA/itlbw4X7znbUiFwxogF5zrqN4lbO3IV3B5mmke/OM0i7XUc\nk8Dm\r\n=YACs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICqW10rwJ+2/P4GDo1WoDGFgvXhNh03NszxccrFqujYnAiAEP0+r3psjY1UvzteZ3up896sf7YoHS7jE5H7RGgWt7w=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.0.8_1538053598381_0.2504933057383456"},"_hasShrinkwrap":false,"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"10.1.0-434-stage-releases-methods-314488952d45adc7aaa7353259925745da3c2a37":{"name":"resin-sdk","version":"10.1.0-434-stage-releases-methods-314488952d45adc7aaa7353259925745da3c2a37","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"314488952d45adc7aaa7353259925745da3c2a37","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.1.0-434-stage-releases-methods-314488952d45adc7aaa7353259925745da3c2a37","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-A3fT4A9l2AkVIxMxtkoHvXllSxow8ezNQwOM4mhfpL8zAGmXef6RnfzH74k3C1oLO4Jvywj0e0AVCpnzSIxnGg==","shasum":"8be1d3e0482fd971a9392959f4b3957142811a16","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.1.0-434-stage-releases-methods-314488952d45adc7aaa7353259925745da3c2a37.tgz","fileCount":33,"unpackedSize":4022014,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrNkPCRA9TVsSAnZWagAATLIP/RU7gAKD9Q3xCr9MoCr2\njtzvgdx+1z/fEPh3HOGDCLiwyQ4P+R5zGdYf6gby+yiIXWnDjuZ0+GR5N2c7\nH6TO4g+Dv2cAMeNE4Gh7OaS73LKtSc44eZxQgFNPLRt+2BeiqivV+kbaYn5M\nD8YBz+k/ZDbpGCS0k27cA5bzc9o5h3m7HLX6dCgjo8dMoMKMvJqSSdH0YXh5\nL7I6RM8Dv6EgJFdw/5OLMcA4d5pdIJLbtFcOQ6OA0XXEhhXLRQs5p3t7UJYx\nWObhCHyRV2HBnrtEgyrnvm4exPDfgWQPgKiRPJ6k6/7IwFy6SM3TJxSycVjV\n28zDWFyplPI/3z8TrD0itvBICH/3Q85YgBshLniOY5p/JDpENlkXzFXHAP6B\nfOBkomlyBY1TRZkF76Tdot1A+jgwhKnt/Sq7xUdrHnuOi8LuqmA+9leLDOJg\ny8nIdpCBDSj8Jo+exoAW8VJukb+mANRheLItuw++eqLsZZSl5I9IuaRjvT9m\npE1MPiQjKmlcbcjb/Xw4hOxR+loSwvo/XJ0U9f8FfFn+lEKdI8H8SC59+qTb\n+WFC8+nh7N1ydj2hIxvKRYVl3/jBKd4zkKmB7VH27sTaiTuF5rPskKomtRiK\nsx2phjgfHT30QyGge/DiS7hHt8A/Fjwg5vKG7rCQCPKI47lXZHilh+/Hi0L2\nbFil\r\n=N4kG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDU2KNi8IOD4TfsK/1e5Ho2mv3Wn0WImnMKufh5o7tjjAiA7dFD6fNknY8HSXurV7hZCl+f8kzDzWHXHayb3cC1dNA=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.1.0-434-stage-releases-methods-314488952d45adc7aaa7353259925745da3c2a37_1538054414953_0.06801991352550951"},"_hasShrinkwrap":false},"10.1.0-resin-config-karma-2.2.0-5475fead4c37ed576dc614420ea886c658af4718":{"name":"resin-sdk","version":"10.1.0-resin-config-karma-2.2.0-5475fead4c37ed576dc614420ea886c658af4718","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\" \"tests/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@resin.io/types-mochainon":"^2.0.1","@types/lodash":"^4.14.85","@types/mocha":"^5.2.5","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffeescript":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^3.0.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^5.2.0","mochainon":"^2.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^2.2.0","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","tslint-no-unused-expression-chai":"^0.1.3","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"5475fead4c37ed576dc614420ea886c658af4718","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.1.0-resin-config-karma-2.2.0-5475fead4c37ed576dc614420ea886c658af4718","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-TEvcuFZS961s1rUVgQMjrCm0GAGOq3SGTXORulDOfnZi5+/OGtwiOHVF5EFCE7GeUlOwMdvAQgLFmeTcR0LDmw==","shasum":"4e8a7f2fe28b12f646374da1b54affb7274e29c2","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.1.0-resin-config-karma-2.2.0-5475fead4c37ed576dc614420ea886c658af4718.tgz","fileCount":33,"unpackedSize":3979339,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvFD9CRA9TVsSAnZWagAAo5wP/3WT6fkh6UxnGxYZjNEC\nJPwu/BmZwZtCt7O0v2jU0cNz2TgwCa2FvyJI1dPjATDB0LSTznOPHTIiPDrA\n0lIaxvCRcMNApI9pSzFZLcOoxvCPhgpF6OEkVgvmgJ4bEQGO0vYZYayUb+K6\nKkt8HJIv4k4JicpRgCg7hkH8bu5IkB3J7QX6OeAwP2jxLaM9w3r+yoz0U+BM\ntt7LoPI5msUnJkl5ifbFtmCJVT+eVMuKJshtQaocir+vAxLDP8lhRhbaczDJ\nwHbTZEalhZVmJtmEWa3vbDLAkxxRIyEgxOwEeGfq0qNLFGjj2gWRgfkWz1Nf\n3/GeaoayMH6uTyUlVDkbGTLpUttcRBewq58GBro3tTbyGlDlEhjcfS1jKk1e\nnyG/Oyrh0fVVmhJeDb5J2icOFEsLFyQsljL4nROaJCBwXW8Dg0JB7r8uPzuQ\nAlxyk+qNvYD8cDeWvGmEwe2gQ0K+sGopG7mIjmfrtsiB+xU6RQFZXbEelUqS\naRuprIksXnlJBEnqjEDOZABxjpZ87QalIYXCt0CCR0buHoMgwZCCn5FCRcbG\nNXtGEM+6EzaxGJGXGAJ4nmimfxcMx6QcO6xrzGqhR4XPMivqZ78dKWqksf2G\nBd9C8I4iCKPLhRMt3Z+zwZBZ2uI7mYAtwajAUPsNe9oaJtE+MR0/PkkUHZ3b\nGLzE\r\n=X9ht\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG6UpiTr3bVCBEmDTIXxws+R1aJn2Zf703mNFu7vZ3GBAiAjX/Ic1bZAItSbe5KfMjjwRDH9ckmDeXoB+05ZlzdotA=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.1.0-resin-config-karma-2.2.0-5475fead4c37ed576dc614420ea886c658af4718_1539068156762_0.5509651146124974"},"_hasShrinkwrap":false},"10.0.9-588-rename-deprecation-c4a95da979ba7ae5355154a493b0b78014f39bba":{"name":"resin-sdk","version":"10.0.9-588-rename-deprecation-c4a95da979ba7ae5355154a493b0b78014f39bba","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"c4a95da979ba7ae5355154a493b0b78014f39bba","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.0.9-588-rename-deprecation-c4a95da979ba7ae5355154a493b0b78014f39bba","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-c+SVVK6SbUzjwmKXW1AEKCoe9Wa17oOPcbN+zk1VVZxsr98+Ez1o1MiGM8pKiVex8p6gTqz99TSdiwxHFIayGA==","shasum":"e8c6a85253d132c31ec07e45c0f291b270923e13","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.0.9-588-rename-deprecation-c4a95da979ba7ae5355154a493b0b78014f39bba.tgz","fileCount":33,"unpackedSize":4052246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvh2QCRA9TVsSAnZWagAAenIP/1k+klGpnGi/oGQIB+2a\naX6/qgZ7WcvmakDgFTXkuL/NqyBLOzJwZz/briywvQVG1JkkEjjel+HsusgU\nObWAi5aaLsA1FepJ+20ubNE4n9G+Hc48iCdi8JKoZGnWOV7jpKiT/eMUoDFU\nn3zERL+YA60Yeb3/Y46SXjWqGpBWAp2XWGbYTzLtXMhppLV9X77hPDd+26kT\n4+WaA8GODo1gxgvEl1jPnOZd0UMSZ6lC3HJErPziKUBRFbXe9kt9mORypLQo\nqn/kvywAFsze8+YurXvfZY3m6d5tc9cRhHJlJDfK6tQm6lSqoFm/cO76tAYc\n2drIAUUCU39vQIV6aXILtC7wT1/6lRU3DMOr0pAU6uMx60TeEZ1WC5K8/gIE\ne5hLv8qoJAdACqOJEuLgZsQW2OQ42jk436ZGTHlXZnR2h10sRLGJDtTEB+U9\npIwYNPmFB3Vd5cZxo/fhM790V7sZk3wK6qpu37w9pLVwvpEe5ZhtmdfdiT2X\nHGvUy7r+GBmpLXmyKkjihAAImGfpaRsKq1s5neTQ6PvnmzyHE+VOHVxWyswa\nCFI4XY3ERYqt85wuyYNoO7WdovAne289c/7rPYbx6he3L273E7Jlf7JAAWMY\nm6dEbwP2gr9oAmvXdzgv5HC4miS1OC7lLqaDE9ODVJKI5+8qn88h/9zWF+bw\n3mBK\r\n=/8BD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHzKU1ftudxyVd6wyYBuCu0qL6PvaCguQ+/7tsa+QIvQAiAjX+fJvgqV4WxDdcXTLhZKuPDpP0KHhrrEe5hBCZ0ZJg=="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.0.9-588-rename-deprecation-c4a95da979ba7ae5355154a493b0b78014f39bba_1539186063954_0.6964852425499053"},"_hasShrinkwrap":false},"10.1.0-resin-config-karma-2.2.0-1467337dec7425d9b1e94ee150dcc8d5e667b520":{"name":"resin-sdk","version":"10.1.0-resin-config-karma-2.2.0-1467337dec7425d9b1e94ee150dcc8d5e667b520","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\" \"tests/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@resin.io/types-mochainon":"^2.0.1","@types/lodash":"^4.14.85","@types/mocha":"^5.2.5","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffeescript":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^3.0.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^5.2.0","mochainon":"^2.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^2.2.0","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","tslint-no-unused-expression-chai":"^0.1.3","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"1467337dec7425d9b1e94ee150dcc8d5e667b520","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.1.0-resin-config-karma-2.2.0-1467337dec7425d9b1e94ee150dcc8d5e667b520","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-z2gL1pVa7XP0//HwNlK1DLALKqXA20OHZaL4Q6pnZeVRlrt2LenCFDn3bf6PpDuUA84ZvOQGyuB4GeLV+BFzqw==","shasum":"0924923e83845a65cfe1827c7c30206863b6e761","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.1.0-resin-config-karma-2.2.0-1467337dec7425d9b1e94ee150dcc8d5e667b520.tgz","fileCount":33,"unpackedSize":3981571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvvj6CRA9TVsSAnZWagAAznEQAJJmhku/cbD4OOL1EtyZ\nvcbc+i8YdWCfJ7BNxx6zf+pqbPmNVe9Lw9E1PXI/k9Ib7fMhootpEoeHBFRW\nF2dNP+kYwVOII/Z2ZnruVmGkPyYgi63AQresKgCxT6JBB8jgpztPgCgO9wUf\nDZ5Nm0s4JpfgANwCTSYg0oIJQJFEP35MsRJOwxaqI18PYj/1s2Qxh8jHXR6b\nfmfMfduhgI3IvYA9TmVE0P3V5kduL0QIxn84JVAbRk7W7/+iPj7kr6xvRe2m\nVhyTxwEHlSCv72bOynr4Wyy83IvPZKbl6P5bEmeF8Fs+cmgur7m+ZMmuMHK+\nnOBdQN6cDxY8QvoxCY+G6P+IZMnl/Flpw0wiuh2+LwAyRIek0tMm0Nr6aJq4\ncVZHTlv6Q3pEmPS6yNhcMyPKApMBQNo8agPCuTIsO2z0LzRnVwxTKV0ZHon2\n5fydFNgZ1bkhuExV1FXMGFpR8yI4oxB5vTxco5Xri37vTUHb0euF42SdtB+t\n90dx+Tt7XTOGSxASesJzS4tBzzPSyzBrfUnrLY+ucdXDeGfMNp+SFQ5KCGuS\nymIPKxCXoEEmllOFvcDd89rAqiPyEkG3yDGiqpg1WY/HfYvVLOgENoUVK5p+\ngsyJNiYs5+J0zd0r8/8u3BBaBihSZq7UciF1NHNBpeH2u5j1BYpWAqOQu0ve\ngGZj\r\n=BMbM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCY0Aekp28uIYZRITDco/jZeQeRTTOlQlhSkmlsxWeqcgIgEqvam/N74Gh+E542+67fjYMx0O2k/T3P8K5UIazEd2A="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.1.0-resin-config-karma-2.2.0-1467337dec7425d9b1e94ee150dcc8d5e667b520_1539242233419_0.8117314431644933"},"_hasShrinkwrap":false},"10.1.0-591-drop-image-maker-apis-accb5511de393f2ab8e3804b46c4f0041c47b834":{"name":"resin-sdk","version":"10.1.0-591-drop-image-maker-apis-accb5511de393f2ab8e3804b46c4f0041c47b834","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"accb5511de393f2ab8e3804b46c4f0041c47b834","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.1.0-591-drop-image-maker-apis-accb5511de393f2ab8e3804b46c4f0041c47b834","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-r0c/vOCml1rRGAWRTi7NgK6Iq1o9Dr86PnYrrLmEYwsoBKxGWfNEoU1KBKNFRbFYxg/BmG6RIih+eTSql7OVMQ==","shasum":"d2bef069376c45d4d2b4f9dd04a22294c70dc585","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.1.0-591-drop-image-maker-apis-accb5511de393f2ab8e3804b46c4f0041c47b834.tgz","fileCount":34,"unpackedSize":3984122,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbv2APCRA9TVsSAnZWagAApVIP/06cRCSjnwbIoU1AHrmG\n4eSZrKkE7PeW8CiE41vU+uhTk2zHsAgeZ6Zw48ymfsDX+zqqvwaJ7cIV826p\nxmIVz46WTggQp4oYvhAdqHtYukxjgPof5ozK/KzFUsRwvn8l7INEMnRS7duI\nBjlXSf4HQmED/dbw+7qa2JUn8olyJLfkSp4kdbpFQBBt7OGUoPr4/zltefXg\nYXUW7llbVdcBqOZRKMBHoAnKr+9rhkIomHwgI+k4nlazfYrxq3BbkKYg3BFe\nB/EIBJIQITZDZ2zlcWYaEWMTZ/onfh4cZRdNvqFWZ2ffV7AI2HUehR4fhemZ\nbv0azv9JoR7DXps5hgl0SEHR7u9PdQ5BKH64C5LBfvc9+ncDeJPjLSdfHfra\nX4IfIHDGcbK3mExCFSqRHKer0kRShgMWpgWOYB2mZsVIhFJH/4Mska7oVPEW\nQ9mp/Dac2vorMrmAOxHdP27NIvQ/PN1It7Unp1YciuCAcLA5sbS5hm/d/8at\nf3AsJ8B8JYmOE7uSZTwsREqYaaTfzm+AC4HcUsLEDTSVtQd55G3IPfHsi3eM\n42uWz4iTEUSVnsP7Nxwbc120tQhHwhe9HlMtV0eHo2f2J99PAXWkB/YddYnP\nXJi503otU8M/5m30BuH7ytxS66chsp2Kfgt9HCe2Ua4B4OBEoq2RcBaWXfBH\nhsIJ\r\n=Lndo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWhaszeYZkNpN8kdnF/KYgfdw0kj9Y9FqTB3RGdPC2WgIgOBhfNxJ1g3oi/vJ9tvnx6SFF2Plm27cfi4draSLAkHg="}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.1.0-591-drop-image-maker-apis-accb5511de393f2ab8e3804b46c4f0041c47b834_1539268623226_0.3868534599371818"},"_hasShrinkwrap":false},"10.1.0-591-drop-image-maker-apis-b576fdd974fd868ba5e465c7b749a273517fa545":{"name":"resin-sdk","version":"10.1.0-591-drop-image-maker-apis-b576fdd974fd868ba5e465c7b749a273517fa545","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"b576fdd974fd868ba5e465c7b749a273517fa545","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.1.0-591-drop-image-maker-apis-b576fdd974fd868ba5e465c7b749a273517fa545","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-FNGMHi+45gbApu0reM0JENTSSiHXgHQq3/2mkTbpJenoPglD9fPyHar4o7JNN+eFtEbZ59GBxH6pa/LccNJCuw==","shasum":"58e7f709dd7b45c7cf9094e841821d731a38286d","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.1.0-591-drop-image-maker-apis-b576fdd974fd868ba5e465c7b749a273517fa545.tgz","fileCount":34,"unpackedSize":3984122,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbv2VvCRA9TVsSAnZWagAASSMQAJlEpd9dsXncowPbwEjK\nOuXUAHalWXRFVlDjAprNv6gQMZERsT31NW4UIA/f3BIWrGGRMJR+zJf71/u0\nGZvUb8taF2RQe0bZYFn8UmDRiOb2usfmqGkEhUlF3CO0xeyzSqSrTMz0lPU9\n7KrklpR17NJTveJuokcbY1ljHhTd2abPjguDkCfHvHXa/4dOE3hS7mMV70Pd\nAFaj1PwvNjuZU0Adgn2E5ns9TPwgJqcshJlc21fH0eGv4JFZW72srvIk3bPa\n/FtCX9TxvYRGkWv5p0jT/vV7YzYLLJVH+egwLxDBenTO9BbESN0rP35HX70h\nF3RaeAfPhQkD35wRLZ8pMpRtbrLeNmhbR6cIQGiHqFHFSxebRZLXvKid1hkL\nBgt42AdWF/O6h1N5LWRWb2nFPMGJ9m9qptzphoUE/0pIl9k5d5qe1X2RYKeU\ncz81BhmpGZAZxddQqXuKBTfJ1hpf+XbfOz6RDIwjeTWqhRE0/QLI2epmADaH\nj6TdzJdeH2D7b9seFeytt3Bc63m5FKj9AzHrJrjAi/RDcRa4Be0042GnwOt8\n6oV/4ExK38ldM2QQHo81GJ+yYZ8H+tTFkxkUdn5fG4NGPU6X5fea1riBfGGW\npKkizyFPDptVVJvSHN/kPsEYVP/dg00pH8k0lGQ8U34zwxh9enGPsippqldR\n6zRI\r\n=+bwI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZXkeo2bD09KMRCVXg8fYdrlr0yKI6dFfVVlxIuNpaKAIhAKrNLqvQ54RUYn7zSvO4zJLinxrlOmQ/QeYjdKZ4tZ91"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.1.0-591-drop-image-maker-apis-b576fdd974fd868ba5e465c7b749a273517fa545_1539269999125_0.8401645413983305"},"_hasShrinkwrap":false},"10.1.0-591-oss-api-device-types-7333f421b05e757e5a6821d70f8ee73859fbb2e7":{"name":"resin-sdk","version":"10.1.0-591-oss-api-device-types-7333f421b05e757e5a6821d70f8ee73859fbb2e7","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"7333f421b05e757e5a6821d70f8ee73859fbb2e7","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.1.0-591-oss-api-device-types-7333f421b05e757e5a6821d70f8ee73859fbb2e7","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-eUbDX9UfF0ELDR04jY1fGZp6r5kphYvZVWcD/3jfs8I9/NQSimEfxeJMjzvBYn4IzIUtMMxsjAWm3pGQNMlhnQ==","shasum":"81e3717eace3447f47e120ef16b550ce5508285c","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.1.0-591-oss-api-device-types-7333f421b05e757e5a6821d70f8ee73859fbb2e7.tgz","fileCount":33,"unpackedSize":3981915,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbwOpyCRA9TVsSAnZWagAALT0P+wdteEy2tU+HKERxL82f\nxnd95Tw22TOIan7jj7GtvF4a1zUtKtBdr50g3Runo6PyVBYNUztMcuYaJOYv\nkbE1sTh5lerLXSVTGkjzrA8TymkPkTW5EHFO833QE2hv0WMhZQpKsFmhU/EY\n1i1N461UCX/P0JmykXzlT3yosoC/D6gOi/l4nBnZ9MxEk7xl/9DRcWXYAh+U\noUPBuaLa5NLSoqMdZtxPV6N3OofXbhSmpCiTXojE7r9Tmw0H2Zd1tNOqnNKH\nhac8k4Pfs2L3zai8vn1oCXAbhk/3LH6qfY5edkYpQyQroMSihX56lMgG74A7\n6c6qX4+2f0RXP2makCrU2pP4dM6zfE09jph2acUNfoUp02kI9pz8iWwqEp+Q\nCBoeOWl2RMnHlViXKWyz4T3OeSW27bYweWajODboXhsYEAR7KO3/yJRXXrwQ\nFFXjnQPHgdiBHtomX/S6pA2zs24lIeDelbv4h2X0vH4fpOn6T266n8+YY/Uv\n9s06Mhl/bHaDMWZAKh4xrFX9OMPBbyu9/Bpn7KEguuNXrJAQI3/e1ehkig1c\n6jn7wXGsl3Q9R+q+TM9plC903OnNAVfV2EMkLCaAxsR2vHVdPLt+ptJ1oRut\nT2jYVjuCQHZLepfqyBpVDcoEXJfC7GDF0YOtRUv+gayha1lGJ7wDqKjoPOIj\n85V4\r\n=N9d7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMAvgiI0j3h/96MP8ynzRXg0NM0luKy+KPUjjYh+z7UAIhAK7zpW4wehVH/QZNSxZ3nqy1Vh1xOEGnsMdB9n4jQ9ZT"}]},"maintainers":[{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.1.0-591-oss-api-device-types-7333f421b05e757e5a6821d70f8ee73859fbb2e7_1539369585208_0.6698916899518437"},"_hasShrinkwrap":false},"11.0.0-balena-sdk-78e343d605d323cff37b039e8e40cae05b52fb36":{"name":"resin-sdk","version":"11.0.0-balena-sdk-78e343d605d323cff37b039e8e40cae05b52fb36","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"78e343d605d323cff37b039e8e40cae05b52fb36","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@11.0.0-balena-sdk-78e343d605d323cff37b039e8e40cae05b52fb36","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-O1XB5hMeewE/XUfjvZIm8SdIEEMl7n9uDGU6jsccvYqxOorWoOMgTgDFTBH/T5NEQygIh+DIEo7j6/QUWzAFvw==","shasum":"545a60ed6ba3e5735f4cd7027d5eca9a25729df8","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-11.0.0-balena-sdk-78e343d605d323cff37b039e8e40cae05b52fb36.tgz","fileCount":33,"unpackedSize":3981218,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJby3awCRA9TVsSAnZWagAAgRcP/iNcMquwjRWPNwfSIrDw\nMR7FVtHKhzPoSjNYPE9C/w9lxqUGmuanlryHWXuunvncb6mJ7417dCZyXjCj\nKxaa+xX4DWcfttP9mlSO6dgOGgzZYWqUw3VK8Q9gfVXmeOpE/cgBTYmyido7\nE/YPC+Ik81QUEJ5aamKbmd2kH2a0aI6SCVtLWuCEQV5xPepX2m2MVSdHUvZI\np5mDPWSUmUYDRDShmLb9O/Lt5b8+L2oxmPUMOwapDziA8LDXT5B2xuWFk+wl\njYpMZLW6RxsjlSzyAvJGbk+QkPMd8rhDiXLM7nvuMJnY5pjOrGVmk4C+iuHP\nsUUZ9AwxcM3pxnzTtFf/LjtRaR41sJx7wmbgdnDEYJyl4Xvjozp/tDit2O8s\nA5b90xzzXdyC6F62ZTAs2soo8p285ZPZB3xvnMgO5njaC9/z0DBt3cNtgiuD\noiuLvYzcVFSJ5dHthWFiCtSmAmabwd/WoKtc8fdrOQlkSL0QMBq9Bg6IT8KG\nt+dcjkKGiLbT/zHDpqK8TGBhPCoNWTpJ74NZcqsWsF1XGkl0P7zxA9kqMInp\nQz6h12GAFf3wpi65X+yj8oFH3u/mK+G1nu06ftc3h/2eEsCXy5U7loe3tahz\nGD+RNbeshDil9ECw/XITkG8ndvOuVXqJVe5Lasr0xXLXqujXTXwHD7vmVIQC\nG8xs\r\n=sjh+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBOW7L62JfODMtqFZtkFeHP9QmPQmf4lihVo47CFctfLAiEA1ldk9yr859SSTayEeGVltnswIqon+YIOwNlyK1wn7dQ="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_11.0.0-balena-sdk-78e343d605d323cff37b039e8e40cae05b52fb36_1540060847669_0.558468670001157"},"_hasShrinkwrap":false},"10.1.0-resin-config-karma-2.2.0-10cd5bf7230f43be5d15061f5041475fbbba55e7":{"name":"resin-sdk","version":"10.1.0-resin-config-karma-2.2.0-10cd5bf7230f43be5d15061f5041475fbbba55e7","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\" \"tests/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@resin.io/types-mochainon":"^2.0.1","@types/lodash":"^4.14.85","@types/mocha":"^5.2.5","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffeescript":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^3.0.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^5.2.0","mochainon":"^2.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^2.2.0","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","tslint-no-unused-expression-chai":"^0.1.3","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"10cd5bf7230f43be5d15061f5041475fbbba55e7","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.1.0-resin-config-karma-2.2.0-10cd5bf7230f43be5d15061f5041475fbbba55e7","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-xppoJWPEFgSu9J+ZzdiLJ4I5WJJ7CeJLnxXCkbsEPmRE5ODGCvB2uWIOuD3NMi6eqMlQRTXJ+U053sMccCYYKw==","shasum":"ddff69629a2acb351ec54016c9928e9841c3a61f","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.1.0-resin-config-karma-2.2.0-10cd5bf7230f43be5d15061f5041475fbbba55e7.tgz","fileCount":33,"unpackedSize":3981571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0BnECRA9TVsSAnZWagAAEvwQAJdxxjGaaZdYxWZGEbvH\nXEJGDIzUT3cb/7eEuzn/vYFl0h3bo604wH9D3ji/6jPTVvzvW5E3Rn/Rrp/G\nnRDUM+652Xb2bwthBJmOkBlzru5VqnQlIGerkpuaZT8pgaWPyLL+Nvxh7zsO\n7YKy39C18A17fYQQ9KU30gfVPvphqMSAlWE7QhKAzQhlRlB2WXD9tOkW3Y9G\nAmWbrvlemb2qYW705FleBjhyiFViuqvJZusHT2o828pH5SvKZbOLPAoHJKRC\nIndm1Uij9gFRoj8x+SXcWgBd7J/1giA1cq55tEe/xsHDM6sdXpkVWo06Ryks\nY+ALjvJ148y5cuUscdOle4s+SODxahYqiQtuLgpU7XHIY0iIR0MfWa2+Fjes\n+0VpUh+YR3DN5kQPn1X2HGD+E284BhXL3RNgwRw0i7uxgyo0esW7ugD+VOWj\nbQLLDuTLLJQkAb+WA13tDL0cn8JiWt5sbKDhVR9lSuKIf8NGMI/zxGZo3tOr\nFxAcuTSBbrZABBscf+wrpEIoZ40uVGMj91jkM0N47upQq6POUJcCWe+DFeQZ\nRVb8y3ZbB7hxnxxA+cG0zJfcBEVet4h3RUxghiiZqyRJyObPi6O2V+f4ffDw\nBiQGEop8TkXtBNqZaU66hsIvri7OxZeJZ5CACrtClesRMWxdKixP2WlRONHo\nr0Kc\r\n=QJeB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGkyneKdLL/lPmmvQ9xpGfQcFsq+1B9WVfcaGG2qZ+UrAiAoJsj1EFONV9syxbfZaUqI4y3W8rhWgtWD4OWKX+T3bg=="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.1.0-resin-config-karma-2.2.0-10cd5bf7230f43be5d15061f5041475fbbba55e7_1540364739428_0.04051107004975618"},"_hasShrinkwrap":false},"10.0.9-598-fix-failling-app-creating-test-bbd6b3c9d705f0925ef363373c09b280663035b3":{"name":"resin-sdk","version":"10.0.9-598-fix-failling-app-creating-test-bbd6b3c9d705f0925ef363373c09b280663035b3","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"bbd6b3c9d705f0925ef363373c09b280663035b3","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.0.9-598-fix-failling-app-creating-test-bbd6b3c9d705f0925ef363373c09b280663035b3","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-TQ/YK+zA1DcBBAntI5Ygy5W50EmpGdaR5ALWlUsuSkB6+iOpVXhAMfoZbxP1ayW1KHTwB2DMYDIalObFiZh5Ww==","shasum":"c368466646db15a174b768542d31084ea1534740","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.0.9-598-fix-failling-app-creating-test-bbd6b3c9d705f0925ef363373c09b280663035b3.tgz","fileCount":33,"unpackedSize":3981390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0CO4CRA9TVsSAnZWagAAOVMP+QBQkES9UNVlKAmztvL7\n5L3mb29jdohXiyZtIGn3k1CfgOQHotNS+CW+bw6wnueIsiR078j9nxnrFD2u\nqLC8lIPOld3mmgUoVVXH7lvMzliy1CNSeFwUaMUnfshslPlwOzhClpZsshlS\ncOBTByW0v5S196vpBZSFee6eeHF2odWZOz+6l7CmgBGUZdtUdFrnX/DRuDGM\nKc/7fREKk0zQkuWBoTjBIco3PbvEJJaw0kwMdrouM7Uec7CUNQ+U9kXRB1/T\nJm6apfB0tWYnLDKpTBfbAgKE611jyQbAu+zt6MgmSPGpSrEIrOUtJGTKyKCY\nWWWE5Ov0XGjx4P8/AecgKuMe2XbmlUEiLJ+RD+Tw+0/EJTlSnxm5FHd2KHua\nAZAaSJA8y+DnyXs7VWmEGOpERe5RErIPavtf1jBfe2+If1ulCUY+6/si2uaJ\nmEaZ8ljsQPLQxnF0tmq50V5sC9rEHw0G7cIDa+KaU1WI/JDbYr8lg1XXBK9N\nOHJwoxUfFXdN9OuQbOtewVbwOQWYSF+JnWAoHwNDKlAXY6Vb7QN3SBkJKH1r\nx2XqLYCnGGytrN+CZw8OJQuTxKHlTHLfyD3SmJ05ENRmhBBJC3SkR7MRht9n\nFPM1eHZCtqQZ5ELEu1FhFqs53kglBZu650UNZJ1PQksy4UNFuEChXFf+kqd2\nIs/K\r\n=asYw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+JIkvqbUL+bchPpPw00weXB5lBIcBgvNutt9RWbQrpQIgLhWdPz/rtvJWBvkA8bVcco8hEqzgixbt+p9UEDGrYDA="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.0.9-598-fix-failling-app-creating-test-bbd6b3c9d705f0925ef363373c09b280663035b3_1540367284769_0.2521200001016102"},"_hasShrinkwrap":false},"10.0.9":{"name":"resin-sdk","version":"10.0.9","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"2d0896b351ffeead2011478d7bb8bd5a2617e46e","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.0.9","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-sVHqmMqp97FceX0YHqoBRjTCfx4pbgpHYAPwsJD9etdb/aeG66FxFK5NgF1UrVs7vzm9z1uiA5KFnl/q8YVGVw==","shasum":"198f9984920754b59272d0b404dda15b90148efc","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.0.9.tgz","fileCount":33,"unpackedSize":3981314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0DxjCRA9TVsSAnZWagAAQkgP/i2J7vKQ69+f0qJgmNPz\ntLThuDPp0f10LylvjVfxyg0M55xRYplYk1yBRMHa2ILtKOG48uX1ap6o5Kyt\nd5Svx9+WbY6GRxLXPfYVZtj8PicdHP63EFTZqvEMRs1q1fR4XJJZ4PMDFGq7\nUu6Vwc0MOkKW8xQCGnKl/KB5XkachCuVOjXfR0yKgSJcvba6T2OKkDNsA1/0\nLm+KaZD7napsFgBiFJjOPFM4OCwWEIi2NtCzh3yFxVMzpBI21QnO3FsXBiv5\nJ13Ishas7zS75vznsyn7Zg42Eu+KvTG8GRWsoHZH7vBgQpetEfI9qoo/Cl8E\n0N95DDIBjx9A6QoS7jiBmiSfZzmAKdRjgJQiLBSKf2EHJWtkFLEDJJRmLh4X\nqWLVb1zgebKsgZQMzQIlRKt/rHaDIeu42lebdV0mVr+HoST45jVEHTt5oUsA\nJYyzpB6U3888ob6x+cMbsYLpYQazytrMqwZgrevR91c8Q/d1xd90x/OI/idu\nNM4WwqE/aRUcMBmNljO0B+upQ0ggNbGthh0zriqGKogDhfYDbl1brLMwRZeY\ndCv6OXEwz2TMePUBHVlYr7iM0K01okkTiFBF2Io0Hy5OURws53yKaYw4SUbz\nTIqnYav+P/vy/PL7JfxGtC3NHU9cdNO2Wm/YHVO8a6FdDIOE1ibWtyqsM3WX\njXHP\r\n=t1E6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF5eTABQLM+qN1eC8RgPVAnnf5fdDLFzW329/t6qpGxRAiBVk7yYyLlKiaAwlUmhy4rXO0bI9x2f0KLnq1GENVDtmQ=="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.0.9_1540373602956_0.06652757334974879"},"_hasShrinkwrap":false,"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"10.1.0-resin-config-karma-2.2.0-94d066978566e1d55db82b4479b15868d1083f63":{"name":"resin-sdk","version":"10.1.0-resin-config-karma-2.2.0-94d066978566e1d55db82b4479b15868d1083f63","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\" \"tests/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@resin.io/types-mochainon":"^2.0.1","@types/lodash":"^4.14.85","@types/mocha":"^5.2.5","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffeescript":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^3.0.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^5.2.0","mochainon":"^2.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^2.2.0","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","tslint-no-unused-expression-chai":"^0.1.3","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"94d066978566e1d55db82b4479b15868d1083f63","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.1.0-resin-config-karma-2.2.0-94d066978566e1d55db82b4479b15868d1083f63","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-ediD2BkOCc893LyrngWCyDeuYcv8kPvnY7SZmn0QuDGLDJuohW48R7MRUP9cOYlTZsiF5Jprso8mDP02V3lDhg==","shasum":"06ca795afb12c67dc194c86aac4acc00816be3b5","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.1.0-resin-config-karma-2.2.0-94d066978566e1d55db82b4479b15868d1083f63.tgz","fileCount":33,"unpackedSize":3981686,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0D68CRA9TVsSAnZWagAA290QAJz8wJnsFRVmTc/NCP60\nTkS8XZ6sOibGLkhggT6eRTpoiD0RmumhM558F8x1kAfD6m0+p1Ztk22LlETf\nB6r55KXG5UAw+wdamPvPmw9NOqRi+j8/oPBftkyMnqbcDIjto3leuPcOHQwG\nJdOeM0URH1EywXG7v8ujhPcAmE01ml8PFwcM5TuHMd9wFRPxwrjvPQ6PeoKr\nq2hVOc8m4t3GEe8n7tabAlzVy5ElVEPNCcsYvMgYqQB0AGAupEGU1Ov0whql\nwIQIEpsb2px6KJ4kxv838BT6HidAbvh+BCl+f6izHfeH3s3SedFjKCxnMKKZ\nM/pErLjKGIgpiSrRqz7pHAvTxutTZaxIY0RP5V9vk19JFptAf2jW3LWMlDXh\nAdC9nV3tTmBKCiN97/RWGE27a4U61HTpPcpkhJH88zyZgvv+Kn85OZEYSl4P\nERDHDSJswk8C7TFTxDptMDlX1AQBGZ6lGpdeuLtvwolFbLZlk724OLtnrSBO\nl6SpglUkXQou4Mtn2F24CqNH8/b4iXZljVBtbP+PNg7yJyc7jFLRKkOvNkds\nhVB9PGlrPv9/MEGuEX9KPnl8TJMXZ/in/PKDA8Y2sJETGy0CtpQ89VfwaB+M\nGkDceo9rzTdAuMR5GYKP37O6sDi8mx6ofCkCwjiiztCFk9Yx6t6n80TEddwE\nCHn5\r\n=Arrx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRorIQw7B4qTBuqaHv7MHK8riwOg1Mkui9TlbhBHHPyQIgBhBR6DMDBgxEyOX4WhWGvnP6xc6nGEFZq2fN9nhwfbA="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.1.0-resin-config-karma-2.2.0-94d066978566e1d55db82b4479b15868d1083f63_1540374203725_0.5254171080765628"},"_hasShrinkwrap":false},"10.1.0-resin-config-karma-2.2.0-36083f60457d8292c26deaaa0e471235961636a3":{"name":"resin-sdk","version":"10.1.0-resin-config-karma-2.2.0-36083f60457d8292c26deaaa0e471235961636a3","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:browser","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\" \"tests/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@resin.io/types-mochainon":"^2.0.1","@types/lodash":"^4.14.85","@types/mocha":"^5.2.5","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffeescript":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^3.0.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^5.2.0","mochainon":"^2.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^2.2.0","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","tslint-no-unused-expression-chai":"^0.1.3","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"36083f60457d8292c26deaaa0e471235961636a3","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.1.0-resin-config-karma-2.2.0-36083f60457d8292c26deaaa0e471235961636a3","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-WjeyR3egAVqoHtKUdrIVGZKKrHZ+U0HefNUAZLUeWRQHWfElpTNTnNKpRkXiA2bxzQjgbU4Vg+mABQBDuY4ivA==","shasum":"b1b70d66fcc536f360d1e28c611b53ed78c39606","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.1.0-resin-config-karma-2.2.0-36083f60457d8292c26deaaa0e471235961636a3.tgz","fileCount":33,"unpackedSize":3981729,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0v4ZCRA9TVsSAnZWagAAIuEP/1cOnSZRHVByC9ycYZTf\n8bqdvDwevlWYv+cJOH6SzwM8UBym0N+5HSHPOTm0JdPkFuk0NmbsPt5EsRR2\nogU8lFDC2giIyPIfVe9Zw1hqDf0zDfB3AZ4npQ/6HPnk/QBnY9WcPQ27KQIM\nm8/Z7XLwtbcbS6Nb02ULF1cYEtw+Kxr7iAfbPeGpyooMXPr7a26xCK1Wr0gl\nPVYpZTvxQ7BXWOhfChNC9UNBt9BWmWs085Ql/MHt2NE7+WNLGiQdllPKsHUu\nbLBSKuJV9FAtkZp+3mwuOTaKywMnui9EFtAhYCPtWq7Tt/AVeweeIiFeCuyI\nNBz6vceR1CuMbFgJuvTZqkSDfeQ3rcMHkbBAcYWTfx682r1UawwOQlNc8I17\n97+nCq1ZMm181pEauksJHGu4X87u15tP41wJzw03Xws+6Wk768Qj8pkNbDU5\nSuiwQggQmW/Al4Gqz4qTF1ArMButnZobDFaekSl1/sf9F98s1NcMyhWlZj4T\n2rd79k122+DZNTMjvcPKJl3Csskx0GwVPmc10WG2Qf9gaXqDenoqmI/s7NgN\nwqXLOqXxq7FjLvjMLmGHzRTXIX73bgqPGKqX/lUZXXfKaej04WWA4r2rXxwL\nWmE+v9Zs8cCbXlBD7kRkvKI58F0fNllAyTPB2Jbv0UupXkM9bkX8Hew/Xp6f\nfcin\r\n=9a26\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChzioAuDLNkRGo4UM8DkEt4a1E8ZxbTigpMZG8Xv/TvgIgG8By2fZJkp2TwgDI52VPLgSewaH+atW7NOBxpAL847E="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.1.0-resin-config-karma-2.2.0-36083f60457d8292c26deaaa0e471235961636a3_1540554264681_0.8162712090284361"},"_hasShrinkwrap":false},"10.1.0-resin-config-karma-2.2.0-bcfef0271cdeac4ec0e396030f6b46410b22b7be":{"name":"resin-sdk","version":"10.1.0-resin-config-karma-2.2.0-bcfef0271cdeac4ec0e396030f6b46410b22b7be","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:browser","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\" \"tests/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@resin.io/types-mochainon":"^2.0.1","@types/lodash":"^4.14.85","@types/mocha":"^5.2.5","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffeescript":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^3.0.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^5.2.0","mochainon":"^2.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^2.2.0","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","tslint-no-unused-expression-chai":"^0.1.3","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"bcfef0271cdeac4ec0e396030f6b46410b22b7be","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.1.0-resin-config-karma-2.2.0-bcfef0271cdeac4ec0e396030f6b46410b22b7be","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-ZCh6wOf3ywIY6ySP1Eh5maG8qeMH7LH0q6JM8J5HhGYjnSIa/fEupDs9yKwJTf5/j3GFnCJIk+F/cmPHswqsyg==","shasum":"b41bd62e4f345fd5d39ae8501647acab84b53ab4","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.1.0-resin-config-karma-2.2.0-bcfef0271cdeac4ec0e396030f6b46410b22b7be.tgz","fileCount":33,"unpackedSize":3981690,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0wBJCRA9TVsSAnZWagAA3sIP/iLFwA63t4bZSIyAI+Y+\nklqWOxaencKHiU1+JjA7w68yE/k9Q5ysgss9vtALHoe/6Eq6onsqqXBIapJd\nzV5AwJySbUtRYh4F9tzNMSo2p/SHSMfzjA5UHJYn3oKu7RDtSvhpCkMGYfTy\nd6wpQzYP+SWSBl3gIzgw5/mAWiYEfY38WsbU/6sotMa7KcK+6NPAtrIXPzRK\nDsXfZiHi9Q08yB4NNBdVRHunQlbSdH/hPS77n3m9rwg6oml1YNMpkBxo2yKX\nBIBhrD8DJmjYFZouuyIXEGs0m/822Ou/o/2g8R4A8hhY8WCPSqnn187GAnPq\n07OamyZp5shDxNSL67Z5gojSpqR6vxZzIf32QtwupbNfUt/Y/XYZ4eQiI8Y0\nbO2T/eTLrxudcDaHN+fPI37HEvGsYfFYjj8aX/XWXsSK7EpeEBDTEgATU1nG\n9VpJNOpKbQ6Mg4NKYvVP5HqLvjWq+0n3hg3NVDwqvTI4uRC3LhfrMC/7LZJG\nEL1EbcrYcd89dHzuE6bhKYTy2c9F+nUQ+yoGlCbKDYKdTwcPbiuHDShcAcoN\nCzQc5ITavbaCbiSUuAFssGUKeqOWKUlE8DBChgCsz1P51H9xDMg48QJs8WMx\nvwjC8a/qYC6OLXfwvf8gexroH3YLOGKdg/TljmkSdHCrUoxQK8BCs2c0nakt\nCE2N\r\n=pIwn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCv5647TJM6XnKZ7mL/S8ODgYvk0JGGDHU79Wuguzb4QwIgR5HRgG8j01D6cALDNi/aH0Mb+5dTdJgx4E103ZWU2nk="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.1.0-resin-config-karma-2.2.0-bcfef0271cdeac4ec0e396030f6b46410b22b7be_1540554824927_0.7384436772626863"},"_hasShrinkwrap":false},"10.1.0-resin-config-karma-2.2.0-bb92c1e7a2dd6da0ebecd0b70c51c4b75c59f83a":{"name":"resin-sdk","version":"10.1.0-resin-config-karma-2.2.0-bb92c1e7a2dd6da0ebecd0b70c51c4b75c59f83a","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\" \"tests/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@resin.io/types-mochainon":"^2.0.1","@types/lodash":"^4.14.85","@types/mocha":"^5.2.5","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffeescript":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^3.0.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^5.2.0","mochainon":"^2.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^2.2.0","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","tslint-no-unused-expression-chai":"^0.1.3","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"bb92c1e7a2dd6da0ebecd0b70c51c4b75c59f83a","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.1.0-resin-config-karma-2.2.0-bb92c1e7a2dd6da0ebecd0b70c51c4b75c59f83a","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-k+BpxnqFADlOFEiHdE2hDH+SWE8bZIupWgqqNii80NlGm3Ta4b4N9TQ9aTJnnmi5X9PKKeYcyb8vVe3dhq288g==","shasum":"59d96def404327953d301253624a2309ba83bf8d","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.1.0-resin-config-karma-2.2.0-bb92c1e7a2dd6da0ebecd0b70c51c4b75c59f83a.tgz","fileCount":33,"unpackedSize":3981686,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0wJaCRA9TVsSAnZWagAAW2kP/iM6NOSToWsQ+FW4McJE\nepBrtKlcshZqK/K+G9QVuUrKeeQwBW7xgPPCjCYwRs0XgFErB2U/eAyaqAEP\njMatyDnIAsJpcWfDEgO8gzV/I7LcRFDQCmgIexo5dB552ArGPiNRi8ONWBRz\nGUfC3iXLTXmQApooJZwUDy7WcJz7JgWbXH8fQusr6ImZzSLwF30b7BIdtH07\nMbNFmZx49+VrwFiS/EJ4JlOWgVQvM9NwIcm1ucUAQnzL9Czt4f5Ebt3f9zK0\nV+08B9acxYm6Slt5UbsrbGY6N8XuS8xr/5aF0bw9QsgxfO3rCwrZHw2Ox53k\n6mYSdN685JLVwGCo5YFAmTnUROSY+dNaZIrnLw0RAnwuqOMMGTrZo384v9OY\nTR/ID2mfhpkIoPhfyAcp3ZooWcNupDl+890IQvYGI/W+3B+gMLANJdG6uaN8\nga8rzOP8wyY59Szn/nHY1Pfw+yZTESgj6fI6EGyX1x/UPHH5of7XxRdmKj/7\nICDL0DKnvoZlfa5pirzUmpZMnnzI6UGoBIweMtp5wK9Eg+iwhw+HEk1BUwlX\nutVcPV0xEbdY8ikiaQzCnXYRbDkiO05N8OqcRq35UlzUZMoIDtg3Nz//hPJ5\nPwI/XtQC+R3PdZIQAjHLO39MRkKT+ewajcrTiPCln1eqB3qQ9HGUQ4PZL3B0\nJqeT\r\n=VFiy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICZbYJdfVpvLjun441nZfjNMilCAM0coRXfC/gMnbvtXAiBg8VvfPpqohKZFBBlQxdA3aRjhU19XP1EgQlWwVC2Eew=="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.1.0-resin-config-karma-2.2.0-bb92c1e7a2dd6da0ebecd0b70c51c4b75c59f83a_1540555353689_0.34736617403699377"},"_hasShrinkwrap":false},"10.1.0-resin-config-karma-2.2.0-910d97d3a6d1e384f337ff886c5d36a236f5740e":{"name":"resin-sdk","version":"10.1.0-resin-config-karma-2.2.0-910d97d3a6d1e384f337ff886c5d36a236f5740e","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\" \"tests/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@resin.io/types-mochainon":"^2.0.1","@types/lodash":"^4.14.85","@types/mocha":"^5.2.5","balena-config-karma":"^2.3.1","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffeescript":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^3.0.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^5.2.0","mochainon":"^2.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","tslint-no-unused-expression-chai":"^0.1.3","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"910d97d3a6d1e384f337ff886c5d36a236f5740e","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.1.0-resin-config-karma-2.2.0-910d97d3a6d1e384f337ff886c5d36a236f5740e","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-ElArehQ4V3nY5gQjXJkOeCjpZ8bnfyVxyCGi6xVxk8Vjv1jiChOBQIs3umslt2SwYe5Sn7adD61OMyeYzjsPIg==","shasum":"488c73d0b4cff889a6f3c70da00a558e46a575bc","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.1.0-resin-config-karma-2.2.0-910d97d3a6d1e384f337ff886c5d36a236f5740e.tgz","fileCount":33,"unpackedSize":3981690,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0wZuCRA9TVsSAnZWagAAsZMP/jGLmSlFquq4gWFReFCh\nxhUEHyMFGRWD+Hyi9V7YHycvR9LsCCwFH6uVE8mWQTAVfI8EOMiCHHtc22Bw\nshCki2bgdcpgbGbVNd38lyVPAo788LOHlIrDZ5O1cbO7O29AnPoBpNVeSJ2r\neAWB8+vSoREQBDfIajWQByQ44KyRy4R7p0pyDvh8Befv/ouod80uA+oEI0wa\nZ0L8WcPSFOvzlJB6e9CvYwzrf+KnPpHey11k5r+PMuz0BtiIdDUepLLJ4MmR\nE1T1yFNq9qwk/pP3pf3+GBbXEvYI5tqIpeXIbWfRfOngD05ecQvxPIdgd3yy\nQwZA42em70QrYDq06uCi2bWHAEsCMSK+l1UvsJKyg3AdvCA0synWXHB5hcXV\n4Mr/GLd4L5EaeIS8l0jlS2oVS9G4uFUcxNCsFU2i2Z+2SPXGuCbs7xhdei5o\nwLrK0ZzFmr9vYH8uTYh+Fk5gPavDrC2mYNT6J78Lz/hvFIuhjlAaZ8XKeFGA\nmvVkGWThFWubVvRD93FP9UCsyIk7dPBbhCg64GaX084kjaDwr+4wKjuSp+hq\nY6hmkYSole2daDopH+sv120RNCtvwHFrKonvHoPB2+j0chPGdT2CvdNKT4N9\nG7i+vRBGCfh4Qd0NozPR58H3egJtEVpLXqd5JR7mCL+8QsYOwDqhT+TZiaWf\nvoAO\r\n=AtVL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3b/6xbqbxy/C4n+rL5iXB0cPe2D1WyIupq2mXPGMx/wIhAPD0AAGJSkUWLIvfeTx0rjQHduueGNQH8kYsB4MIi02J"}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.1.0-resin-config-karma-2.2.0-910d97d3a6d1e384f337ff886c5d36a236f5740e_1540556397285_0.7761922828845407"},"_hasShrinkwrap":false},"10.1.0-resin-config-karma-2.2.0-b09ec276f6ade89e11bc81a9dfa62a2bd777cb09":{"name":"resin-sdk","version":"10.1.0-resin-config-karma-2.2.0-b09ec276f6ade89e11bc81a9dfa62a2bd777cb09","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\" \"tests/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@resin.io/types-mochainon":"^2.0.1","@types/lodash":"^4.14.85","@types/mocha":"^5.2.5","balena-config-karma":"^2.3.1","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffeescript":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^3.0.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^5.2.0","mochainon":"^2.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","tslint-no-unused-expression-chai":"^0.1.3","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"b09ec276f6ade89e11bc81a9dfa62a2bd777cb09","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.1.0-resin-config-karma-2.2.0-b09ec276f6ade89e11bc81a9dfa62a2bd777cb09","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-F+3ndUP2i8wIHbcFjXrEYuqToc2og8DhX4F70ZyfjDZghPJvvpVQJ7L/0dkfst/VaBVtju4kQRloAuFt+gw6dA==","shasum":"c5db25e28cdc00a8e31a63f8fce0bf459d760a66","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.1.0-resin-config-karma-2.2.0-b09ec276f6ade89e11bc81a9dfa62a2bd777cb09.tgz","fileCount":33,"unpackedSize":3981865,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0xcACRA9TVsSAnZWagAA5SIP/Axs7RA8iDVkp93aJE/h\nO3S9byz94xKr2fmWiIpUrmvAOYQvdgnsQNYAx3ULNUWVoQBwvq1N7laLnp30\nYlyEh7NhecU81p/0nVIiYBD5duyt82sqs97ojOv3Ot+4lNFkeLBvumzXyd29\n9HzqTWVGu+4vdXqcfbJm+4Qpz56iUOpiC6sDIV/PnWjNkFOoD54mYlyVU0oa\nQH12XdA+CcBgskodTeTyqIp+TaH+qXaGW37VbaguAWLPSbXznTXspf+Hp+xl\nLfFkKVhNu1dKpmhzqDo8ldt69Gh5SbcX2zc4tUgUZ0oGaWxljWlwdgXoN7DT\n0u1QgNK0LQr8EjuOKvw4X+YxbMHZW9qPEsvYT4Dmbo95QWpIKAbZUWtJ3wui\nIGK+n2hnAFBbJFXKki99oUOHAH7WhJSpfqIPyKWpE5cTYNLP9A/0Tdxcnd79\nD7thc3DwXcVx7QM1NbLBt7yxAfYwsTu98HPYoEn16hPt0kNeUnJ0Ht9fwh/C\nl/N1ed5hdFpZwwRnjcwIoo0iINuxN/AQgGfczl3lLaUWo7x8428O9MFTzo+M\nrUGPwYq/5nb3jS4zoTirDrG9H4k7UsuvagjvNEqCQtfpjwoupCwapOSruXvN\n0HPDHiEuKHhuA+pX5pCb1OBLOp75glnB1OB37HEh0GBsLnC2WzUICTd+kUwY\n/93L\r\n=/StY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBjyKG9jy8U46kEb8eBGWAgqEzRM9sC06qluGnUvLSygAiEA2p/NP/6TwSdfE1LjT+DoxfctAZSK+jL5sX/cyueH7Ds="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.1.0-resin-config-karma-2.2.0-b09ec276f6ade89e11bc81a9dfa62a2bd777cb09_1540560639358_0.9620446778573832"},"_hasShrinkwrap":false},"10.1.0-resin-config-karma-2.2.0-d57bbf739e9d4e16e5cbd4a10e8cd61108b692c7":{"name":"resin-sdk","version":"10.1.0-resin-config-karma-2.2.0-d57bbf739e9d4e16e5cbd4a10e8cd61108b692c7","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\" \"tests/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@resin.io/types-mochainon":"^2.0.1","@types/lodash":"^4.14.85","@types/mocha":"^5.2.5","balena-config-karma":"^2.3.1","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffeescript":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^3.0.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^5.2.0","mochainon":"^2.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","tslint-no-unused-expression-chai":"^0.1.3","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"d57bbf739e9d4e16e5cbd4a10e8cd61108b692c7","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.1.0-resin-config-karma-2.2.0-d57bbf739e9d4e16e5cbd4a10e8cd61108b692c7","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-OxxJHSsLLgl2GrdXdIZXsR/JDh0nccPVR78jlo9cJiI1COo7X9mA9f3XNe3b0upUBNY4412H1LFnAynT49lMgQ==","shasum":"0d2e34f90c5ad9c443cdd853be0442745ec0880e","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.1.0-resin-config-karma-2.2.0-d57bbf739e9d4e16e5cbd4a10e8cd61108b692c7.tgz","fileCount":33,"unpackedSize":3981782,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0xm1CRA9TVsSAnZWagAA5UMP/3pXspXcfsq55FsmMvPK\njdSgbB5IktTSsJ9iHEHBc6GwBcqCWHDp6YBR48DTYzP+NevZrvxZzXdjIf3O\nxkiqhh0yP5M5Kxi3L9qlkasj+t8ZJakJjfOhy8JhZ06TfIVCzqFX178GZUh1\npAkubGtl1mZTmD36RCvGPMKYSGxSzXQBvN1V7bjMqQ/1NXjtACJT41WC03Gu\nDnOn2ZClcFzWSO5vUWTEtVMWPr2bkZP8gRscoQmIMVeY+BNcgf/0mVfmJdM3\nVP5cbRXc1PBm6TJXFaldLqUpD5iL96j7RtJr9foCWe2bfpdkO9pezK0y8bK8\nXg39x+Y4uDmYzBYz594rDWHPJZfK1tG+BnE8458DWxVz4oIJenf4rfAkND+0\nhC8BVenCsmqrDcz89450rD66CKsu9Xm12YwDycp2fq8iW6TJsz9+0OrEbhuZ\nxObyrW4Q5cUweba2Sm4eLcwpkfdwwfJNbN1w4WvcYTU65s7OvYoRSgv6+kWZ\nkLnl4e6A8wftJ+cd5sGXhkwfYNIVbwHCFzq5T57DdWhq+W3a9hFhLDmoAlFa\n+oWzgKmjq2iqmxeo99ACZRNZV7nTR/eHy2eqwHADCsEOYdI5uLYgsU17/Qxo\nTFSv1qvDA6hgzJ1rQKVsfhINuF9yHZDoXHoJisKj1C3R7XA+eSHl2v3Py9im\nMHYs\r\n=fcR0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDg9I15KcG8JNLwd++n2Pqzpn3pbc/a24EHXJ8r+9QlEgIgPhsXE378q3uSNx6NZo1wtKjtWCxyFOcjCm0R2dJoHSs="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.1.0-resin-config-karma-2.2.0-d57bbf739e9d4e16e5cbd4a10e8cd61108b692c7_1540561332718_0.4718639228377213"},"_hasShrinkwrap":false},"10.1.0-resin-config-karma-2.2.0-26b6d176f4aed6e2ae359ab7c91ff4d0ae600dd8":{"name":"resin-sdk","version":"10.1.0-resin-config-karma-2.2.0-26b6d176f4aed6e2ae359ab7c91ff4d0ae600dd8","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\" \"tests/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@resin.io/types-mochainon":"^2.0.1","@types/lodash":"^4.14.85","@types/mocha":"^5.2.5","balena-config-karma":"^2.3.1","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffeescript":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^3.0.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^2.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","tslint-no-unused-expression-chai":"^0.1.3","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"26b6d176f4aed6e2ae359ab7c91ff4d0ae600dd8","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.1.0-resin-config-karma-2.2.0-26b6d176f4aed6e2ae359ab7c91ff4d0ae600dd8","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-M3qLKfut9Ftot1I9P8pLmXi8NT5YBzEv4ahHTshKAKE9YYS1eRn/2ty1TFiCXNlcfo7e5KN22KOemz9MmmkRvg==","shasum":"82d6813edff7ca72fadea94144ff90916a52daf9","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.1.0-resin-config-karma-2.2.0-26b6d176f4aed6e2ae359ab7c91ff4d0ae600dd8.tgz","fileCount":33,"unpackedSize":3981782,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb04GrCRA9TVsSAnZWagAA8NcP+wSehyfVw4UvVImtUFu1\nOUf43A+uGArOsVqXvQ7c3KYGTkoZs0xJHLuKPNoqWidD3cLFIL6znPBdDQn9\ngEZDAGKEWkMrdo/NqwaRlP2AIWJVwiJYv/ncFruaw/wEZi594Q7N/JT28Yj1\nYNdXsd9n1S4XGK5V9VkI29kCGznYkR3d1Q4QPeIi8swFCVrrMjPBlDp+LnqX\nhQ0FbAMuV/umGa3IAipU5nqVZDy3G5tKPBQNIi4hOihUYyjzD7lDXRTF3d1V\nuSiYXYzAe8gTScuaYUoUQW3jCBbbIroqZ8/6AtUv4pT7dQLN1E2Ka7oR4W3x\nX+LoLru6CCbbFO6IlpFTLUvWgMelH7I2GSKm7PNOHWIBBEh9pTjnDJ0EEBK+\nx57si0Fz00oiA93ZQ+4d35Zj55ibIN4H3eGFUdn8Ugj43dXECTxEMa6/O5lX\nAHIPox651lnjAGqdDYeYEv1Nz81MOLJTTgPt5tjGFIofnEgKjlktJiaIqeMQ\nZhSmTKHnuBBjobAGVs0G1ZQ2aCmt2RL+7uniL7cE35kJnYMFF9WjdtDzHChA\nA7LJogRZ78sfJxz43v2uJ+qi5/zeTXipqUg9wjp1IYWEOBJ7lmQnv6pcc2Bi\naCy3UpEFRfJEdd68OLe0xBhuoKw1JtFDIbNTVpteBzCVj6ewL4NJUxAaQwtt\nxkGO\r\n=1mUZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzza0ArtdgmRw5tPMjb50piF5OO38ycW7ypKQpeSyuDwIgDrAxq4QhS2crJ9feLE6Q7iXMhx3R7SKc98cSv52Li5w="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.1.0-resin-config-karma-2.2.0-26b6d176f4aed6e2ae359ab7c91ff4d0ae600dd8_1540587946436_0.07257588385512359"},"_hasShrinkwrap":false},"10.1.0":{"name":"resin-sdk","version":"10.1.0","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\" \"tests/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@resin.io/types-mochainon":"^2.0.1","@types/lodash":"^4.14.85","@types/mocha":"^5.2.5","balena-config-karma":"^2.3.1","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffeescript":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^3.0.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^2.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","tslint-no-unused-expression-chai":"^0.1.3","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"f9a9ebf7a9f17517f9a71ecf77dadb97b0a536a6","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.1.0","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-3i+Dm4nTYdY4NuaANgenPdscc7koaY7zfw1KmiMVk99E/dITZgzUVzPLIj08cEpspdclxb82jyjWSlfSwdZ0bQ==","shasum":"72080faf1e5d72a91b1574f122b2375e66c1138e","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.1.0.tgz","fileCount":33,"unpackedSize":3981716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1t7wCRA9TVsSAnZWagAAuo4P/jGv4u3HsBOqSP7MvhUC\nqIKZs+HzcnjeGZo4RXrG0lESivMq4ydVxmdjSW9oxdafI0i5/lN8GgsSBqGM\nUyJdZkcJ7HP2geLSGU7ZlfzqQHrKYE+Me4oLXNPr0EgREk+LsBL1Yj4yN4uW\n1fh8DO6KQV5MgBUp1tFJWjRDTIryCSpjJBjLJRIGJIyxQRvdrjYUZLqtd6Qr\nrr2A5DXLHVb2q27S0DC1FHHiASygd8tPH/xfIqUHiCOkskywAoNyWGHuNUmT\nVK2C0SIIH/YIBDVmdhsliimYUKWX3OyflmdPNbL7POt1mjlssCzVzIzdNDcO\nYyZw+9LjkB1twIdxwhef8xzJbIssZkA9YQj9wWjzcwjLD6ufN0HqkDdIwo7c\namiF8fhf/1+1jCulacQMttgjA4RueXFfCQ7ik8QMrKGqufi0s/ePKHrEvNJK\nhW1b1+8yuHWfKApLG/JbtPk7LXiqRm7sdYlIh7mIR/hoR6cG/yRsiBjgYnCK\nX99Y4qksUtCabcnmw3mtgp3HZIMkiHwMi9qDnhcXqDXAKTV607eSWLPhM3uN\n4eQOKecfhyDz2m2KmFwk9QPbIb8rhbIjXjN4mq6KeZDOqwNzg/65tsbrnQPQ\nduKDjaHA/DmTyCDnLDiuZo4NQ/Kw6fzCCV5gMly7WoxPt3N6QOT4ZMLXI5xB\nEqoU\r\n=9nH8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHxBOwkRROhhemhtGLotAH0EWIoLLtA2uSQb4EivohXEAiAeKmqS8KNfFnJo6kO3GhmhCaBw6tG/HkK+zk2wrC1AQg=="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.1.0_1540808431817_0.8959762923401393"},"_hasShrinkwrap":false,"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"11.0.0-balena-sdk-631921028c1fc35f131f9b336b34d74a85d18b59":{"name":"resin-sdk","version":"11.0.0-balena-sdk-631921028c1fc35f131f9b336b34d74a85d18b59","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\" \"tests/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@resin.io/types-mochainon":"^2.0.1","@types/lodash":"^4.14.85","@types/mocha":"^5.2.5","balena-config-karma":"^2.3.1","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffeescript":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^3.0.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^2.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","tslint-no-unused-expression-chai":"^0.1.3","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"631921028c1fc35f131f9b336b34d74a85d18b59","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@11.0.0-balena-sdk-631921028c1fc35f131f9b336b34d74a85d18b59","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-CgmbdfObLf1ePhGHdkeFi9o92f3zVb+0k+5ktp3DNZXU82ZKf2e1P3rmy/GWVFlC2CIBXwnsetMTzPKYEu1s6w==","shasum":"22f3de571fdfb76e7df09f1eb08b65302a477000","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-11.0.0-balena-sdk-631921028c1fc35f131f9b336b34d74a85d18b59.tgz","fileCount":33,"unpackedSize":3981735,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1xZPCRA9TVsSAnZWagAA57QP/A92A8XQ93rKUmXBOjaM\n1RulgXRviAHifq2tIPbhSaC9XAoikaNe9shZhRVW3QS5Nky50Vs96qs/vnOX\nmDcnGurIsgJV5omSBHRT/PUXY98fGeXsghPwjkM8KJ+D6MsDMT64RhHpH1ug\nxdKAVsjluNcfkEuSeJzHSO64MC1ldvWZ24YeCzZZSJVZAsZU7nc2LsaL0hoH\nbONrYVTs6Q/ecy0IvYaZmJbP5Mk52hVNaB1AE2hGnZj5sCsoUYh0TQ4XNL0p\nMxCX7wzDpBxBIEMXuB6zqYmcuuIOXLqrUy6yxpYhBFWdj6sMSdyx/zOJQq63\n/Wal3VvQ9DDax95KtniL7GnwRe6/acd1YHZZvT2eURGG1KTJ87rDik9d5ieJ\nqHPP9gENF5a1a3KufypDkMAcjpJVrbZeWPjozX7n7dxjT8jYKcAlYzW7lZG2\nrtSdCvctRi0ypPywG8VNcvABakW7XMZiYaE+KseqGy+pOxELn5MbYGEWx5XW\nG8/8HS6oTJS4HMos3Hl7Pu+yYCgRwxYts9Bdfen9fAkVtRMlGbrY3SIF2xqd\nMV/6HdJo7XkG7jl+9aoOFYFXEmT9lw+m41y+zvCtXGuG8rPcsMy3/wjObPO9\niU+tS7oBFjGJdevz/hUkIOlzQJAGkX10mfsWFiaKrXWmgY32GOpVDsLi0DYH\niqmd\r\n=kbSV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWUoblykwpXuJFpMVS+Jd871uL9+leK4v3qciJQ354/wIga8cKoJtTILRxOeOT/1UBa92e9jdEKBtZylQHCMbTeC0="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_11.0.0-balena-sdk-631921028c1fc35f131f9b336b34d74a85d18b59_1540822606398_0.01816546790716611"},"_hasShrinkwrap":false},"11.0.0-balena-sdk-0cfa7786a38066601e1eba76bc393c271b5ca40e":{"name":"resin-sdk","version":"11.0.0-balena-sdk-0cfa7786a38066601e1eba76bc393c271b5ca40e","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\" \"tests/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@resin.io/types-mochainon":"^2.0.1","@types/lodash":"^4.14.85","@types/mocha":"^5.2.5","balena-config-karma":"^2.3.1","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffeescript":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^3.0.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^2.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","tslint-no-unused-expression-chai":"^0.1.3","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"0cfa7786a38066601e1eba76bc393c271b5ca40e","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@11.0.0-balena-sdk-0cfa7786a38066601e1eba76bc393c271b5ca40e","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-tr/0I0hLX80ehSI9Y1et2NcjkEnRfogSMBWwgyOwlKEB4jPvAz9JRZ9eHLAB6fQLaa4D8CHqKy7Bybq7JRRNXA==","shasum":"624d977ac4dadf1bfbd5adbaccd53dacce58621e","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-11.0.0-balena-sdk-0cfa7786a38066601e1eba76bc393c271b5ca40e.tgz","fileCount":33,"unpackedSize":3981735,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1yqECRA9TVsSAnZWagAAEGwP/2YsP33gan2G5gi6IFER\nXFQRQ+4wPp+DTpyjDdTsXuLfgUnCkkEg/FZsfau4NFuIAzguF/vJGfd28MDo\n4RoTE+MEp6C6YNLsQScoDLesNeY8LgLAbV/6Le7FT91hCF0xHizUp+p1lJnm\ngiiSgm8OSm5z/Hr1p+WJ8fxlORDA4aHa2m5ZjrHpEbCVXov+waI6l0xglyqF\nCFnR3rqvOlpD1yrrwY4jo5lff+7v9IPR4f8LzjUS+eLGj9I2n5tTJXS9DzC4\ndt605UViz2OQyog8vDNAmvgnnvhtdvETmhHxaBNh8IxQjlztnIbWdDvoM2Dn\nJEKLknsdrH/kLRxceDCmERAipxL+hA6a4k4gOcSAnIlJW3J7Aa2g2x4+wiRA\noozemaS3YCwaaJKH+n29aUv9KG9ERZzB5Xj61gejxtC9XBMu04oYwlotbA7M\nydBv5EKxyfO2lgmaxKmPc44qzVGECLg0jkPjnGllaaRjG2SWse0KVbZsnkIH\nwgt6MKXHw2vkEGEMWy9dwGwi9WWRUBY0dcliG0R1UWf+Iqa4evudEhn9Jqvi\njlNczZ7GgwWBbCGq6n7xsbq5YoZlHryYobLaKFQeWwHzUtzgCObD9gFl4oQD\n3VxUzDxEgAFpOBovvDxuHDdpLtEOSO8Y4uqu6Kj3M3yg4m8NUurjOHx2ttu4\nrI6m\r\n=2suo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWkdHOSIt7SyciSajepL7nlbRByBN7JIOEDvLfedeCcwIgEhDyMuZhnXUpiJ3XwSwouDzn3ENgknaNUeUJgPWFIGo="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_11.0.0-balena-sdk-0cfa7786a38066601e1eba76bc393c271b5ca40e_1540827779216_0.2600939988107571"},"_hasShrinkwrap":false},"10.1.1-588-rename-deprecation-1d7c820c84776535a7fc8ec632cca69210131732":{"name":"resin-sdk","version":"10.1.1-588-rename-deprecation-1d7c820c84776535a7fc8ec632cca69210131732","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\" \"tests/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@resin.io/types-mochainon":"^2.0.1","@types/lodash":"^4.14.85","@types/mocha":"^5.2.5","balena-config-karma":"^2.3.1","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffeescript":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^3.0.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^2.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","tslint-no-unused-expression-chai":"^0.1.3","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nIn order to run the Resin SDK test suite, set the following environment variables from an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The main account email\n- `RESINTEST_PASSWORD`: The main account password\n- `RESINTEST_USERNAME`: The main account username.\n\nYou also have to provide the following environment variables from an account that doesn't yet exists:\n\n- `RESINTEST_REGISTER_EMAIL`: The email of the account to register.\n- `RESINTEST_REGISTER_PASSWORD`: The password of the account to register.\n- `RESINTEST_REGISTER_USERNAME`: The username of the account to register.\n\nIn order to test the billing methods for a paid account, you also have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the test plan.*\n\nYou can also, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"1d7c820c84776535a7fc8ec632cca69210131732","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.1.1-588-rename-deprecation-1d7c820c84776535a7fc8ec632cca69210131732","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-8xVZYMI2B0dLEazGfE5ri225yRJzuY3eDwIDKoy1nPJUNtxaxskeukUfuH9OfpYaBZPVHx4PF3OnfTPiNKI4iw==","shasum":"92ab5d6673cd0a2782dbbe7e5dccb06320c561ac","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.1.1-588-rename-deprecation-1d7c820c84776535a7fc8ec632cca69210131732.tgz","fileCount":33,"unpackedSize":4055029,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb10ZWCRA9TVsSAnZWagAAWtsP/A8eC71GCXSQaKMIwS/9\niefrBdFOjIMR0Dq/V78Zo4bOJQB6kf7WHrZcH12JLi6J+wLJ20pzs3rzPa2H\np73JjIiji6Gr59MYLKllqzqUk9Gu7qg9DUpLs7c/Cd0E6xywZSYfQ7z+piva\n52FrexSh0ZfN/SzPtSUH15xZL+yCb+dt8/ZyAi11tXZBDVs0a2jY9PV3MdRo\nO6cVGixPslkdiYF2e2EJ2h/AmHjUaT9Sr4zI91oPImlq92dlYXO//e8DT7zK\naFIRUy6+0fZ6uMciKyJy11eNFN5DHoXNw2Y4TpMar1N4z+KwVMgW6qqL4xI6\nO0vY8KU07PcgxK+NGga/Uo/jL1SvBD5+n9J6ABMns4P1P2KpIWZwIjpiPAxR\nBSmnseFMtBCBcjhXryIkvHRcAohb47c9XYoAKCXjFp85mF9pA6Af805TCnEl\nu7RL80XaIHCsekZlFh+V+dezHsyj03YbwhJtHvj9qK70goeZ0bnV+cMWy3+c\n9pQX43jOfqWTq7Dh3yN02HXnWq0ZWYqInby5orRC+bQO96YFzUH89dEGv3Vq\nhoWcWk+X+OxODrzUfemyY+qieg4GyfdfChVy3gSyYPweZPdUBjay+xftpRvm\nYVswdlcKSdWLrJmI6cbKLvopPX8FXPRqgODM/bB/EmPLmZ1MHAHeBMfJ/Iqe\neFD/\r\n=2kIf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDDYzvRDysZzL0L8wDyxtH54xtciA4qC01zETqdpcsGyAiEAkFapKk3y3kBwWtpjFG+x9jA4T6HYE8vy5aK6fs79nxw="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.1.1-588-rename-deprecation-1d7c820c84776535a7fc8ec632cca69210131732_1540834901658_0.8575605466369178"},"_hasShrinkwrap":false},"10.1.1":{"name":"resin-sdk","version":"10.1.1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\" \"tests/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@resin.io/types-mochainon":"^2.0.1","@types/lodash":"^4.14.85","@types/mocha":"^5.2.5","balena-config-karma":"^2.3.1","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffeescript":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^3.0.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^2.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","tslint-no-unused-expression-chai":"^0.1.3","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"gitHead":"dcd52b112a147571cb8a07ab244fe2e521c58d89","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.1.1","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"dist":{"integrity":"sha512-nrXmReX3C7h5aVaY4nZPWe/VUEnqtqe1LLaeSMZAuxY2q6d40KpNvmNmunzsQ1xiq5Q2sPRQk6SONY5s1SWWVQ==","shasum":"e8b2c69ebe326c6a26e2e53aecf63e2769d724ae","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.1.1.tgz","fileCount":33,"unpackedSize":4054965,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb11G/CRA9TVsSAnZWagAAcpkP/1MqReIMf1bavRAWgsNs\nJM7NxSoF1GndU6sIJ19U/exP1HQiwEBRmyYJ1EQUfHEiIEI04UOVBCkAnSVI\n+smjJ/4UPzM0agOBdtMPVcTcMPX5mVmsbYgbdg6O560X8iy3cifOtRjrnJoh\n/x6B4LSPjWoLrtp9sp4F1XOr2E9/AskhKRaOlfLR/i2alOtW0GaASE5C5Yh+\nYChraxtSMaPKg1hllWUTC62Kr+hc59lt6xP4IwuC6dmTsCCmchG/aQ4UvTKq\n7tjOx0CsiE/6ZaEBACBXr9TjOTFdwcFLgowrnHUiKKPafLkoaKUMoBocpdBD\ndTKZeEa++Ea3LHogkX0UtCmj/74RDTt/w4/7RO+K7p6FAldYmFcicyNfiRHq\nIvJ4PQjqcGUaYz2/AA/bjpSvXdU25tgb2Whi1KSzuWQ4dRuGQe3fOWc8OHew\nhMyy+rBHYIarPjbFEawMMNByi0cJSsFllCkcGE4A9lXb0Q09aP78NhNwb3G2\n/YN+Ji1V8QDvk0vIk7kqZH2/JBkPZx8AbE5wauQghmG4gosty6TrHfDmVlVr\nooD1XnemL2sNpraVeKYwx55mIwm8o5MClGksakP4zw9eo8hLP5re/R9PpwPu\n065KQc9No27Q/er8pJmwqywD7kAlnE/KzZeB4LdJ8kmtt91wo45IUb/KfOFq\nuwD2\r\n=LpM6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCilealwL+AD0/GRhgyvSAh0C96VpfvETEwoH07miX9VQIhAJIVww++S09qWjKMO96t7tBesMckiW1Hs+kq7Q55VhSL"}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"},{"email":"accounts+npm-ci@resin.io","name":"resin-ci"},{"email":"accounts@resin.io","name":"resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.1.1_1540837822757_0.5510432183377856"},"_hasShrinkwrap":false,"deprecated":"resin-sdk is deprecated, please use balena-sdk instead"},"10.1.0-no-env-credentials-0c0240a7d803a95f09e0e50b7ed60c79747820d1":{"name":"resin-sdk","version":"10.1.0-no-env-credentials-0c0240a7d803a95f09e0e50b7ed60c79747820d1","description":"The Resin.io JavaScript SDK","main":"build/resin.js","types":"typings/resin-sdk.d.ts","homepage":"https://github.com/resin-io/resin-sdk","repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"keywords":["sdk","resin","resin.io","iot","devices"],"directories":{"test":"tests"},"scripts":{"clean":"rimraf build","test":"npm run build && npm run test:all","test:all":"npm run test:node && npm run test:browser","test:node":"gulp test","test:browser":"karma start","build":"npm run lint && npm run clean && tsc && gulp build && npm run docs","docs":"jsdoc2md \"build/**/!(resin-browser*.js)\" > DOCUMENTATION.md","ci":"npm test && catch-uncommitted","coffeelint":"coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"","tslint":"tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\"","lint":"npm run prettify && npm run coffeelint && npm run tslint","precommit":"lint-staged","prepublish":"require-npm4-to-publish","prepack":"npm run build","prettify":"prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"","watch":"npm run build && watch \"npm run lint\" \"lib\" \"tests\""},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"license":"Apache-2.0","engines":{"node":">=6.0"},"devDependencies":{"@types/lodash":"^4.14.85","browserify":"^14.3.0","catch-uncommitted":"^1.0.0","chai-samsam":"0.0.2","coffee-script":"1.12.5","dotenv":"^4.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-insert":"^0.5.0","gulp-mocha":"^4.1.0","gulp-tap":"^1.0.1","gulp-typescript":"^3.2.3","gulp-uglify":"^3.0.0","gulp-util":"^3.0.4","husky":"^0.14.3","js-polyfills":"^0.1.33","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-env-preprocessor":"^0.1.1","lint-staged":"^5.0.0","mocha":"^3.0.0","mochainon":"^1.0.0","prettier":"^1.8.2","readable-stream":"^2.3.6","require-npm4-to-publish":"^1.0.0","resin-config-karma":"^1.0.4","rimraf":"^2.6.1","rindle":"^1.2.0","run-sequence":"^1.1.0","superagent":"^3.0.0","tmp":"^0.0.31","ts-node":"^3.3.0","tslint":"^5.8.0","tslint-config-prettier":"^1.10.0","typescript":"2.6.2","uglify-es":"^3.3.9","vinyl-source-buffer":"^1.1.1","watch":"^1.0.2"},"dependencies":{"@types/bluebird":"3.5.21","@types/common-tags":"^1.4.0","@types/node":"^8.0.53","abortcontroller-polyfill":"^1.1.9","bluebird":"^3.3.1","common-tags":"^1.8.0","lodash":"^4.4.0","memoizee":"^0.4.9","moment":"^2.18.1","ndjson":"^1.5.0","promise-memoize":"^1.2.0","resin-auth":"^2.0.0","resin-device-status":"^1.0.1","resin-errors":"^2.13.0","resin-pine":"^7.0.0","resin-register-device":"^5.0.0","resin-request":"^9.3.1","resin-settings-client":"^3.5.2","semver":"^5.3.0"},"lint-staged":{"*.ts":["prettier --write","tslint -t stylish"]},"readme":"Resin SDK\n=========\n\n> The official JavaScript [Resin.io](https://resin.io/) SDK.\n\n[![npm version](https://badge.fury.io/js/resin-sdk.svg)](http://badge.fury.io/js/resin-sdk)\n[![dependencies](https://david-dm.org/resin-io/resin-sdk.svg)](https://david-dm.org/resin-io/resin.sdk.svg)\n[![Build Status](https://travis-ci.org/resin-io/resin-sdk.svg?branch=master)](https://travis-ci.org/resin-io/resin-sdk)\n[![Build status](https://ci.appveyor.com/api/projects/status/qbsivehgnq0vyrrb/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-sdk/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide developers a nice API to integrate their JavaScript applications with Resin.io.\n\nInstallation\n------------\n\nInstall the Resin SDK by running:\n\n```sh\n$ npm install --save resin-sdk\n```\n\nPlatforms\n---------\n\nWe currently support NodeJS (6+) and the browser.\n\nThe following features are node-only:\n- OS image streaming download (`resin.models.os.download`),\n- resin settings client (`resin.settings`).\n\nIn Node you can simply `require('resin-sdk')`, but in the browser things are more complicated. Resin-SDK provides a bundled single file for browsers, which allows you to include a single file with all dependencies included, available as [resin-browser.min.js](https://unpkg.com/resin-sdk/build/resin-browser.min.js) (or [resin-browser.js](https://unpkg.com/resin-sdk/build/resin-browser.js) if you'd like the much larger unminified version). This uses the [UMD format](https://github.com/umdjs/umd), and will register itself as either a CommonJS or AMD module called `resin-sdk` if possible, or create a `resinSdk` global if not.\n\n### Bundling for browsers\n\nIf you're using webpack, browserify, or a similar tool then you probably want to bundle the Resin SDK into your application yourself, rather than using the pre-built `resin-browser.js` bundle. If you do that, you should be aware that you may pick up some dependencies that are actually unnecessary in the browser, because they're only used in Node environments. You can safely exclude these dependencies, if you're not using them yourself, and significantly reduce the size of your resulting bundle.\n\nIn the browser Resin-SDK doesn't use the following dependencies:\n\n* fs\n* path\n* resin-settings-client\n* node-localstorage\n\nFor the future we're looking at ways to automatically exclude these in downstream bundles. See [#254](https://github.com/resin-io/resin-sdk/issues/254) for more information.\n\nDocumentation\n-------------\n\nThe module exports a single factory function. Use it like this:\n\n```\nvar resin = require('resin-sdk')({\n\tapiUrl: \"https://api.resin.io/\",\n\tdataDirectory: \"/opt/local/resin\"\n})\n```\n\nWhere the factory method accepts the following options:\n* `apiUrl`, string, *optional*, is the resin.io API url. Defaults to `https://api.resin.io/`,\n* `imageMakerUrl`, string, *optional*, is the resin.io image maker url. Defaults to `https://img.resin.io/`,\n* `dataDirectory`, string, *optional*, *ignored in the browser*, is the directory where the user settings are stored, normally retrieved like `require('resin-settings-client').get('dataDirectory')`. Defaults to `$HOME/.resin`,\n* `isBrowser`, boolean, *optional*, is the flag to tell if the module works in the browser. If not set will be computed based on the presence of the global `window` value,\n* `debug`, boolean, *optional*, when set will print some extra debug information.\n\nSee the JSDoc markdown documentation for the returned `resin` object in [DOCUMENTATION.md](https://github.com/resin-io/resin-sdk/blob/master/DOCUMENTATION.md).\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io/resin-sdk/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\n### API Url\n\nYou can, optionally, set the `RESINTEST_API_URL` environment variable in order to run the tests using a different API backend (eg: `https://api.resinstaging.io`).\n\n### Billing\n\nIn order to test the billing methods for a paid account, you have to configure the following environment variables:\n\n- `RESINTEST_PAID_EMAIL`: The email of the paid account.\n- `RESINTEST_PAID_PASSWORD`: The password of the account.\n\n*Note: The paid user's `account billing code` should be set to `testdev` so that it's tested against the proper plan.*\n\n### Avoiding rate limiting errors\n\nWhile developing you might end up in a situation that the API returns rate limiting errors.\nThat's probably caused by the new user signups that each run of the test suit does.\nYou can avoid those errors to some extend by specifying a pre-existing **empty** user account to run the suit against.\nIn order to do so, set the following environment variables for an account that exists and doesn't have a billing account code:  \n**WARNING: This will delete all applications and public keys of the test user**\n\n- `RESINTEST_EMAIL`: The test account email\n- `RESINTEST_PASSWORD`: The test account password\n- `RESINTEST_USERNAME`: The test account username.\n\n### Persisting ENV configuration\n\nYou can persist these settings by putting them all into a `.env` file in the root of this repo, in\n[dotenv](https://www.npmjs.com/package/dotenv) format (`KEY=VALUE\\n`). This will be automatically detected and used in the tests.\nMake sure you don't accidentally commit this file (`.env` by default is gitignored, so hopefully this should be difficult).\n\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io/resin-sdk/issues](https://github.com/resin-io/resin-sdk/issues)\n- Source Code: [github.com/resin-io/resin-sdk](https://github.com/resin-io/resin-sdk)\n\nBefore submitting a PR, please make sure that you include tests, and that the linter runs without any warning:\n\n```sh\n$ npm run lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"0c0240a7d803a95f09e0e50b7ed60c79747820d1","bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"_id":"resin-sdk@10.1.0-no-env-credentials-0c0240a7d803a95f09e0e50b7ed60c79747820d1","_nodeVersion":"10.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-0npfX6jcOt3Qk59YHuh7MXuqjRORgF8VuhsAzzeW4PC4veqRerAMYrKM7R9TODEk41BxS19jJ50VQdGObMWFyw==","shasum":"1a64dea9cd1510396cf983e58df1b5f46c39505e","tarball":"https://registry.npmjs.org/resin-sdk/-/resin-sdk-10.1.0-no-env-credentials-0c0240a7d803a95f09e0e50b7ed60c79747820d1.tgz","fileCount":33,"unpackedSize":3997545,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0eELCRA9TVsSAnZWagAAgvIP/3zGFH4LdG21QwYJplPv\nMeYJ8AMibtB50addtjB361UEbkwPefOxo2/AFLDkJg/X+nT4UIGgk9cro3wV\n8464ownl8dBWPvV5uhZyFoAuH0wDWmvrTr9qQYGZUVp34bcJTs1JJUvQbPhn\n5PihxnQ45SrpHb3Vn79SEm6kdeju/AMm7D86Rf79bsukZO14vUPzCuT+gvgM\nUpn+kFAhHG8ZsDxH38KUF8Zog75cMDthSoF3wAqjudULkveZoGtrYdXoVdbx\nnJqGcFLD/0AdPQZQmtjB2Pz+mnpgloTss/KAGxWsckM6eK2Bluwo2HGF6OiE\n3EmF7GCPg9ClSBfIc4jLUi/hF2xgJIkK/A+3W2QVMCwfhGnHVv8Z4P9kesaZ\nAz1oIkAzuTNd8sZzAFkvh9zbiXeepl2p4cAjVzwB0Y/PP5KASV60k40ceFdd\n+36gIbWpiZkx2BbzHIaoBuDwhoQhuwG3fXkCcPDFChn1cg8djA/debEX0tlo\nww5mKNnvJB5CvTkkqZP+lOk+nMBs8sUTmduZjXTbQzEgLWjXRBoTXuNfC2BT\ng5MsUrRYlIU/QOOpqEbmchZvsG8d5pFijzpi4Mf8H95PNulXp7aEZc+rrJpw\nP74osv8ciGp5x9R0njlPUM2k78HjFLvgmLnXVjz7/WJbaAXlMI1y0nbVzSl+\nGE+c\r\n=IRzN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEvfmiC9hrDeKkyilJUaqCmF8eP2loRGnL2yYxk2o6QKAiEAx4Swysjd1G83+3ebughGC/22Cid68bB7wky70kLWQ8o="}]},"maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-sdk_10.1.0-no-env-credentials-0c0240a7d803a95f09e0e50b7ed60c79747820d1_1557258506476_0.7831590600012335"},"_hasShrinkwrap":false}},"readme":"","maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"time":{"modified":"2022-06-26T11:49:42.590Z","created":"2015-03-03T17:13:49.360Z","0.0.1":"2015-03-03T17:13:49.360Z","0.0.2":"2015-03-09T15:47:23.238Z","0.0.3":"2015-03-11T18:30:09.325Z","0.0.4":"2015-03-16T13:16:13.048Z","0.1.0":"2015-03-18T18:28:21.494Z","1.0.0":"2015-03-19T15:42:19.177Z","1.1.0":"2015-03-19T19:54:15.590Z","1.2.0":"2015-03-23T12:16:48.058Z","1.2.1":"2015-04-21T15:14:52.293Z","1.3.0":"2015-04-27T14:32:20.297Z","1.3.1":"2015-04-27T14:49:00.370Z","1.3.2":"2015-04-28T12:43:22.194Z","1.3.3":"2015-04-29T18:05:41.193Z","1.3.4":"2015-04-29T18:37:50.058Z","1.4.0":"2015-05-05T20:10:12.741Z","1.4.1":"2015-05-07T14:42:05.306Z","1.4.2":"2015-05-11T16:42:56.427Z","1.4.3":"2015-05-11T17:38:54.341Z","1.5.0":"2015-05-15T12:26:52.573Z","1.5.1":"2015-05-18T16:53:08.785Z","1.6.0":"2015-05-20T17:13:17.826Z","1.7.0":"2015-05-28T12:49:06.649Z","1.7.1":"2015-05-28T16:15:31.046Z","1.7.2":"2015-05-28T16:20:56.162Z","1.7.3":"2015-05-28T16:30:38.266Z","1.7.4":"2015-06-03T17:36:48.225Z","1.8.0":"2015-06-08T21:55:27.724Z","2.0.0":"2015-06-29T18:48:56.234Z","2.1.0":"2015-07-01T12:21:43.547Z","2.2.0":"2015-07-03T16:01:40.646Z","2.3.0":"2015-07-27T14:22:31.753Z","2.3.1":"2015-07-27T17:19:03.517Z","2.4.0":"2015-08-10T17:27:07.189Z","2.4.1":"2015-08-17T12:37:37.121Z","2.5.0":"2015-08-24T12:36:15.574Z","2.6.0":"2015-08-25T14:35:24.583Z","2.6.1":"2015-08-25T17:17:40.658Z","2.6.2":"2015-08-28T19:39:59.162Z","2.7.0":"2015-09-01T21:27:21.455Z","2.7.1":"2015-09-07T06:42:47.814Z","2.7.2":"2015-09-07T08:13:48.203Z","2.7.3":"2015-09-07T14:45:54.687Z","2.8.0":"2015-09-24T14:33:10.023Z","2.8.1":"2015-10-12T12:28:06.211Z","3.0.0":"2015-10-12T12:31:11.639Z","4.0.0":"2015-10-21T12:06:53.363Z","4.1.0":"2015-11-11T18:50:02.481Z","4.1.1":"2015-11-12T11:45:17.083Z","4.1.2":"2015-11-16T01:59:36.539Z","4.1.3":"2015-11-24T15:06:45.276Z","5.0.0":"2016-01-20T04:24:51.061Z","5.0.1":"2016-01-21T14:06:22.643Z","5.1.0":"2016-01-26T16:08:32.481Z","5.2.0":"2016-02-29T17:17:33.037Z","5.3.0":"2016-04-26T12:39:52.527Z","5.3.1":"2016-05-17T17:35:35.522Z","5.3.2":"2016-06-09T13:03:45.435Z","5.3.3":"2016-06-15T15:21:04.920Z","5.3.4":"2016-07-06T12:57:32.398Z","5.3.5":"2016-07-26T16:24:43.336Z","5.3.6":"2016-09-26T14:04:20.527Z","5.4.0":"2016-10-27T14:53:34.052Z","6.0.0-beta1":"2017-01-11T13:21:41.495Z","6.0.0-beta2":"2017-01-13T13:31:01.938Z","6.0.0-beta3":"2017-02-24T11:47:54.333Z","6.0.0-beta4":"2017-02-27T15:42:21.076Z","6.0.0-beta5":"2017-03-10T07:03:11.683Z","6.0.0-beta6":"2017-03-22T09:59:11.931Z","6.0.0-beta7":"2017-03-22T21:58:00.067Z","6.0.0-beta8":"2017-04-03T13:15:28.663Z","6.0.0-beta9":"2017-04-03T22:17:27.260Z","6.0.0-beta10":"2017-04-06T18:54:51.741Z","6.0.0":"2017-04-07T16:40:58.787Z","6.0.1":"2017-04-12T19:01:06.815Z","6.2.0":"2017-05-02T14:25:31.516Z","6.3.0":"2017-05-11T10:45:37.182Z","6.3.1":"2017-05-11T13:33:15.147Z","6.4.1":"2017-05-24T20:04:35.845Z","6.5.0":"2017-06-30T19:31:22.446Z","6.6.0":"2017-07-05T08:54:47.291Z","6.6.1":"2017-07-10T14:16:33.988Z","6.7.0":"2017-07-20T13:42:14.952Z","6.7.1":"2017-07-27T14:55:10.258Z","6.8.0":"2017-08-01T08:15:07.244Z","6.9.0":"2017-08-11T12:53:04.775Z","6.10.1":"2017-09-06T08:22:02.072Z","6.11.0":"2017-09-06T14:36:28.452Z","6.11.1":"2017-09-06T18:39:51.459Z","6.12.0":"2017-09-08T12:29:37.892Z","6.12.1":"2017-09-11T17:09:53.359Z","6.13.0":"2017-09-12T14:37:43.025Z","6.14.0":"2017-09-12T17:49:03.503Z","6.14.1":"2017-09-19T11:53:05.303Z","6.14.2":"2017-09-21T15:41:38.502Z","6.14.3":"2017-09-26T14:10:10.240Z","6.14.4":"2017-09-26T18:08:37.736Z","6.14.4-publish.test":"2017-09-27T10:05:37.522Z","6.14.5":"2017-09-27T12:16:50.318Z","6.14.6-test.publish":"2017-09-27T13:00:12.800Z","6.14.6-test.publish2":"2017-09-27T13:14:51.814Z","6.14.6-test.publish3":"2017-09-27T13:26:54.236Z","6.14.6-test.publish4":"2017-09-27T13:37:28.099Z","6.14.6-test.publish5":"2017-09-27T13:46:09.047Z","6.14.6-test.publish6":"2017-09-27T13:51:01.375Z","6.14.6-test.publish7":"2017-09-27T13:58:25.527Z","6.14.6-test.publish8":"2017-09-27T14:29:47.232Z","6.14.6-test.publish9":"2017-09-27T14:31:11.346Z","6.14.6-test.publish10":"2017-09-27T14:42:21.383Z","6.14.6-test.publish11":"2017-09-27T14:58:06.114Z","6.14.6":"2017-09-28T10:57:03.103Z","6.14.8":"2017-10-06T07:40:39.894Z","6.15.0":"2017-10-12T10:25:19.635Z","7.0.0":"2017-10-12T16:20:20.702Z","7.0.1":"2017-10-17T16:53:42.797Z","7.0.2":"2017-11-28T18:44:31.951Z","7.0.3":"2017-11-29T10:04:12.243Z","7.1.0":"2017-11-29T13:40:20.770Z","7.2.0":"2017-12-19T18:49:23.817Z","7.2.1":"2017-12-21T11:20:49.813Z","7.2.2":"2017-12-21T18:08:47.126Z","7.2.3":"2017-12-22T10:58:00.202Z","7.2.4":"2018-01-05T17:42:41.629Z","8.0.0":"2018-01-08T18:28:17.977Z","8.0.1":"2018-01-10T16:01:40.224Z","8.0.2":"2018-01-11T16:16:45.316Z","8.0.3":"2018-01-18T00:51:44.340Z","8.1.0":"2018-01-18T16:19:13.407Z","9.0.0-beta1":"2018-01-20T22:31:10.491Z","9.0.0-beta2":"2018-01-23T11:46:49.769Z","9.0.0-beta3":"2018-01-24T10:06:52.796Z","9.0.0-beta4":"2018-01-24T11:26:03.672Z","9.0.0-beta5":"2018-01-24T12:30:25.023Z","9.0.0-beta6":"2018-01-24T13:19:50.811Z","9.0.0-beta7":"2018-01-29T18:26:44.860Z","9.0.0-beta8":"2018-02-02T12:16:24.166Z","9.0.0-beta9":"2018-02-12T09:56:57.480Z","9.0.0-beta10":"2018-02-12T13:11:31.080Z","8.1.4":"2018-02-13T18:41:41.652Z","8.1.5":"2018-02-14T09:23:31.678Z","8.2.0":"2018-02-14T12:38:34.634Z","9.0.0-beta11":"2018-02-15T11:35:54.314Z","9.0.0-beta12":"2018-02-15T12:30:54.207Z","9.0.0-beta13":"2018-02-15T15:13:23.714Z","9.0.0-beta14":"2018-03-07T14:22:23.607Z","9.0.0-beta15":"2018-03-22T13:43:18.802Z","9.0.0-beta16":"2018-03-23T12:37:05.945Z","9.0.0-beta17":"2018-04-09T16:45:44.707Z","9.0.0-beta18":"2018-04-19T12:37:42.281Z","9.0.0-beta19":"2018-05-07T13:35:41.957Z","8.2.1":"2018-05-09T15:33:38.595Z","9.0.0-beta20":"2018-05-11T14:54:18.296Z","9.0.0-beta21":"2018-05-14T07:17:25.881Z","9.0.0-beta22":"2018-05-16T15:49:26.009Z","9.0.0-beta23":"2018-05-16T17:12:41.063Z","9.0.0-beta24":"2018-05-24T11:59:38.055Z","9.0.0-beta25":"2018-05-31T09:40:46.766Z","9.0.0-beta26":"2018-06-11T07:24:37.869Z","9.0.0-beta27":"2018-06-15T12:35:36.423Z","8.2.2":"2018-06-25T18:59:01.416Z","9.0.0-beta28":"2018-06-26T11:39:55.184Z","8.2.3":"2018-07-02T11:15:26.919Z","9.0.0-beta29":"2018-07-02T12:25:07.145Z","8.2.4":"2018-07-09T19:13:32.120Z","9.0.0":"2018-07-09T20:19:53.711Z","10.0.0-beta1":"2018-07-11T22:21:29.602Z","9.0.2":"2018-07-18T16:15:54.516Z","10.0.0-pubnub-logs":"2018-07-20T11:22:05.258Z","9.0.3":"2018-07-20T15:10:44.693Z","10.0.0-beta2":"2018-07-20T15:24:53.590Z","10.0.0-beta3":"2018-07-20T17:45:10.401Z","9.0.4":"2018-07-20T18:08:03.223Z","10.0.0-beta4":"2018-07-27T06:41:20.777Z","10.0.0":"2018-08-02T13:46:23.587Z","10.0.1":"2018-08-07T16:48:52.140Z","10.0.2":"2018-08-08T15:45:45.505Z","10.0.3":"2018-08-13T12:07:27.296Z","10.0.4":"2018-08-13T14:12:31.596Z","11.0.0-beta1":"2018-08-13T19:26:49.579Z","10.0.5":"2018-08-17T14:49:12.585Z","11.0.0-beta2":"2018-08-28T12:16:12.602Z","10.0.8-579-update-billing-tests-8678d4bd1d87f04712a5fc722abec43cbd6a576a":"2018-09-26T16:59:07.186Z","10.0.8-579-update-billing-tests-6c93bcc919bb2052e59f93cf5b527506345e6207":"2018-09-26T17:03:18.285Z","10.0.8":"2018-09-27T13:06:38.753Z","10.1.0-434-stage-releases-methods-314488952d45adc7aaa7353259925745da3c2a37":"2018-09-27T13:20:15.259Z","10.1.0-resin-config-karma-2.2.0-5475fead4c37ed576dc614420ea886c658af4718":"2018-10-09T06:55:56.997Z","10.0.9-588-rename-deprecation-c4a95da979ba7ae5355154a493b0b78014f39bba":"2018-10-10T15:41:04.090Z","10.1.0-resin-config-karma-2.2.0-1467337dec7425d9b1e94ee150dcc8d5e667b520":"2018-10-11T07:17:13.684Z","10.1.0-591-drop-image-maker-apis-accb5511de393f2ab8e3804b46c4f0041c47b834":"2018-10-11T14:37:03.390Z","10.1.0-591-drop-image-maker-apis-b576fdd974fd868ba5e465c7b749a273517fa545":"2018-10-11T14:59:59.303Z","10.1.0-591-oss-api-device-types-7333f421b05e757e5a6821d70f8ee73859fbb2e7":"2018-10-12T18:39:45.395Z","11.0.0-balena-sdk-78e343d605d323cff37b039e8e40cae05b52fb36":"2018-10-20T18:40:47.799Z","10.1.0-resin-config-karma-2.2.0-10cd5bf7230f43be5d15061f5041475fbbba55e7":"2018-10-24T07:05:39.661Z","10.0.9-598-fix-failling-app-creating-test-bbd6b3c9d705f0925ef363373c09b280663035b3":"2018-10-24T07:48:04.961Z","10.0.9":"2018-10-24T09:33:23.134Z","10.1.0-resin-config-karma-2.2.0-94d066978566e1d55db82b4479b15868d1083f63":"2018-10-24T09:43:23.930Z","10.1.0-resin-config-karma-2.2.0-36083f60457d8292c26deaaa0e471235961636a3":"2018-10-26T11:44:24.871Z","10.1.0-resin-config-karma-2.2.0-bcfef0271cdeac4ec0e396030f6b46410b22b7be":"2018-10-26T11:53:45.329Z","10.1.0-resin-config-karma-2.2.0-bb92c1e7a2dd6da0ebecd0b70c51c4b75c59f83a":"2018-10-26T12:02:33.876Z","10.1.0-resin-config-karma-2.2.0-910d97d3a6d1e384f337ff886c5d36a236f5740e":"2018-10-26T12:19:57.505Z","10.1.0-resin-config-karma-2.2.0-b09ec276f6ade89e11bc81a9dfa62a2bd777cb09":"2018-10-26T13:30:39.596Z","10.1.0-resin-config-karma-2.2.0-d57bbf739e9d4e16e5cbd4a10e8cd61108b692c7":"2018-10-26T13:42:13.237Z","10.1.0-resin-config-karma-2.2.0-26b6d176f4aed6e2ae359ab7c91ff4d0ae600dd8":"2018-10-26T21:05:46.643Z","10.1.0":"2018-10-29T10:20:31.992Z","11.0.0-balena-sdk-631921028c1fc35f131f9b336b34d74a85d18b59":"2018-10-29T14:16:46.566Z","11.0.0-balena-sdk-0cfa7786a38066601e1eba76bc393c271b5ca40e":"2018-10-29T15:42:59.398Z","10.1.1-588-rename-deprecation-1d7c820c84776535a7fc8ec632cca69210131732":"2018-10-29T17:41:41.942Z","10.1.1":"2018-10-29T18:30:22.944Z","10.1.0-no-env-credentials-0c0240a7d803a95f09e0e50b7ed60c79747820d1":"2019-05-07T19:48:26.611Z"},"homepage":"https://github.com/resin-io/resin-sdk","keywords":["sdk","resin","resin.io","iot","devices"],"repository":{"type":"git","url":"git://github.com/resin-io/resin-sdk.git"},"author":{"name":"Juan Cruz Viotti","email":"juan@resin.io"},"bugs":{"url":"https://github.com/resin-io/resin-sdk/issues"},"license":"Apache-2.0","readmeFilename":"","users":{"charlietango592":true,"npm-packages":true}}