@pixieset/versioning-js 2.0.1 → 2.1.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.
package/README.md CHANGED
@@ -2,4 +2,4 @@
2
2
 
3
3
  This library is an internal package meant for Pixieset application development.
4
4
 
5
- For information on versioning usage, see [the Pixieset documentation](https://www.notion.so/pixieset/Studio-Manager-Resource-Versioning-WIP-d702c157a24e496e92f869eca2015c1b).
5
+ For information on versioning usage and development, see [the Pixieset documentation](https://www.notion.so/pixieset/Pixieset-Resource-Versioning-d702c157a24e496e92f869eca2015c1b).
@@ -8,7 +8,7 @@ export declare const useVersion: (version: number) => {
8
8
  export declare function handleVersioningErrorsInAxiosResponse(response: AxiosResponse): Promise<void>;
9
9
  declare const _default: {
10
10
  bindAxiosVersioningResponseErrorListener: (instance: AxiosInstance) => void;
11
- isAxiosResponseVersioned: (response: AxiosResponse<any, any>) => boolean;
12
- fromAxiosResponse: (response: AxiosResponse<any, any>) => APIVersion;
11
+ isAxiosResponseVersioned: (response: AxiosResponse<any, any, {}>) => boolean;
12
+ fromAxiosResponse: (response: AxiosResponse<any, any, {}>) => APIVersion;
13
13
  };
14
14
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixieset/versioning-js",
3
- "version": "2.0.1",
3
+ "version": "2.1.0",
4
4
  "description": "Front end support for Pixieset versioning",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -15,14 +15,13 @@
15
15
  "LICENSE"
16
16
  ],
17
17
  "devDependencies": {
18
- "@types/axios": "^0.14",
19
18
  "@types/jest": "^29",
20
- "@typescript-eslint/eslint-plugin": "^8.7.0",
21
- "@typescript-eslint/parser": "^8.7.0",
22
- "eslint": "^8",
23
- "jest": "^29",
19
+ "@typescript-eslint/eslint-plugin": "^8.46.3",
20
+ "@typescript-eslint/parser": "^8.46.3",
21
+ "eslint": "^9.39.1",
22
+ "jest": "^30.2.0",
24
23
  "jest-resolve": "^29",
25
- "ts-jest": "^29",
24
+ "ts-jest": "^29.4.5",
26
25
  "ts-node": "^10",
27
26
  "typescript": "5.1"
28
27
  },
@@ -30,7 +29,7 @@
30
29
  "@sentry/core": "^8",
31
30
  "@sentry/types": "^8",
32
31
  "@types/node": "^20",
33
- "axios": "^1.7.7"
32
+ "axios": "^1.13.2"
34
33
  },
35
34
  "scripts": {
36
35
  "build": "tsc",