@liquidcommercedev/rmn-sdk 1.5.0-beta.40 → 1.5.0-beta.42
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.cjs +905 -474
- package/dist/index.esm.js +905 -474
- package/dist/types/enums.d.ts +3 -0
- package/dist/types/modules/element/component/spot/spot.component.d.ts +4 -0
- package/dist/types/modules/element/element.interface.d.ts +6 -1
- package/dist/types/modules/selection/selection.interface.d.ts +8 -0
- package/dist/types/modules/spot-template/rb-template.interface.d.ts +79 -48
- package/dist/types/modules/spot-template/reservebar/homepage-hero-full-image.template.d.ts +2 -0
- package/dist/types/modules/spot-template/reservebar/homepage-hero-three-tile.template.d.ts +2 -0
- package/dist/types/modules/spot-template/reservebar/homepage-hero-two-tile.template.d.ts +2 -0
- package/dist/types/modules/spot-template/reservebar/large-category-image-tout.template.d.ts +2 -0
- package/dist/types/modules/spot-template/reservebar/long-tout-short.template.d.ts +2 -0
- package/dist/types/modules/spot-template/reservebar/long-tout-tall.template.d.ts +2 -0
- package/dist/types/modules/spot-template/reservebar/navigation-banner.template.d.ts +2 -0
- package/dist/types/modules/spot-template/reservebar/small-category-image-tout.template.d.ts +2 -0
- package/dist/types/modules/spot-template/reservebar/small-discover-tout.template.d.ts +1 -0
- package/dist/types/modules/spot-template/spot-template.constant.d.ts +5 -0
- package/dist/types/modules/spot-template/spot-template.interface.d.ts +1 -0
- package/dist/types/modules/spot-template/utils.d.ts +2 -0
- package/package.json +13 -11
- package/umd/liquidcommerce-rmn-sdk.min.js +1 -1
package/dist/types/enums.d.ts
CHANGED
@@ -78,6 +78,9 @@ export declare enum RMN_ENV {
|
|
78
78
|
export declare enum ENUM_TEXT_BLOCK_POSITION {
|
79
79
|
LEFT = "left",
|
80
80
|
RIGHT = "right",
|
81
|
+
TOP = "top",
|
82
|
+
BOTTOM = "bottom",
|
83
|
+
MIDDLE = "middle",
|
81
84
|
TOP_LEFT = "top-left",
|
82
85
|
TOP_RIGHT = "top-right",
|
83
86
|
BOTTOM_LEFT = "bottom-left",
|
@@ -4,6 +4,8 @@ declare const BaseElement: typeof HTMLElement;
|
|
4
4
|
export declare abstract class BaseSpotComponent<TData extends ISpotTemplateBaseData = ISpotTemplateBaseData, TConfig extends ICreateSpotConfig = ICreateSpotConfig> extends BaseElement {
|
5
5
|
private initialized;
|
6
6
|
private dataInitialized;
|
7
|
+
protected reRenderOnDeviceChange: boolean;
|
8
|
+
protected _isMobileDevice: boolean;
|
7
9
|
protected readonly _data: TData;
|
8
10
|
protected readonly _config: TConfig;
|
9
11
|
protected _container: HTMLElement | ShadowRoot;
|
@@ -11,10 +13,12 @@ export declare abstract class BaseSpotComponent<TData extends ISpotTemplateBaseD
|
|
11
13
|
initializeData(data: TData, config: TConfig): void;
|
12
14
|
private render;
|
13
15
|
private baseStyles;
|
16
|
+
private setupDeviceDetection;
|
14
17
|
protected abstract template(): HTMLElement | string;
|
15
18
|
protected abstract styles(): string;
|
16
19
|
protected connected?(): void;
|
17
20
|
protected disconnected?(): void;
|
21
|
+
protected onDeviceChange?(isMobile: boolean): void;
|
18
22
|
connectedCallback(): void;
|
19
23
|
disconnectedCallback(): void;
|
20
24
|
}
|
@@ -2,7 +2,7 @@ import type { RMN_FILTER_PROPERTIES, RMN_SPOT_TYPE } from 'enums';
|
|
2
2
|
import type { ICarouselOptions, ICreateCarouselElementParams } from 'modules/element/component/carousel';
|
3
3
|
import type { ICreateSkeletonElementParams } from 'modules/element/component/skeleton';
|
4
4
|
import type { ICreateSpotElementParams } from 'modules/element/component/spot';
|
5
|
-
import type { RmnFilterType } from 'modules/selection';
|
5
|
+
import type { ISpots, RmnFilterType } from 'modules/selection';
|
6
6
|
export interface ISpotColors {
|
7
7
|
textColor?: string;
|
8
8
|
backgroundColor?: string;
|
@@ -44,6 +44,11 @@ export interface IInjectSpotElementParams {
|
|
44
44
|
inject: IInjectSpotElement[];
|
45
45
|
config?: IInjectSpotElementConfig;
|
46
46
|
filter?: Partial<RmnFilterType>;
|
47
|
+
/**
|
48
|
+
* By using this object, the sdk service will not fetch the spots data from the API.
|
49
|
+
* Instead, it will use the provided spots data to render the spot elements.
|
50
|
+
*/
|
51
|
+
customSpots?: ISpots;
|
47
52
|
}
|
48
53
|
export interface IElementService {
|
49
54
|
createSpotElement(params: ICreateSpotElementParams): HTMLElement | null;
|
@@ -27,7 +27,12 @@ export interface ISpot {
|
|
27
27
|
header?: string;
|
28
28
|
description?: string;
|
29
29
|
ctaText?: string;
|
30
|
+
mobilePreHeader?: string;
|
31
|
+
mobileHeader?: string;
|
32
|
+
mobileDescription?: string;
|
33
|
+
mobileCtaText?: string;
|
30
34
|
textBlockPosition?: ENUM_TEXT_BLOCK_POSITION;
|
35
|
+
mobileTextBlockPosition?: ENUM_TEXT_BLOCK_POSITION;
|
31
36
|
textColor?: string;
|
32
37
|
backgroundColor?: string;
|
33
38
|
ctaTextColor?: string;
|
@@ -36,12 +41,15 @@ export interface ISpot {
|
|
36
41
|
secondaryImage?: string;
|
37
42
|
mobilePrimaryImage?: string;
|
38
43
|
mobileSecondaryImage?: string;
|
44
|
+
enableMobileTexts?: boolean;
|
39
45
|
productIds?: Array<string | number>;
|
40
46
|
video?: {
|
41
47
|
url?: string;
|
42
48
|
poster?: string;
|
43
49
|
posterTitle?: string;
|
44
50
|
posterDescription?: string;
|
51
|
+
mobilePosterTitle?: string;
|
52
|
+
mobilePosterDescription?: string;
|
45
53
|
autoplay?: boolean;
|
46
54
|
mute?: boolean;
|
47
55
|
loop?: boolean;
|
@@ -5,98 +5,127 @@ export interface ICollectionBannerWithoutTextBlockRbSpot extends ISpotTemplateBa
|
|
5
5
|
mobilePrimaryImage?: string;
|
6
6
|
}
|
7
7
|
export interface IHomepageHeroFullImageRbSpot extends ISpotTemplateBaseData {
|
8
|
-
preHeader
|
9
|
-
header
|
10
|
-
description
|
11
|
-
ctaText
|
12
|
-
|
13
|
-
|
14
|
-
|
8
|
+
preHeader?: string;
|
9
|
+
header?: string;
|
10
|
+
description?: string;
|
11
|
+
ctaText?: string;
|
12
|
+
mobilePreHeader?: string;
|
13
|
+
mobileHeader?: string;
|
14
|
+
mobileDescription?: string;
|
15
|
+
mobileCtaText?: string;
|
16
|
+
textColor?: string;
|
17
|
+
ctaTextColor?: string;
|
18
|
+
ctaBorderColor?: string;
|
15
19
|
primaryImage: string;
|
16
20
|
mobilePrimaryImage?: string;
|
17
21
|
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;
|
22
|
+
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;
|
18
23
|
}
|
19
24
|
export interface IHomepageHeroThreeTileRbSpot extends ISpotTemplateBaseData {
|
20
|
-
header
|
21
|
-
description
|
22
|
-
ctaText
|
23
|
-
|
24
|
-
|
25
|
-
|
25
|
+
header?: string;
|
26
|
+
description?: string;
|
27
|
+
ctaText?: string;
|
28
|
+
mobileHeader?: string;
|
29
|
+
mobileDescription?: string;
|
30
|
+
mobileCtaText?: string;
|
31
|
+
textColor?: string;
|
32
|
+
backgroundColor?: string;
|
33
|
+
ctaTextColor?: string;
|
26
34
|
primaryImage: string;
|
27
35
|
mobilePrimaryImage?: string;
|
28
36
|
secondaryImage: string;
|
29
37
|
mobileSecondaryImage?: string;
|
30
38
|
textBlockPosition?: ENUM_TEXT_BLOCK_POSITION.LEFT | ENUM_TEXT_BLOCK_POSITION.RIGHT;
|
39
|
+
mobileTextBlockPosition?: ENUM_TEXT_BLOCK_POSITION.LEFT | ENUM_TEXT_BLOCK_POSITION.RIGHT;
|
31
40
|
}
|
32
41
|
export interface IHomepageHeroTwoTileRbSpot extends ISpotTemplateBaseData {
|
33
|
-
header
|
34
|
-
description
|
35
|
-
ctaText
|
36
|
-
|
37
|
-
|
38
|
-
|
42
|
+
header?: string;
|
43
|
+
description?: string;
|
44
|
+
ctaText?: string;
|
45
|
+
mobileHeader?: string;
|
46
|
+
mobileDescription?: string;
|
47
|
+
mobileCtaText?: string;
|
48
|
+
textColor?: string;
|
49
|
+
backgroundColor?: string;
|
50
|
+
ctaTextColor?: string;
|
39
51
|
primaryImage: string;
|
40
52
|
mobilePrimaryImage?: string;
|
41
53
|
textBlockPosition?: ENUM_TEXT_BLOCK_POSITION.LEFT | ENUM_TEXT_BLOCK_POSITION.RIGHT;
|
54
|
+
mobileTextBlockPosition?: ENUM_TEXT_BLOCK_POSITION.TOP | ENUM_TEXT_BLOCK_POSITION.BOTTOM;
|
42
55
|
}
|
43
56
|
export interface IInTextRbSpot extends ISpotTemplateBaseData {
|
44
57
|
header: string;
|
45
|
-
|
46
|
-
|
58
|
+
mobileHeader?: string;
|
59
|
+
textColor?: string;
|
60
|
+
backgroundColor?: string;
|
47
61
|
}
|
48
62
|
export interface ILargeCategoryImageToutRbSpot extends ISpotTemplateBaseData {
|
49
|
-
header
|
50
|
-
description
|
51
|
-
ctaText
|
52
|
-
|
53
|
-
|
54
|
-
|
63
|
+
header?: string;
|
64
|
+
description?: string;
|
65
|
+
ctaText?: string;
|
66
|
+
mobileHeader?: string;
|
67
|
+
mobileDescription?: string;
|
68
|
+
mobileCtaText?: string;
|
69
|
+
textColor?: string;
|
70
|
+
ctaTextColor?: string;
|
71
|
+
ctaBorderColor?: string;
|
55
72
|
primaryImage: string;
|
56
73
|
mobilePrimaryImage?: string;
|
57
74
|
textBlockPosition?: ENUM_TEXT_BLOCK_POSITION.LEFT | ENUM_TEXT_BLOCK_POSITION.RIGHT;
|
58
75
|
}
|
59
76
|
export interface INavigationBannerRbSpot extends ISpotTemplateBaseData {
|
60
|
-
header
|
61
|
-
|
77
|
+
header?: string;
|
78
|
+
mobileHeader?: string;
|
79
|
+
textColor?: string;
|
62
80
|
primaryImage: string;
|
63
81
|
mobilePrimaryImage?: string;
|
64
82
|
}
|
65
83
|
export interface ISmallCategoryImageToutRbSpot extends ISpotTemplateBaseData {
|
66
|
-
header
|
67
|
-
|
84
|
+
header?: string;
|
85
|
+
mobileHeader?: string;
|
86
|
+
textColor?: string;
|
68
87
|
primaryImage: string;
|
69
88
|
mobilePrimaryImage?: string;
|
70
89
|
}
|
71
90
|
export interface ISmallDiscoverToutRbSpot extends ISpotTemplateBaseData {
|
72
|
-
header
|
73
|
-
|
74
|
-
|
91
|
+
header?: string;
|
92
|
+
mobileHeader?: string;
|
93
|
+
textColor?: string;
|
94
|
+
backgroundColor?: string;
|
75
95
|
primaryImage: string;
|
76
96
|
mobilePrimaryImage?: string;
|
77
97
|
}
|
78
98
|
export interface ILongToutShortRbSpot extends ISpotTemplateBaseData {
|
79
|
-
preHeader
|
80
|
-
header
|
81
|
-
description
|
82
|
-
ctaText
|
83
|
-
|
84
|
-
|
85
|
-
|
99
|
+
preHeader?: string;
|
100
|
+
header?: string;
|
101
|
+
description?: string;
|
102
|
+
ctaText?: string;
|
103
|
+
mobilePreHeader?: string;
|
104
|
+
mobileHeader?: string;
|
105
|
+
mobileDescription?: string;
|
106
|
+
mobileCtaText?: string;
|
107
|
+
textColor?: string;
|
108
|
+
ctaTextColor?: string;
|
109
|
+
ctaBorderColor?: string;
|
86
110
|
primaryImage: string;
|
87
111
|
mobilePrimaryImage?: string;
|
88
112
|
}
|
89
113
|
export interface ILongToutTallRbSpot extends ISpotTemplateBaseData {
|
90
|
-
preHeader
|
91
|
-
header
|
92
|
-
description
|
93
|
-
ctaText
|
94
|
-
|
95
|
-
|
96
|
-
|
114
|
+
preHeader?: string;
|
115
|
+
header?: string;
|
116
|
+
description?: string;
|
117
|
+
ctaText?: string;
|
118
|
+
mobilePreHeader?: string;
|
119
|
+
mobileHeader?: string;
|
120
|
+
mobileDescription?: string;
|
121
|
+
mobileCtaText?: string;
|
122
|
+
textColor?: string;
|
123
|
+
ctaTextColor?: string;
|
124
|
+
ctaBorderColor?: string;
|
97
125
|
primaryImage: string;
|
98
126
|
mobilePrimaryImage?: string;
|
99
127
|
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;
|
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;
|
100
129
|
}
|
101
130
|
export interface IVideoPlayerRbSpot extends ISpotTemplateBaseData {
|
102
131
|
video: {
|
@@ -104,6 +133,8 @@ export interface IVideoPlayerRbSpot extends ISpotTemplateBaseData {
|
|
104
133
|
poster?: string;
|
105
134
|
posterTitle?: string;
|
106
135
|
posterDescription?: string;
|
136
|
+
mobilePosterTitle?: string;
|
137
|
+
mobilePosterDescription?: string;
|
107
138
|
autoplay?: boolean;
|
108
139
|
mute?: boolean;
|
109
140
|
loop?: boolean;
|
@@ -1,8 +1,10 @@
|
|
1
1
|
import { BaseSpotComponent } from 'modules/element/component/spot';
|
2
2
|
import type { IHomepageHeroFullImageRbSpot } from '../rb-template.interface';
|
3
3
|
export declare class RbHomepageHeroFullImageSE extends BaseSpotComponent<IHomepageHeroFullImageRbSpot> {
|
4
|
+
protected reRenderOnDeviceChange: boolean;
|
4
5
|
constructor();
|
5
6
|
private getGradientDirection;
|
6
7
|
protected template(): string;
|
7
8
|
protected styles(): string;
|
9
|
+
private get hasContent();
|
8
10
|
}
|
@@ -1,7 +1,9 @@
|
|
1
1
|
import { BaseSpotComponent } from 'modules/element/component/spot';
|
2
2
|
import type { IHomepageHeroThreeTileRbSpot } from '../rb-template.interface';
|
3
3
|
export declare class RbHomepageHeroThreeTileSE extends BaseSpotComponent<IHomepageHeroThreeTileRbSpot> {
|
4
|
+
protected reRenderOnDeviceChange: boolean;
|
4
5
|
constructor();
|
5
6
|
protected template(): string;
|
6
7
|
protected styles(): string;
|
8
|
+
private get hasContent();
|
7
9
|
}
|
@@ -1,7 +1,9 @@
|
|
1
1
|
import { BaseSpotComponent } from 'modules/element/component/spot';
|
2
2
|
import type { IHomepageHeroTwoTileRbSpot } from '../rb-template.interface';
|
3
3
|
export declare class RbHomepageHeroTwoTileSE extends BaseSpotComponent<IHomepageHeroTwoTileRbSpot> {
|
4
|
+
protected reRenderOnDeviceChange: boolean;
|
4
5
|
constructor();
|
5
6
|
protected template(): string;
|
6
7
|
protected styles(): string;
|
8
|
+
private get hasContent();
|
7
9
|
}
|
@@ -1,7 +1,9 @@
|
|
1
1
|
import { BaseSpotComponent } from 'modules/element/component/spot';
|
2
2
|
import type { ILargeCategoryImageToutRbSpot } from '../rb-template.interface';
|
3
3
|
export declare class RbLargeCategoryImageToutSE extends BaseSpotComponent<ILargeCategoryImageToutRbSpot> {
|
4
|
+
protected reRenderOnDeviceChange: boolean;
|
4
5
|
constructor();
|
5
6
|
protected template(): string;
|
6
7
|
protected styles(): string;
|
8
|
+
private get hasContent();
|
7
9
|
}
|
@@ -1,7 +1,9 @@
|
|
1
1
|
import { BaseSpotComponent } from 'modules/element/component/spot';
|
2
2
|
import type { ILongToutShortRbSpot } from '../rb-template.interface';
|
3
3
|
export declare class RbLongToutShortSE extends BaseSpotComponent<ILongToutShortRbSpot> {
|
4
|
+
protected reRenderOnDeviceChange: boolean;
|
4
5
|
constructor();
|
5
6
|
protected template(): string;
|
6
7
|
protected styles(): string;
|
8
|
+
private get hasContent();
|
7
9
|
}
|
@@ -1,8 +1,10 @@
|
|
1
1
|
import { BaseSpotComponent } from 'modules/element/component/spot';
|
2
2
|
import type { ILongToutTallRbSpot } from '../rb-template.interface';
|
3
3
|
export declare class RbLongToutTallSE extends BaseSpotComponent<ILongToutTallRbSpot> {
|
4
|
+
protected reRenderOnDeviceChange: boolean;
|
4
5
|
constructor();
|
5
6
|
private getGradientDirection;
|
6
7
|
protected template(): string;
|
7
8
|
protected styles(): string;
|
9
|
+
private get hasContent();
|
8
10
|
}
|
@@ -1,7 +1,9 @@
|
|
1
1
|
import { BaseSpotComponent } from 'modules/element/component/spot';
|
2
2
|
import type { INavigationBannerRbSpot } from '../rb-template.interface';
|
3
3
|
export declare class RbNavigationBannerSE extends BaseSpotComponent<INavigationBannerRbSpot> {
|
4
|
+
protected reRenderOnDeviceChange: boolean;
|
4
5
|
constructor();
|
5
6
|
protected template(): string;
|
6
7
|
protected styles(): string;
|
8
|
+
private get hasContent();
|
7
9
|
}
|
@@ -1,7 +1,9 @@
|
|
1
1
|
import { BaseSpotComponent } from 'modules/element/component/spot';
|
2
2
|
import type { ISmallCategoryImageToutRbSpot } from '../rb-template.interface';
|
3
3
|
export declare class RbSmallCategoryImageToutSE extends BaseSpotComponent<ISmallCategoryImageToutRbSpot> {
|
4
|
+
protected reRenderOnDeviceChange: boolean;
|
4
5
|
constructor();
|
5
6
|
protected template(): string;
|
6
7
|
protected styles(): string;
|
8
|
+
private get hasContent();
|
7
9
|
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { BaseSpotComponent } from 'modules/element/component/spot';
|
2
2
|
import type { ISmallDiscoverToutRbSpot } from '../rb-template.interface';
|
3
3
|
export declare class RbSmallDiscoverToutSE extends BaseSpotComponent<ISmallDiscoverToutRbSpot> {
|
4
|
+
protected reRenderOnDeviceChange: boolean;
|
4
5
|
constructor();
|
5
6
|
protected template(): string;
|
6
7
|
protected styles(): string;
|
@@ -1,3 +1,8 @@
|
|
1
1
|
export declare const GFONT_PRECONNECT = "\n <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">\n <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>\n";
|
2
2
|
export declare const GFONT_SOURCE_SANS_3 = "\n <link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap\">\n";
|
3
3
|
export declare const GFONT_CORMORANT = "\n <link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap\">\n";
|
4
|
+
export declare const FONTS: {
|
5
|
+
readonly preconnect: "\n <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">\n <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>\n";
|
6
|
+
readonly sourceSans: "\n <link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap\">\n";
|
7
|
+
readonly cormorant: "\n <link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap\">\n";
|
8
|
+
};
|
@@ -1,3 +1,5 @@
|
|
1
1
|
import type { ISpotOverlay } from 'types';
|
2
2
|
export declare function convertHexToRgba(hex: string, opacity?: number): string;
|
3
3
|
export declare function generateGradientColor(overlay?: ISpotOverlay, fallback?: string): string;
|
4
|
+
export declare function importFonts(...fonts: Array<'sourceSans' | 'cormorant'>): string;
|
5
|
+
export declare function renderElement(tag: string, className: string, content?: string): string;
|
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.
|
5
|
+
"version": "1.5.0-beta.42",
|
6
6
|
"homepage": "https://docs.liquidcommerce.co/rmn-sdk",
|
7
7
|
"main": "./dist/index.cjs",
|
8
8
|
"module": "./dist/index.esm.js",
|
@@ -41,6 +41,8 @@
|
|
41
41
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
42
42
|
"lint": "eslint \"src/**/*.ts\"",
|
43
43
|
"format": "prettier --write \"src/**/*.ts\"",
|
44
|
+
"clean": "rm -rf dist",
|
45
|
+
"clean:hard": "rm -rf dist node_modules && pnpm install",
|
44
46
|
"docs": "typedoc --out docs src",
|
45
47
|
"prepublishOnly": "pnpm run build"
|
46
48
|
},
|
@@ -65,7 +67,7 @@
|
|
65
67
|
"@commitlint/cli": "^19.6.1",
|
66
68
|
"@commitlint/config-conventional": "^19.6.0",
|
67
69
|
"@eslint/eslintrc": "^3.2.0",
|
68
|
-
"@eslint/js": "^9.
|
70
|
+
"@eslint/js": "^9.19.0",
|
69
71
|
"@rollup/plugin-commonjs": "^28.0.2",
|
70
72
|
"@rollup/plugin-json": "^6.1.0",
|
71
73
|
"@rollup/plugin-node-resolve": "^15.3.1",
|
@@ -78,32 +80,32 @@
|
|
78
80
|
"@types/core-js": "^2.5.8",
|
79
81
|
"@types/crypto-js": "^4.2.2",
|
80
82
|
"@types/eslint__js": "^8.42.3",
|
81
|
-
"@types/node": "^22.10.
|
82
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
83
|
-
"@typescript-eslint/parser": "^8.
|
83
|
+
"@types/node": "^22.10.10",
|
84
|
+
"@typescript-eslint/eslint-plugin": "^8.21.0",
|
85
|
+
"@typescript-eslint/parser": "^8.21.0",
|
84
86
|
"@vitest/coverage-v8": "^2.1.8",
|
85
87
|
"conventional-changelog-cli": "^5.0.0",
|
86
88
|
"crypto-js": "^4.2.0",
|
87
|
-
"eslint": "^9.
|
89
|
+
"eslint": "^9.19.0",
|
88
90
|
"eslint-config-prettier": "^9.1.0",
|
89
91
|
"eslint-import-resolver-typescript": "^3.7.0",
|
90
92
|
"eslint-plugin-import": "^2.31.0",
|
91
93
|
"eslint-plugin-import-helpers": "^2.0.1",
|
92
|
-
"eslint-plugin-prettier": "^5.2.
|
94
|
+
"eslint-plugin-prettier": "^5.2.3",
|
93
95
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
94
96
|
"eslint-plugin-sonarjs": "^2.0.4",
|
95
97
|
"eslint-plugin-unicorn": "^56.0.1",
|
96
98
|
"events": "^3.3.0",
|
97
99
|
"prettier": "^3.4.2",
|
98
100
|
"process": "^0.11.10",
|
99
|
-
"rollup": "^4.
|
101
|
+
"rollup": "^4.32.0",
|
100
102
|
"rollup-plugin-polyfill-node": "^0.13.0",
|
101
103
|
"rollup-plugin-typescript2": "^0.36.0",
|
102
|
-
"semantic-release": "^24.2.
|
104
|
+
"semantic-release": "^24.2.1",
|
103
105
|
"ts-node": "^10.9.2",
|
104
106
|
"typedoc": "^0.26.11",
|
105
|
-
"typescript": "^5.7.
|
106
|
-
"typescript-eslint": "^8.
|
107
|
+
"typescript": "^5.7.3",
|
108
|
+
"typescript-eslint": "^8.21.0"
|
107
109
|
},
|
108
110
|
"engines": {
|
109
111
|
"node": ">=20"
|