@resolveio/server-lib 20.12.4 → 20.12.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.
|
@@ -1538,6 +1538,8 @@ var MongoManagerCollection = /** @class */ (function () {
|
|
|
1538
1538
|
bwOptions = null;
|
|
1539
1539
|
bwOptions = { session: session, ordered: false };
|
|
1540
1540
|
return [4 /*yield*/, resolveio_server_app_1.ResolveIOServer.getMainDB().collection('logs').bulkWrite(logs.map(function (a) {
|
|
1541
|
+
a.client = 'ResolveIO';
|
|
1542
|
+
a.instance = 'backend.resolveio.com';
|
|
1541
1543
|
return {
|
|
1542
1544
|
insertOne: {
|
|
1543
1545
|
document: a
|
|
@@ -1776,6 +1778,9 @@ var MongoManagerCollection = /** @class */ (function () {
|
|
|
1776
1778
|
user: '',
|
|
1777
1779
|
messageId: 0,
|
|
1778
1780
|
route: '',
|
|
1781
|
+
client: 'ResolveIO',
|
|
1782
|
+
instance: 'backend.resolveio.com',
|
|
1783
|
+
instance_index: process.env.NODE_APP_INSTANCE || '0',
|
|
1779
1784
|
createdAt: new Date()
|
|
1780
1785
|
}, { session: session })];
|
|
1781
1786
|
case 4:
|
|
@@ -1894,6 +1899,9 @@ var MongoManagerCollection = /** @class */ (function () {
|
|
|
1894
1899
|
user: '',
|
|
1895
1900
|
messageId: 0,
|
|
1896
1901
|
route: '',
|
|
1902
|
+
client: 'ResolveIO',
|
|
1903
|
+
instance: 'backend.resolveio.com',
|
|
1904
|
+
instance_index: process.env.NODE_APP_INSTANCE || '0',
|
|
1897
1905
|
createdAt: new Date()
|
|
1898
1906
|
}, { session: session })];
|
|
1899
1907
|
case 5:
|
|
@@ -2471,6 +2479,9 @@ var MongoManagerCollection = /** @class */ (function () {
|
|
|
2471
2479
|
user: '',
|
|
2472
2480
|
messageId: 0,
|
|
2473
2481
|
route: '',
|
|
2482
|
+
client: 'ResolveIO',
|
|
2483
|
+
instance: 'backend.resolveio.com',
|
|
2484
|
+
instance_index: process.env.NODE_APP_INSTANCE || '0',
|
|
2474
2485
|
createdAt: new Date()
|
|
2475
2486
|
}, { session: session })];
|
|
2476
2487
|
case 4:
|
|
@@ -2600,6 +2611,9 @@ var MongoManagerCollection = /** @class */ (function () {
|
|
|
2600
2611
|
user: '',
|
|
2601
2612
|
messageId: 0,
|
|
2602
2613
|
route: '',
|
|
2614
|
+
client: 'ResolveIO',
|
|
2615
|
+
instance: 'backend.resolveio.com',
|
|
2616
|
+
instance_index: process.env.NODE_APP_INSTANCE || '0',
|
|
2603
2617
|
createdAt: new Date()
|
|
2604
2618
|
}, { session: session })];
|
|
2605
2619
|
case 6:
|
|
@@ -2746,6 +2760,9 @@ var MongoManagerCollection = /** @class */ (function () {
|
|
|
2746
2760
|
user: '',
|
|
2747
2761
|
messageId: 0,
|
|
2748
2762
|
route: '',
|
|
2763
|
+
client: 'ResolveIO',
|
|
2764
|
+
instance: 'backend.resolveio.com',
|
|
2765
|
+
instance_index: process.env.NODE_APP_INSTANCE || '0',
|
|
2749
2766
|
createdAt: new Date()
|
|
2750
2767
|
}, { session: session })];
|
|
2751
2768
|
case 6:
|
|
@@ -2972,6 +2989,9 @@ var MongoManagerCollection = /** @class */ (function () {
|
|
|
2972
2989
|
user: '',
|
|
2973
2990
|
messageId: 0,
|
|
2974
2991
|
route: '',
|
|
2992
|
+
client: 'ResolveIO',
|
|
2993
|
+
instance: 'backend.resolveio.com',
|
|
2994
|
+
instance_index: process.env.NODE_APP_INSTANCE || '0',
|
|
2975
2995
|
createdAt: new Date()
|
|
2976
2996
|
}, { session: session })];
|
|
2977
2997
|
case 12:
|
|
@@ -3088,6 +3108,9 @@ var MongoManagerCollection = /** @class */ (function () {
|
|
|
3088
3108
|
user: '',
|
|
3089
3109
|
messageId: 0,
|
|
3090
3110
|
route: '',
|
|
3111
|
+
client: 'ResolveIO',
|
|
3112
|
+
instance: 'backend.resolveio.com',
|
|
3113
|
+
instance_index: process.env.NODE_APP_INSTANCE || '0',
|
|
3091
3114
|
createdAt: new Date()
|
|
3092
3115
|
}, { session: session })];
|
|
3093
3116
|
case 4:
|
|
@@ -3301,6 +3324,9 @@ var MongoManagerCollection = /** @class */ (function () {
|
|
|
3301
3324
|
user: '',
|
|
3302
3325
|
messageId: 0,
|
|
3303
3326
|
route: '',
|
|
3327
|
+
client: 'ResolveIO',
|
|
3328
|
+
instance: 'backend.resolveio.com',
|
|
3329
|
+
instance_index: process.env.NODE_APP_INSTANCE || '0',
|
|
3304
3330
|
createdAt: new Date()
|
|
3305
3331
|
}, { session: session })];
|
|
3306
3332
|
case 12:
|
|
@@ -3380,6 +3406,9 @@ var MongoManagerCollection = /** @class */ (function () {
|
|
|
3380
3406
|
user: '',
|
|
3381
3407
|
messageId: 0,
|
|
3382
3408
|
route: '',
|
|
3409
|
+
client: 'ResolveIO',
|
|
3410
|
+
instance: 'backend.resolveio.com',
|
|
3411
|
+
instance_index: process.env.NODE_APP_INSTANCE || '0',
|
|
3383
3412
|
createdAt: new Date()
|
|
3384
3413
|
}, { session: session })];
|
|
3385
3414
|
case 23:
|
|
@@ -3454,6 +3483,9 @@ var MongoManagerCollection = /** @class */ (function () {
|
|
|
3454
3483
|
user: '',
|
|
3455
3484
|
messageId: 0,
|
|
3456
3485
|
route: '',
|
|
3486
|
+
client: 'ResolveIO',
|
|
3487
|
+
instance: 'backend.resolveio.com',
|
|
3488
|
+
instance_index: process.env.NODE_APP_INSTANCE || '0',
|
|
3457
3489
|
createdAt: new Date()
|
|
3458
3490
|
}, { session: session })];
|
|
3459
3491
|
case 35:
|
|
@@ -3553,6 +3585,9 @@ var MongoManagerCollection = /** @class */ (function () {
|
|
|
3553
3585
|
user: '',
|
|
3554
3586
|
messageId: 0,
|
|
3555
3587
|
route: '',
|
|
3588
|
+
client: 'ResolveIO',
|
|
3589
|
+
instance: 'backend.resolveio.com',
|
|
3590
|
+
instance_index: process.env.NODE_APP_INSTANCE || '0',
|
|
3556
3591
|
createdAt: new Date()
|
|
3557
3592
|
}, { session: session_1 })];
|
|
3558
3593
|
case 50:
|
|
@@ -3590,6 +3625,9 @@ var MongoManagerCollection = /** @class */ (function () {
|
|
|
3590
3625
|
user: '',
|
|
3591
3626
|
messageId: 0,
|
|
3592
3627
|
route: '',
|
|
3628
|
+
client: 'ResolveIO',
|
|
3629
|
+
instance: 'backend.resolveio.com',
|
|
3630
|
+
instance_index: process.env.NODE_APP_INSTANCE || '0',
|
|
3593
3631
|
createdAt: new Date()
|
|
3594
3632
|
}, { session: session_1 })];
|
|
3595
3633
|
case 54:
|
|
@@ -3747,6 +3785,9 @@ var MongoManagerCollection = /** @class */ (function () {
|
|
|
3747
3785
|
user: '',
|
|
3748
3786
|
messageId: 0,
|
|
3749
3787
|
route: '',
|
|
3788
|
+
client: 'ResolveIO',
|
|
3789
|
+
instance: 'backend.resolveio.com',
|
|
3790
|
+
instance_index: process.env.NODE_APP_INSTANCE || '0',
|
|
3750
3791
|
createdAt: new Date()
|
|
3751
3792
|
}, { session: session })];
|
|
3752
3793
|
case 6:
|
|
@@ -3920,6 +3961,9 @@ var MongoManagerCollection = /** @class */ (function () {
|
|
|
3920
3961
|
user: '',
|
|
3921
3962
|
messageId: 0,
|
|
3922
3963
|
route: '',
|
|
3964
|
+
client: 'ResolveIO',
|
|
3965
|
+
instance: 'backend.resolveio.com',
|
|
3966
|
+
instance_index: process.env.NODE_APP_INSTANCE || '0',
|
|
3923
3967
|
createdAt: new Date()
|
|
3924
3968
|
}, { session: session })];
|
|
3925
3969
|
case 5:
|
|
@@ -4037,6 +4081,9 @@ var MongoManagerCollection = /** @class */ (function () {
|
|
|
4037
4081
|
user: '',
|
|
4038
4082
|
messageId: 0,
|
|
4039
4083
|
route: '',
|
|
4084
|
+
client: 'ResolveIO',
|
|
4085
|
+
instance: 'backend.resolveio.com',
|
|
4086
|
+
instance_index: process.env.NODE_APP_INSTANCE || '0',
|
|
4040
4087
|
createdAt: new Date()
|
|
4041
4088
|
}, { session: session })];
|
|
4042
4089
|
case 20:
|
|
@@ -4149,6 +4196,9 @@ var MongoManagerCollection = /** @class */ (function () {
|
|
|
4149
4196
|
user: '',
|
|
4150
4197
|
messageId: 0,
|
|
4151
4198
|
route: '',
|
|
4199
|
+
client: 'ResolveIO',
|
|
4200
|
+
instance: 'backend.resolveio.com',
|
|
4201
|
+
instance_index: process.env.NODE_APP_INSTANCE || '0',
|
|
4152
4202
|
createdAt: new Date()
|
|
4153
4203
|
}, { session: session })];
|
|
4154
4204
|
case 35:
|
|
@@ -4187,6 +4237,9 @@ var MongoManagerCollection = /** @class */ (function () {
|
|
|
4187
4237
|
user: '',
|
|
4188
4238
|
messageId: 0,
|
|
4189
4239
|
route: '',
|
|
4240
|
+
client: 'ResolveIO',
|
|
4241
|
+
instance: 'backend.resolveio.com',
|
|
4242
|
+
instance_index: process.env.NODE_APP_INSTANCE || '0',
|
|
4190
4243
|
createdAt: new Date()
|
|
4191
4244
|
})];
|
|
4192
4245
|
case 39:
|