@liquidcommercedev/rmn-sdk 1.4.0 → 1.4.1-beta.2

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.
Files changed (76) hide show
  1. package/README.md +5 -10
  2. package/dist/index.cjs +15972 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.esm.js +15968 -0
  5. package/dist/index.esm.js.map +1 -0
  6. package/dist/types/common/helpers/helpers.interface.d.ts +14 -0
  7. package/dist/types/common/helpers/index.d.ts +2 -0
  8. package/dist/types/common/helpers/object.helper.d.ts +95 -0
  9. package/dist/types/common/helpers/string.helper.d.ts +39 -0
  10. package/dist/types/common/http/api.constant.d.ts +6 -0
  11. package/dist/types/common/http/api.interface.d.ts +39 -0
  12. package/dist/types/common/http/base.api.d.ts +79 -0
  13. package/dist/types/common/http/encrypted.api.d.ts +66 -0
  14. package/dist/types/common/http/error.api.d.ts +5 -0
  15. package/dist/types/common/http/index.d.ts +5 -0
  16. package/dist/types/common/singleton-manager/index.d.ts +1 -0
  17. package/dist/types/common/singleton-manager/singleton-manager.d.ts +12 -0
  18. package/dist/types/enums.d.ts +7 -0
  19. package/dist/types/index.d.ts +3 -0
  20. package/dist/types/index.umd.d.ts +2 -0
  21. package/dist/types/modules/auth/auth.constant.d.ts +1 -0
  22. package/dist/types/modules/auth/auth.interface.d.ts +27 -0
  23. package/dist/types/modules/auth/auth.service.d.ts +22 -0
  24. package/dist/types/modules/auth/index.d.ts +3 -0
  25. package/dist/types/modules/spot/html/index.d.ts +1 -0
  26. package/dist/types/modules/spot/html/spot.element.service.d.ts +7 -0
  27. package/dist/types/modules/spot/html/spot.element.shadow-root.d.ts +4 -0
  28. package/dist/types/modules/spot/html/templates/iab/billboard/billboard-v1.template.d.ts +2 -0
  29. package/dist/types/modules/spot/html/templates/iab/billboard/billboard-v2.template.d.ts +2 -0
  30. package/dist/types/modules/spot/html/templates/iab/billboard/billboard-v3.template.d.ts +2 -0
  31. package/dist/types/modules/spot/html/templates/iab/billboard/index.d.ts +3 -0
  32. package/dist/types/modules/spot/html/templates/iab/constants/fonts.constant.d.ts +3 -0
  33. package/dist/types/modules/spot/html/templates/iab/in-text/in-text-v1.template.d.ts +2 -0
  34. package/dist/types/modules/spot/html/templates/iab/in-text/index.d.ts +1 -0
  35. package/dist/types/modules/spot/html/templates/iab/index.d.ts +7 -0
  36. package/dist/types/modules/spot/html/templates/iab/large-leaderboard/index.d.ts +2 -0
  37. package/dist/types/modules/spot/html/templates/iab/large-leaderboard/large-leaderboard-v1.template.d.ts +2 -0
  38. package/dist/types/modules/spot/html/templates/iab/large-leaderboard/large-leaderboard-v2.template.d.ts +2 -0
  39. package/dist/types/modules/spot/html/templates/iab/large-rectangle/index.d.ts +1 -0
  40. package/dist/types/modules/spot/html/templates/iab/large-rectangle/large-rectangle-v1.template.d.ts +2 -0
  41. package/dist/types/modules/spot/html/templates/iab/square/index.d.ts +2 -0
  42. package/dist/types/modules/spot/html/templates/iab/square/square-v1.template.d.ts +2 -0
  43. package/dist/types/modules/spot/html/templates/iab/square/square-v2.template.d.ts +2 -0
  44. package/dist/types/modules/spot/html/templates/iab/vertical-rectangle/index.d.ts +1 -0
  45. package/dist/types/modules/spot/html/templates/iab/vertical-rectangle/vertical-rectangle-v1.template.d.ts +2 -0
  46. package/dist/types/modules/spot/html/templates/iab/wide-skyscraper/index.d.ts +1 -0
  47. package/dist/types/modules/spot/html/templates/iab/wide-skyscraper/wide-skyscraper-v1.template.d.ts +2 -0
  48. package/dist/types/modules/spot/html/templates/index.d.ts +1 -0
  49. package/dist/types/modules/spot/html/templates/reservebar/collection-banner-without-text-block.template.d.ts +2 -0
  50. package/dist/types/modules/spot/html/templates/reservebar/homepage-hero-full-image.template.d.ts +2 -0
  51. package/dist/types/modules/spot/html/templates/reservebar/homepage-hero-three-tile.template.d.ts +2 -0
  52. package/dist/types/modules/spot/html/templates/reservebar/homepage-hero-two-tile.template.d.ts +2 -0
  53. package/dist/types/modules/spot/html/templates/reservebar/index.d.ts +8 -0
  54. package/dist/types/modules/spot/html/templates/reservebar/large-category-image-tout.template.d.ts +2 -0
  55. package/dist/types/modules/spot/html/templates/reservebar/navigation-banner.template.d.ts +2 -0
  56. package/dist/types/modules/spot/html/templates/reservebar/small-category-image-tout.template.d.ts +2 -0
  57. package/dist/types/modules/spot/html/templates/reservebar/small-discover-tout.template.d.ts +2 -0
  58. package/dist/types/modules/spot/html/templates/spot.template.d.ts +21 -0
  59. package/dist/types/modules/spot/index.d.ts +6 -0
  60. package/dist/types/modules/spot/spot.constant.d.ts +3 -0
  61. package/dist/types/modules/spot/spot.enum.d.ts +57 -0
  62. package/dist/types/modules/spot/spot.html.service.d.ts +22 -0
  63. package/dist/types/modules/spot/spot.interface.d.ts +44 -0
  64. package/dist/types/modules/spot/spot.selection.service.d.ts +16 -0
  65. package/dist/types/modules/spot/spot.type.d.ts +27 -0
  66. package/dist/types/rmn-client.d.ts +58 -0
  67. package/dist/types/types.d.ts +11 -0
  68. package/package.json +34 -13
  69. package/umd/liquidcommerce-rmn-sdk.min.js +2 -0
  70. package/umd/liquidcommerce-rmn-sdk.min.js.map +1 -0
  71. package/CHANGELOG.md +0 -55
  72. package/dist/index.d.ts +0 -181
  73. package/dist/index.js +0 -19
  74. package/dist/index.js.map +0 -1
  75. package/dist/index.mjs +0 -19
  76. 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: 'dev'
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: 'dev'
81
+ env: 'staging'
82
82
  });
83
83
 
84
- const { spots } = await client.spotSelection({
84
+ const spots = await client.spotSelection({
85
85
  "spots": ['billboard', 'leaderboard']
86
86
  });
87
87
 
88
- console.log('spots: ', spots);
89
- ```
90
-
91
- >
92
- > **CURRENTLY IN PRIVATE BETA UNDERGOING FINAL UAT FOR PRODUCTION RELEASE.**
93
- >
94
- >
88
+ console.log({ spots });
89
+ ```