@adobe/spacecat-shared-rum-api-client 1.6.0 → 1.6.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [@adobe/spacecat-shared-rum-api-client-v1.6.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v1.6.0...@adobe/spacecat-shared-rum-api-client-v1.6.1) (2024-02-07)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Experimentation RUM API call ([#141](https://github.com/adobe/spacecat-shared/issues/141)) ([2f1e657](https://github.com/adobe/spacecat-shared/commit/2f1e657d747c06a5728740e6687b1add77df9d70))
7
+
1
8
  # [@adobe/spacecat-shared-rum-api-client-v1.6.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v1.5.0...@adobe/spacecat-shared-rum-api-client-v1.6.0) (2024-02-07)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-rum-api-client",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "Shared modules of the Spacecat Services - Rum API client",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/index.d.ts CHANGED
@@ -66,6 +66,22 @@ export default class RUMAPIClient {
66
66
  */
67
67
  getRUMDashboard(params?: RUMAPIOptions): Promise<Array<object>>;
68
68
 
69
+ /**
70
+ * Asynchronous method to return the Experimentation API call response data.
71
+ * @param {RUMAPIOptions} params - An object representing the parameters to be included
72
+ * for the Experimentation data API call.
73
+ * @returns A Promise resolving to the Experimentation response data.
74
+ */
75
+ getExperimentationData(params?: RUMAPIOptions): Promise<Array<object>>;
76
+
77
+ /**
78
+ * Method to return the url composed of params that the Experimentation API is called with.
79
+ * @param {RUMAPIOptions} params - An object representing the parameters to be included
80
+ * for the Experimentation API call.
81
+ * @returns A string returning the Experimentation url including query parameters.
82
+ */
83
+ createExperimentationURL(params?: RUMAPIOptions): string;
84
+
69
85
  /**
70
86
  * Asynchronous method to return the 404 sources API call response data.
71
87
  * @param {RUMAPIOptions} params - An object representing the parameters to be included