@liquidcommercedev/rmn-sdk 1.4.0 → 1.4.1-beta.2
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +5 -10
- package/dist/index.cjs +15972 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.esm.js +15968 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/types/common/helpers/helpers.interface.d.ts +14 -0
- package/dist/types/common/helpers/index.d.ts +2 -0
- package/dist/types/common/helpers/object.helper.d.ts +95 -0
- package/dist/types/common/helpers/string.helper.d.ts +39 -0
- package/dist/types/common/http/api.constant.d.ts +6 -0
- package/dist/types/common/http/api.interface.d.ts +39 -0
- package/dist/types/common/http/base.api.d.ts +79 -0
- package/dist/types/common/http/encrypted.api.d.ts +66 -0
- package/dist/types/common/http/error.api.d.ts +5 -0
- package/dist/types/common/http/index.d.ts +5 -0
- package/dist/types/common/singleton-manager/index.d.ts +1 -0
- package/dist/types/common/singleton-manager/singleton-manager.d.ts +12 -0
- package/dist/types/enums.d.ts +7 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.umd.d.ts +2 -0
- package/dist/types/modules/auth/auth.constant.d.ts +1 -0
- package/dist/types/modules/auth/auth.interface.d.ts +27 -0
- package/dist/types/modules/auth/auth.service.d.ts +22 -0
- package/dist/types/modules/auth/index.d.ts +3 -0
- package/dist/types/modules/spot/html/index.d.ts +1 -0
- package/dist/types/modules/spot/html/spot.element.service.d.ts +7 -0
- package/dist/types/modules/spot/html/spot.element.shadow-root.d.ts +4 -0
- package/dist/types/modules/spot/html/templates/iab/billboard/billboard-v1.template.d.ts +2 -0
- package/dist/types/modules/spot/html/templates/iab/billboard/billboard-v2.template.d.ts +2 -0
- package/dist/types/modules/spot/html/templates/iab/billboard/billboard-v3.template.d.ts +2 -0
- package/dist/types/modules/spot/html/templates/iab/billboard/index.d.ts +3 -0
- package/dist/types/modules/spot/html/templates/iab/constants/fonts.constant.d.ts +3 -0
- package/dist/types/modules/spot/html/templates/iab/in-text/in-text-v1.template.d.ts +2 -0
- package/dist/types/modules/spot/html/templates/iab/in-text/index.d.ts +1 -0
- package/dist/types/modules/spot/html/templates/iab/index.d.ts +7 -0
- package/dist/types/modules/spot/html/templates/iab/large-leaderboard/index.d.ts +2 -0
- package/dist/types/modules/spot/html/templates/iab/large-leaderboard/large-leaderboard-v1.template.d.ts +2 -0
- package/dist/types/modules/spot/html/templates/iab/large-leaderboard/large-leaderboard-v2.template.d.ts +2 -0
- package/dist/types/modules/spot/html/templates/iab/large-rectangle/index.d.ts +1 -0
- package/dist/types/modules/spot/html/templates/iab/large-rectangle/large-rectangle-v1.template.d.ts +2 -0
- package/dist/types/modules/spot/html/templates/iab/square/index.d.ts +2 -0
- package/dist/types/modules/spot/html/templates/iab/square/square-v1.template.d.ts +2 -0
- package/dist/types/modules/spot/html/templates/iab/square/square-v2.template.d.ts +2 -0
- package/dist/types/modules/spot/html/templates/iab/vertical-rectangle/index.d.ts +1 -0
- package/dist/types/modules/spot/html/templates/iab/vertical-rectangle/vertical-rectangle-v1.template.d.ts +2 -0
- package/dist/types/modules/spot/html/templates/iab/wide-skyscraper/index.d.ts +1 -0
- package/dist/types/modules/spot/html/templates/iab/wide-skyscraper/wide-skyscraper-v1.template.d.ts +2 -0
- package/dist/types/modules/spot/html/templates/index.d.ts +1 -0
- package/dist/types/modules/spot/html/templates/reservebar/collection-banner-without-text-block.template.d.ts +2 -0
- package/dist/types/modules/spot/html/templates/reservebar/homepage-hero-full-image.template.d.ts +2 -0
- package/dist/types/modules/spot/html/templates/reservebar/homepage-hero-three-tile.template.d.ts +2 -0
- package/dist/types/modules/spot/html/templates/reservebar/homepage-hero-two-tile.template.d.ts +2 -0
- package/dist/types/modules/spot/html/templates/reservebar/index.d.ts +8 -0
- package/dist/types/modules/spot/html/templates/reservebar/large-category-image-tout.template.d.ts +2 -0
- package/dist/types/modules/spot/html/templates/reservebar/navigation-banner.template.d.ts +2 -0
- package/dist/types/modules/spot/html/templates/reservebar/small-category-image-tout.template.d.ts +2 -0
- package/dist/types/modules/spot/html/templates/reservebar/small-discover-tout.template.d.ts +2 -0
- package/dist/types/modules/spot/html/templates/spot.template.d.ts +21 -0
- package/dist/types/modules/spot/index.d.ts +6 -0
- package/dist/types/modules/spot/spot.constant.d.ts +3 -0
- package/dist/types/modules/spot/spot.enum.d.ts +57 -0
- package/dist/types/modules/spot/spot.html.service.d.ts +22 -0
- package/dist/types/modules/spot/spot.interface.d.ts +44 -0
- package/dist/types/modules/spot/spot.selection.service.d.ts +16 -0
- package/dist/types/modules/spot/spot.type.d.ts +27 -0
- package/dist/types/rmn-client.d.ts +58 -0
- package/dist/types/types.d.ts +11 -0
- package/package.json +34 -13
- package/umd/liquidcommerce-rmn-sdk.min.js +2 -0
- package/umd/liquidcommerce-rmn-sdk.min.js.map +1 -0
- package/CHANGELOG.md +0 -55
- package/dist/index.d.ts +0 -181
- package/dist/index.js +0 -19
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -19
- package/dist/index.mjs.map +0 -1
package/README.md
CHANGED
@@ -61,7 +61,7 @@ import { RmnClient } from '@liquidcommercedev/rmn-sdk';
|
|
61
61
|
import { RmnClient } from '@liquidcommercedev/rmn-sdk';
|
62
62
|
// Your Account token provided to you through your account representative
|
63
63
|
const client = await RmnClient('YOUR_API_KEY', {
|
64
|
-
env: '
|
64
|
+
env: 'staging'
|
65
65
|
});
|
66
66
|
```
|
67
67
|
|
@@ -78,17 +78,12 @@ An example use case for LiquidCommerce's `spotSelection({})` method.
|
|
78
78
|
import RmnClient from '@liquidcommercedev/rmn-sdk';
|
79
79
|
// Your Account token provided to you through your account representative
|
80
80
|
const client = await RmnClient('YOUR_API_KEY', {
|
81
|
-
env: '
|
81
|
+
env: 'staging'
|
82
82
|
});
|
83
83
|
|
84
|
-
const
|
84
|
+
const spots = await client.spotSelection({
|
85
85
|
"spots": ['billboard', 'leaderboard']
|
86
86
|
});
|
87
87
|
|
88
|
-
console.log(
|
89
|
-
```
|
90
|
-
|
91
|
-
>
|
92
|
-
> **CURRENTLY IN PRIVATE BETA UNDERGOING FINAL UAT FOR PRODUCTION RELEASE.**
|
93
|
-
>
|
94
|
-
>
|
88
|
+
console.log({ spots });
|
89
|
+
```
|