sealights-cypress-plugin 2.0.43 → 2.0.44
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/package.json +4 -3
- package/tsOutputs/config.js +3 -2
- package/tsOutputs/config.js.map +1 -1
- package/tsOutputs/const.d.ts +0 -1
- package/tsOutputs/const.js +1 -2
- package/tsOutputs/const.js.map +1 -1
- package/tsOutputs/logger.d.ts +2 -0
- package/tsOutputs/logger.js +13 -0
- package/tsOutputs/logger.js.map +1 -0
- package/tsOutputs/sealights-service.js +30 -10
- package/tsOutputs/sealights-service.js.map +1 -1
- package/tsOutputs/version.d.ts +1 -1
- package/tsOutputs/version.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sealights-cypress-plugin",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.44",
|
|
4
4
|
"description": "Support and config files for Cypress to support Sealights integration.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prebuild": "node -p \"'//eslint-disable-next-line quotes\\nexport const version = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts",
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"axios": "0.21.4",
|
|
27
27
|
"jwt-decode": "^3.1.2",
|
|
28
|
-
"slnodejs": "^6.1.
|
|
28
|
+
"slnodejs": "^6.1.610",
|
|
29
|
+
"winston": "^3.11.0"
|
|
29
30
|
},
|
|
30
31
|
"bugs": {
|
|
31
32
|
"url": "https://github.com/Sealights/SL.OnPremis.Plugins.JavaScript/issues"
|
|
@@ -35,5 +36,5 @@
|
|
|
35
36
|
"support.js"
|
|
36
37
|
],
|
|
37
38
|
"main": "tsOutputs/index.js",
|
|
38
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "2a1e4eeb618d883ae710917a14d639827735a1e7"
|
|
39
40
|
}
|
package/tsOutputs/config.js
CHANGED
|
@@ -14,6 +14,7 @@ const const_1 = require("./const");
|
|
|
14
14
|
const sealights_service_1 = require("./sealights-service");
|
|
15
15
|
const utils_1 = require("./utils");
|
|
16
16
|
const slnodejs_1 = require("slnodejs");
|
|
17
|
+
const logger_1 = require("./logger");
|
|
17
18
|
const registerSealightsTasks = (on, config) => __awaiter(void 0, void 0, void 0, function* () {
|
|
18
19
|
const slConfig = {
|
|
19
20
|
buildsessionid: config.env[const_1.SL_CYPRESS_ENVIRONMENT.BUILD_SESSION_ID],
|
|
@@ -26,7 +27,7 @@ const registerSealightsTasks = (on, config) => __awaiter(void 0, void 0, void 0,
|
|
|
26
27
|
};
|
|
27
28
|
if (!(0, utils_1.isTrue)(config.env[const_1.SL_CYPRESS_ENVIRONMENT.ENABLE_REMOTE_AGENT]) && slConfig.perFileReporting) {
|
|
28
29
|
slConfig.perFileReporting = false;
|
|
29
|
-
|
|
30
|
+
logger_1.logger.warn('SL_PER_FILE_REPORTING mode can only be enabled when SL_ENABLE_REMOTE_AGENT is active.');
|
|
30
31
|
}
|
|
31
32
|
sealights_service_1.SealightsTestSessionService.setConfig(slConfig.token, slConfig.teststage, slConfig.buildsessionid, slConfig.perFileReporting, slConfig.labid, slConfig.proxy);
|
|
32
33
|
let remoteAgent;
|
|
@@ -49,7 +50,7 @@ const registerSealightsTasks = (on, config) => __awaiter(void 0, void 0, void 0,
|
|
|
49
50
|
sealights_service_1.SealightsTestSessionService._remoteAgent = remoteAgent;
|
|
50
51
|
}
|
|
51
52
|
catch (e) {
|
|
52
|
-
|
|
53
|
+
logger_1.logger.error((0, utils_1.sanitizeError)(e));
|
|
53
54
|
sealights_service_1.SealightsTestSessionService._configurationError = true;
|
|
54
55
|
}
|
|
55
56
|
}
|
package/tsOutputs/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"config.js","source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FIX = "Sealights Plugin:";
|
|
12
11
|
export declare const SL_START_TEST_SESSION = "sealightsStartSession";
|
|
13
12
|
export declare const SL_END_TEST_SESSION = "sealightsEndSession";
|
|
14
13
|
export declare const SL_TASKS_REGISTERED = "sealightsTasksRegistered";
|
package/tsOutputs/const.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TEST_STATUS = exports.SL_COLORING_HEADERS = exports.SL_COLORING_EVENTS = exports.DEFAULT_COMMAND_INTERVAL_TIMEOUT = exports.SL_SEND_COVERAGE = exports.SL_REPORT_SPEC_END_TASK = exports.SL_REPORT_TEST_END_TASK = exports.X_SL_SERVER = exports.SL_TASKS_REGISTERED = exports.SL_END_TEST_SESSION = exports.SL_START_TEST_SESSION = exports.
|
|
3
|
+
exports.TEST_STATUS = exports.SL_COLORING_HEADERS = exports.SL_COLORING_EVENTS = exports.DEFAULT_COMMAND_INTERVAL_TIMEOUT = exports.SL_SEND_COVERAGE = exports.SL_REPORT_SPEC_END_TASK = exports.SL_REPORT_TEST_END_TASK = exports.X_SL_SERVER = exports.SL_TASKS_REGISTERED = exports.SL_END_TEST_SESSION = exports.SL_START_TEST_SESSION = exports.SL_CYPRESS_ENVIRONMENT = void 0;
|
|
4
4
|
exports.SL_CYPRESS_ENVIRONMENT = {
|
|
5
5
|
BUILD_SESSION_ID: 'SL_BUILD_SESSION_ID',
|
|
6
6
|
TOKEN: 'SL_TOKEN',
|
|
@@ -11,7 +11,6 @@ exports.SL_CYPRESS_ENVIRONMENT = {
|
|
|
11
11
|
PROXY: 'SL_PROXY',
|
|
12
12
|
COLLECTOR_URL: 'SL_COLLECTOR_URL',
|
|
13
13
|
};
|
|
14
|
-
exports.SL_LOG_PREFIX = 'Sealights Plugin:';
|
|
15
14
|
exports.SL_START_TEST_SESSION = 'sealightsStartSession';
|
|
16
15
|
exports.SL_END_TEST_SESSION = 'sealightsEndSession';
|
|
17
16
|
exports.SL_TASKS_REGISTERED = 'sealightsTasksRegistered';
|
package/tsOutputs/const.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"const.js","sourceRoot":"","sources":["../src/const.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG;IACpC,gBAAgB,EAAE,qBAAqB;IACvC,KAAK,EAAE,UAAU;IACjB,UAAU,EAAE,eAAe;IAC3B,MAAM,EAAE,WAAW;IACnB,mBAAmB,EAAE,wBAAwB;IAC7C,kBAAkB,EAAE,uBAAuB;IAC3C,KAAK,EAAE,UAAU;IACjB,aAAa,EAAE,kBAAkB;CAClC,CAAC;AAEW,QAAA,
|
|
1
|
+
{"version":3,"file":"const.js","sourceRoot":"","sources":["../src/const.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG;IACpC,gBAAgB,EAAE,qBAAqB;IACvC,KAAK,EAAE,UAAU;IACjB,UAAU,EAAE,eAAe;IAC3B,MAAM,EAAE,WAAW;IACnB,mBAAmB,EAAE,wBAAwB;IAC7C,kBAAkB,EAAE,uBAAuB;IAC3C,KAAK,EAAE,UAAU;IACjB,aAAa,EAAE,kBAAkB;CAClC,CAAC;AAEW,QAAA,qBAAqB,GAAG,uBAAuB,CAAC;AAChD,QAAA,mBAAmB,GAAG,qBAAqB,CAAC;AAE5C,QAAA,mBAAmB,GAAG,0BAA0B,CAAC;AACjD,QAAA,WAAW,GAAG,aAAa,CAAC;AAC5B,QAAA,uBAAuB,GAAG,wBAAwB,CAAC;AACnD,QAAA,uBAAuB,GAAG,wBAAwB,CAAC;AACnD,QAAA,gBAAgB,GAAG,gBAAgB,CAAC;AAEpC,QAAA,gCAAgC,GAAG,EAAE,GAAG,IAAI,CAAC;AAE7C,QAAA,kBAAkB,GAAG;IAChC,WAAW,EAAE,aAAa;IAC1B,cAAc,EAAE,gBAAgB;CACjC,CAAC;AAEW,QAAA,mBAAmB,GAAG;IACjC,SAAS,EAAE,gBAAgB;IAC3B,eAAe,EAAE,sBAAsB;CACxC,CAAC;AAEF,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,gCAAiB,CAAA;IACjB,kCAAmB,CAAA;IACnB,gCAAiB,CAAA;AACnB,CAAC,EAJW,WAAW,2BAAX,WAAW,QAItB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.logger = void 0;
|
|
4
|
+
const winston = require("winston");
|
|
5
|
+
const loggerLevel = process.env.NODE_DEBUG === 'sl' ? 'silly' : 'info';
|
|
6
|
+
exports.logger = winston.createLogger({
|
|
7
|
+
level: loggerLevel,
|
|
8
|
+
format: winston.format.combine(winston.format.timestamp({ format: 'HH:mm:ss.SSS' }), winston.format.printf(({ level, message, timestamp }) => {
|
|
9
|
+
return `${timestamp} ${level.toUpperCase()} Sealights Plugin: ${message}`;
|
|
10
|
+
}), winston.format.colorize({ all: true })),
|
|
11
|
+
transports: [new winston.transports.Console()],
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=logger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../src/logger.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AAEnC,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,KAAK,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC;AAE1D,QAAA,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC;IACzC,KAAK,EAAE,WAAW;IAClB,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,OAAO,CAC5B,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC,EACpD,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE;QACtD,OAAO,GAAG,SAAS,IAAI,KAAK,CAAC,WAAW,EAAE,sBAAsB,OAAO,EAAE,CAAC;IAC5E,CAAC,CAAC,EACF,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CACvC;IACD,UAAU,EAAE,CAAC,IAAI,OAAO,CAAC,UAAU,CAAC,OAAO,EAAE,CAAC;CAC/C,CAAC,CAAC"}
|
|
@@ -21,6 +21,7 @@ const jwt_decode_1 = require("jwt-decode");
|
|
|
21
21
|
const const_1 = require("./const");
|
|
22
22
|
const utils_1 = require("./utils");
|
|
23
23
|
const version_1 = require("./version");
|
|
24
|
+
const logger_1 = require("./logger");
|
|
24
25
|
class TestSessionService {
|
|
25
26
|
constructor() {
|
|
26
27
|
this.token = null;
|
|
@@ -50,11 +51,11 @@ class TestSessionService {
|
|
|
50
51
|
this.perFileReporting = perFileReporting;
|
|
51
52
|
if (!(buildSessionId === null || buildSessionId === void 0 ? void 0 : buildSessionId.length) && !(labId === null || labId === void 0 ? void 0 : labId.length)) {
|
|
52
53
|
this.configurationError = true;
|
|
53
|
-
throw new Error(
|
|
54
|
+
throw new Error('At least one of buildSessionId/labId must be provided for Sealights integration. Test suite will resume with disabled integration.');
|
|
54
55
|
}
|
|
55
56
|
if (!(testStage === null || testStage === void 0 ? void 0 : testStage.length)) {
|
|
56
57
|
this.configurationError = true;
|
|
57
|
-
throw new Error(
|
|
58
|
+
throw new Error('A valid Test Stage parameter must be provided for Sealights integration. Test suite will resume with disabled integration.');
|
|
58
59
|
}
|
|
59
60
|
let decodedToken = null;
|
|
60
61
|
try {
|
|
@@ -62,7 +63,7 @@ class TestSessionService {
|
|
|
62
63
|
}
|
|
63
64
|
catch (e) {
|
|
64
65
|
this.configurationError = true;
|
|
65
|
-
throw new Error(`${
|
|
66
|
+
throw new Error(`${(0, utils_1.sanitizeError)(e)}. Test suite will resume with disabled integration.`);
|
|
66
67
|
}
|
|
67
68
|
this.baseUrl = decodedToken[const_1.X_SL_SERVER];
|
|
68
69
|
this.token = token;
|
|
@@ -74,6 +75,10 @@ class TestSessionService {
|
|
|
74
75
|
});
|
|
75
76
|
}
|
|
76
77
|
addProxyToConfig(axiosConfig) {
|
|
78
|
+
var _a;
|
|
79
|
+
if (!((_a = this.proxy) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
77
82
|
try {
|
|
78
83
|
const { hostname, protocol, port } = new URL(this.proxy);
|
|
79
84
|
protocol.replace(':', '');
|
|
@@ -84,6 +89,7 @@ class TestSessionService {
|
|
|
84
89
|
};
|
|
85
90
|
}
|
|
86
91
|
catch (e) {
|
|
92
|
+
logger_1.logger.error('Invalid proxy provided, skipping proxy configuration.');
|
|
87
93
|
return null;
|
|
88
94
|
}
|
|
89
95
|
}
|
|
@@ -111,6 +117,7 @@ class TestSessionService {
|
|
|
111
117
|
}
|
|
112
118
|
resolveBuildSessionData() {
|
|
113
119
|
return __awaiter(this, void 0, void 0, function* () {
|
|
120
|
+
logger_1.logger.debug(`Initiating build session data resolve for lab id ${this.labId}...`);
|
|
114
121
|
const axiosConfig = {
|
|
115
122
|
url: this.baseUrl + `/v1/lab-ids/${this.labId}/build-sessions/active/`,
|
|
116
123
|
headers: {
|
|
@@ -119,13 +126,16 @@ class TestSessionService {
|
|
|
119
126
|
};
|
|
120
127
|
this.addProxyToConfig(axiosConfig);
|
|
121
128
|
const { data } = yield axios_1.default.request(axiosConfig);
|
|
129
|
+
logger_1.logger.debug('Build session data successfully resolved.');
|
|
122
130
|
return data;
|
|
123
131
|
});
|
|
124
132
|
}
|
|
125
133
|
createTestSession(testStage = this.testStage) {
|
|
126
134
|
var _a;
|
|
127
135
|
return __awaiter(this, void 0, void 0, function* () {
|
|
136
|
+
logger_1.logger.debug('Initiating test session creation...');
|
|
128
137
|
if (this.testSessionId) {
|
|
138
|
+
logger_1.logger.debug('Test session already exists, skipping creation.');
|
|
129
139
|
return;
|
|
130
140
|
}
|
|
131
141
|
if (this.remoteAgent) {
|
|
@@ -148,12 +158,13 @@ class TestSessionService {
|
|
|
148
158
|
}));
|
|
149
159
|
this.testSessionId = data.data.testSessionId;
|
|
150
160
|
}
|
|
151
|
-
|
|
161
|
+
logger_1.logger.info('Test session successfully created.');
|
|
152
162
|
});
|
|
153
163
|
}
|
|
154
164
|
endTestSession() {
|
|
155
165
|
var _a;
|
|
156
166
|
return __awaiter(this, void 0, void 0, function* () {
|
|
167
|
+
logger_1.logger.debug('Initiating test session end...');
|
|
157
168
|
if (this.remoteAgent) {
|
|
158
169
|
yield this.remoteAgent.stop();
|
|
159
170
|
}
|
|
@@ -161,26 +172,28 @@ class TestSessionService {
|
|
|
161
172
|
yield ((_a = this.testSessionsV1Instance) === null || _a === void 0 ? void 0 : _a.delete(`/${this.testSessionId}`));
|
|
162
173
|
}
|
|
163
174
|
this.testSessionId = null;
|
|
164
|
-
|
|
175
|
+
logger_1.logger.debug('Test session successfully ended.');
|
|
165
176
|
});
|
|
166
177
|
}
|
|
167
178
|
getTestRecommendations() {
|
|
168
179
|
var _a, _b;
|
|
169
180
|
return __awaiter(this, void 0, void 0, function* () {
|
|
170
181
|
if (this.perFileReporting) {
|
|
182
|
+
logger_1.logger.warn('Per file reporting is enabled, skipping test recommendation retrieval.');
|
|
171
183
|
this.excludedTests = {};
|
|
172
184
|
}
|
|
173
185
|
if (this.excludedTests) {
|
|
174
186
|
return this.excludedTests;
|
|
175
187
|
}
|
|
188
|
+
logger_1.logger.debug('Initiating test recommendation retrieval...');
|
|
176
189
|
try {
|
|
177
190
|
const { data } = yield ((_a = this.testSessionsV1Instance) === null || _a === void 0 ? void 0 : _a.get(`/${this.testSessionId}/exclude-tests`));
|
|
178
191
|
this.excludedTests = (((_b = data === null || data === void 0 ? void 0 : data.data) === null || _b === void 0 ? void 0 : _b.length) ? data.data : []).reduce((acc, testName) => (Object.assign(Object.assign({}, acc), { [testName]: testName })), {});
|
|
179
|
-
|
|
192
|
+
logger_1.logger.info(`Test recommendation successfully retrieved. ${Object.keys(this.excludedTests).length} tests will be marked for exclusion.`);
|
|
180
193
|
return this.excludedTests;
|
|
181
194
|
}
|
|
182
195
|
catch (e) {
|
|
183
|
-
|
|
196
|
+
logger_1.logger.error('Failed to retrieve test recommendation.', (0, utils_1.sanitizeError)(e));
|
|
184
197
|
this.excludedTests = {};
|
|
185
198
|
return this.excludedTests;
|
|
186
199
|
}
|
|
@@ -189,6 +202,7 @@ class TestSessionService {
|
|
|
189
202
|
sendTestEvent(name, start, end, status, spec, coverage) {
|
|
190
203
|
var _a;
|
|
191
204
|
return __awaiter(this, void 0, void 0, function* () {
|
|
205
|
+
logger_1.logger.debug(`Initiating test event send for test ${name}...`);
|
|
192
206
|
if (status === const_1.TEST_STATUS.SKIPPED) {
|
|
193
207
|
if (this.skippedTests[`${spec.relative}_${name}`]) {
|
|
194
208
|
return;
|
|
@@ -197,6 +211,7 @@ class TestSessionService {
|
|
|
197
211
|
}
|
|
198
212
|
this.markTestReported(spec.name, name, status);
|
|
199
213
|
if (this.perFileReporting) {
|
|
214
|
+
logger_1.logger.debug('Per file reporting is enabled, skipping single test event send.');
|
|
200
215
|
return;
|
|
201
216
|
}
|
|
202
217
|
if (this.remoteAgent) {
|
|
@@ -204,28 +219,33 @@ class TestSessionService {
|
|
|
204
219
|
yield this.remoteAgent.testEnd(name, spec.name, end - start, status, coverage);
|
|
205
220
|
return;
|
|
206
221
|
}
|
|
207
|
-
|
|
222
|
+
yield ((_a = this.testSessionsV2Instance) === null || _a === void 0 ? void 0 : _a.post(`/${this.testSessionId}`, [
|
|
208
223
|
{
|
|
209
224
|
name,
|
|
210
225
|
start,
|
|
211
226
|
end,
|
|
212
227
|
status,
|
|
213
228
|
},
|
|
214
|
-
]);
|
|
229
|
+
]));
|
|
230
|
+
logger_1.logger.debug(`Test event successfully sent for test ${name}.`);
|
|
215
231
|
});
|
|
216
232
|
}
|
|
217
233
|
sendCoverage(spec, coverage) {
|
|
218
234
|
return __awaiter(this, void 0, void 0, function* () {
|
|
235
|
+
logger_1.logger.debug(`Initiating coverage send for spec ${spec.name}...`);
|
|
219
236
|
yield this.remoteAgent.sendTestCoverage(spec.name, coverage);
|
|
237
|
+
logger_1.logger.debug(`Coverage successfully sent for spec ${spec.name}.`);
|
|
220
238
|
});
|
|
221
239
|
}
|
|
222
240
|
sendTestEventPerSpec(spec, coverage) {
|
|
223
241
|
return __awaiter(this, void 0, void 0, function* () {
|
|
242
|
+
logger_1.logger.debug(`Initiating test event send for spec ${spec.name}...`);
|
|
224
243
|
const specHasFailedTest = Object.values(this.testEventsMap[spec.name].tests).some((testStatus) => testStatus === const_1.TEST_STATUS.FAILED);
|
|
225
244
|
const status = specHasFailedTest ? const_1.TEST_STATUS.FAILED : const_1.TEST_STATUS.PASSED;
|
|
226
245
|
const end = Date.now();
|
|
227
246
|
yield this.remoteAgent.testStart(spec.name, undefined, this.testEventsMap[spec.name].start);
|
|
228
247
|
yield this.remoteAgent.testEnd(spec.name, undefined, end - this.testEventsMap[spec.name].start, status, coverage);
|
|
248
|
+
logger_1.logger.debug(`Test event successfully sent for spec ${spec.name}.`);
|
|
229
249
|
});
|
|
230
250
|
}
|
|
231
251
|
markTestReported(spec, testName, status) {
|
|
@@ -264,7 +284,7 @@ class TestSessionService {
|
|
|
264
284
|
}
|
|
265
285
|
catch (error) {
|
|
266
286
|
const sanitizedError = (0, utils_1.sanitizeError)(error);
|
|
267
|
-
|
|
287
|
+
logger_1.logger.error(`An error occurred in method ${propertyKey}:`, sanitizedError);
|
|
268
288
|
}
|
|
269
289
|
});
|
|
270
290
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sealights-service.js","sourceRoot":"","sources":["../src/sealights-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,iCAAiE;AACjE,2CAAmC;AAEnC,
|
|
1
|
+
{"version":3,"file":"sealights-service.js","sourceRoot":"","sources":["../src/sealights-service.ts"],"names":[],"m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wBAClD,OAAO,IAAI,CAAC;oBACd,CAAC;oBAED,OAAO,MAAM,cAAc,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;gBAChD,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACf,MAAM,cAAc,GAAG,IAAA,qBAAa,EAAC,KAAK,CAAC,CAAC;oBAC5C,eAAM,CAAC,KAAK,CAAC,+BAA+B,WAAW,GAAG,EAAE,cAAc,CAAC,CAAC;gBAC9E,CAAC;YACH,CAAC;SAAA,CAAC;QAEF,OAAO,UAAU,CAAC;IACpB,CAAC;CACF;AAtSc;IADZ,kBAAkB,CAAC,oBAAoB;mDAwCvC;AA6CK;IADL,kBAAkB,CAAC,oBAAoB;iEAiBvC;AAGY;IADZ,kBAAkB,CAAC,oBAAoB;2DA+BvC;AAGY;IADZ,kBAAkB,CAAC,oBAAoB;wDAYvC;AAGY;IADZ,kBAAkB,CAAC,oBAAoB;gEA8BvC;AAGY;IADZ,kBAAkB,CAAC,oBAAoB;uDAwCvC;AAGY;IADZ,kBAAkB,CAAC,oBAAoB;sDAKvC;AAGY;IADZ,kBAAkB,CAAC,oBAAoB;8DAcvC;AAoDU,QAAA,2BAA2B,GAAG,kBAAkB,CAAC,WAAW,EAAE,CAAC"}
|
package/tsOutputs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "2.0.
|
|
1
|
+
export declare const version = "2.0.44";
|
package/tsOutputs/version.js
CHANGED