@constructor-io/constructorio-client-javascript 2.35.4 → 2.35.6
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/README.md +2 -2
- package/lib/types/tracker.d.ts +2 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -28,9 +28,9 @@ You can find this in your [Constructor.io dashboard](https://constructor.io/dash
|
|
|
28
28
|
Once imported, an instance of the client can be created as follows:
|
|
29
29
|
|
|
30
30
|
```javascript
|
|
31
|
-
const
|
|
31
|
+
const ConstructorioClient = require('@constructor-io/constructorio-client-javascript');
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
const constructorio = new ConstructorioClient({
|
|
34
34
|
apiKey: 'YOUR API KEY',
|
|
35
35
|
});
|
|
36
36
|
```
|
package/lib/types/tracker.d.ts
CHANGED
|
@@ -175,6 +175,7 @@ declare class Tracker {
|
|
|
175
175
|
parameters: {
|
|
176
176
|
quiz_id: string;
|
|
177
177
|
quiz_version_id: string;
|
|
178
|
+
quiz_session_id: string;
|
|
178
179
|
url: string;
|
|
179
180
|
section?: string;
|
|
180
181
|
result_count?: number;
|
|
@@ -188,6 +189,7 @@ declare class Tracker {
|
|
|
188
189
|
parameters: {
|
|
189
190
|
quiz_id: string;
|
|
190
191
|
quiz_version_id: string;
|
|
192
|
+
quiz_session_id: string;
|
|
191
193
|
item_id?: string;
|
|
192
194
|
item_name?: string;
|
|
193
195
|
section?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructor-io/constructorio-client-javascript",
|
|
3
|
-
"version": "2.35.
|
|
3
|
+
"version": "2.35.6",
|
|
4
4
|
"description": "Constructor.io JavaScript client",
|
|
5
5
|
"main": "lib/constructorio.js",
|
|
6
6
|
"types": "lib/types/constructorio.d.ts",
|
|
@@ -53,17 +53,17 @@
|
|
|
53
53
|
"@typescript-eslint/parser": "^5.48.1",
|
|
54
54
|
"chai": "^4.2.0",
|
|
55
55
|
"chai-as-promised": "^7.1.1",
|
|
56
|
+
"docdash": "^2.0.1",
|
|
56
57
|
"dotenv": "^8.6.0",
|
|
57
58
|
"esbuild": "^0.12.28",
|
|
58
59
|
"eslint": "^8.17.0",
|
|
59
60
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
60
61
|
"eslint-plugin-import": "^2.25.2",
|
|
61
62
|
"husky": "^7.0.4",
|
|
62
|
-
"jsdoc": "^
|
|
63
|
+
"jsdoc": "^4.0.2",
|
|
63
64
|
"jsdom": "^16.7.0",
|
|
64
65
|
"license-checker": "^25.0.1",
|
|
65
66
|
"lodash.clonedeep": "^4.5.0",
|
|
66
|
-
"minami": "^1.2.3",
|
|
67
67
|
"mocha": "^9.1.3",
|
|
68
68
|
"nyc": "^15.1.0",
|
|
69
69
|
"qs": "^6.11.0",
|