@zgfe/business-lib 1.1.33-visual.4 → 1.1.33-visual.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/es/demoWrapper/content.js +2 -0
- package/es/socket/index.js +4 -2
- package/package.json +2 -2
|
@@ -175,6 +175,8 @@ var DemoContent = function DemoContent(_ref3) {
|
|
|
175
175
|
eventGroupList: store === null || store === void 0 ? void 0 : store.eventGroupList,
|
|
176
176
|
userPropList: store === null || store === void 0 ? void 0 : store.userPropList,
|
|
177
177
|
eventEnvList: store === null || store === void 0 ? void 0 : store.envPropList,
|
|
178
|
+
eventIdMap: store === null || store === void 0 ? void 0 : store.eventIdMap,
|
|
179
|
+
eventNameMap: store === null || store === void 0 ? void 0 : store.eventNameMap,
|
|
178
180
|
userGroupList: userGroups
|
|
179
181
|
}
|
|
180
182
|
}, children));
|
package/es/socket/index.js
CHANGED
|
@@ -196,7 +196,8 @@ var SocketClient = /*#__PURE__*/function () {
|
|
|
196
196
|
value: function removeListener(event, handle) {
|
|
197
197
|
var _this3 = this;
|
|
198
198
|
if (handle) {
|
|
199
|
-
|
|
199
|
+
var _this$listeners$event;
|
|
200
|
+
(_this$listeners$event = this.listeners[event]) === null || _this$listeners$event === void 0 ? void 0 : _this$listeners$event.forEach(function (item, i) {
|
|
200
201
|
if (item === handle) {
|
|
201
202
|
_this3.listeners[event].splice(i, 1);
|
|
202
203
|
}
|
|
@@ -244,7 +245,8 @@ var SocketClient = /*#__PURE__*/function () {
|
|
|
244
245
|
if (_this4.client) _this4.close();
|
|
245
246
|
var paramUrl = ["socketToken=".concat(token)];
|
|
246
247
|
if (_this4.params) {
|
|
247
|
-
|
|
248
|
+
var _Object$keys;
|
|
249
|
+
(_Object$keys = Object.keys(_this4.params || {})) === null || _Object$keys === void 0 ? void 0 : _Object$keys.forEach(function (key) {
|
|
248
250
|
if (_.isObject(_this4.params[key]) || _.isArray(_this4.params[key])) {
|
|
249
251
|
paramUrl.push("".concat(key, "=").concat(JSON.stringify(_this4.params[key])));
|
|
250
252
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/business-lib",
|
|
3
|
-
"version": "1.1.33-visual.
|
|
3
|
+
"version": "1.1.33-visual.6",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "dumi dev",
|
|
6
6
|
"docs:build": "dumi build",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"react": "^16.12.0 || ^17.0.0",
|
|
60
60
|
"yorkie": "^2.0.0"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "659786fd8140758e4a1333d7ac9a9eecffa16bc0"
|
|
63
63
|
}
|