planet-client
Advanced tools
Comparing version 0.9.0 to 0.10.0
@@ -63,1 +63,2 @@ /** | ||
exports.setKey = setKey; | ||
exports.getKey = store.getKey; |
{ | ||
"name": "planet-client", | ||
"version": "0.9.0", | ||
"version": "0.10.0", | ||
"description": "A client for Planet's imagery API", | ||
@@ -21,3 +21,3 @@ "repository": { | ||
"postpublish": "npm run publish-doc", | ||
"apidoc": "jsdoc --template jsdoc-json --destination build/api.json api", | ||
"apidoc": "mkdir -p build && jsdoc --template jsdoc-json --destination build/api.json api", | ||
"doc": "npm run apidoc && node --harmony-generators tasks/build-docs.js", | ||
@@ -24,0 +24,0 @@ "start-doc": "watchy --watch doc,api,tasks -- npm run doc", |
@@ -145,2 +145,10 @@ /* eslint-env mocha */ | ||
describe('getKey()', function() { | ||
it('gets any stored API key', function() { | ||
var key = 'my-api-key'; | ||
auth.setKey(key); | ||
assert.equal(auth.getKey(), key); | ||
}); | ||
}); | ||
describe('logout()', function() { | ||
@@ -147,0 +155,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
18
151320
61
4324