@jaaq/jaaq-sdk-js 1.6.0 → 1.7.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
@@ -62,6 +62,15 @@ type CtaV2DTO = {
62
62
  url?: string;
63
63
  label?: string;
64
64
  labelColor?: string;
65
+ /** Video Reference only. Text shown beside the label. */
66
+ description?: string;
67
+ /**
68
+ * Video Reference only. `false` opens the link in the page that embeds the player, instead of a new tab.
69
+ * The API sends it for every Video Reference; older API versions leave it out, which also means a new tab.
70
+ */
71
+ openInNewTab?: boolean;
72
+ /** Video Reference only. The player shows this image in place of the text banner. */
73
+ imageUrl?: string;
65
74
  };
66
75
 
67
76
  type SubtitleV2DTO = {
@@ -48,6 +48,15 @@ type CtaV2DTO = {
48
48
  url?: string;
49
49
  label?: string;
50
50
  labelColor?: string;
51
+ /** Video Reference only. Text shown beside the label. */
52
+ description?: string;
53
+ /**
54
+ * Video Reference only. `false` opens the link in the page that embeds the player, instead of a new tab.
55
+ * The API sends it for every Video Reference; older API versions leave it out, which also means a new tab.
56
+ */
57
+ openInNewTab?: boolean;
58
+ /** Video Reference only. The player shows this image in place of the text banner. */
59
+ imageUrl?: string;
51
60
  };
52
61
 
53
62
  type SubtitleV2DTO = {
@@ -40,6 +40,15 @@ type CtaV2DTO = {
40
40
  url?: string;
41
41
  label?: string;
42
42
  labelColor?: string;
43
+ /** Video Reference only. Text shown beside the label. */
44
+ description?: string;
45
+ /**
46
+ * Video Reference only. `false` opens the link in the page that embeds the player, instead of a new tab.
47
+ * The API sends it for every Video Reference; older API versions leave it out, which also means a new tab.
48
+ */
49
+ openInNewTab?: boolean;
50
+ /** Video Reference only. The player shows this image in place of the text banner. */
51
+ imageUrl?: string;
43
52
  };
44
53
 
45
54
  type SubtitleV2DTO = {
@@ -48,6 +48,15 @@ type CtaV2DTO = {
48
48
  url?: string;
49
49
  label?: string;
50
50
  labelColor?: string;
51
+ /** Video Reference only. Text shown beside the label. */
52
+ description?: string;
53
+ /**
54
+ * Video Reference only. `false` opens the link in the page that embeds the player, instead of a new tab.
55
+ * The API sends it for every Video Reference; older API versions leave it out, which also means a new tab.
56
+ */
57
+ openInNewTab?: boolean;
58
+ /** Video Reference only. The player shows this image in place of the text banner. */
59
+ imageUrl?: string;
51
60
  };
52
61
 
53
62
  type SubtitleV2DTO = {
@@ -63,6 +63,15 @@ type CtaV2DTO = {
63
63
  url?: string;
64
64
  label?: string;
65
65
  labelColor?: string;
66
+ /** Video Reference only. Text shown beside the label. */
67
+ description?: string;
68
+ /**
69
+ * Video Reference only. `false` opens the link in the page that embeds the player, instead of a new tab.
70
+ * The API sends it for every Video Reference; older API versions leave it out, which also means a new tab.
71
+ */
72
+ openInNewTab?: boolean;
73
+ /** Video Reference only. The player shows this image in place of the text banner. */
74
+ imageUrl?: string;
66
75
  };
67
76
 
68
77
  type SubtitleV2DTO = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jaaq/jaaq-sdk-js",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "private": false,
5
5
  "description": "Official JavaScript SDK for JAAQ API",
6
6
  "main": "./dist/index.cjs",
@@ -98,23 +98,23 @@
98
98
  "@types/node": "26.6.6",
99
99
  "@types/react": "19.3.0",
100
100
  "@types/react-dom": "19.3.0",
101
- "@typescript-eslint/eslint-plugin": "8.72.1",
102
- "@typescript-eslint/parser": "8.72.1",
101
+ "@typescript-eslint/eslint-plugin": "8.73.0",
102
+ "@typescript-eslint/parser": "8.73.0",
103
103
  "@vitest/coverage-v8": "4.1.12",
104
- "eslint": "10.14.0",
104
+ "eslint": "10.15.0",
105
105
  "eslint-config-prettier": "10.1.8",
106
- "globals": "17.13.0",
106
+ "globals": "17.14.0",
107
107
  "husky": "9.1.7",
108
108
  "lint-staged": "17.6.0",
109
109
  "msw": "2.15.0",
110
110
  "openapi-typescript": "7.13.0",
111
- "prettier": "3.9.10",
111
+ "prettier": "3.10.1",
112
112
  "react": "19.3.0",
113
113
  "react-dom": "19.3.0",
114
114
  "rollup": "4.67.4",
115
115
  "rollup-plugin-dts": "6.5.1",
116
116
  "rollup-plugin-tsconfig-paths": "1.5.2",
117
- "tslib": "2.8.1",
117
+ "tslib": "2.9.1",
118
118
  "typescript": "6.0.3",
119
119
  "vitest": "4.1.12"
120
120
  },