qase-javascript-commons 2.0.11 → 2.0.12

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/changelog.md CHANGED
@@ -1,3 +1,10 @@
1
+ # qase-javascript-commons@2.0.12
2
+
3
+ ## What's new
4
+
5
+ Support qaseio package version 2.2.0
6
+
7
+
1
8
  # qase-javascript-commons@2.0.11
2
9
 
3
10
  ## What's new
@@ -95,7 +95,7 @@ class TestOpsReporter extends abstract_reporter_1.AbstractReporter {
95
95
  let environmentId;
96
96
  if (this.environment != undefined) {
97
97
  try {
98
- const { data } = await this.api.environment.getEnvironments(this.projectCode, 100);
98
+ const { data } = await this.api.environment.getEnvironments(this.projectCode, undefined, this.environment, 100);
99
99
  const env = data.result?.entities?.find((env) => env.slug === this.environment);
100
100
  if (env) {
101
101
  environmentId = env.id;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qase-javascript-commons",
3
- "version": "2.0.11",
3
+ "version": "2.0.12",
4
4
  "description": "Qase JS Reporters",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -33,7 +33,7 @@
33
33
  "lodash.merge": "^4.6.2",
34
34
  "lodash.mergewith": "^4.6.2",
35
35
  "mime-types": "^2.1.33",
36
- "qaseio": "^2.1.3",
36
+ "qaseio": "~2.2.0",
37
37
  "strip-ansi": "^6.0.1",
38
38
  "uuid": "^9.0.0"
39
39
  },