@getpara/user-management-client 2.0.0-alpha.12 → 2.0.0-alpha.13

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.
@@ -377,6 +377,9 @@ class Client {
377
377
  this.trackError = (opts) => __async(this, null, function* () {
378
378
  yield this.baseRequest.post("/errors/sdk", opts);
379
379
  });
380
+ this.trackReactSdkAnalytics = (opts) => __async(this, null, function* () {
381
+ yield this.baseRequest.post("/partners/analytics/react-sdk", opts);
382
+ });
380
383
  const headers = __spreadValues(__spreadValues({}, apiKey && { [import_consts.API_KEY_HEADER_NAME]: apiKey }), partnerId && { [import_consts.PARTNER_ID_HEADER_NAME]: partnerId });
381
384
  const axiosConfig = {
382
385
  baseURL: userManagementHost,
@@ -300,6 +300,9 @@ class Client {
300
300
  this.trackError = (opts) => __async(this, null, function* () {
301
301
  yield this.baseRequest.post("/errors/sdk", opts);
302
302
  });
303
+ this.trackReactSdkAnalytics = (opts) => __async(this, null, function* () {
304
+ yield this.baseRequest.post("/partners/analytics/react-sdk", opts);
305
+ });
303
306
  const headers = __spreadValues(__spreadValues({}, apiKey && { [API_KEY_HEADER_NAME]: apiKey }), partnerId && { [PARTNER_ID_HEADER_NAME]: partnerId });
304
307
  const axiosConfig = {
305
308
  baseURL: userManagementHost,
@@ -349,5 +349,9 @@ declare class Client {
349
349
  sdkType: SDKType;
350
350
  userId: string;
351
351
  }) => Promise<void>;
352
+ trackReactSdkAnalytics: (opts: {
353
+ props: object;
354
+ reactSdkVersion: string;
355
+ }) => Promise<void>;
352
356
  }
353
357
  export default Client;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpara/user-management-client",
3
- "version": "2.0.0-alpha.12",
3
+ "version": "2.0.0-alpha.13",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -32,5 +32,5 @@
32
32
  "require": "./dist/cjs/index.js"
33
33
  }
34
34
  },
35
- "gitHead": "3a1284d5bb57c48fe53f651872da9a6e6903400a"
35
+ "gitHead": "fbd9384b1b3fb8577f9d6c323d4e41d0de1ac83b"
36
36
  }