@car-cutter/vanilla-webplayer 3.0.2 → 3.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +6 -0
  2. package/package.json +7 -3
package/dist/index.d.ts CHANGED
@@ -97,12 +97,18 @@ export declare type Item =
97
97
  | ImageItem
98
98
  | VideoItem
99
99
  | ThreeSixtyItem
100
+ | NextGenThreeSixtyItem
100
101
  | InteriorThreeSixtyItem;
101
102
 
102
103
  export declare type MediaLoadStrategy = "quality" | "balanced" | "speed";
103
104
 
104
105
  declare type MediaWidth = number;
105
106
 
107
+ declare type NextGenThreeSixtyItem = {
108
+ type: "next360";
109
+ images: ImageWithHotspots[];
110
+ };
111
+
106
112
  declare type ThreeSixtyItem = {
107
113
  type: "360";
108
114
  images: ImageWithHotspots[];
package/package.json CHANGED
@@ -1,12 +1,16 @@
1
1
  {
2
2
  "name": "@car-cutter/vanilla-webplayer",
3
- "version": "3.0.2",
3
+ "version": "3.1.0",
4
4
  "license": "Apache-2.0",
5
5
  "author": {
6
6
  "name": "CarCutter",
7
7
  "url": "https://www.car-cutter.com/"
8
8
  },
9
9
  "homepage": "https://carcutter.github.io/cars-webplayer-js/",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/carcutter/cars-webplayer-js"
13
+ },
10
14
  "description": "Use CarCutter WebPlayer with Vanilla JS/TS",
11
15
  "keywords": [
12
16
  "car-cutter",
@@ -31,7 +35,7 @@
31
35
  "analyze": "vite-bundle-visualizer"
32
36
  },
33
37
  "dependencies": {
34
- "@car-cutter/wc-webplayer": "3.0.2"
38
+ "@car-cutter/wc-webplayer": "3.1.0"
35
39
  },
36
40
  "devDependencies": {
37
41
  "@car-cutter/eslint-config": "*",
@@ -40,7 +44,7 @@
40
44
  "browserslist-to-esbuild": "^2.1.1",
41
45
  "eslint": "^8.57.0",
42
46
  "typescript": "^5.5.4",
43
- "vite": "^5.4.19",
47
+ "vite": "^5.4.21",
44
48
  "vite-bundle-visualizer": "^1.2.1",
45
49
  "vite-plugin-dts": "^4.2.1"
46
50
  },