@bytexbyte/berify-analytics-api 1.0.7 → 1.0.9
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/lib/Heatmap/index.js +1 -3
- package/lib/index.d.ts +1 -2
- package/lib/index.js +2 -2
- package/package.json +1 -1
package/lib/Heatmap/index.js
CHANGED
|
@@ -73,9 +73,7 @@ var BerifyHeatMapApi = /** @class */ (function (_super) {
|
|
|
73
73
|
headers: {
|
|
74
74
|
'Content-Type': 'application/json'
|
|
75
75
|
},
|
|
76
|
-
body: JSON.stringify(
|
|
77
|
-
body: JSON.stringify(form)
|
|
78
|
-
})
|
|
76
|
+
body: JSON.stringify(form)
|
|
79
77
|
}, "/heatmap")];
|
|
80
78
|
case 1:
|
|
81
79
|
response = _a.sent();
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
var Heatmap_1 = require("./Heatmap");
|
|
4
4
|
var BerifyAnalyticsApi = /** @class */ (function () {
|
|
5
5
|
function BerifyAnalyticsApi(_a) {
|
|
6
|
-
var host = _a.host,
|
|
6
|
+
var host = _a.host, secret = _a.secret;
|
|
7
7
|
this.host = host;
|
|
8
8
|
this.secret = secret;
|
|
9
|
-
this.heatmap = new Heatmap_1.default({ host: host,
|
|
9
|
+
this.heatmap = new Heatmap_1.default({ host: host, secret: secret });
|
|
10
10
|
}
|
|
11
11
|
return BerifyAnalyticsApi;
|
|
12
12
|
}());
|