comprodls-sdk 2.16.0 → 2.19.1
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/dist/comprodls-sdk.js +246 -133
- package/dist/comprodls-sdk.min.js +18 -18
- package/lib/config/index.js +3 -1
- package/lib/services/analytics/index.js +15 -7
- package/lib/services/auth/index.js +43 -23
- package/lib/services/invitations/index.js +11 -1
- package/lib/services/spaces/index.js +49 -1
- package/lib/services/xapi/index.js +45 -2
- package/package.json +3 -2
package/dist/comprodls-sdk.js
CHANGED
|
@@ -346,6 +346,7 @@ exports.AUTH_API_URLS = {
|
|
|
346
346
|
getInvitationsByEmail: '/accounts/{accountid}/invitations-by-email',
|
|
347
347
|
generateSpaceCode: '/accounts/{accountid}/space-code/generate',
|
|
348
348
|
changeSpaceCode: '/accounts/{accountid}/space-code/{spacecode}/change',
|
|
349
|
+
updateInstituteTitle: '/accounts/{accountId}/institute-spaces/{instituteSpaceCode}',
|
|
349
350
|
|
|
350
351
|
//Superuser related API
|
|
351
352
|
getAllInstitutions: '/su/accounts/{accountid}/spaces',
|
|
@@ -453,7 +454,8 @@ exports.PRODUCT_API_URLS = {
|
|
|
453
454
|
|
|
454
455
|
exports.XAPI_API_URLS = {
|
|
455
456
|
postMultiStatements: '/{orgId}/statements/multi',
|
|
456
|
-
postExternalMultiStatements: '/{orgId}/external/statements/multi'
|
|
457
|
+
postExternalMultiStatements: '/{orgId}/external/statements/multi',
|
|
458
|
+
resetUserProductProgress: '/accounts/{accountId}/progress/user/product/reset'
|
|
457
459
|
};
|
|
458
460
|
|
|
459
461
|
exports.ATTEMPTS_API_URLS = {
|
|
@@ -1446,7 +1448,7 @@ Activity.prototype.getQuestionsCount = function () {
|
|
|
1446
1448
|
return dfd.promise;
|
|
1447
1449
|
}
|
|
1448
1450
|
|
|
1449
|
-
},{"../../helpers":3,"./attempt":12,"extend":
|
|
1451
|
+
},{"../../helpers":3,"./attempt":12,"extend":66,"q":88,"superagent":131}],12:[function(require,module,exports){
|
|
1450
1452
|
/*************************************************************************
|
|
1451
1453
|
*
|
|
1452
1454
|
* COMPRO CONFIDENTIAL
|
|
@@ -1879,7 +1881,7 @@ Attempt.prototype.submit = function (userresponse) {
|
|
|
1879
1881
|
return dfd.promise;
|
|
1880
1882
|
};
|
|
1881
1883
|
|
|
1882
|
-
},{"../../helpers":3,"extend":
|
|
1884
|
+
},{"../../helpers":3,"extend":66,"q":88,"superagent":131}],13:[function(require,module,exports){
|
|
1883
1885
|
/*************************************************************************
|
|
1884
1886
|
*
|
|
1885
1887
|
* COMPRO CONFIDENTIAL
|
|
@@ -1941,12 +1943,18 @@ module.exports = require('./activity');
|
|
|
1941
1943
|
|
|
1942
1944
|
var q = require('q');
|
|
1943
1945
|
var request = require('superagent');
|
|
1946
|
+
var Agent = require('agentkeepalive');
|
|
1944
1947
|
|
|
1945
1948
|
var helpers = require('../../helpers');
|
|
1946
1949
|
var DLSError = helpers.errors.DLSError;
|
|
1947
1950
|
|
|
1948
1951
|
module.exports = analytics;
|
|
1949
1952
|
|
|
1953
|
+
var keepaliveAgent = new Agent({
|
|
1954
|
+
timeout: 60000,
|
|
1955
|
+
keepAliveTimeout: 30000
|
|
1956
|
+
});
|
|
1957
|
+
|
|
1950
1958
|
/*********************************
|
|
1951
1959
|
* Public Function definitions
|
|
1952
1960
|
**********************************/
|
|
@@ -3494,13 +3502,15 @@ function getTimeseriesAnalytics(options) {
|
|
|
3494
3502
|
|
|
3495
3503
|
if(self.traceid) { requestAPI.set('X-Amzn-Trace-Id', self.traceid); }
|
|
3496
3504
|
|
|
3497
|
-
requestAPI
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3505
|
+
requestAPI
|
|
3506
|
+
.agent(keepaliveAgent)
|
|
3507
|
+
.end(function (error, response) {
|
|
3508
|
+
if(error) {
|
|
3509
|
+
err = new DLSError(helpers.errors.ERROR_TYPES.API_ERROR, error);
|
|
3510
|
+
dfd.reject(err);
|
|
3511
|
+
}
|
|
3512
|
+
else { dfd.resolve(response.body); }
|
|
3513
|
+
});
|
|
3504
3514
|
}
|
|
3505
3515
|
else {
|
|
3506
3516
|
err = {};
|
|
@@ -3510,7 +3520,7 @@ function getTimeseriesAnalytics(options) {
|
|
|
3510
3520
|
}
|
|
3511
3521
|
return dfd.promise;
|
|
3512
3522
|
}
|
|
3513
|
-
},{"../../helpers":3,"q":88,"superagent":131}],15:[function(require,module,exports){
|
|
3523
|
+
},{"../../helpers":3,"agentkeepalive":35,"q":88,"superagent":131}],15:[function(require,module,exports){
|
|
3514
3524
|
/*************************************************************************
|
|
3515
3525
|
*
|
|
3516
3526
|
* COMPRO CONFIDENTIAL
|
|
@@ -3882,6 +3892,7 @@ function getUserLastAttemptForActivity(options) {
|
|
|
3882
3892
|
|
|
3883
3893
|
var q = require('q');
|
|
3884
3894
|
var request = require('superagent');
|
|
3895
|
+
var Agent = require('agentkeepalive');
|
|
3885
3896
|
|
|
3886
3897
|
var helpers = require('../../helpers');
|
|
3887
3898
|
var converter = require('../../helpers/lib/api/converter');
|
|
@@ -3892,6 +3903,12 @@ var DLSError = helpers.errors.DLSError;
|
|
|
3892
3903
|
* Setting Up Module Entry Point
|
|
3893
3904
|
**********************************/
|
|
3894
3905
|
module.exports = auth;
|
|
3906
|
+
|
|
3907
|
+
var keepaliveAgent = new Agent({
|
|
3908
|
+
timeout: 60000,
|
|
3909
|
+
keepAliveTimeout: 30000
|
|
3910
|
+
});
|
|
3911
|
+
|
|
3895
3912
|
//Auth Adaptor Contsructor
|
|
3896
3913
|
function auth() {
|
|
3897
3914
|
return {
|
|
@@ -4348,16 +4365,18 @@ function getClassUsers(options) {
|
|
|
4348
4365
|
requestAPI = helpers.api.setupAPIToken(requestAPI, self.token);
|
|
4349
4366
|
|
|
4350
4367
|
// Call GET ALL USER Api
|
|
4351
|
-
requestAPI
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4368
|
+
requestAPI
|
|
4369
|
+
.agent(keepaliveAgent)
|
|
4370
|
+
.end(function(err, response) {
|
|
4371
|
+
if(err) {
|
|
4372
|
+
err = new DLSError(helpers.errors.ERROR_TYPES.API_ERROR, err);
|
|
4373
|
+
dfd.reject(err);
|
|
4374
|
+
}
|
|
4375
|
+
else {
|
|
4376
|
+
response.body.entities = converter.convertEnrollmetsResponse({data: response.body.entities}) ;
|
|
4377
|
+
dfd.resolve(response.body);
|
|
4378
|
+
}
|
|
4379
|
+
});
|
|
4361
4380
|
} else {
|
|
4362
4381
|
err = {};
|
|
4363
4382
|
err.message = err.description = 'Required parameter classid is not defined.';
|
|
@@ -4766,14 +4785,16 @@ function getParticularClass(options) {
|
|
|
4766
4785
|
//Setup token in Authorization header
|
|
4767
4786
|
requestAPI = helpers.api.setupAPIToken(requestAPI, self.token);
|
|
4768
4787
|
|
|
4769
|
-
requestAPI
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4788
|
+
requestAPI
|
|
4789
|
+
.agent(keepaliveAgent)
|
|
4790
|
+
.end(function(err, response) {
|
|
4791
|
+
if(err) {
|
|
4792
|
+
err = new DLSError(helpers.errors.ERROR_TYPES.API_ERROR, err);
|
|
4793
|
+
dfd.reject(err);
|
|
4794
|
+
} else {
|
|
4795
|
+
dfd.resolve(response.body);
|
|
4796
|
+
}
|
|
4797
|
+
});
|
|
4777
4798
|
} else {
|
|
4778
4799
|
err = {};
|
|
4779
4800
|
err.message = err.description = 'classId not found in request options.';
|
|
@@ -5171,6 +5192,7 @@ function enrollUsertoClass(options) {
|
|
|
5171
5192
|
|
|
5172
5193
|
//options = {
|
|
5173
5194
|
// classid: '', //Class Id
|
|
5195
|
+
// classrole: ''
|
|
5174
5196
|
//};
|
|
5175
5197
|
function enrollSelftoClass(options) {
|
|
5176
5198
|
var self = this;
|
|
@@ -5191,8 +5213,13 @@ function enrollSelftoClass(options) {
|
|
|
5191
5213
|
classId: options.classid
|
|
5192
5214
|
});
|
|
5193
5215
|
|
|
5216
|
+
var params = { classrole: options.classrole };
|
|
5194
5217
|
//Setup request with URL and Params
|
|
5195
|
-
var requestAPI = request.post(url)
|
|
5218
|
+
var requestAPI = request.post(url)
|
|
5219
|
+
.set('Content-Type', 'application/json')
|
|
5220
|
+
.set('Accept', 'application/json')
|
|
5221
|
+
.send(params);
|
|
5222
|
+
|
|
5196
5223
|
if(self.traceid) { requestAPI.set('X-Amzn-Trace-Id', self.traceid); }
|
|
5197
5224
|
|
|
5198
5225
|
//Setup token in Authorization header
|
|
@@ -5395,8 +5422,9 @@ function encodeURLParameter(options) {
|
|
|
5395
5422
|
* title: 'class title',
|
|
5396
5423
|
* startdate: 'Epoch(Unix) timestamp in milliseconds',
|
|
5397
5424
|
* enddate: 'Epoch(Unix) timestamp in milliseconds',
|
|
5398
|
-
* description: '' // Optional field
|
|
5399
|
-
* class_ownership: 'STRICT' / 'NO_OWNER' // Default - STRICT, Optional field
|
|
5425
|
+
* description: '', // Optional field
|
|
5426
|
+
* class_ownership: 'STRICT' / 'NO_OWNER', // Default - STRICT, Optional field
|
|
5427
|
+
* ext_data: {} // Optional
|
|
5400
5428
|
* }
|
|
5401
5429
|
*/
|
|
5402
5430
|
function createClass(options) {
|
|
@@ -5456,7 +5484,8 @@ function createClass(options) {
|
|
|
5456
5484
|
// title: 'class title', //Optional field
|
|
5457
5485
|
// startdate: 'Epoch(Unix) timestamp in milliseconds', //Optional field
|
|
5458
5486
|
// enddate: 'Epoch(Unix) timestamp in milliseconds', //Optional field
|
|
5459
|
-
// description: '' //Optional field
|
|
5487
|
+
// description: '', //Optional field
|
|
5488
|
+
// ext_data: '' //Optional field
|
|
5460
5489
|
//}
|
|
5461
5490
|
function updateClass(options) {
|
|
5462
5491
|
var self = this;
|
|
@@ -5507,13 +5536,14 @@ function updateClass(options) {
|
|
|
5507
5536
|
/** options =
|
|
5508
5537
|
*{
|
|
5509
5538
|
"space_title": "string",
|
|
5510
|
-
"classes": [
|
|
5539
|
+
"classes": [
|
|
5511
5540
|
{
|
|
5512
5541
|
"title": "class tiltle",
|
|
5513
5542
|
"startdate": 'Epoch(Unix) timestamp in milliseconds',
|
|
5514
5543
|
"enddate": 'Epoch(Unix) timestamp in milliseconds',
|
|
5515
5544
|
"rowId": 'string with max limit 3 characters,
|
|
5516
5545
|
"description": "string",
|
|
5546
|
+
"ext_data": {}, // optional
|
|
5517
5547
|
"model": "STRICT",
|
|
5518
5548
|
"owner": {
|
|
5519
5549
|
"userid": "string" //Mandatory if model is 'STRICT'
|
|
@@ -6456,7 +6486,7 @@ function deleteItemsFromShowcaseOfAClass(options){
|
|
|
6456
6486
|
return dfd.promise;
|
|
6457
6487
|
}
|
|
6458
6488
|
|
|
6459
|
-
},{"../../helpers":3,"../../helpers/lib/api/converter":4,"q":88,"superagent":131}],17:[function(require,module,exports){
|
|
6489
|
+
},{"../../helpers":3,"../../helpers/lib/api/converter":4,"agentkeepalive":35,"q":88,"superagent":131}],17:[function(require,module,exports){
|
|
6460
6490
|
/*************************************************************************
|
|
6461
6491
|
*
|
|
6462
6492
|
* COMPRO CONFIDENTIAL
|
|
@@ -7464,9 +7494,18 @@ function invitations() {
|
|
|
7464
7494
|
context: 'string', // required
|
|
7465
7495
|
created: 'string', // required
|
|
7466
7496
|
space_title: 'string',
|
|
7467
|
-
class_enrollment: {
|
|
7497
|
+
class_enrollment: {
|
|
7498
|
+
classid: 'string', // required. Correlated with context
|
|
7499
|
+
class_role: 'string', // optional
|
|
7500
|
+
inviter_email: 'string' // optional
|
|
7501
|
+
},
|
|
7468
7502
|
invitation_data: [
|
|
7469
7503
|
{
|
|
7504
|
+
class_enrollment : { // optional, will override the outer context
|
|
7505
|
+
classid: 'string' // required. Correlated with context
|
|
7506
|
+
class_role: 'string', // optional
|
|
7507
|
+
inviter_email: 'string' // optional
|
|
7508
|
+
},
|
|
7470
7509
|
email: 'string', // required
|
|
7471
7510
|
dls_account_status: 'string',
|
|
7472
7511
|
ext_account_status: 'string',
|
|
@@ -7474,6 +7513,7 @@ function invitations() {
|
|
|
7474
7513
|
ext_user_id: 'string',
|
|
7475
7514
|
first_name: 'string', // required
|
|
7476
7515
|
last_name: 'string', // required
|
|
7516
|
+
ext_data: {},
|
|
7477
7517
|
rowId: 'string', // required
|
|
7478
7518
|
role: 'string' /// required
|
|
7479
7519
|
},...
|
|
@@ -9531,7 +9571,7 @@ module.exports = function () {
|
|
|
9531
9571
|
|
|
9532
9572
|
}; //End of Client Wrapper module
|
|
9533
9573
|
|
|
9534
|
-
},{"../../helpers":3,"events":
|
|
9574
|
+
},{"../../helpers":3,"events":65,"pubnub":86}],26:[function(require,module,exports){
|
|
9535
9575
|
/*************************************************************************
|
|
9536
9576
|
*
|
|
9537
9577
|
* COMPRO CONFIDENTIAL
|
|
@@ -9720,7 +9760,7 @@ function _setup(orgId, userId) {
|
|
|
9720
9760
|
return dfd.promise;
|
|
9721
9761
|
}
|
|
9722
9762
|
|
|
9723
|
-
},{"../../helpers":3,"events":
|
|
9763
|
+
},{"../../helpers":3,"events":65,"q":88,"socket.io-client":107}],27:[function(require,module,exports){
|
|
9724
9764
|
/*************************************************************************
|
|
9725
9765
|
*
|
|
9726
9766
|
* COMPRO CONFIDENTIAL
|
|
@@ -9895,7 +9935,8 @@ function spaces(accountId) {
|
|
|
9895
9935
|
getExtProduct: getExtProduct.bind(this),
|
|
9896
9936
|
getSpaceDetails: getSpaceDetails.bind(this),
|
|
9897
9937
|
updateUserInformation: updateUserInformation.bind(this),
|
|
9898
|
-
getInvitationsByEmail: getInvitationsByEmail.bind(this)
|
|
9938
|
+
getInvitationsByEmail: getInvitationsByEmail.bind(this),
|
|
9939
|
+
updateInstituteTitle: updateInstituteTitle.bind(this)
|
|
9899
9940
|
};
|
|
9900
9941
|
}
|
|
9901
9942
|
|
|
@@ -10350,6 +10391,7 @@ function provisionBulkSpaces(options) {
|
|
|
10350
10391
|
* "ext_class_meta" :
|
|
10351
10392
|
* {
|
|
10352
10393
|
* "description": "string",
|
|
10394
|
+
* "ext_data": {},
|
|
10353
10395
|
* "title": "string", // mandatory
|
|
10354
10396
|
* "startdate": <epoch>, // mandatory
|
|
10355
10397
|
* "enddate": <epoch> // mandatory
|
|
@@ -10823,6 +10865,52 @@ function getInvitationsByEmail(options) {
|
|
|
10823
10865
|
}
|
|
10824
10866
|
return dfd.promise;
|
|
10825
10867
|
}
|
|
10868
|
+
|
|
10869
|
+
/**
|
|
10870
|
+
* This API is used to update an institute's space title
|
|
10871
|
+
* options = {
|
|
10872
|
+
* space_code: "", // Mandatory, space code of institute whose title is to be updated
|
|
10873
|
+
* body : {
|
|
10874
|
+
* ext_actor_id: "", // Mandatory
|
|
10875
|
+
* data: {
|
|
10876
|
+
* space_title: ""
|
|
10877
|
+
* }
|
|
10878
|
+
* }
|
|
10879
|
+
* }
|
|
10880
|
+
*/
|
|
10881
|
+
function updateInstituteTitle(options){
|
|
10882
|
+
var self = this;
|
|
10883
|
+
// Initializing promise
|
|
10884
|
+
var dfd = q.defer();
|
|
10885
|
+
var err = {};
|
|
10886
|
+
if (options && options.space_code && options.body && options.body.ext_actor_id ) {
|
|
10887
|
+
// Passed all validations, Contruct API url
|
|
10888
|
+
var url = self.config.DEFAULT_HOSTS.AUTH + self.config.AUTH_API_URLS.updateInstituteTitle;
|
|
10889
|
+
url = helpers.api.constructAPIUrl(url,
|
|
10890
|
+
{ accountId: self.accountId, instituteSpaceCode: options.space_code });
|
|
10891
|
+
|
|
10892
|
+
// Setup request with URL and Params
|
|
10893
|
+
var requestAPI = request.put(url)
|
|
10894
|
+
.set('Content-Type', 'application/json')
|
|
10895
|
+
.set('Accept', 'application/json')
|
|
10896
|
+
.send(options.body);
|
|
10897
|
+
if (self.traceid) { requestAPI.set('X-Amzn-Trace-Id', self.traceid); }
|
|
10898
|
+
|
|
10899
|
+
requestAPI.end(function (error, response) {
|
|
10900
|
+
if (error) {
|
|
10901
|
+
err = new DLSError(helpers.errors.ERROR_TYPES.API_ERROR, error);
|
|
10902
|
+
dfd.reject(err);
|
|
10903
|
+
}
|
|
10904
|
+
else { dfd.resolve(response.body); }
|
|
10905
|
+
});
|
|
10906
|
+
}
|
|
10907
|
+
else {
|
|
10908
|
+
err.message = err.description = 'space_code or ext_actor_id not found in request options.';
|
|
10909
|
+
err = new DLSError(helpers.errors.ERROR_TYPES.SDK_ERROR, err);
|
|
10910
|
+
dfd.reject(err);
|
|
10911
|
+
}
|
|
10912
|
+
return dfd.promise;
|
|
10913
|
+
}
|
|
10826
10914
|
|
|
10827
10915
|
},{"../../helpers":3,"q":88,"superagent":131}],29:[function(require,module,exports){
|
|
10828
10916
|
/*************************************************************************
|
|
@@ -11508,10 +11596,12 @@ module.exports = xapi;
|
|
|
11508
11596
|
/*********************************
|
|
11509
11597
|
* Public Function definitions
|
|
11510
11598
|
**********************************/
|
|
11511
|
-
function xapi() {
|
|
11599
|
+
function xapi(accountId) {
|
|
11600
|
+
this.accountId = accountId;
|
|
11512
11601
|
return {
|
|
11513
11602
|
postStatement: postStatements.bind(this),
|
|
11514
|
-
postExternalStatements: postExternalStatements.bind(this)
|
|
11603
|
+
postExternalStatements: postExternalStatements.bind(this),
|
|
11604
|
+
resetUserProductProgress: resetUserProductProgress.bind(this)
|
|
11515
11605
|
};
|
|
11516
11606
|
}
|
|
11517
11607
|
|
|
@@ -11700,6 +11790,47 @@ function postExternalStatements(options) {
|
|
|
11700
11790
|
});
|
|
11701
11791
|
return dfd.promise;
|
|
11702
11792
|
}
|
|
11793
|
+
|
|
11794
|
+
/*options = {
|
|
11795
|
+
userid: 'string',
|
|
11796
|
+
productcode: 'string',
|
|
11797
|
+
actorid: 'string'
|
|
11798
|
+
}*/
|
|
11799
|
+
function resetUserProductProgress(options) {
|
|
11800
|
+
var self = this;
|
|
11801
|
+
// Initializing promise
|
|
11802
|
+
var dfd = q.defer();
|
|
11803
|
+
var err = {};
|
|
11804
|
+
if(options && options.userid && options.productcode && options.actorid) {
|
|
11805
|
+
|
|
11806
|
+
// Passed all validations, Contruct API url
|
|
11807
|
+
var url = self.config.DEFAULT_HOSTS.XAPI + self.config.XAPI_API_URLS.resetUserProductProgress;
|
|
11808
|
+
url = helpers.api.constructAPIUrl(url, { accountId : self.accountId });
|
|
11809
|
+
|
|
11810
|
+
// Setup request with URL and Params
|
|
11811
|
+
var requestAPI = request.delete(url)
|
|
11812
|
+
.set('Content-Type', 'application/json')
|
|
11813
|
+
.set('Accept', 'application/json')
|
|
11814
|
+
.send(options);
|
|
11815
|
+
|
|
11816
|
+
if(self.traceid) { requestAPI.set('X-Amzn-Trace-Id', self.traceid); }
|
|
11817
|
+
|
|
11818
|
+
requestAPI.end(function(error, response) {
|
|
11819
|
+
if(error) {
|
|
11820
|
+
err = new DLSError(helpers.errors.ERROR_TYPES.API_ERROR, error);
|
|
11821
|
+
dfd.reject(err);
|
|
11822
|
+
}
|
|
11823
|
+
else { dfd.resolve(response.body); }
|
|
11824
|
+
});
|
|
11825
|
+
}
|
|
11826
|
+
else {
|
|
11827
|
+
err.message = err.description = 'userid, productcode or actorid not found in request options.';
|
|
11828
|
+
err = new DLSError(helpers.errors.ERROR_TYPES.SDK_ERROR, err);
|
|
11829
|
+
dfd.reject(err);
|
|
11830
|
+
}
|
|
11831
|
+
|
|
11832
|
+
return dfd.promise;
|
|
11833
|
+
}
|
|
11703
11834
|
|
|
11704
11835
|
},{"../../helpers":3,"q":88,"superagent":131}],32:[function(require,module,exports){
|
|
11705
11836
|
/*************************************************************************
|
|
@@ -11938,6 +12069,13 @@ function after(count, callback, err_cb) {
|
|
|
11938
12069
|
function noop() {}
|
|
11939
12070
|
|
|
11940
12071
|
},{}],35:[function(require,module,exports){
|
|
12072
|
+
module.exports = noop;
|
|
12073
|
+
module.exports.HttpsAgent = noop;
|
|
12074
|
+
|
|
12075
|
+
// Noop function for browser since native api's don't use agents.
|
|
12076
|
+
function noop () {}
|
|
12077
|
+
|
|
12078
|
+
},{}],36:[function(require,module,exports){
|
|
11941
12079
|
/**
|
|
11942
12080
|
* An abstraction for slicing an arraybuffer even when
|
|
11943
12081
|
* ArrayBuffer.prototype.slice is not supported
|
|
@@ -11968,7 +12106,7 @@ module.exports = function(arraybuffer, start, end) {
|
|
|
11968
12106
|
return result.buffer;
|
|
11969
12107
|
};
|
|
11970
12108
|
|
|
11971
|
-
},{}],
|
|
12109
|
+
},{}],37:[function(require,module,exports){
|
|
11972
12110
|
|
|
11973
12111
|
/**
|
|
11974
12112
|
* Expose `Backoff`.
|
|
@@ -12055,7 +12193,7 @@ Backoff.prototype.setJitter = function(jitter){
|
|
|
12055
12193
|
};
|
|
12056
12194
|
|
|
12057
12195
|
|
|
12058
|
-
},{}],
|
|
12196
|
+
},{}],38:[function(require,module,exports){
|
|
12059
12197
|
/*
|
|
12060
12198
|
* base64-arraybuffer
|
|
12061
12199
|
* https://github.com/niklasvh/base64-arraybuffer
|
|
@@ -12116,7 +12254,7 @@ Backoff.prototype.setJitter = function(jitter){
|
|
|
12116
12254
|
};
|
|
12117
12255
|
})("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/");
|
|
12118
12256
|
|
|
12119
|
-
},{}],
|
|
12257
|
+
},{}],39:[function(require,module,exports){
|
|
12120
12258
|
var lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
|
|
12121
12259
|
|
|
12122
12260
|
;(function (exports) {
|
|
@@ -12242,7 +12380,7 @@ var lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
|
|
|
12242
12380
|
exports.fromByteArray = uint8ToBase64
|
|
12243
12381
|
}(typeof exports === 'undefined' ? (this.base64js = {}) : exports))
|
|
12244
12382
|
|
|
12245
|
-
},{}],
|
|
12383
|
+
},{}],40:[function(require,module,exports){
|
|
12246
12384
|
(function (global){
|
|
12247
12385
|
/**
|
|
12248
12386
|
* Create a blob builder even when vendor prefixes exist
|
|
@@ -12342,9 +12480,9 @@ module.exports = (function() {
|
|
|
12342
12480
|
})();
|
|
12343
12481
|
|
|
12344
12482
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
12345
|
-
},{}],40:[function(require,module,exports){
|
|
12346
|
-
|
|
12347
12483
|
},{}],41:[function(require,module,exports){
|
|
12484
|
+
|
|
12485
|
+
},{}],42:[function(require,module,exports){
|
|
12348
12486
|
(function (global){
|
|
12349
12487
|
/*!
|
|
12350
12488
|
* The buffer module from node.js, for the browser.
|
|
@@ -13896,7 +14034,7 @@ function blitBuffer (src, dst, offset, length) {
|
|
|
13896
14034
|
}
|
|
13897
14035
|
|
|
13898
14036
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
13899
|
-
},{"base64-js":
|
|
14037
|
+
},{"base64-js":39,"ieee754":72,"isarray":75}],43:[function(require,module,exports){
|
|
13900
14038
|
module.exports = {
|
|
13901
14039
|
"100": "Continue",
|
|
13902
14040
|
"101": "Switching Protocols",
|
|
@@ -13957,7 +14095,7 @@ module.exports = {
|
|
|
13957
14095
|
"511": "Network Authentication Required"
|
|
13958
14096
|
}
|
|
13959
14097
|
|
|
13960
|
-
},{}],
|
|
14098
|
+
},{}],44:[function(require,module,exports){
|
|
13961
14099
|
/**
|
|
13962
14100
|
* Slice reference.
|
|
13963
14101
|
*/
|
|
@@ -13982,7 +14120,7 @@ module.exports = function(obj, fn){
|
|
|
13982
14120
|
}
|
|
13983
14121
|
};
|
|
13984
14122
|
|
|
13985
|
-
},{}],
|
|
14123
|
+
},{}],45:[function(require,module,exports){
|
|
13986
14124
|
|
|
13987
14125
|
module.exports = function(a, b){
|
|
13988
14126
|
var fn = function(){};
|
|
@@ -13990,8 +14128,7 @@ module.exports = function(a, b){
|
|
|
13990
14128
|
a.prototype = new fn;
|
|
13991
14129
|
a.prototype.constructor = a;
|
|
13992
14130
|
};
|
|
13993
|
-
},{}],
|
|
13994
|
-
(function (Buffer){
|
|
14131
|
+
},{}],46:[function(require,module,exports){
|
|
13995
14132
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
13996
14133
|
//
|
|
13997
14134
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -14094,18 +14231,17 @@ function isPrimitive(arg) {
|
|
|
14094
14231
|
}
|
|
14095
14232
|
exports.isPrimitive = isPrimitive;
|
|
14096
14233
|
|
|
14097
|
-
exports.isBuffer = Buffer.isBuffer;
|
|
14234
|
+
exports.isBuffer = require('buffer').Buffer.isBuffer;
|
|
14098
14235
|
|
|
14099
14236
|
function objectToString(o) {
|
|
14100
14237
|
return Object.prototype.toString.call(o);
|
|
14101
14238
|
}
|
|
14102
14239
|
|
|
14103
|
-
}
|
|
14104
|
-
},{"../../is-buffer/index.js":74}],46:[function(require,module,exports){
|
|
14240
|
+
},{"buffer":42}],47:[function(require,module,exports){
|
|
14105
14241
|
|
|
14106
14242
|
module.exports = require('./lib/');
|
|
14107
14243
|
|
|
14108
|
-
},{"./lib/":
|
|
14244
|
+
},{"./lib/":48}],48:[function(require,module,exports){
|
|
14109
14245
|
|
|
14110
14246
|
module.exports = require('./socket');
|
|
14111
14247
|
|
|
@@ -14117,7 +14253,7 @@ module.exports = require('./socket');
|
|
|
14117
14253
|
*/
|
|
14118
14254
|
module.exports.parser = require('engine.io-parser');
|
|
14119
14255
|
|
|
14120
|
-
},{"./socket":
|
|
14256
|
+
},{"./socket":49,"engine.io-parser":61}],49:[function(require,module,exports){
|
|
14121
14257
|
(function (global){
|
|
14122
14258
|
/**
|
|
14123
14259
|
* Module dependencies.
|
|
@@ -14849,7 +14985,7 @@ Socket.prototype.filterUpgrades = function (upgrades) {
|
|
|
14849
14985
|
};
|
|
14850
14986
|
|
|
14851
14987
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
14852
|
-
},{"./transport":
|
|
14988
|
+
},{"./transport":50,"./transports":51,"component-emitter":57,"debug":58,"engine.io-parser":61,"indexof":73,"parsejson":81,"parseqs":82,"parseuri":83}],50:[function(require,module,exports){
|
|
14853
14989
|
/**
|
|
14854
14990
|
* Module dependencies.
|
|
14855
14991
|
*/
|
|
@@ -15006,7 +15142,7 @@ Transport.prototype.onClose = function () {
|
|
|
15006
15142
|
this.emit('close');
|
|
15007
15143
|
};
|
|
15008
15144
|
|
|
15009
|
-
},{"component-emitter":
|
|
15145
|
+
},{"component-emitter":57,"engine.io-parser":61}],51:[function(require,module,exports){
|
|
15010
15146
|
(function (global){
|
|
15011
15147
|
/**
|
|
15012
15148
|
* Module dependencies
|
|
@@ -15063,7 +15199,7 @@ function polling(opts){
|
|
|
15063
15199
|
}
|
|
15064
15200
|
|
|
15065
15201
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
15066
|
-
},{"./polling-jsonp":
|
|
15202
|
+
},{"./polling-jsonp":52,"./polling-xhr":53,"./websocket":55,"xmlhttprequest-ssl":56}],52:[function(require,module,exports){
|
|
15067
15203
|
(function (global){
|
|
15068
15204
|
|
|
15069
15205
|
/**
|
|
@@ -15305,7 +15441,7 @@ JSONPPolling.prototype.doWrite = function (data, fn) {
|
|
|
15305
15441
|
};
|
|
15306
15442
|
|
|
15307
15443
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
15308
|
-
},{"./polling":
|
|
15444
|
+
},{"./polling":54,"component-inherit":45}],53:[function(require,module,exports){
|
|
15309
15445
|
(function (global){
|
|
15310
15446
|
/**
|
|
15311
15447
|
* Module requirements.
|
|
@@ -15721,7 +15857,7 @@ function unloadHandler() {
|
|
|
15721
15857
|
}
|
|
15722
15858
|
|
|
15723
15859
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
15724
|
-
},{"./polling":
|
|
15860
|
+
},{"./polling":54,"component-emitter":57,"component-inherit":45,"debug":58,"xmlhttprequest-ssl":56}],54:[function(require,module,exports){
|
|
15725
15861
|
/**
|
|
15726
15862
|
* Module dependencies.
|
|
15727
15863
|
*/
|
|
@@ -15970,7 +16106,7 @@ Polling.prototype.uri = function(){
|
|
|
15970
16106
|
return schema + '://' + (ipv6 ? '[' + this.hostname + ']' : this.hostname) + port + this.path + query;
|
|
15971
16107
|
};
|
|
15972
16108
|
|
|
15973
|
-
},{"../transport":
|
|
16109
|
+
},{"../transport":50,"component-inherit":45,"debug":58,"engine.io-parser":61,"parseqs":82,"xmlhttprequest-ssl":56,"yeast":142}],55:[function(require,module,exports){
|
|
15974
16110
|
(function (global){
|
|
15975
16111
|
/**
|
|
15976
16112
|
* Module dependencies.
|
|
@@ -16262,7 +16398,7 @@ WS.prototype.check = function(){
|
|
|
16262
16398
|
};
|
|
16263
16399
|
|
|
16264
16400
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
16265
|
-
},{"../transport":
|
|
16401
|
+
},{"../transport":50,"component-inherit":45,"debug":58,"engine.io-parser":61,"parseqs":82,"ws":41,"yeast":142}],56:[function(require,module,exports){
|
|
16266
16402
|
// browser shim for xmlhttprequest module
|
|
16267
16403
|
var hasCORS = require('has-cors');
|
|
16268
16404
|
|
|
@@ -16300,7 +16436,7 @@ module.exports = function(opts) {
|
|
|
16300
16436
|
}
|
|
16301
16437
|
}
|
|
16302
16438
|
|
|
16303
|
-
},{"has-cors":
|
|
16439
|
+
},{"has-cors":70}],57:[function(require,module,exports){
|
|
16304
16440
|
|
|
16305
16441
|
/**
|
|
16306
16442
|
* Expose `Emitter`.
|
|
@@ -16466,7 +16602,7 @@ Emitter.prototype.hasListeners = function(event){
|
|
|
16466
16602
|
return !! this.listeners(event).length;
|
|
16467
16603
|
};
|
|
16468
16604
|
|
|
16469
|
-
},{}],
|
|
16605
|
+
},{}],58:[function(require,module,exports){
|
|
16470
16606
|
|
|
16471
16607
|
/**
|
|
16472
16608
|
* This is the web browser implementation of `debug()`.
|
|
@@ -16636,7 +16772,7 @@ function localstorage(){
|
|
|
16636
16772
|
} catch (e) {}
|
|
16637
16773
|
}
|
|
16638
16774
|
|
|
16639
|
-
},{"./debug":
|
|
16775
|
+
},{"./debug":59}],59:[function(require,module,exports){
|
|
16640
16776
|
|
|
16641
16777
|
/**
|
|
16642
16778
|
* This is the common logic for both the Node.js and web browser
|
|
@@ -16835,7 +16971,7 @@ function coerce(val) {
|
|
|
16835
16971
|
return val;
|
|
16836
16972
|
}
|
|
16837
16973
|
|
|
16838
|
-
},{"ms":
|
|
16974
|
+
},{"ms":60}],60:[function(require,module,exports){
|
|
16839
16975
|
/**
|
|
16840
16976
|
* Helpers.
|
|
16841
16977
|
*/
|
|
@@ -16962,7 +17098,7 @@ function plural(ms, n, name) {
|
|
|
16962
17098
|
return Math.ceil(ms / n) + ' ' + name + 's';
|
|
16963
17099
|
}
|
|
16964
17100
|
|
|
16965
|
-
},{}],
|
|
17101
|
+
},{}],61:[function(require,module,exports){
|
|
16966
17102
|
(function (global){
|
|
16967
17103
|
/**
|
|
16968
17104
|
* Module dependencies.
|
|
@@ -17560,7 +17696,7 @@ exports.decodePayloadAsBinary = function (data, binaryType, callback) {
|
|
|
17560
17696
|
};
|
|
17561
17697
|
|
|
17562
17698
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
17563
|
-
},{"./keys":
|
|
17699
|
+
},{"./keys":62,"after":34,"arraybuffer.slice":36,"base64-arraybuffer":38,"blob":40,"has-binary":63,"utf8":137}],62:[function(require,module,exports){
|
|
17564
17700
|
|
|
17565
17701
|
/**
|
|
17566
17702
|
* Gets the keys for an object.
|
|
@@ -17581,7 +17717,7 @@ module.exports = Object.keys || function keys (obj){
|
|
|
17581
17717
|
return arr;
|
|
17582
17718
|
};
|
|
17583
17719
|
|
|
17584
|
-
},{}],
|
|
17720
|
+
},{}],63:[function(require,module,exports){
|
|
17585
17721
|
(function (global){
|
|
17586
17722
|
|
|
17587
17723
|
/*
|
|
@@ -17643,12 +17779,12 @@ function hasBinary(data) {
|
|
|
17643
17779
|
}
|
|
17644
17780
|
|
|
17645
17781
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
17646
|
-
},{"isarray":
|
|
17782
|
+
},{"isarray":64}],64:[function(require,module,exports){
|
|
17647
17783
|
module.exports = Array.isArray || function (arr) {
|
|
17648
17784
|
return Object.prototype.toString.call(arr) == '[object Array]';
|
|
17649
17785
|
};
|
|
17650
17786
|
|
|
17651
|
-
},{}],
|
|
17787
|
+
},{}],65:[function(require,module,exports){
|
|
17652
17788
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
17653
17789
|
//
|
|
17654
17790
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -17951,7 +18087,7 @@ function isUndefined(arg) {
|
|
|
17951
18087
|
return arg === void 0;
|
|
17952
18088
|
}
|
|
17953
18089
|
|
|
17954
|
-
},{}],
|
|
18090
|
+
},{}],66:[function(require,module,exports){
|
|
17955
18091
|
var hasOwn = Object.prototype.hasOwnProperty;
|
|
17956
18092
|
var toStr = Object.prototype.toString;
|
|
17957
18093
|
var defineProperty = Object.defineProperty;
|
|
@@ -18072,7 +18208,7 @@ module.exports = function extend() {
|
|
|
18072
18208
|
return target;
|
|
18073
18209
|
};
|
|
18074
18210
|
|
|
18075
|
-
},{}],
|
|
18211
|
+
},{}],67:[function(require,module,exports){
|
|
18076
18212
|
|
|
18077
18213
|
var hasOwn = Object.prototype.hasOwnProperty;
|
|
18078
18214
|
var toString = Object.prototype.toString;
|
|
@@ -18096,7 +18232,7 @@ module.exports = function forEach (obj, fn, ctx) {
|
|
|
18096
18232
|
};
|
|
18097
18233
|
|
|
18098
18234
|
|
|
18099
|
-
},{}],
|
|
18235
|
+
},{}],68:[function(require,module,exports){
|
|
18100
18236
|
(function (global){
|
|
18101
18237
|
|
|
18102
18238
|
/*
|
|
@@ -18159,9 +18295,9 @@ function hasBinary(data) {
|
|
|
18159
18295
|
}
|
|
18160
18296
|
|
|
18161
18297
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
18162
|
-
},{"isarray":
|
|
18163
|
-
arguments[4][
|
|
18164
|
-
},{"dup":
|
|
18298
|
+
},{"isarray":69}],69:[function(require,module,exports){
|
|
18299
|
+
arguments[4][64][0].apply(exports,arguments)
|
|
18300
|
+
},{"dup":64}],70:[function(require,module,exports){
|
|
18165
18301
|
|
|
18166
18302
|
/**
|
|
18167
18303
|
* Module exports.
|
|
@@ -18180,7 +18316,7 @@ try {
|
|
|
18180
18316
|
module.exports = false;
|
|
18181
18317
|
}
|
|
18182
18318
|
|
|
18183
|
-
},{}],
|
|
18319
|
+
},{}],71:[function(require,module,exports){
|
|
18184
18320
|
var http = require('http');
|
|
18185
18321
|
|
|
18186
18322
|
var https = module.exports;
|
|
@@ -18196,7 +18332,7 @@ https.request = function (params, cb) {
|
|
|
18196
18332
|
return http.request.call(this, params, cb);
|
|
18197
18333
|
}
|
|
18198
18334
|
|
|
18199
|
-
},{"http":125}],
|
|
18335
|
+
},{"http":125}],72:[function(require,module,exports){
|
|
18200
18336
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
18201
18337
|
exports.read = function (buffer, offset, isLE, mLen, nBytes) {
|
|
18202
18338
|
var e, m
|
|
@@ -18283,7 +18419,7 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
|
|
18283
18419
|
buffer[offset + i - d] |= s * 128
|
|
18284
18420
|
}
|
|
18285
18421
|
|
|
18286
|
-
},{}],
|
|
18422
|
+
},{}],73:[function(require,module,exports){
|
|
18287
18423
|
|
|
18288
18424
|
var indexOf = [].indexOf;
|
|
18289
18425
|
|
|
@@ -18294,7 +18430,7 @@ module.exports = function(arr, obj){
|
|
|
18294
18430
|
}
|
|
18295
18431
|
return -1;
|
|
18296
18432
|
};
|
|
18297
|
-
},{}],
|
|
18433
|
+
},{}],74:[function(require,module,exports){
|
|
18298
18434
|
if (typeof Object.create === 'function') {
|
|
18299
18435
|
// implementation from standard node.js 'util' module
|
|
18300
18436
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -18323,29 +18459,6 @@ if (typeof Object.create === 'function') {
|
|
|
18323
18459
|
}
|
|
18324
18460
|
}
|
|
18325
18461
|
|
|
18326
|
-
},{}],74:[function(require,module,exports){
|
|
18327
|
-
/*!
|
|
18328
|
-
* Determine if an object is a Buffer
|
|
18329
|
-
*
|
|
18330
|
-
* @author Feross Aboukhadijeh <https://feross.org>
|
|
18331
|
-
* @license MIT
|
|
18332
|
-
*/
|
|
18333
|
-
|
|
18334
|
-
// The _isBuffer check is for Safari 5-7 support, because it's missing
|
|
18335
|
-
// Object.prototype.constructor. Remove this eventually
|
|
18336
|
-
module.exports = function (obj) {
|
|
18337
|
-
return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer)
|
|
18338
|
-
}
|
|
18339
|
-
|
|
18340
|
-
function isBuffer (obj) {
|
|
18341
|
-
return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)
|
|
18342
|
-
}
|
|
18343
|
-
|
|
18344
|
-
// For Node v0.10 support. Remove this eventually.
|
|
18345
|
-
function isSlowBuffer (obj) {
|
|
18346
|
-
return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0))
|
|
18347
|
-
}
|
|
18348
|
-
|
|
18349
18462
|
},{}],75:[function(require,module,exports){
|
|
18350
18463
|
var toString = {}.toString;
|
|
18351
18464
|
|
|
@@ -22740,7 +22853,7 @@ Duplex.prototype._destroy = function (err, cb) {
|
|
|
22740
22853
|
|
|
22741
22854
|
pna.nextTick(cb, err);
|
|
22742
22855
|
};
|
|
22743
|
-
},{"./_stream_readable":95,"./_stream_writable":97,"core-util-is":
|
|
22856
|
+
},{"./_stream_readable":95,"./_stream_writable":97,"core-util-is":46,"inherits":74,"process-nextick-args":84}],94:[function(require,module,exports){
|
|
22744
22857
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
22745
22858
|
//
|
|
22746
22859
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -22788,7 +22901,7 @@ function PassThrough(options) {
|
|
|
22788
22901
|
PassThrough.prototype._transform = function (chunk, encoding, cb) {
|
|
22789
22902
|
cb(null, chunk);
|
|
22790
22903
|
};
|
|
22791
|
-
},{"./_stream_transform":96,"core-util-is":
|
|
22904
|
+
},{"./_stream_transform":96,"core-util-is":46,"inherits":74}],95:[function(require,module,exports){
|
|
22792
22905
|
(function (process,global){
|
|
22793
22906
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
22794
22907
|
//
|
|
@@ -23810,7 +23923,7 @@ function indexOf(xs, x) {
|
|
|
23810
23923
|
return -1;
|
|
23811
23924
|
}
|
|
23812
23925
|
}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
23813
|
-
},{"./_stream_duplex":93,"./internal/streams/BufferList":98,"./internal/streams/destroy":99,"./internal/streams/stream":100,"_process":85,"core-util-is":
|
|
23926
|
+
},{"./_stream_duplex":93,"./internal/streams/BufferList":98,"./internal/streams/destroy":99,"./internal/streams/stream":100,"_process":85,"core-util-is":46,"events":65,"inherits":74,"isarray":75,"process-nextick-args":84,"safe-buffer":106,"string_decoder/":130,"util":41}],96:[function(require,module,exports){
|
|
23814
23927
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
23815
23928
|
//
|
|
23816
23929
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -24025,7 +24138,7 @@ function done(stream, er, data) {
|
|
|
24025
24138
|
|
|
24026
24139
|
return stream.push(null);
|
|
24027
24140
|
}
|
|
24028
|
-
},{"./_stream_duplex":93,"core-util-is":
|
|
24141
|
+
},{"./_stream_duplex":93,"core-util-is":46,"inherits":74}],97:[function(require,module,exports){
|
|
24029
24142
|
(function (process,global){
|
|
24030
24143
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
24031
24144
|
//
|
|
@@ -24715,7 +24828,7 @@ Writable.prototype._destroy = function (err, cb) {
|
|
|
24715
24828
|
cb(err);
|
|
24716
24829
|
};
|
|
24717
24830
|
}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
24718
|
-
},{"./_stream_duplex":93,"./internal/streams/destroy":99,"./internal/streams/stream":100,"_process":85,"core-util-is":
|
|
24831
|
+
},{"./_stream_duplex":93,"./internal/streams/destroy":99,"./internal/streams/stream":100,"_process":85,"core-util-is":46,"inherits":74,"process-nextick-args":84,"safe-buffer":106,"util-deprecate":138}],98:[function(require,module,exports){
|
|
24719
24832
|
'use strict';
|
|
24720
24833
|
|
|
24721
24834
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -24795,7 +24908,7 @@ if (util && util.inspect && util.inspect.custom) {
|
|
|
24795
24908
|
return this.constructor.name + ' ' + obj;
|
|
24796
24909
|
};
|
|
24797
24910
|
}
|
|
24798
|
-
},{"safe-buffer":106,"util":
|
|
24911
|
+
},{"safe-buffer":106,"util":41}],99:[function(require,module,exports){
|
|
24799
24912
|
'use strict';
|
|
24800
24913
|
|
|
24801
24914
|
/*<replacement>*/
|
|
@@ -24873,7 +24986,7 @@ module.exports = {
|
|
|
24873
24986
|
},{"process-nextick-args":84}],100:[function(require,module,exports){
|
|
24874
24987
|
module.exports = require('events').EventEmitter;
|
|
24875
24988
|
|
|
24876
|
-
},{"events":
|
|
24989
|
+
},{"events":65}],101:[function(require,module,exports){
|
|
24877
24990
|
module.exports = require('./readable').PassThrough
|
|
24878
24991
|
|
|
24879
24992
|
},{"./readable":102}],102:[function(require,module,exports){
|
|
@@ -24980,7 +25093,7 @@ SafeBuffer.allocUnsafeSlow = function (size) {
|
|
|
24980
25093
|
return buffer.SlowBuffer(size)
|
|
24981
25094
|
}
|
|
24982
25095
|
|
|
24983
|
-
},{"buffer":
|
|
25096
|
+
},{"buffer":42}],107:[function(require,module,exports){
|
|
24984
25097
|
|
|
24985
25098
|
/**
|
|
24986
25099
|
* Module dependencies.
|
|
@@ -25633,7 +25746,7 @@ Manager.prototype.onreconnect = function(){
|
|
|
25633
25746
|
this.emitAll('reconnect', attempt);
|
|
25634
25747
|
};
|
|
25635
25748
|
|
|
25636
|
-
},{"./on":109,"./socket":110,"backo2":
|
|
25749
|
+
},{"./on":109,"./socket":110,"backo2":37,"component-bind":44,"component-emitter":112,"debug":113,"engine.io-client":47,"indexof":73,"socket.io-parser":117}],109:[function(require,module,exports){
|
|
25637
25750
|
|
|
25638
25751
|
/**
|
|
25639
25752
|
* Module exports.
|
|
@@ -26073,7 +26186,7 @@ Socket.prototype.compress = function(compress){
|
|
|
26073
26186
|
return this;
|
|
26074
26187
|
};
|
|
26075
26188
|
|
|
26076
|
-
},{"./on":109,"component-bind":
|
|
26189
|
+
},{"./on":109,"component-bind":44,"component-emitter":112,"debug":113,"has-binary":68,"socket.io-parser":117,"to-array":134}],111:[function(require,module,exports){
|
|
26077
26190
|
(function (global){
|
|
26078
26191
|
|
|
26079
26192
|
/**
|
|
@@ -26317,12 +26430,12 @@ Emitter.prototype.hasListeners = function(event){
|
|
|
26317
26430
|
};
|
|
26318
26431
|
|
|
26319
26432
|
},{}],113:[function(require,module,exports){
|
|
26320
|
-
arguments[4][57][0].apply(exports,arguments)
|
|
26321
|
-
},{"./debug":114,"dup":57}],114:[function(require,module,exports){
|
|
26322
26433
|
arguments[4][58][0].apply(exports,arguments)
|
|
26323
|
-
},{"
|
|
26434
|
+
},{"./debug":114,"dup":58}],114:[function(require,module,exports){
|
|
26324
26435
|
arguments[4][59][0].apply(exports,arguments)
|
|
26325
|
-
},{"dup":59}],
|
|
26436
|
+
},{"dup":59,"ms":115}],115:[function(require,module,exports){
|
|
26437
|
+
arguments[4][60][0].apply(exports,arguments)
|
|
26438
|
+
},{"dup":60}],116:[function(require,module,exports){
|
|
26326
26439
|
(function (global){
|
|
26327
26440
|
/*global Blob,File*/
|
|
26328
26441
|
|
|
@@ -26887,16 +27000,16 @@ function isBuf(obj) {
|
|
|
26887
27000
|
|
|
26888
27001
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
26889
27002
|
},{}],119:[function(require,module,exports){
|
|
26890
|
-
arguments[4][56][0].apply(exports,arguments)
|
|
26891
|
-
},{"dup":56}],120:[function(require,module,exports){
|
|
26892
27003
|
arguments[4][57][0].apply(exports,arguments)
|
|
26893
|
-
},{"
|
|
27004
|
+
},{"dup":57}],120:[function(require,module,exports){
|
|
26894
27005
|
arguments[4][58][0].apply(exports,arguments)
|
|
26895
|
-
},{"
|
|
26896
|
-
arguments[4][63][0].apply(exports,arguments)
|
|
26897
|
-
},{"dup":63}],123:[function(require,module,exports){
|
|
27006
|
+
},{"./debug":121,"dup":58}],121:[function(require,module,exports){
|
|
26898
27007
|
arguments[4][59][0].apply(exports,arguments)
|
|
26899
|
-
},{"dup":59}],
|
|
27008
|
+
},{"dup":59,"ms":123}],122:[function(require,module,exports){
|
|
27009
|
+
arguments[4][64][0].apply(exports,arguments)
|
|
27010
|
+
},{"dup":64}],123:[function(require,module,exports){
|
|
27011
|
+
arguments[4][60][0].apply(exports,arguments)
|
|
27012
|
+
},{"dup":60}],124:[function(require,module,exports){
|
|
26900
27013
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
26901
27014
|
//
|
|
26902
27015
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -27025,7 +27138,7 @@ Stream.prototype.pipe = function(dest, options) {
|
|
|
27025
27138
|
return dest;
|
|
27026
27139
|
};
|
|
27027
27140
|
|
|
27028
|
-
},{"events":
|
|
27141
|
+
},{"events":65,"inherits":74,"readable-stream/duplex.js":92,"readable-stream/passthrough.js":101,"readable-stream/readable.js":102,"readable-stream/transform.js":103,"readable-stream/writable.js":104}],125:[function(require,module,exports){
|
|
27029
27142
|
var ClientRequest = require('./lib/request')
|
|
27030
27143
|
var extend = require('xtend')
|
|
27031
27144
|
var statusCodes = require('builtin-status-codes')
|
|
@@ -27100,7 +27213,7 @@ http.METHODS = [
|
|
|
27100
27213
|
'UNLOCK',
|
|
27101
27214
|
'UNSUBSCRIBE'
|
|
27102
27215
|
]
|
|
27103
|
-
},{"./lib/request":127,"builtin-status-codes":
|
|
27216
|
+
},{"./lib/request":127,"builtin-status-codes":43,"url":136,"xtend":141}],126:[function(require,module,exports){
|
|
27104
27217
|
(function (global){
|
|
27105
27218
|
exports.fetch = isFunction(global.fetch) && isFunction(global.ReadableByteStream)
|
|
27106
27219
|
|
|
@@ -27426,7 +27539,7 @@ var unsafeHeaders = [
|
|
|
27426
27539
|
]
|
|
27427
27540
|
|
|
27428
27541
|
}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer)
|
|
27429
|
-
},{"./capability":126,"./response":128,"_process":85,"buffer":
|
|
27542
|
+
},{"./capability":126,"./response":128,"_process":85,"buffer":42,"foreach":67,"indexof":73,"inherits":74,"object-keys":78,"stream":124}],128:[function(require,module,exports){
|
|
27430
27543
|
(function (process,global,Buffer){
|
|
27431
27544
|
var capability = require('./capability')
|
|
27432
27545
|
var foreach = require('foreach')
|
|
@@ -27603,7 +27716,7 @@ IncomingMessage.prototype._onXHRProgress = function () {
|
|
|
27603
27716
|
}
|
|
27604
27717
|
|
|
27605
27718
|
}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer)
|
|
27606
|
-
},{"./capability":126,"_process":85,"buffer":
|
|
27719
|
+
},{"./capability":126,"_process":85,"buffer":42,"foreach":67,"inherits":74,"stream":124}],129:[function(require,module,exports){
|
|
27607
27720
|
var nargs = /\{([0-9a-zA-Z_]+)\}/g
|
|
27608
27721
|
|
|
27609
27722
|
module.exports = template
|
|
@@ -37493,7 +37606,7 @@ TinCan client library
|
|
|
37493
37606
|
}());
|
|
37494
37607
|
|
|
37495
37608
|
}).call(this,require("buffer").Buffer)
|
|
37496
|
-
},{"buffer":
|
|
37609
|
+
},{"buffer":42,"querystring":91,"xhr2":140}],134:[function(require,module,exports){
|
|
37497
37610
|
module.exports = toArray
|
|
37498
37611
|
|
|
37499
37612
|
function toArray(list, index) {
|
|
@@ -42012,7 +42125,7 @@ function config (name) {
|
|
|
42012
42125
|
}).call(this);
|
|
42013
42126
|
|
|
42014
42127
|
}).call(this,require('_process'),require("buffer").Buffer)
|
|
42015
|
-
},{"_process":85,"buffer":
|
|
42128
|
+
},{"_process":85,"buffer":42,"http":125,"https":71,"os":80,"url":136}],141:[function(require,module,exports){
|
|
42016
42129
|
module.exports = extend
|
|
42017
42130
|
|
|
42018
42131
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|