New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-google-picker

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-google-picker - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

11

dist/react-google-picker.js

@@ -106,5 +106,8 @@ 'use strict';

} else {
this.doAuth(function (_ref) {
var access_token = _ref.access_token;
return _this2.createPicker(access_token);
this.doAuth(function (response) {
if (response.access_token) {
_this2.createPicker(response.access_token);
} else {
_this2.props.onAuthFailed(response);
}
});

@@ -178,2 +181,3 @@ }

onAuthenticate: _propTypes2.default.func,
onAuthFailed: _propTypes2.default.func,
createPicker: _propTypes2.default.func,

@@ -187,2 +191,3 @@ multiselect: _propTypes2.default.bool,

onAuthenticate: function onAuthenticate() {},
onAuthFailed: function onAuthFailed() {},
scope: ['https://www.googleapis.com/auth/drive.readonly'],

@@ -189,0 +194,0 @@ viewId: 'DOCS',

{
"name": "react-google-picker",
"version": "0.0.8",
"version": "0.0.9",
"description": "Simple react wrapper for google picker API",

@@ -5,0 +5,0 @@ "main": "dist/react-google-picker.js",

@@ -18,2 +18,3 @@ React google picker

onChange={data => console.log('on change:', data)}
onAuthFailed={data => console.log('on auth failed:', data)}
multiselect={true}

@@ -40,2 +41,3 @@ navHidden={true}

onAuthenticate={token => console.log('oauth token:', token)}
onAuthFailed={data => console.log('on auth failed:', data)}
multiselect={true}

@@ -59,2 +61,3 @@ navHidden={true}

onChange={data => console.log('on change:', data)}
onAuthFailed={data => console.log('on auth failed:', data)}
multiselect={true}

@@ -61,0 +64,0 @@ navHidden={true}

Sorry, the diff of this file is not supported yet

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