@contrail/flexplm 1.7.7-alpha.89ddfa2 → 1.7.7-alpha.9292891

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.
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FlexPLMConnect = void 0;
4
4
  const app_framework_1 = require("@contrail/app-framework");
5
- // Module-level on purpose: a new FlexPLMConnect is constructed for every event. Declaring for Session resuing use case.
5
+ // Module-level on purpose: a new FlexPLMConnect is constructed for every event. Declaring for Session reusing use case.
6
6
  const sessionCache = new Map();
7
7
  // Added for Session reuse - ET-390 - Ends
8
8
  class FlexPLMConnect {
@@ -145,7 +145,7 @@ describe('FlexPLMConnect.sendRequest', () => {
145
145
  // Added for Session reuse - ET-390 - Starts
146
146
  describe('FlexPLMConnect session reuse', () => {
147
147
  const payload = { id: '123' };
148
- it('captures JSESSIONID from the csrf GET and sends it on the POST', async () => {
148
+ it('should capture JSESSIONID from the csrf GET and sends it on the POST', async () => {
149
149
  const u = uniqueUser();
150
150
  fetchMock()
151
151
  .mockResolvedValueOnce(resp(200, ['JSESSIONID=abc.tomcat1; Path=/; HttpOnly']))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/flexplm",
3
- "version": "1.7.7-alpha.89ddfa2",
3
+ "version": "1.7.7-alpha.9292891",
4
4
  "description": "Library used for integration with flexplm.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",