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

@como/como-client

Package Overview
Dependencies
Maintainers
10
Versions
209
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@como/como-client - npm Package Compare versions

Comparing version 0.7.65 to 0.7.66

10

lib/services/auth.service.js

@@ -231,3 +231,3 @@ "use strict";

return function () {
var _ref13 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee7(type, identifier) {
var _ref13 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee7(type, identifier, reCaptchaToken) {
var params, headers, _ref14, data;

@@ -239,3 +239,3 @@

case 0:
params = { type: type, identifier: identifier };
params = { type: type, identifier: identifier, reCaptchaToken: reCaptchaToken };
headers = getHashHeader(params);

@@ -258,3 +258,3 @@ _context7.next = 4;

return function (_x23, _x24) {
return function (_x23, _x24, _x25) {
return _ref13.apply(this, arguments);

@@ -296,3 +296,3 @@ };

return function (_x25, _x26, _x27) {
return function (_x26, _x27, _x28) {
return _ref15.apply(this, arguments);

@@ -355,3 +355,3 @@ };

return function (_x28, _x29, _x30, _x31) {
return function (_x29, _x30, _x31, _x32) {
return _ref19.apply(this, arguments);

@@ -358,0 +358,0 @@ };

{
"name": "@como/como-client",
"version": "0.7.65",
"version": "0.7.66",
"description": "Client module for Como's loaylty API",

@@ -5,0 +5,0 @@ "main": "src/como.js",

@@ -317,7 +317,8 @@ const moment = require('moment-timezone');

* @param {string} type login type i.e PhoneNumber/Email/etc
* @param {reCaptchaToken} reCaptcha token for login chalenge
*/
async login(identifier, type) {
async login(identifier, type, reCaptchaToken) {
const { api } = this.comoData;
try {
const data = await api.logIn(type, identifier);
const data = await api.logIn(type, identifier, reCaptchaToken);
return data;

@@ -324,0 +325,0 @@ } catch (error) {

Sorry, the diff of this file is too big to display

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