@frontegg/rest-api
Advanced tools
Comparing version
@@ -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); |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
518856
0.07%13582
0.07%2
100%