You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@frontegg/rest-api

Package Overview
Dependencies
Maintainers
3
Versions
659
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frontegg/rest-api - npm Package Compare versions

Comparing version

to
7.65.0-alpha.0

2

index.js

@@ -1,2 +0,2 @@

/** @license Frontegg v7.64.0
/** @license Frontegg v7.65.0-alpha.0
*

@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the

@@ -1,2 +0,2 @@

/** @license Frontegg v7.64.0
/** @license Frontegg v7.65.0-alpha.0
*

@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the

@@ -15,2 +15,5 @@ "use strict";

};
this.getUserOwnPhoneNumbers = async () => {
return this.get(`${_constants.urls.identity.phoneNumbers.v1}/me`);
};
this.createPhoneNumber = async body => {

@@ -17,0 +20,0 @@ return this.post(`${_constants.urls.identity.phoneNumbers.v1}`, body);

{
"name": "@frontegg/rest-api",
"version": "7.64.0",
"version": "7.65.0-alpha.0",
"main": "./node/index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -11,2 +11,6 @@ import { FronteggPaginationWrapper } from '../interfaces';

/**
* Get own phone numbers of user
*/
getUserOwnPhoneNumbers: () => Promise<IPhoneNumber[]>;
/**
* Create new phone number for user, by default OTC will be sent with this request

@@ -13,0 +17,0 @@ */

@@ -9,2 +9,5 @@ import { urls } from '../constants';

};
this.getUserOwnPhoneNumbers = async () => {
return this.get(`${urls.identity.phoneNumbers.v1}/me`);
};
this.createPhoneNumber = async body => {

@@ -11,0 +14,0 @@ return this.post(`${urls.identity.phoneNumbers.v1}`, body);