@sisense/sdk-rest-client 1.8.0 → 1.10.0

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,4 +2,5 @@ import { AbstractTranslatableError } from '@sisense/sdk-common';
2
2
  import { PACKAGE_NAMESPACE } from './resources/index.js';
3
3
  export declare class TranslatableError extends AbstractTranslatableError<typeof PACKAGE_NAMESPACE> {
4
4
  constructor(translationKey: string, interpolationOptions?: Record<string, string>);
5
+ get status(): string;
5
6
  }
@@ -8,4 +8,7 @@ export class TranslatableError extends AbstractTranslatableError {
8
8
  interpolationOptions: interpolationOptions,
9
9
  }, i18nextInstance.t);
10
10
  }
11
+ get status() {
12
+ return this.interpolationOptions.status;
13
+ }
11
14
  }
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "Sisense",
12
12
  "Compose SDK"
13
13
  ],
14
- "version": "1.8.0",
14
+ "version": "1.10.0",
15
15
  "type": "module",
16
16
  "exports": "./dist/index.js",
17
17
  "main": "./dist/index.js",
@@ -20,7 +20,7 @@
20
20
  "author": "Sisense",
21
21
  "license": "SEE LICENSE IN LICENSE.md",
22
22
  "dependencies": {
23
- "@sisense/sdk-common": "^1.8.0",
23
+ "@sisense/sdk-common": "^1.10.0",
24
24
  "fetch-intercept": "^2.4.0"
25
25
  },
26
26
  "scripts": {