@bigbinary/neeto-commons-frontend 2.0.67 → 2.0.68
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/package.json +1 -1
- package/utils.cjs.js +21 -22
- package/utils.cjs.js.map +1 -1
- package/utils.d.ts +3 -3
- package/utils.js +21 -22
- package/utils.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-commons-frontend",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.68",
|
|
4
4
|
"description": "A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.",
|
|
5
5
|
"repository": "git@github.com:bigbinary/neeto-commons-frontend.git",
|
|
6
6
|
"author": "Amaljith K <amaljith.k@bigbinary.com>",
|
package/utils.cjs.js
CHANGED
|
@@ -5462,7 +5462,7 @@ function getConfig(name) {
|
|
|
5462
5462
|
|
|
5463
5463
|
function cov_19fxzgc93l() {
|
|
5464
5464
|
var path = "/home/runner/work/neeto-commons-frontend/neeto-commons-frontend/src/utils/createSubscription.js";
|
|
5465
|
-
var hash = "
|
|
5465
|
+
var hash = "b3e7b2755cc6d5d5ac6f51395a5e0309cb9ff355";
|
|
5466
5466
|
var global = new Function("return this")();
|
|
5467
5467
|
var gcv = "__coverage__";
|
|
5468
5468
|
var coverageData = {
|
|
@@ -5474,7 +5474,7 @@ function cov_19fxzgc93l() {
|
|
|
5474
5474
|
column: 24
|
|
5475
5475
|
},
|
|
5476
5476
|
end: {
|
|
5477
|
-
line:
|
|
5477
|
+
line: 15,
|
|
5478
5478
|
column: 1
|
|
5479
5479
|
}
|
|
5480
5480
|
},
|
|
@@ -5494,37 +5494,37 @@ function cov_19fxzgc93l() {
|
|
|
5494
5494
|
column: 2
|
|
5495
5495
|
},
|
|
5496
5496
|
end: {
|
|
5497
|
-
line:
|
|
5497
|
+
line: 14,
|
|
5498
5498
|
column: 5
|
|
5499
5499
|
}
|
|
5500
5500
|
},
|
|
5501
5501
|
"3": {
|
|
5502
5502
|
start: {
|
|
5503
|
-
line:
|
|
5503
|
+
line: 17,
|
|
5504
5504
|
column: 34
|
|
5505
5505
|
},
|
|
5506
5506
|
end: {
|
|
5507
|
-
line:
|
|
5507
|
+
line: 24,
|
|
5508
5508
|
column: 1
|
|
5509
5509
|
}
|
|
5510
5510
|
},
|
|
5511
5511
|
"4": {
|
|
5512
5512
|
start: {
|
|
5513
|
-
line:
|
|
5513
|
+
line: 18,
|
|
5514
5514
|
column: 23
|
|
5515
5515
|
},
|
|
5516
5516
|
end: {
|
|
5517
|
-
line:
|
|
5517
|
+
line: 21,
|
|
5518
5518
|
column: 3
|
|
5519
5519
|
}
|
|
5520
5520
|
},
|
|
5521
5521
|
"5": {
|
|
5522
5522
|
start: {
|
|
5523
|
-
line:
|
|
5523
|
+
line: 23,
|
|
5524
5524
|
column: 2
|
|
5525
5525
|
},
|
|
5526
5526
|
end: {
|
|
5527
|
-
line:
|
|
5527
|
+
line: 23,
|
|
5528
5528
|
column: 22
|
|
5529
5529
|
}
|
|
5530
5530
|
}
|
|
@@ -5548,7 +5548,7 @@ function cov_19fxzgc93l() {
|
|
|
5548
5548
|
column: 30
|
|
5549
5549
|
},
|
|
5550
5550
|
end: {
|
|
5551
|
-
line:
|
|
5551
|
+
line: 15,
|
|
5552
5552
|
column: 1
|
|
5553
5553
|
}
|
|
5554
5554
|
},
|
|
@@ -5558,25 +5558,25 @@ function cov_19fxzgc93l() {
|
|
|
5558
5558
|
name: "(anonymous_1)",
|
|
5559
5559
|
decl: {
|
|
5560
5560
|
start: {
|
|
5561
|
-
line:
|
|
5561
|
+
line: 17,
|
|
5562
5562
|
column: 34
|
|
5563
5563
|
},
|
|
5564
5564
|
end: {
|
|
5565
|
-
line:
|
|
5565
|
+
line: 17,
|
|
5566
5566
|
column: 35
|
|
5567
5567
|
}
|
|
5568
5568
|
},
|
|
5569
5569
|
loc: {
|
|
5570
5570
|
start: {
|
|
5571
|
-
line:
|
|
5572
|
-
column:
|
|
5571
|
+
line: 17,
|
|
5572
|
+
column: 62
|
|
5573
5573
|
},
|
|
5574
5574
|
end: {
|
|
5575
|
-
line:
|
|
5575
|
+
line: 24,
|
|
5576
5576
|
column: 1
|
|
5577
5577
|
}
|
|
5578
5578
|
},
|
|
5579
|
-
line:
|
|
5579
|
+
line: 17
|
|
5580
5580
|
}
|
|
5581
5581
|
},
|
|
5582
5582
|
branchMap: {},
|
|
@@ -5594,7 +5594,7 @@ function cov_19fxzgc93l() {
|
|
|
5594
5594
|
},
|
|
5595
5595
|
b: {},
|
|
5596
5596
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
5597
|
-
hash: "
|
|
5597
|
+
hash: "b3e7b2755cc6d5d5ac6f51395a5e0309cb9ff355"
|
|
5598
5598
|
};
|
|
5599
5599
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
5600
5600
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -5618,15 +5618,14 @@ var getWebsocketURL = function getWebsocketURL() {
|
|
|
5618
5618
|
cov_19fxzgc93l().s[2]++;
|
|
5619
5619
|
return buildUrl(websocketURL, {
|
|
5620
5620
|
auth_token: (_globalProps$user = globalProps.user) === null || _globalProps$user === void 0 ? void 0 : _globalProps$user.authenticationToken,
|
|
5621
|
-
email: (_globalProps$user2 = globalProps.user) === null || _globalProps$user2 === void 0 ? void 0 : _globalProps$user2.email
|
|
5621
|
+
email: (_globalProps$user2 = globalProps.user) === null || _globalProps$user2 === void 0 ? void 0 : _globalProps$user2.email,
|
|
5622
|
+
subdomain: globalProps.organization.subdomain
|
|
5622
5623
|
});
|
|
5623
5624
|
};
|
|
5624
5625
|
cov_19fxzgc93l().s[3]++;
|
|
5625
|
-
var createSubscription = function createSubscription(channelName,
|
|
5626
|
+
var createSubscription = function createSubscription(channelName, callbacks) {
|
|
5626
5627
|
cov_19fxzgc93l().f[1]++;
|
|
5627
|
-
var subscription = (cov_19fxzgc93l().s[4]++, createConsumer(getWebsocketURL).subscriptions.create(channelName,
|
|
5628
|
-
received: callback
|
|
5629
|
-
}));
|
|
5628
|
+
var subscription = (cov_19fxzgc93l().s[4]++, createConsumer(getWebsocketURL).subscriptions.create(channelName, callbacks));
|
|
5630
5629
|
cov_19fxzgc93l().s[5]++;
|
|
5631
5630
|
return subscription;
|
|
5632
5631
|
};
|