@liquidcommercedev/rmn-sdk 1.5.0-beta.43 → 1.5.0-beta.45

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.
@@ -54,6 +54,7 @@ export interface ISpot {
54
54
  mute?: boolean;
55
55
  loop?: boolean;
56
56
  showControls?: boolean;
57
+ showMute?: boolean;
57
58
  showPlay?: boolean;
58
59
  showTimeline?: boolean;
59
60
  showVolume?: boolean;
@@ -128,20 +128,27 @@ export interface ILongToutTallRbSpot extends ISpotTemplateBaseData {
128
128
  mobileTextBlockPosition?: ENUM_TEXT_BLOCK_POSITION.TOP_LEFT | ENUM_TEXT_BLOCK_POSITION.TOP_RIGHT | ENUM_TEXT_BLOCK_POSITION.BOTTOM_LEFT | ENUM_TEXT_BLOCK_POSITION.BOTTOM_RIGHT | ENUM_TEXT_BLOCK_POSITION.MIDDLE_LEFT | ENUM_TEXT_BLOCK_POSITION.MIDDLE_RIGHT;
129
129
  }
130
130
  export interface IVideoPlayerRbSpot extends ISpotTemplateBaseData {
131
+ header?: string;
132
+ description?: string;
133
+ mobileHeader?: string;
134
+ mobileDescription?: string;
135
+ textColor?: string;
136
+ textBlockPosition?: ENUM_TEXT_BLOCK_POSITION.TOP_LEFT | ENUM_TEXT_BLOCK_POSITION.TOP_RIGHT | ENUM_TEXT_BLOCK_POSITION.BOTTOM_LEFT | ENUM_TEXT_BLOCK_POSITION.BOTTOM_RIGHT | ENUM_TEXT_BLOCK_POSITION.MIDDLE_LEFT | ENUM_TEXT_BLOCK_POSITION.MIDDLE_RIGHT;
137
+ mobileTextBlockPosition?: ENUM_TEXT_BLOCK_POSITION.TOP_LEFT | ENUM_TEXT_BLOCK_POSITION.TOP_RIGHT | ENUM_TEXT_BLOCK_POSITION.BOTTOM_LEFT | ENUM_TEXT_BLOCK_POSITION.BOTTOM_RIGHT | ENUM_TEXT_BLOCK_POSITION.MIDDLE_LEFT | ENUM_TEXT_BLOCK_POSITION.MIDDLE_RIGHT;
131
138
  video: {
132
139
  url?: string;
140
+ mobileUrl?: string;
133
141
  poster?: string;
134
- posterTitle?: string;
135
- posterDescription?: string;
136
- mobilePosterTitle?: string;
137
- mobilePosterDescription?: string;
142
+ mobilePoster?: string;
138
143
  autoplay?: boolean;
139
144
  mute?: boolean;
140
145
  loop?: boolean;
141
146
  showControls?: boolean;
147
+ showMute?: boolean;
142
148
  showPlay?: boolean;
143
149
  showTimeline?: boolean;
144
150
  showVolume?: boolean;
145
151
  showTime?: boolean;
152
+ aspectRatio?: '16:9' | '4:3' | '1:1' | '3:4' | '9:16';
146
153
  };
147
154
  }
@@ -1,6 +1,7 @@
1
1
  import { BaseSpotComponent } from 'modules/element/component/spot';
2
2
  import type { IVideoPlayerRbSpot } from '../rb-template.interface';
3
3
  export declare class RbVideoPlayerSE extends BaseSpotComponent<IVideoPlayerRbSpot> {
4
+ protected reRenderOnDeviceChange: boolean;
4
5
  private readonly videoSelector;
5
6
  private readonly muteButtonSelector;
6
7
  private video;
@@ -15,6 +16,8 @@ export declare class RbVideoPlayerSE extends BaseSpotComponent<IVideoPlayerRbSpo
15
16
  private initializeElements;
16
17
  private attachEventListeners;
17
18
  private removeEventListeners;
19
+ private getGradientDirection;
20
+ private get hasContent();
18
21
  protected template(): string;
19
22
  protected styles(): string;
20
23
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@liquidcommercedev/rmn-sdk",
3
3
  "description": "LiquidCommerce RMN SDK",
4
4
  "author": "LiquidCommerce Tech",
5
- "version": "1.5.0-beta.43",
5
+ "version": "1.5.0-beta.45",
6
6
  "homepage": "https://docs.liquidcommerce.co/rmn-sdk",
7
7
  "main": "./dist/index.cjs",
8
8
  "module": "./dist/index.esm.js",
@@ -59,16 +59,16 @@
59
59
  ],
60
60
  "license": "",
61
61
  "dependencies": {
62
- "axios": "^1.7.9",
62
+ "axios": "^1.8.2",
63
63
  "buffer": "^6.0.3",
64
- "jose": "^5.9.6"
64
+ "jose": "^5.10.0"
65
65
  },
66
66
  "devDependencies": {
67
- "@commitlint/cli": "^19.6.1",
68
- "@commitlint/config-conventional": "^19.6.0",
69
- "@eslint/eslintrc": "^3.2.0",
70
- "@eslint/js": "^9.19.0",
71
- "@rollup/plugin-commonjs": "^28.0.2",
67
+ "@commitlint/cli": "^19.8.0",
68
+ "@commitlint/config-conventional": "^19.8.0",
69
+ "@eslint/eslintrc": "^3.3.0",
70
+ "@eslint/js": "^9.22.0",
71
+ "@rollup/plugin-commonjs": "^28.0.3",
72
72
  "@rollup/plugin-json": "^6.1.0",
73
73
  "@rollup/plugin-node-resolve": "^15.3.1",
74
74
  "@rollup/plugin-replace": "^6.0.2",
@@ -80,15 +80,14 @@
80
80
  "@types/core-js": "^2.5.8",
81
81
  "@types/crypto-js": "^4.2.2",
82
82
  "@types/eslint__js": "^8.42.3",
83
- "@types/node": "^22.10.10",
84
- "@typescript-eslint/eslint-plugin": "^8.21.0",
85
- "@typescript-eslint/parser": "^8.21.0",
86
- "@vitest/coverage-v8": "^2.1.8",
83
+ "@types/node": "^22.13.10",
84
+ "@typescript-eslint/eslint-plugin": "^8.26.1",
85
+ "@typescript-eslint/parser": "^8.26.1",
87
86
  "conventional-changelog-cli": "^5.0.0",
88
87
  "crypto-js": "^4.2.0",
89
- "eslint": "^9.19.0",
88
+ "eslint": "^9.22.0",
90
89
  "eslint-config-prettier": "^9.1.0",
91
- "eslint-import-resolver-typescript": "^3.7.0",
90
+ "eslint-import-resolver-typescript": "^3.8.3",
92
91
  "eslint-plugin-import": "^2.31.0",
93
92
  "eslint-plugin-import-helpers": "^2.0.1",
94
93
  "eslint-plugin-prettier": "^5.2.3",
@@ -96,16 +95,16 @@
96
95
  "eslint-plugin-sonarjs": "^2.0.4",
97
96
  "eslint-plugin-unicorn": "^56.0.1",
98
97
  "events": "^3.3.0",
99
- "prettier": "^3.4.2",
98
+ "prettier": "^3.5.3",
100
99
  "process": "^0.11.10",
101
- "rollup": "^4.32.0",
100
+ "rollup": "^4.35.0",
102
101
  "rollup-plugin-polyfill-node": "^0.13.0",
103
102
  "rollup-plugin-typescript2": "^0.36.0",
104
- "semantic-release": "^24.2.1",
103
+ "semantic-release": "^24.2.3",
105
104
  "ts-node": "^10.9.2",
106
105
  "typedoc": "^0.26.11",
107
- "typescript": "^5.7.3",
108
- "typescript-eslint": "^8.21.0"
106
+ "typescript": "^5.8.2",
107
+ "typescript-eslint": "^8.26.1"
109
108
  },
110
109
  "engines": {
111
110
  "node": ">=20"