@constructor-io/constructorio-client-javascript 2.51.0 → 2.51.2
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/LICENSE +1 -1
- package/lib/constructorio.js +3 -4
- package/lib/version.js +1 -1
- package/package.json +2 -2
package/LICENSE
CHANGED
package/lib/constructorio.js
CHANGED
|
@@ -164,7 +164,8 @@ var ConstructorIO = /*#__PURE__*/function () {
|
|
|
164
164
|
var apiKey = options.apiKey,
|
|
165
165
|
segments = options.segments,
|
|
166
166
|
testCells = options.testCells,
|
|
167
|
-
userId = options.userId
|
|
167
|
+
_options$userId = options.userId,
|
|
168
|
+
userId = _options$userId === void 0 ? '' : _options$userId;
|
|
168
169
|
if (apiKey) {
|
|
169
170
|
this.options.apiKey = apiKey;
|
|
170
171
|
}
|
|
@@ -174,9 +175,7 @@ var ConstructorIO = /*#__PURE__*/function () {
|
|
|
174
175
|
if (testCells) {
|
|
175
176
|
this.options.testCells = testCells;
|
|
176
177
|
}
|
|
177
|
-
|
|
178
|
-
this.options.userId = userId;
|
|
179
|
-
}
|
|
178
|
+
this.options.userId = userId;
|
|
180
179
|
}
|
|
181
180
|
}
|
|
182
181
|
}]);
|
package/lib/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructor-io/constructorio-client-javascript",
|
|
3
|
-
"version": "2.51.
|
|
3
|
+
"version": "2.51.2",
|
|
4
4
|
"description": "Constructor.io JavaScript client",
|
|
5
5
|
"main": "lib/constructorio.js",
|
|
6
6
|
"types": "lib/types/index.d.ts",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"type": "git",
|
|
33
33
|
"url": "git+https://github.com/Constructor-io/constructorio-client-javascript.git"
|
|
34
34
|
},
|
|
35
|
-
"author": "
|
|
35
|
+
"author": "Constructor.io Corporation",
|
|
36
36
|
"license": "MIT",
|
|
37
37
|
"bugs": {
|
|
38
38
|
"url": "https://github.com/Constructor-io/constructorio-client-javascript/issues"
|