@parra/parra-js-sdk 0.2.60 → 0.2.61

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.
@@ -524,7 +524,7 @@ declare class ParraAPI {
524
524
  createIdentityForUserById: (user_id: string, body: CreateIdentityRequestBody) => Promise<IdentityResponse>;
525
525
  listIdentitiesForUserById: (user_id: string) => Promise<Array<IdentityResponse>>;
526
526
  getUserByProviderAndProviderUserId: (provider: string, provider_user_id: string) => Promise<UserResponse>;
527
- checkAuthorization1: (body?: CheckAuthorizationRequestBody | undefined) => Promise<CheckAuthorization>;
527
+ checkAuthorization: (body?: CheckAuthorizationRequestBody | undefined) => Promise<CheckAuthorization>;
528
528
  getUserInfo: () => Promise<UserInfoResponse>;
529
529
  getParraAuthToken: () => Promise<AuthToken>;
530
530
  }
package/dist/ParraAPI.js CHANGED
@@ -301,7 +301,7 @@ var ParraAPI = /** @class */ (function () {
301
301
  method: "get",
302
302
  });
303
303
  };
304
- this.checkAuthorization1 = function (body) {
304
+ this.checkAuthorization = function (body) {
305
305
  return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/authorization/check"), {
306
306
  method: "post",
307
307
  body: JSON.stringify(body),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.2.60",
3
+ "version": "0.2.61",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",