@flipdish/authorization 0.2.14-rc.1766078374 → 0.2.17-rc.1766093776

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.
package/README.md CHANGED
@@ -215,7 +215,7 @@ describe("Authorization Tests", () => {
215
215
  roles: ["Admin"],
216
216
  });
217
217
  expect(isInRoleResponse.status).toBe(200);
218
- expect(isInRoleResponse.data.authorized).toBe(false);
218
+ expect(isInRoleResponse.data.authorized).toBe(true);
219
219
  });
220
220
 
221
221
  it("should authenticate and check if a user is in a role with a valid Bearer token", async () => {
@@ -227,7 +227,7 @@ describe("Authorization Tests", () => {
227
227
  roles: ["Admin"],
228
228
  });
229
229
  expect(isInRoleResponse.status).toBe(200);
230
- expect(isInRoleResponse.data.authorized).toBe(false);
230
+ expect(isInRoleResponse.data.authorized).toBe(true);
231
231
  });
232
232
  });
233
233
  });
package/configuration.ts CHANGED
@@ -100,7 +100,7 @@ export class Configuration {
100
100
 
101
101
  const extraHeaders = param.useDefaultUserAgent ? {} : {
102
102
  headers: {
103
- "user-agent": "Flipdish authorization typescript SDK / 0.2.14-rc.1766078374"
103
+ "user-agent": "Flipdish authorization typescript SDK / 0.2.17-rc.1766093776"
104
104
  }
105
105
  };
106
106
 
@@ -36,7 +36,7 @@ var Configuration = /** @class */ (function () {
36
36
  this.serverIndex = param.serverIndex;
37
37
  var extraHeaders = param.useDefaultUserAgent ? {} : {
38
38
  headers: {
39
- "user-agent": "Flipdish authorization typescript SDK / 0.2.14-rc.1766078374"
39
+ "user-agent": "Flipdish authorization typescript SDK / 0.2.17-rc.1766093776"
40
40
  }
41
41
  };
42
42
  this.baseOptions = __assign(__assign({}, extraHeaders), param.baseOptions);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flipdish/authorization",
3
- "version": "0.2.14-rc.1766078374",
3
+ "version": "0.2.17-rc.1766093776",
4
4
  "description": "OpenAPI client for @flipdish/authorization",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {