@liquidcommercedev/rmn-sdk 1.5.0-beta.4 → 1.5.0-beta.41
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/README.md +201 -57
- package/dist/index.cjs +6418 -3423
- package/dist/index.esm.js +6417 -3422
- package/dist/types/common/helpers/event-type.helper.d.ts +8 -0
- package/dist/types/common/helpers/extract-deep.helper.d.ts +14 -0
- package/dist/types/common/helpers/index.d.ts +6 -0
- package/dist/types/common/helpers/normalize-string.helper.d.ts +14 -0
- package/dist/types/common/helpers/utils.helper.d.ts +37 -0
- package/dist/types/common/http/api.constant.d.ts +1 -1
- package/dist/types/common/http/api.interface.d.ts +1 -1
- package/dist/types/common/http/base.api.d.ts +1 -1
- package/dist/types/constants/special-chars-map.constant.d.ts +1 -0
- package/dist/types/constants/spot-dimension.constant.d.ts +2 -0
- package/dist/types/enums.d.ts +25 -1
- package/dist/types/index.umd.d.ts +2 -2
- package/dist/types/modules/element/component/carousel/carousel.interface.d.ts +8 -3
- package/dist/types/modules/element/component/skeleton/index.d.ts +2 -0
- package/dist/types/modules/element/component/skeleton/skeleton.component.d.ts +3 -0
- package/dist/types/modules/element/component/skeleton/skeleton.interface.d.ts +14 -0
- package/dist/types/modules/element/component/spot/spot.component.d.ts +21 -3
- package/dist/types/modules/element/component/spot/spot.interface.d.ts +11 -7
- package/dist/types/modules/element/element.constant.d.ts +2 -5
- package/dist/types/modules/element/element.interface.d.ts +5 -8
- package/dist/types/modules/element/element.service.d.ts +29 -11
- package/dist/types/modules/helper-service/index.d.ts +4 -0
- package/dist/types/modules/helper-service/localstorage.service.d.ts +82 -0
- package/dist/types/modules/helper-service/proximity-observer.service.d.ts +30 -0
- package/dist/types/modules/{event/pubsub.d.ts → helper-service/pubsub.service.d.ts} +8 -9
- package/dist/types/modules/monitor/index.d.ts +2 -0
- package/dist/types/modules/monitor/monitor.enums.d.ts +5 -0
- package/dist/types/modules/monitor/monitor.interface.d.ts +21 -0
- package/dist/types/modules/monitor/monitor.service.d.ts +12 -0
- package/dist/types/modules/monitor/monitors/datalayer.monitor.d.ts +11 -0
- package/dist/types/modules/selection/selection.interface.d.ts +27 -3
- package/dist/types/modules/selection/selection.service.d.ts +1 -0
- package/dist/types/modules/selection/selection.type.d.ts +5 -9
- package/dist/types/modules/spot-manager/index.d.ts +2 -0
- package/dist/types/modules/{event/event.interface.d.ts → spot-manager/spot-manager.interface.d.ts} +9 -29
- package/dist/types/modules/spot-manager/spot-manager.service.d.ts +28 -0
- package/dist/types/modules/spot-template/iab/billboard/billboard-v1.template.d.ts +14 -0
- package/dist/types/modules/spot-template/iab/billboard/index.d.ts +1 -0
- package/dist/types/modules/{element/template → spot-template}/iab/in-text/in-text-v1.template.d.ts +1 -1
- package/dist/types/modules/{element/template → spot-template}/iab/large-leaderboard/index.d.ts +0 -1
- package/dist/types/modules/{element/template → spot-template}/iab/square/index.d.ts +0 -1
- package/dist/types/modules/spot-template/iab-template.interface.d.ts +12 -0
- package/dist/types/modules/spot-template/index.d.ts +4 -0
- package/dist/types/modules/spot-template/rb-template.interface.d.ts +120 -0
- package/dist/types/modules/spot-template/reservebar/collection-banner-without-text-block.template.d.ts +7 -0
- package/dist/types/modules/spot-template/reservebar/homepage-hero-full-image.template.d.ts +8 -0
- package/dist/types/modules/spot-template/reservebar/homepage-hero-three-tile.template.d.ts +7 -0
- package/dist/types/modules/spot-template/reservebar/homepage-hero-two-tile.template.d.ts +7 -0
- package/dist/types/modules/spot-template/reservebar/in-text.template.d.ts +7 -0
- package/dist/types/modules/{element/template → spot-template}/reservebar/index.d.ts +4 -0
- package/dist/types/modules/spot-template/reservebar/large-category-image-tout.template.d.ts +7 -0
- package/dist/types/modules/spot-template/reservebar/long-tout-short.template.d.ts +7 -0
- package/dist/types/modules/spot-template/reservebar/long-tout-tall.template.d.ts +8 -0
- package/dist/types/modules/spot-template/reservebar/navigation-banner.template.d.ts +7 -0
- package/dist/types/modules/spot-template/reservebar/small-category-image-tout.template.d.ts +7 -0
- package/dist/types/modules/spot-template/reservebar/small-discover-tout.template.d.ts +7 -0
- package/dist/types/modules/spot-template/reservebar/video-player.template.d.ts +20 -0
- package/dist/types/modules/spot-template/spot-template.constant.d.ts +3 -0
- package/dist/types/modules/spot-template/spot-template.interface.d.ts +13 -0
- package/dist/types/modules/spot-template/spot-template.service.d.ts +13 -0
- package/dist/types/modules/{element/template/helper.d.ts → spot-template/utils.d.ts} +1 -2
- package/dist/types/rmn-client.d.ts +75 -38
- package/dist/types/rmn-client.helper.d.ts +41 -0
- package/dist/types/types.d.ts +8 -7
- package/package.json +30 -42
- package/umd/liquidcommerce-rmn-sdk.min.js +1 -1
- package/dist/types/modules/element/component/utils.d.ts +0 -1
- package/dist/types/modules/element/template/iab/billboard/billboard-v1.template.d.ts +0 -2
- package/dist/types/modules/element/template/iab/billboard/billboard-v2.template.d.ts +0 -2
- package/dist/types/modules/element/template/iab/billboard/billboard-v3.template.d.ts +0 -2
- package/dist/types/modules/element/template/iab/billboard/index.d.ts +0 -3
- package/dist/types/modules/element/template/iab/large-leaderboard/large-leaderboard-v2.template.d.ts +0 -2
- package/dist/types/modules/element/template/iab/square/square-v2.template.d.ts +0 -2
- package/dist/types/modules/element/template/index.d.ts +0 -1
- package/dist/types/modules/element/template/reservebar/collection-banner-without-text-block.template.d.ts +0 -3
- package/dist/types/modules/element/template/reservebar/homepage-hero-full-image.template.d.ts +0 -3
- package/dist/types/modules/element/template/reservebar/homepage-hero-three-tile.template.d.ts +0 -3
- package/dist/types/modules/element/template/reservebar/homepage-hero-two-tile.template.d.ts +0 -3
- package/dist/types/modules/element/template/reservebar/large-category-image-tout.template.d.ts +0 -3
- package/dist/types/modules/element/template/reservebar/navigation-banner.template.d.ts +0 -3
- package/dist/types/modules/element/template/reservebar/small-category-image-tout.template.d.ts +0 -3
- package/dist/types/modules/element/template/reservebar/small-discover-tout.template.d.ts +0 -3
- package/dist/types/modules/element/template/template.service.d.ts +0 -11
- package/dist/types/modules/element/template/template.type.d.ts +0 -11
- package/dist/types/modules/event/event.constant.d.ts +0 -1
- package/dist/types/modules/event/event.service.d.ts +0 -47
- package/dist/types/modules/event/helpers/index.d.ts +0 -3
- package/dist/types/modules/event/helpers/intersection.service.d.ts +0 -8
- package/dist/types/modules/event/helpers/localstorage.service.d.ts +0 -26
- package/dist/types/modules/event/index.d.ts +0 -4
- package/dist/types/static.constant.d.ts +0 -4
- /package/dist/types/modules/{event/helpers → helper-service}/resize.service.d.ts +0 -0
- /package/dist/types/modules/{element/template → spot-template}/iab/in-text/index.d.ts +0 -0
- /package/dist/types/modules/{element/template → spot-template}/iab/index.d.ts +0 -0
- /package/dist/types/modules/{element/template → spot-template}/iab/large-leaderboard/large-leaderboard-v1.template.d.ts +0 -0
- /package/dist/types/modules/{element/template → spot-template}/iab/large-rectangle/index.d.ts +0 -0
- /package/dist/types/modules/{element/template → spot-template}/iab/large-rectangle/large-rectangle-v1.template.d.ts +0 -0
- /package/dist/types/modules/{element/template → spot-template}/iab/square/square-v1.template.d.ts +0 -0
- /package/dist/types/modules/{element/template → spot-template}/iab/vertical-rectangle/index.d.ts +0 -0
- /package/dist/types/modules/{element/template → spot-template}/iab/vertical-rectangle/vertical-rectangle-v1.template.d.ts +0 -0
- /package/dist/types/modules/{element/template → spot-template}/iab/wide-skyscraper/index.d.ts +0 -0
- /package/dist/types/modules/{element/template → spot-template}/iab/wide-skyscraper/wide-skyscraper-v1.template.d.ts +0 -0
@@ -1,11 +1,17 @@
|
|
1
1
|
import type { IAuthCredentials } from 'modules/auth';
|
2
|
-
import type { IInjectSpotElementParams
|
2
|
+
import type { IInjectSpotElementParams } from 'modules/element';
|
3
3
|
import type { ISpot, ISpots, ISpotSelectionParams } from 'modules/selection';
|
4
4
|
import type { IRmnClient, IRmnConfig, IRmnEventManager } from 'types';
|
5
|
-
|
5
|
+
/**
|
6
|
+
* The RmnClient for client-side.
|
7
|
+
* This client is used when you are initializing the client in a browser environment.
|
8
|
+
*
|
9
|
+
* @class
|
10
|
+
*/
|
11
|
+
export declare class BrowserRmnClient implements IRmnClient {
|
6
12
|
private readonly selectionService;
|
7
13
|
private readonly elementService;
|
8
|
-
private readonly
|
14
|
+
private readonly spotManagerService;
|
9
15
|
constructor(auth: IAuthCredentials);
|
10
16
|
/**
|
11
17
|
* Makes a selection request on our server based on the provided data.
|
@@ -14,11 +20,19 @@ export declare class LiquidCommerceRmnClient implements IRmnClient {
|
|
14
20
|
*
|
15
21
|
* @param {ISpotSelectionParams} params - Spots selection parameters.
|
16
22
|
*
|
17
|
-
* @return {Promise<ISpots | {error : string}>} - The spots response object.
|
23
|
+
* @return {Promise<ISpots | { error : string }>} - The spots response object.
|
18
24
|
*/
|
19
25
|
spotSelection(params: ISpotSelectionParams): Promise<ISpots | {
|
20
26
|
error: string;
|
21
27
|
}>;
|
28
|
+
/**
|
29
|
+
* Publishes the spot data for a given placement ID to the RMN.
|
30
|
+
*
|
31
|
+
* @param {string} placementId - The unique identifier for the placement.
|
32
|
+
* @param {ISpot} spot - The spot data.
|
33
|
+
* @return {void} - Does not return any value.
|
34
|
+
*/
|
35
|
+
publishSpotToRmn(placementId: string, spot: ISpot): void;
|
22
36
|
/**
|
23
37
|
* Injects the spot elements into their provided placement.
|
24
38
|
*
|
@@ -28,55 +42,91 @@ export declare class LiquidCommerceRmnClient implements IRmnClient {
|
|
28
42
|
*/
|
29
43
|
injectSpotElement(params: IInjectSpotElementParams): Promise<void>;
|
30
44
|
/**
|
31
|
-
*
|
45
|
+
* Processes the placements that are within range and injects the spot elements into the provided placements.
|
32
46
|
*
|
33
47
|
* @param {IInjectSpotElementParams} params - Parameters for injecting spot elements.
|
48
|
+
* @param {string[]} placementIds - The placement IDs to process.
|
34
49
|
*
|
35
|
-
* @return {Promise<
|
50
|
+
* @return {Promise<void>} - A promise that resolves when the spot elements are injected.
|
36
51
|
*/
|
37
|
-
private
|
52
|
+
private processPlacements;
|
38
53
|
/**
|
39
|
-
* Injects a
|
54
|
+
* Injects a single spot element into the provided placement.
|
40
55
|
*
|
41
56
|
* @param {HTMLElement} placement - The placement element.
|
42
|
-
* @param {ISpot
|
57
|
+
* @param {ISpot} spot - The spot data.
|
43
58
|
* @param {IInjectSpotElementConfig} config - The configuration object.
|
44
59
|
*
|
45
60
|
* @return {void}
|
46
61
|
*/
|
47
|
-
private
|
62
|
+
private injectOneSpotElement;
|
48
63
|
/**
|
49
|
-
* Injects a
|
64
|
+
* Injects a carousel element with the provided spots into the placement.
|
50
65
|
*
|
51
|
-
* @param {IInjectSpotElement} injectItem - The inject item data.
|
52
66
|
* @param {HTMLElement} placement - The placement element.
|
53
|
-
* @param {ISpot}
|
67
|
+
* @param {ISpot[]} spots - The spot data.
|
54
68
|
* @param {IInjectSpotElementConfig} config - The configuration object.
|
55
69
|
*
|
56
70
|
* @return {void}
|
57
71
|
*/
|
58
|
-
private
|
72
|
+
private injectCarouselSpotElement;
|
73
|
+
/**
|
74
|
+
* Makes a selection request on our server based on the provided data.
|
75
|
+
*
|
76
|
+
* @param {IInjectSpotElementParams} params - Parameters for injecting spot elements.
|
77
|
+
*
|
78
|
+
* @return {Promise<ISpots | {error: string}>} - The spots response object.
|
79
|
+
*/
|
80
|
+
private injectSpotSelectionRequest;
|
81
|
+
}
|
82
|
+
/**
|
83
|
+
* The RmnClient for server-side.
|
84
|
+
* This client is used when you are initializing the client in a non-browser environment.
|
85
|
+
*
|
86
|
+
* @class
|
87
|
+
*/
|
88
|
+
export declare class ServerRmnClient implements IRmnClient {
|
89
|
+
private readonly selectionService;
|
90
|
+
constructor(auth: IAuthCredentials);
|
59
91
|
/**
|
60
|
-
*
|
92
|
+
* Makes a selection request on our server based on the provided data.
|
61
93
|
*
|
62
|
-
*
|
94
|
+
* To create a spot html element, use the RmnCreateSpotElement function.
|
63
95
|
*
|
64
|
-
* @
|
96
|
+
* @param {ISpotSelectionParams} params - Spots selection parameters.
|
65
97
|
*
|
66
|
-
* @return {
|
98
|
+
* @return {Promise<ISpots | { error : string }>} - The spots response object.
|
99
|
+
*/
|
100
|
+
spotSelection(params: ISpotSelectionParams): Promise<ISpots | {
|
101
|
+
error: string;
|
102
|
+
}>;
|
103
|
+
/**
|
104
|
+
* Publishes the spot data for a given placement ID to the RMN.
|
105
|
+
*
|
106
|
+
* @param {string} placementId - The unique identifier for the placement.
|
107
|
+
* @param {ISpot} spot - The spot data.
|
108
|
+
* @return {void} - Does not return any value.
|
109
|
+
*/
|
110
|
+
publishSpotToRmn(placementId: string, spot: ISpot): void;
|
111
|
+
/**
|
112
|
+
* Injects the spot elements into their provided placement.
|
113
|
+
*
|
114
|
+
* @param {IInjectSpotElementParams} params - Parameters for injecting spot elements.
|
115
|
+
*
|
116
|
+
* @return {Promise<void>} - A promise that resolves when the spot elements are injected.
|
67
117
|
*/
|
68
|
-
|
69
|
-
private preventNonExistentSpotTypes;
|
70
|
-
private updateSpotsState;
|
71
|
-
private useSpotSelectionExample;
|
118
|
+
injectSpotElement(params: IInjectSpotElementParams): Promise<void>;
|
72
119
|
}
|
73
120
|
/**
|
74
|
-
* Creates a new instance of the RmnClient.
|
121
|
+
* Creates a new instance of the appropriate RmnClient based on the environment.
|
122
|
+
*
|
123
|
+
* Initializes RmnClientBrowser for client-side.
|
124
|
+
* Initializes RmnClientServer for server-side.
|
75
125
|
*
|
76
126
|
* @param {string} apiKey - The api key.
|
77
127
|
* @param {IRmnConfig} config - The configuration object.
|
78
128
|
*
|
79
|
-
* @return {Promise<IRmnClient
|
129
|
+
* @return {Promise<Partial<IRmnClient>>} - The appropriate RmnClient instance.
|
80
130
|
*/
|
81
131
|
declare function RmnClient(apiKey: string, config: IRmnConfig): Promise<IRmnClient>;
|
82
132
|
/**
|
@@ -85,17 +135,4 @@ declare function RmnClient(apiKey: string, config: IRmnConfig): Promise<IRmnClie
|
|
85
135
|
* @return {IRmnEventManager} - The RmnEventManager instance.
|
86
136
|
*/
|
87
137
|
declare function RmnEventManager(): IRmnEventManager;
|
88
|
-
|
89
|
-
* Creates the spot html element based on the provided data using shadow dom.
|
90
|
-
*
|
91
|
-
* This method is useful when you are initializing the client in a non-browser environment.
|
92
|
-
* When you request a spot selection, you will receive the spot data in server-side and return them to the client.
|
93
|
-
* Then you can use this function to create the spot html element based on the provided data without the need of the RmnClient instance.
|
94
|
-
*
|
95
|
-
* @param {ISpot} spot - The spot data.
|
96
|
-
* @param {IRmnCreateSpotElementConfig} config - The configuration object.
|
97
|
-
*
|
98
|
-
* @return {HTMLElement | null} - The spot html element or null if the browser environment is not available.
|
99
|
-
*/
|
100
|
-
declare function RmnCreateSpotElement(spot: ISpot, config?: IRmnCreateSpotElementConfig): HTMLElement | null;
|
101
|
-
export { RmnClient, RmnCreateSpotElement, RmnEventManager };
|
138
|
+
export { RmnClient, RmnEventManager };
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import type { IInjectSpotElement, ISpotColors } from 'modules/element';
|
2
|
+
import type { ISpot } from 'modules/selection';
|
3
|
+
/**
|
4
|
+
* Checks if the current environment is a browser environment.
|
5
|
+
*
|
6
|
+
* @return {boolean} - Whether the current environment is a browser environment.
|
7
|
+
*/
|
8
|
+
export declare function isBrowserEnvironment(): boolean;
|
9
|
+
/**
|
10
|
+
* Validates the inject data by preventing duplicate placement ids and non-existent spot types.
|
11
|
+
*
|
12
|
+
* @param {IInjectSpotElement[]} inject - The inject data.
|
13
|
+
* @return {IInjectSpotElement[]} - The validated inject data.
|
14
|
+
*/
|
15
|
+
export declare function validateInjectData(inject: IInjectSpotElement[]): IInjectSpotElement[];
|
16
|
+
/**
|
17
|
+
* Clears the placement element by removing all its children.
|
18
|
+
*
|
19
|
+
* @param {string} placementId - The placement id.
|
20
|
+
*
|
21
|
+
* @return {void}
|
22
|
+
*/
|
23
|
+
export declare function clearPlacement(placementId: string): void;
|
24
|
+
/**
|
25
|
+
* Prepares the spot placement for rendering by taking care of its styling.
|
26
|
+
*
|
27
|
+
* @param {HTMLElement} placement - The placement element.
|
28
|
+
*
|
29
|
+
* @return {void}
|
30
|
+
*/
|
31
|
+
export declare function prepareSpotPlacement(placement: HTMLElement): void;
|
32
|
+
/**
|
33
|
+
* Overrides the spot colors with the provided colors.
|
34
|
+
*
|
35
|
+
* @param {ISpot} spot - The spot data.
|
36
|
+
* @param {ISpotColors} colors - The colors to override.
|
37
|
+
*
|
38
|
+
* @return {ISpot} - The spot data with the colors overridden.
|
39
|
+
*/
|
40
|
+
export declare function overrideSpotColors(spot: ISpot, colors?: ISpotColors): ISpot;
|
41
|
+
export declare function setUserId(): void;
|
package/dist/types/types.d.ts
CHANGED
@@ -1,21 +1,22 @@
|
|
1
|
-
export type { IInjectSpotElement, IInjectSpotElementConfig, IInjectSpotElementParams,
|
1
|
+
export type { IInjectSpotElement, IInjectSpotElementConfig, IInjectSpotElementParams, ISpotColors, ISpotOverlay, } from 'modules/element';
|
2
2
|
export type { CarouselNavPositionType, ICarouselButtonOptions, ICarouselDotOptions, ICarouselOptions, } from 'modules/element/component/carousel';
|
3
|
-
export type { IAddToCartEvent, IAddToWishlistEvent, IBuyNowEvent, IClickEvent, IImpressionEvent, ILifecycleState, ILSDisplayConfig, ILSDom, ILSIdentifier, ILSState, IPurchaseEvent, IRmnEventMap, } from 'modules/event';
|
4
3
|
export type { ISpots, RmnFilterType, RmnSpotType } from 'modules/selection';
|
5
4
|
export { ISpot, ISpotEvent, ISpotSelectionParams } from 'modules/selection';
|
6
|
-
|
5
|
+
export type { ILifecycleState, ILSDisplayConfig, ILSDom, ILSIdentifier, ILSState, IRmnEventMap, IRmnSpotEvent, } from 'modules/spot-manager';
|
6
|
+
import type { RMN_ENV, RMN_EVENT } from 'enums';
|
7
7
|
import type { IInjectSpotElementParams } from 'modules/element';
|
8
|
-
import type {
|
9
|
-
import type {
|
8
|
+
import type { ISpot, ISpots, ISpotSelectionParams } from 'modules/selection';
|
9
|
+
import type { IRmnEventMap } from 'modules/spot-manager';
|
10
10
|
export interface IRmnClient {
|
11
11
|
spotSelection(params: ISpotSelectionParams): Promise<ISpots | {
|
12
12
|
error: string;
|
13
13
|
}>;
|
14
|
+
publishSpotToRmn(placementId: string, spot: ISpot): void;
|
14
15
|
injectSpotElement(params: IInjectSpotElementParams): Promise<void>;
|
15
16
|
}
|
16
17
|
export interface IRmnEventManager {
|
17
|
-
subscribe: (eventType:
|
18
|
-
publish: (eventType:
|
18
|
+
subscribe: (eventType: RMN_EVENT, callback: (data: IRmnEventMap[RMN_EVENT]) => void) => () => void;
|
19
|
+
publish: (eventType: RMN_EVENT, data: IRmnEventMap[RMN_EVENT]) => void;
|
19
20
|
destroySpot: (placementId: string) => void;
|
20
21
|
}
|
21
22
|
export interface IRmnConfig {
|
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.41",
|
6
6
|
"homepage": "https://docs.liquidcommerce.co/rmn-sdk",
|
7
7
|
"main": "./dist/index.cjs",
|
8
8
|
"module": "./dist/index.esm.js",
|
@@ -36,12 +36,9 @@
|
|
36
36
|
"type": "module",
|
37
37
|
"sideEffects": false,
|
38
38
|
"scripts": {
|
39
|
-
"build": "rollup -c
|
39
|
+
"build": "rollup -c",
|
40
|
+
"dev": "rollup -c -w",
|
40
41
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
41
|
-
"dev": "rollup -c --environment NODE_ENV:development -w",
|
42
|
-
"test": "vitest run",
|
43
|
-
"test:watch": "vitest",
|
44
|
-
"test:coverage": "vitest run --coverage",
|
45
42
|
"lint": "eslint \"src/**/*.ts\"",
|
46
43
|
"format": "prettier --write \"src/**/*.ts\"",
|
47
44
|
"docs": "typedoc --out docs src",
|
@@ -60,62 +57,53 @@
|
|
60
57
|
],
|
61
58
|
"license": "",
|
62
59
|
"dependencies": {
|
63
|
-
"axios": "^1.7.
|
60
|
+
"axios": "^1.7.9",
|
64
61
|
"buffer": "^6.0.3",
|
65
|
-
"jose": "^5.9.
|
62
|
+
"jose": "^5.9.6"
|
66
63
|
},
|
67
64
|
"devDependencies": {
|
68
|
-
"@commitlint/cli": "^
|
69
|
-
"@commitlint/config-conventional": "^
|
70
|
-
"@eslint/eslintrc": "^3.
|
71
|
-
"@eslint/js": "^9.
|
72
|
-
"@rollup/plugin-commonjs": "^
|
65
|
+
"@commitlint/cli": "^19.6.1",
|
66
|
+
"@commitlint/config-conventional": "^19.6.0",
|
67
|
+
"@eslint/eslintrc": "^3.2.0",
|
68
|
+
"@eslint/js": "^9.17.0",
|
69
|
+
"@rollup/plugin-commonjs": "^28.0.2",
|
73
70
|
"@rollup/plugin-json": "^6.1.0",
|
74
|
-
"@rollup/plugin-node-resolve": "^15.
|
75
|
-
"@rollup/plugin-replace": "^
|
71
|
+
"@rollup/plugin-node-resolve": "^15.3.1",
|
72
|
+
"@rollup/plugin-replace": "^6.0.2",
|
76
73
|
"@rollup/plugin-terser": "^0.4.4",
|
77
74
|
"@semantic-release/changelog": "^6.0.3",
|
78
75
|
"@semantic-release/git": "^10.0.1",
|
79
|
-
"@semantic-release/github": "^
|
76
|
+
"@semantic-release/github": "^11.0.1",
|
80
77
|
"@semantic-release/npm": "^12.0.1",
|
81
78
|
"@types/core-js": "^2.5.8",
|
82
79
|
"@types/crypto-js": "^4.2.2",
|
83
80
|
"@types/eslint__js": "^8.42.3",
|
84
|
-
"@types/
|
85
|
-
"@
|
86
|
-
"@typescript-eslint/
|
87
|
-
"@
|
88
|
-
"@vitest/coverage-v8": "^1.0.0",
|
81
|
+
"@types/node": "^22.10.2",
|
82
|
+
"@typescript-eslint/eslint-plugin": "^8.18.1",
|
83
|
+
"@typescript-eslint/parser": "^8.18.1",
|
84
|
+
"@vitest/coverage-v8": "^2.1.8",
|
89
85
|
"conventional-changelog-cli": "^5.0.0",
|
90
86
|
"crypto-js": "^4.2.0",
|
91
|
-
"
|
92
|
-
"eslint": "^9.9.1",
|
87
|
+
"eslint": "^9.17.0",
|
93
88
|
"eslint-config-prettier": "^9.1.0",
|
94
|
-
"eslint-import-resolver-typescript": "^3.
|
95
|
-
"eslint-plugin-import": "^2.
|
96
|
-
"eslint-plugin-import-helpers": "^
|
97
|
-
"eslint-plugin-prettier": "^5.1
|
89
|
+
"eslint-import-resolver-typescript": "^3.7.0",
|
90
|
+
"eslint-plugin-import": "^2.31.0",
|
91
|
+
"eslint-plugin-import-helpers": "^2.0.1",
|
92
|
+
"eslint-plugin-prettier": "^5.2.1",
|
98
93
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
99
|
-
"eslint-plugin-sonarjs": "^2.0.
|
100
|
-
"eslint-plugin-unicorn": "^
|
94
|
+
"eslint-plugin-sonarjs": "^2.0.4",
|
95
|
+
"eslint-plugin-unicorn": "^56.0.1",
|
101
96
|
"events": "^3.3.0",
|
102
|
-
"
|
103
|
-
"jest-environment-jsdom": "^29.4.3",
|
104
|
-
"prettier": "^3.3.3",
|
97
|
+
"prettier": "^3.4.2",
|
105
98
|
"process": "^0.11.10",
|
106
|
-
"rollup": "^4.
|
107
|
-
"rollup-plugin-livereload": "^2.0.5",
|
99
|
+
"rollup": "^4.28.1",
|
108
100
|
"rollup-plugin-polyfill-node": "^0.13.0",
|
109
|
-
"rollup-plugin-serve": "^1.1.1",
|
110
101
|
"rollup-plugin-typescript2": "^0.36.0",
|
111
|
-
"semantic-release": "^24.
|
112
|
-
"ts-jest": "^29.2.5",
|
102
|
+
"semantic-release": "^24.2.0",
|
113
103
|
"ts-node": "^10.9.2",
|
114
|
-
"typedoc": "^0.26.
|
115
|
-
"typescript": "^5.
|
116
|
-
"typescript-eslint": "^8.
|
117
|
-
"vite": "^5.0.0",
|
118
|
-
"vitest": "^1.0.0"
|
104
|
+
"typedoc": "^0.26.11",
|
105
|
+
"typescript": "^5.7.2",
|
106
|
+
"typescript-eslint": "^8.18.1"
|
119
107
|
},
|
120
108
|
"engines": {
|
121
109
|
"node": ">=20"
|