@liquidcommercedev/rmn-sdk 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,108 +1,6 @@
1
- # [1.2.0](https://github.com/liquidcommerce/rmn-sdk/compare/v1.1.8...v1.2.0) (2024-09-27)
1
+ # [1.3.0](https://github.com/liquidcommerce/rmn-sdk/compare/v1.2.1...v1.3.0) (2024-09-30)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * fixed fluid ([#31](https://github.com/liquidcommerce/rmn-sdk/issues/31)) ([c72433a](https://github.com/liquidcommerce/rmn-sdk/commit/c72433a97b3d53f1c30fb2a50b48badbe93b0658))
7
-
8
- ## [1.1.8](https://github.com/liquidcommerce/rmn-sdk/compare/v1.1.7...v1.1.8) (2024-09-27)
9
-
10
-
11
- ### Bug Fixes
12
-
13
- * new rb templates ([#30](https://github.com/liquidcommerce/rmn-sdk/issues/30)) ([7137d13](https://github.com/liquidcommerce/rmn-sdk/commit/7137d13513a0f9fa0175ec1e96331852e372aa94))
14
-
15
- ## [1.1.7](https://github.com/liquidcommerce/rmn-sdk/compare/v1.1.6...v1.1.7) (2024-09-24)
16
-
17
-
18
- ### Bug Fixes
19
-
20
- * types fix & designs update ([#29](https://github.com/liquidcommerce/rmn-sdk/issues/29)) ([2242b9b](https://github.com/liquidcommerce/rmn-sdk/commit/2242b9b1afc8b6db49a421cece71509c1fba872f))
21
-
22
- ## [1.1.6](https://github.com/liquidcommerce/rmn-sdk/compare/v1.1.5...v1.1.6) (2024-09-23)
23
-
24
-
25
- ### Bug Fixes
26
-
27
- * design updates ([#28](https://github.com/liquidcommerce/rmn-sdk/issues/28)) ([646b9b5](https://github.com/liquidcommerce/rmn-sdk/commit/646b9b59aaf2e8e2506d1e41177b50e6219e2ca3))
28
-
29
- ## [1.1.5](https://github.com/liquidcommerce/rmn-sdk/compare/v1.1.4...v1.1.5) (2024-09-20)
30
-
31
-
32
- ### Bug Fixes
33
-
34
- * overall ([#27](https://github.com/liquidcommerce/rmn-sdk/issues/27)) ([f7cf73f](https://github.com/liquidcommerce/rmn-sdk/commit/f7cf73f3ef4bfaee96766a0cc632630f0c581c78))
35
-
36
- ## [1.1.4](https://github.com/liquidcommerce/rmn-sdk/compare/v1.1.3...v1.1.4) (2024-09-20)
37
-
38
-
39
- ### Bug Fixes
40
-
41
- * improve template responsiveness ([#26](https://github.com/liquidcommerce/rmn-sdk/issues/26)) ([4c2d010](https://github.com/liquidcommerce/rmn-sdk/commit/4c2d0108d5b157ba49eaae4b8abcc41262cc5d13))
42
-
43
- ## [1.1.3](https://github.com/liquidcommerce/rmn-sdk/compare/v1.1.2...v1.1.3) (2024-09-18)
44
-
45
-
46
- ### Bug Fixes
47
-
48
- * html class fix ([#23](https://github.com/liquidcommerce/rmn-sdk/issues/23)) ([375172e](https://github.com/liquidcommerce/rmn-sdk/commit/375172edb3247378470c3fcf03ae4e6530409976))
49
-
50
- ## [1.1.2](https://github.com/liquidcommerce/rmn-sdk/compare/v1.1.1...v1.1.2) (2024-09-18)
51
-
52
-
53
- ### Bug Fixes
54
-
55
- * fixed request and response encryption ([#18](https://github.com/liquidcommerce/rmn-sdk/issues/18)) ([a8e5311](https://github.com/liquidcommerce/rmn-sdk/commit/a8e53116457ab1ba9c586d550cef3c2e18b4ca51))
56
-
57
- ## [1.1.1](https://github.com/liquidcommerce/rmn-sdk/compare/v1.1.0...v1.1.1) (2024-09-17)
58
-
59
-
60
- ### Bug Fixes
61
-
62
- * fixed request and response encryption ([#18](https://github.com/liquidcommerce/rmn-sdk/issues/18)) ([9022f2e](https://github.com/liquidcommerce/rmn-sdk/commit/9022f2ec90a22efdbf4cca9dc278a63be05b3487))
63
-
64
- # [1.1.0](https://github.com/liquidcommerce/rmn-sdk/compare/v1.0.0...v1.1.0) (2024-09-16)
65
-
66
-
67
- ### Features
68
-
69
- * fixes ([0a7ce3e](https://github.com/liquidcommerce/rmn-sdk/commit/0a7ce3eb51196b752d29c0bc10f72d962699a641))
70
-
71
- # 1.0.0 (2024-09-16)
72
-
73
-
74
- ### Bug Fixes
75
-
76
- * **sizing:** updated font size ([f1bdbbd](https://github.com/liquidcommerce/rmn-sdk/commit/f1bdbbd3ba22ac85dd25000a3f162d25ceee4163))
77
- * **templates:** updated spot templates structure, design WIP ([7c69afd](https://github.com/liquidcommerce/rmn-sdk/commit/7c69afd148c45616ad47360f0d021123aa7827fc))
78
- * **ts:** fixed return type for decision method ([59816f9](https://github.com/liquidcommerce/rmn-sdk/commit/59816f9a41173a70db91efc1769a7894d7068015))
79
- * **update response:** updated response handling ([99134b1](https://github.com/liquidcommerce/rmn-sdk/commit/99134b1f26c5534c1a21bfe2d9c76f0d22b929c9))
80
- * **update:** updated spot template styling ([e7dd137](https://github.com/liquidcommerce/rmn-sdk/commit/e7dd137dc7034217521b0a63746d8bc8186d6fec))
81
-
82
-
83
- ### Features
84
-
85
- * **feature:** create spot element ([9d9da0b](https://github.com/liquidcommerce/rmn-sdk/commit/9d9da0bed8eade1e377ca0b0761533f17293a28e))
86
- * gh token ([8e22dfc](https://github.com/liquidcommerce/rmn-sdk/commit/8e22dfccb0e454a5185966f09ba22a5766975deb))
87
- * github actions branch master to main ([0ce10e0](https://github.com/liquidcommerce/rmn-sdk/commit/0ce10e0d4ffc0ca8a0047ba6bf0d806b6ea6a8a7))
88
- * release ready ([2e65760](https://github.com/liquidcommerce/rmn-sdk/commit/2e65760d16f02edad9fefd0e4c4ca65d18f52bc6))
89
- * **release:** prepare release with npm ([aca0e28](https://github.com/liquidcommerce/rmn-sdk/commit/aca0e282454ff154a2983f8a87beff1c74e841b0))
90
- * **update:** font size to container query ([ff349de](https://github.com/liquidcommerce/rmn-sdk/commit/ff349dea59ed1bbb78b0703942ae1af562da7d0d))
91
- * **update:** fonts for tempaltes ([76c9b1b](https://github.com/liquidcommerce/rmn-sdk/commit/76c9b1b69a423a70872a824849583ae9a8267b0b))
92
- * **update:** gh release write permission ([5d31d0a](https://github.com/liquidcommerce/rmn-sdk/commit/5d31d0a7c5e87f1c7b101e86f998435f367ffc23))
93
- * **update:** google fonts ([ab8f734](https://github.com/liquidcommerce/rmn-sdk/commit/ab8f734573ac43dce32c23987648e3472d954123))
94
- * **update:** leftovers ([68ec251](https://github.com/liquidcommerce/rmn-sdk/commit/68ec2512aa7694f37f9fb070bccc5022cd4b684f))
95
- * **update:** new variants ([36a66bd](https://github.com/liquidcommerce/rmn-sdk/commit/36a66bd390af29c33c51b926013f9480e0d6cc48))
96
- * **update:** rename ad to spot ([d9896e4](https://github.com/liquidcommerce/rmn-sdk/commit/d9896e470ed6967cfee745a81868f83a1067a884))
97
- * **update:** support for in text ads ([dcdf295](https://github.com/liquidcommerce/rmn-sdk/commit/dcdf2955b6199a48bf530f94cb5835b5d146fc2d))
98
- * **update:** templates for spot variants ([0ff230a](https://github.com/liquidcommerce/rmn-sdk/commit/0ff230a805d726c03106f56a07d1279423b7356f))
99
- * **update:** update font responsivness ([a156331](https://github.com/liquidcommerce/rmn-sdk/commit/a1563315c06383b133c7d3753fd372c601c9b906))
100
- * **update:** update get decision endpoint ([f335777](https://github.com/liquidcommerce/rmn-sdk/commit/f33577737ba03f2f9a9883660b26a9a44f8426ec))
101
- * **update:** updated templates to support variants ([4afd10d](https://github.com/liquidcommerce/rmn-sdk/commit/4afd10d35c91345788c6d34347145aa2f2b263cc))
102
- * **update:** updated test page ([f593c25](https://github.com/liquidcommerce/rmn-sdk/commit/f593c25dd4ddaefd4bec7e62430e34fd6d617abf))
103
- * **update:** updated types and test page ([5301d5c](https://github.com/liquidcommerce/rmn-sdk/commit/5301d5cae38f75fb39d61fba23d4721cc6013d3a))
104
- * **update:** updtes wip ([624c9f3](https://github.com/liquidcommerce/rmn-sdk/commit/624c9f395981aed38173b88de060209a04864436))
105
- * **update:** wiup ([43a02f6](https://github.com/liquidcommerce/rmn-sdk/commit/43a02f60c591b16df84ac7252c2ebcf44194e06c))
106
- * **update:** working build ([dd9e03b](https://github.com/liquidcommerce/rmn-sdk/commit/dd9e03bbfe324ffda893381f1593221d2a580a5a))
107
- * **update:** wup ([7e26ad9](https://github.com/liquidcommerce/rmn-sdk/commit/7e26ad94791aebe8fc47669e873ae39b6111c2b6))
108
- * **updte:** made required changes to support the new approach of kevel ([b54b0a2](https://github.com/liquidcommerce/rmn-sdk/commit/b54b0a2d88741e3cebeb343949be6165ad9b1ef9))
6
+ * impression and click tracking ([#33](https://github.com/liquidcommerce/rmn-sdk/issues/33)) ([e9e94dc](https://github.com/liquidcommerce/rmn-sdk/commit/e9e94dceaf363528d471426e34d4b6dce3d2799e))
package/dist/index.d.ts CHANGED
@@ -47,10 +47,10 @@ declare enum RMN_FILTER_PROPERTIES {
47
47
  }
48
48
 
49
49
  declare enum RMN_ENV {
50
- LOC = "loc",
51
- DEV = "dev",
52
- STAGE = "stage",
53
- PROD = "prod"
50
+ LOCAL = "local",
51
+ DEVELOPMENT = "development",
52
+ STAGING = "staging",
53
+ PRODUCTION = "production"
54
54
  }
55
55
 
56
56
  interface IAuthCredentials {
@@ -103,6 +103,7 @@ interface ISpot {
103
103
  ctaText?: string;
104
104
  productUpcs?: string[];
105
105
  customData?: Record<string, any>;
106
+ env: RMN_ENV;
106
107
  }
107
108
  type ISpots = Record<SpotIdentifierType, ISpot[]>;
108
109