@frontegg/rest-api 3.1.66 → 3.1.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,7 +25,7 @@ export async function getApplicationsData({
25
25
  });
26
26
  }
27
27
  export async function assignUserToApplications(body) {
28
- return Post(`${urls.identity.applications.v1}/user-apps`, body);
28
+ return Post(`${urls.identity.applications.v1}/apps-user`, body);
29
29
  }
30
30
  export async function unassignUserFromApplications(body) {
31
31
  return Delete(`${urls.identity.applications.v1}/user-apps`, body);
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v3.1.66
1
+ /** @license Frontegg v3.1.67
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -44,7 +44,7 @@ async function getApplicationsData({
44
44
  }
45
45
 
46
46
  async function assignUserToApplications(body) {
47
- return (0, _fetch.Post)(`${_constants.urls.identity.applications.v1}/user-apps`, body);
47
+ return (0, _fetch.Post)(`${_constants.urls.identity.applications.v1}/apps-user`, body);
48
48
  }
49
49
 
50
50
  async function unassignUserFromApplications(body) {
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v3.1.66
1
+ /** @license Frontegg v3.1.67
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontegg/rest-api",
3
- "version": "3.1.66",
3
+ "version": "3.1.67",
4
4
  "main": "./node/index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {