Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

planet-client

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

planet-client - npm Package Compare versions

Comparing version 0.9.0 to 0.10.0

1

api/auth.js

@@ -63,1 +63,2 @@ /**

exports.setKey = setKey;
exports.getKey = store.getKey;

4

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc