@getpara/user-management-client 2.0.0-alpha.11 → 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.
- package/dist/cjs/client.js +3 -0
- package/dist/esm/client.js +3 -0
- package/dist/types/client.d.ts +4 -0
- package/package.json +2 -2
package/dist/cjs/client.js
CHANGED
|
@@ -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,
|
package/dist/esm/client.js
CHANGED
|
@@ -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,
|
package/dist/types/client.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getpara/user-management-client",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
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": "
|
|
35
|
+
"gitHead": "fbd9384b1b3fb8577f9d6c323d4e41d0de1ac83b"
|
|
36
36
|
}
|