Socket
Socket
Sign inDemoInstall

cordova-plugin-firebase

Package Overview
Dependencies
0
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

2

package.json

@@ -11,3 +11,3 @@ {

"name": "cordova-plugin-firebase",
"version": "1.0.1",
"version": "1.0.2",
"description": "Cordova plugin for Google Firebase",

@@ -14,0 +14,0 @@ "cordova": {

@@ -147,4 +147,12 @@ var exec = require('cordova/exec');

exports.verifyPhoneNumber = function (number, success, error) {
exec(success, error, "FirebasePlugin", "verifyPhoneNumber", [number]);
exports.verifyPhoneNumber = function (number, timeOutDuration, success, error) {
if (typeof timeOutDuration === 'function') {
// method being called with old signature: function(number, success, error)
// timeOutDuration is the success callback, success is the error callback
exec(timeOutDuration, success, "FirebasePlugin", "verifyPhoneNumber", [number]);
} else {
// method being called with new signature: function(number, timeOutDuration, success, error)
// callbacks are correctly named
exec(success, error, "FirebasePlugin", "verifyPhoneNumber", [number, timeOutDuration]);
}
};

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc