@car-cutter/next-webplayer 3.0.3 → 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.
package/dist/index.d.ts CHANGED
@@ -92,12 +92,18 @@ export declare type Item =
92
92
  | ImageItem
93
93
  | VideoItem
94
94
  | ThreeSixtyItem
95
+ | NextGenThreeSixtyItem
95
96
  | InteriorThreeSixtyItem;
96
97
 
97
98
  export declare type MediaLoadStrategy = "quality" | "balanced" | "speed";
98
99
 
99
100
  declare type MediaWidth = number;
100
101
 
102
+ declare type NextGenThreeSixtyItem = {
103
+ type: "next360";
104
+ images: ImageWithHotspots[];
105
+ };
106
+
101
107
  declare type ThreeSixtyItem = {
102
108
  type: "360";
103
109
  images: ImageWithHotspots[];
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import _ from "next/dynamic";
3
- import { A, l as r, m as o, D as I, c as t, E as C, d as P, g as L, f as V, k as n, j as W, i as l, h as D, e as S, a as i, b as m, W as M, n as R } from "./utils-fWKvKx03.js";
3
+ import { A, a as r, b as o, D as I, E as t, c as C, d as P, e as L, f as V, g as n, h as W, i as l, j as D, k as S, W as i, l as m, m as M, n as R } from "./utils-dyeaNVPi.js";
4
4
  const T = _(
5
5
  () => import("@car-cutter/react-webplayer").then((E) => E.WebPlayer),
6
6
  { ssr: !1 }
package/dist/legacy.d.ts CHANGED
@@ -95,12 +95,18 @@ export declare type Item =
95
95
  | ImageItem
96
96
  | VideoItem
97
97
  | ThreeSixtyItem
98
+ | NextGenThreeSixtyItem
98
99
  | InteriorThreeSixtyItem;
99
100
 
100
101
  export declare type MediaLoadStrategy = "quality" | "balanced" | "speed";
101
102
 
102
103
  declare type MediaWidth = number;
103
104
 
105
+ declare type NextGenThreeSixtyItem = {
106
+ type: "next360";
107
+ images: ImageWithHotspots[];
108
+ };
109
+
104
110
  declare type ThreeSixtyItem = {
105
111
  type: "360";
106
112
  images: ImageWithHotspots[];
package/dist/legacy.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import _ from "next/dynamic";
3
- import { A, l as r, m as o, D as I, c as t, E as C, d as P, g as L, f as V, k as n, j as W, i as l, h as D, e as S, a as i, b as m, W as M, n as R } from "./utils-fWKvKx03.js";
3
+ import { A, a as r, b as o, D as I, E as t, c as C, d as P, e as L, f as V, g as n, h as W, i as l, j as D, k as S, W as i, l as m, m as M, n as R } from "./utils-dyeaNVPi.js";
4
4
  const T = _(
5
5
  () => import("@car-cutter/react-webplayer/legacy").then((E) => E.WebPlayer),
6
6
  { ssr: !1 }
@@ -5,20 +5,20 @@ function L(o, E) {
5
5
  export {
6
6
  r as A,
7
7
  C as D,
8
- t as E,
9
- s as W,
10
- _ as a,
11
- c as b,
12
- a as c,
8
+ a as E,
9
+ _ as W,
10
+ I as a,
11
+ p as b,
12
+ t as c,
13
13
  n as d,
14
- T as e,
14
+ N as e,
15
15
  e as f,
16
- N as g,
17
- O as h,
16
+ l as g,
17
+ i as h,
18
18
  A as i,
19
- i as j,
20
- l as k,
21
- I as l,
22
- p as m,
19
+ O as j,
20
+ T as k,
21
+ c as l,
22
+ s as m,
23
23
  L as n
24
24
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@car-cutter/next-webplayer",
3
- "version": "3.0.3",
3
+ "version": "3.1.0",
4
4
  "license": "Apache-2.0",
5
5
  "author": {
6
6
  "name": "CarCutter",
@@ -8,6 +8,10 @@
8
8
  },
9
9
  "description": "Use CarCutter WebPlayer in your Next app",
10
10
  "homepage": "https://carcutter.github.io/cars-webplayer-js/",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/carcutter/cars-webplayer-js"
14
+ },
11
15
  "keywords": [
12
16
  "car-cutter",
13
17
  "webplayer",
@@ -41,7 +45,7 @@
41
45
  "analyze": "vite-bundle-visualizer"
42
46
  },
43
47
  "dependencies": {
44
- "@car-cutter/react-webplayer": "3.0.3"
48
+ "@car-cutter/react-webplayer": "3.1.0"
45
49
  },
46
50
  "peerDependencies": {
47
51
  "next": ">=10"
@@ -55,7 +59,7 @@
55
59
  "eslint": "^8.57.0",
56
60
  "rollup-preserve-directives": "^1.1.1",
57
61
  "typescript": "^5.5.4",
58
- "vite": "^5.4.19",
62
+ "vite": "^5.4.21",
59
63
  "vite-bundle-visualizer": "^1.2.1",
60
64
  "vite-plugin-dts": "^4.2.1"
61
65
  },