@lazycatcloud/sdk 0.1.225 → 0.1.226
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/common/apk_shell.js +20 -20
- package/dist/common/apk_shell.js.map +1 -1
- package/dist/common/box.js +32 -32
- package/dist/common/box.js.map +1 -1
- package/dist/common/browseronly.d.ts.map +1 -1
- package/dist/common/browseronly.js +17 -15
- package/dist/common/browseronly.js.map +1 -1
- package/dist/common/end_device.d.ts.map +1 -1
- package/dist/common/end_device.js +23 -21
- package/dist/common/end_device.js.map +1 -1
- package/dist/common/file_handler.js +17 -17
- package/dist/common/file_handler.js.map +1 -1
- package/dist/common/filetrans.d.ts.map +1 -1
- package/dist/common/filetrans.js +80 -78
- package/dist/common/filetrans.js.map +1 -1
- package/dist/common/gateway.js +20 -20
- package/dist/common/gateway.js.map +1 -1
- package/dist/common/media_meta.d.ts.map +1 -1
- package/dist/common/media_meta.js +11 -9
- package/dist/common/media_meta.js.map +1 -1
- package/dist/common/message.d.ts.map +1 -1
- package/dist/common/message.js +22 -20
- package/dist/common/message.js.map +1 -1
- package/dist/common/peripheral_device.d.ts.map +1 -1
- package/dist/common/peripheral_device.js +26 -24
- package/dist/common/peripheral_device.js.map +1 -1
- package/dist/common/security_context.d.ts.map +1 -1
- package/dist/common/security_context.js +19 -19
- package/dist/common/security_context.js.map +1 -1
- package/dist/common/users.js +33 -33
- package/dist/common/users.js.map +1 -1
- package/dist/dlna/dlna.d.ts.map +1 -1
- package/dist/dlna/dlna.js +31 -29
- package/dist/dlna/dlna.js.map +1 -1
- package/dist/google/protobuf/descriptor.d.ts.map +1 -1
- package/dist/google/protobuf/descriptor.js +180 -180
- package/dist/google/protobuf/descriptor.js.map +1 -1
- package/dist/google/protobuf/empty.js +1 -1
- package/dist/google/protobuf/empty.js.map +1 -1
- package/dist/google/protobuf/timestamp.js +3 -3
- package/dist/google/protobuf/timestamp.js.map +1 -1
- package/dist/lanforward/lanforward.d.ts +99 -0
- package/dist/lanforward/lanforward.d.ts.map +1 -0
- package/dist/lanforward/lanforward.js +254 -0
- package/dist/lanforward/lanforward.js.map +1 -0
- package/dist/localdevice/client.d.ts +72 -0
- package/dist/localdevice/client.d.ts.map +1 -0
- package/dist/localdevice/client.js +174 -0
- package/dist/localdevice/client.js.map +1 -0
- package/dist/localdevice/clipboard.d.ts.map +1 -1
- package/dist/localdevice/clipboard.js +20 -18
- package/dist/localdevice/clipboard.js.map +1 -1
- package/dist/localdevice/config.js +14 -14
- package/dist/localdevice/config.js.map +1 -1
- package/dist/localdevice/device.js +5 -5
- package/dist/localdevice/device.js.map +1 -1
- package/dist/localdevice/dialog.js +21 -21
- package/dist/localdevice/dialog.js.map +1 -1
- package/dist/localdevice/local-launch.d.ts.map +1 -1
- package/dist/localdevice/local-launch.js +26 -26
- package/dist/localdevice/local-launch.js.map +1 -1
- package/dist/localdevice/network.js +3 -3
- package/dist/localdevice/network.js.map +1 -1
- package/dist/localdevice/permission.js +28 -28
- package/dist/localdevice/permission.js.map +1 -1
- package/dist/localdevice/photo.d.ts.map +1 -1
- package/dist/localdevice/photo.js +63 -61
- package/dist/localdevice/photo.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/ssdp/ssdp.d.ts +113 -0
- package/dist/ssdp/ssdp.d.ts.map +1 -0
- package/dist/ssdp/ssdp.js +292 -0
- package/dist/ssdp/ssdp.js.map +1 -0
- package/dist/sys/OS_daemon.d.ts +0 -22
- package/dist/sys/OS_daemon.d.ts.map +1 -1
- package/dist/sys/OS_daemon.js +8 -91
- package/dist/sys/OS_daemon.js.map +1 -1
- package/dist/sys/OS_snapshot.js +44 -44
- package/dist/sys/OS_snapshot.js.map +1 -1
- package/dist/sys/OS_upgrader.d.ts +9 -57
- package/dist/sys/OS_upgrader.d.ts.map +1 -1
- package/dist/sys/OS_upgrader.js +25 -114
- package/dist/sys/OS_upgrader.js.map +1 -1
- package/dist/sys/box-status.d.ts +14 -45
- package/dist/sys/box-status.d.ts.map +1 -1
- package/dist/sys/box-status.js +46 -139
- package/dist/sys/box-status.js.map +1 -1
- package/dist/sys/btled.d.ts.map +1 -1
- package/dist/sys/btled.js +13 -11
- package/dist/sys/btled.js.map +1 -1
- package/dist/sys/btrfs.js +18 -18
- package/dist/sys/btrfs.js.map +1 -1
- package/dist/sys/devopt.js +6 -6
- package/dist/sys/devopt.js.map +1 -1
- package/dist/sys/dirmon.js +14 -14
- package/dist/sys/dirmon.js.map +1 -1
- package/dist/sys/event.d.ts.map +1 -1
- package/dist/sys/event.js +15 -13
- package/dist/sys/event.js.map +1 -1
- package/dist/sys/hc-core/hc-core.js +41 -41
- package/dist/sys/hc-core/hc-core.js.map +1 -1
- package/dist/sys/ingress.js +10 -10
- package/dist/sys/ingress.js.map +1 -1
- package/dist/sys/installer.d.ts.map +1 -1
- package/dist/sys/installer.js +21 -19
- package/dist/sys/installer.js.map +1 -1
- package/dist/sys/network_manager.js +26 -26
- package/dist/sys/network_manager.js.map +1 -1
- package/dist/sys/package_manager.js +72 -72
- package/dist/sys/package_manager.js.map +1 -1
- package/dist/sys/portal-server/portal-server.d.ts.map +1 -1
- package/dist/sys/portal-server/portal-server.js +83 -81
- package/dist/sys/portal-server/portal-server.js.map +1 -1
- package/dist/sys/snapd.js +22 -22
- package/dist/sys/snapd.js.map +1 -1
- package/dist/sys/version.js +2 -2
- package/dist/sys/version.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -202,43 +202,43 @@ exports.RegisterBoxServiceRequest = {
|
|
|
202
202
|
const tag = reader.uint32();
|
|
203
203
|
switch (tag >>> 3) {
|
|
204
204
|
case 1:
|
|
205
|
-
if (tag
|
|
205
|
+
if (tag != 10) {
|
|
206
206
|
break;
|
|
207
207
|
}
|
|
208
208
|
message.serviceName = reader.string();
|
|
209
209
|
continue;
|
|
210
210
|
case 2:
|
|
211
|
-
if (tag
|
|
211
|
+
if (tag != 18) {
|
|
212
212
|
break;
|
|
213
213
|
}
|
|
214
214
|
message.serviceNetwork = reader.string();
|
|
215
215
|
continue;
|
|
216
216
|
case 3:
|
|
217
|
-
if (tag
|
|
217
|
+
if (tag != 26) {
|
|
218
218
|
break;
|
|
219
219
|
}
|
|
220
220
|
message.serviceAddress = reader.string();
|
|
221
221
|
continue;
|
|
222
222
|
case 6:
|
|
223
|
-
if (tag
|
|
223
|
+
if (tag != 50) {
|
|
224
224
|
break;
|
|
225
225
|
}
|
|
226
226
|
message.extraInfo = reader.string();
|
|
227
227
|
continue;
|
|
228
228
|
case 7:
|
|
229
|
-
if (tag
|
|
229
|
+
if (tag != 56) {
|
|
230
230
|
break;
|
|
231
231
|
}
|
|
232
232
|
message.requireDialerRole = reader.int32();
|
|
233
233
|
continue;
|
|
234
234
|
case 8:
|
|
235
|
-
if (tag
|
|
235
|
+
if (tag != 64) {
|
|
236
236
|
break;
|
|
237
237
|
}
|
|
238
238
|
message.requireTrustDev = reader.bool();
|
|
239
239
|
continue;
|
|
240
240
|
}
|
|
241
|
-
if ((tag & 7)
|
|
241
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
242
242
|
break;
|
|
243
243
|
}
|
|
244
244
|
reader.skipType(tag & 7);
|
|
@@ -295,7 +295,7 @@ exports.RegisterBoxServiceReply = {
|
|
|
295
295
|
const tag = reader.uint32();
|
|
296
296
|
switch (tag >>> 3) {
|
|
297
297
|
}
|
|
298
|
-
if ((tag & 7)
|
|
298
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
299
299
|
break;
|
|
300
300
|
}
|
|
301
301
|
reader.skipType(tag & 7);
|
|
@@ -335,13 +335,13 @@ exports.EmitBoxServiceChangedRequest = {
|
|
|
335
335
|
const tag = reader.uint32();
|
|
336
336
|
switch (tag >>> 3) {
|
|
337
337
|
case 1:
|
|
338
|
-
if (tag
|
|
338
|
+
if (tag != 10) {
|
|
339
339
|
break;
|
|
340
340
|
}
|
|
341
341
|
message.serviceName = reader.string();
|
|
342
342
|
continue;
|
|
343
343
|
}
|
|
344
|
-
if ((tag & 7)
|
|
344
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
345
345
|
break;
|
|
346
346
|
}
|
|
347
347
|
reader.skipType(tag & 7);
|
|
@@ -390,25 +390,25 @@ exports.QueryBoxServicePeerCredRequest = {
|
|
|
390
390
|
const tag = reader.uint32();
|
|
391
391
|
switch (tag >>> 3) {
|
|
392
392
|
case 1:
|
|
393
|
-
if (tag
|
|
393
|
+
if (tag != 10) {
|
|
394
394
|
break;
|
|
395
395
|
}
|
|
396
396
|
message.remoteAddr = reader.string();
|
|
397
397
|
continue;
|
|
398
398
|
case 2:
|
|
399
|
-
if (tag
|
|
399
|
+
if (tag != 18) {
|
|
400
400
|
break;
|
|
401
401
|
}
|
|
402
402
|
message.localAddr = reader.string();
|
|
403
403
|
continue;
|
|
404
404
|
case 3:
|
|
405
|
-
if (tag
|
|
405
|
+
if (tag != 26) {
|
|
406
406
|
break;
|
|
407
407
|
}
|
|
408
408
|
message.protocol = reader.string();
|
|
409
409
|
continue;
|
|
410
410
|
}
|
|
411
|
-
if ((tag & 7)
|
|
411
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
412
412
|
break;
|
|
413
413
|
}
|
|
414
414
|
reader.skipType(tag & 7);
|
|
@@ -474,43 +474,43 @@ exports.QueryBoxServicePeerCredResponse = {
|
|
|
474
474
|
const tag = reader.uint32();
|
|
475
475
|
switch (tag >>> 3) {
|
|
476
476
|
case 1:
|
|
477
|
-
if (tag
|
|
477
|
+
if (tag != 10) {
|
|
478
478
|
break;
|
|
479
479
|
}
|
|
480
480
|
message.uid = reader.string();
|
|
481
481
|
continue;
|
|
482
482
|
case 3:
|
|
483
|
-
if (tag
|
|
483
|
+
if (tag != 26) {
|
|
484
484
|
break;
|
|
485
485
|
}
|
|
486
486
|
message.deviceVersion = reader.string();
|
|
487
487
|
continue;
|
|
488
488
|
case 4:
|
|
489
|
-
if (tag
|
|
489
|
+
if (tag != 34) {
|
|
490
490
|
break;
|
|
491
491
|
}
|
|
492
492
|
message.virtualIp = reader.string();
|
|
493
493
|
continue;
|
|
494
494
|
case 5:
|
|
495
|
-
if (tag
|
|
495
|
+
if (tag != 42) {
|
|
496
496
|
break;
|
|
497
497
|
}
|
|
498
498
|
message.peerId = reader.string();
|
|
499
499
|
continue;
|
|
500
500
|
case 6:
|
|
501
|
-
if (tag
|
|
501
|
+
if (tag != 48) {
|
|
502
502
|
break;
|
|
503
503
|
}
|
|
504
504
|
message.isLogined = reader.bool();
|
|
505
505
|
continue;
|
|
506
506
|
case 7:
|
|
507
|
-
if (tag
|
|
507
|
+
if (tag != 56) {
|
|
508
508
|
break;
|
|
509
509
|
}
|
|
510
510
|
message.isTrustDev = reader.bool();
|
|
511
511
|
continue;
|
|
512
512
|
}
|
|
513
|
-
if ((tag & 7)
|
|
513
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
514
514
|
break;
|
|
515
515
|
}
|
|
516
516
|
reader.skipType(tag & 7);
|
|
@@ -573,19 +573,19 @@ exports.RemoteSocksRequest = {
|
|
|
573
573
|
const tag = reader.uint32();
|
|
574
574
|
switch (tag >>> 3) {
|
|
575
575
|
case 1:
|
|
576
|
-
if (tag
|
|
576
|
+
if (tag != 8) {
|
|
577
577
|
break;
|
|
578
578
|
}
|
|
579
579
|
message.locationType = reader.int32();
|
|
580
580
|
continue;
|
|
581
581
|
case 2:
|
|
582
|
-
if (tag
|
|
582
|
+
if (tag != 18) {
|
|
583
583
|
break;
|
|
584
584
|
}
|
|
585
585
|
message.target = reader.string();
|
|
586
586
|
continue;
|
|
587
587
|
}
|
|
588
|
-
if ((tag & 7)
|
|
588
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
589
589
|
break;
|
|
590
590
|
}
|
|
591
591
|
reader.skipType(tag & 7);
|
|
@@ -634,13 +634,13 @@ exports.RemoteSocksReply = {
|
|
|
634
634
|
const tag = reader.uint32();
|
|
635
635
|
switch (tag >>> 3) {
|
|
636
636
|
case 1:
|
|
637
|
-
if (tag
|
|
637
|
+
if (tag != 10) {
|
|
638
638
|
break;
|
|
639
639
|
}
|
|
640
640
|
message.serverUrl = reader.string();
|
|
641
641
|
continue;
|
|
642
642
|
}
|
|
643
|
-
if ((tag & 7)
|
|
643
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
644
644
|
break;
|
|
645
645
|
}
|
|
646
646
|
reader.skipType(tag & 7);
|
|
@@ -683,13 +683,13 @@ exports.ListUsersReply = {
|
|
|
683
683
|
const tag = reader.uint32();
|
|
684
684
|
switch (tag >>> 3) {
|
|
685
685
|
case 1:
|
|
686
|
-
if (tag
|
|
686
|
+
if (tag != 10) {
|
|
687
687
|
break;
|
|
688
688
|
}
|
|
689
689
|
message.uids.push(reader.string());
|
|
690
690
|
continue;
|
|
691
691
|
}
|
|
692
|
-
if ((tag & 7)
|
|
692
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
693
693
|
break;
|
|
694
694
|
}
|
|
695
695
|
reader.skipType(tag & 7);
|
|
@@ -749,37 +749,37 @@ exports.HServerInfo = {
|
|
|
749
749
|
const tag = reader.uint32();
|
|
750
750
|
switch (tag >>> 3) {
|
|
751
751
|
case 1:
|
|
752
|
-
if (tag
|
|
752
|
+
if (tag != 10) {
|
|
753
753
|
break;
|
|
754
754
|
}
|
|
755
755
|
message.originServer = reader.string();
|
|
756
756
|
continue;
|
|
757
757
|
case 2:
|
|
758
|
-
if (tag
|
|
758
|
+
if (tag != 18) {
|
|
759
759
|
break;
|
|
760
760
|
}
|
|
761
761
|
message.virtualIp = reader.string();
|
|
762
762
|
continue;
|
|
763
763
|
case 3:
|
|
764
|
-
if (tag
|
|
764
|
+
if (tag != 26) {
|
|
765
765
|
break;
|
|
766
766
|
}
|
|
767
767
|
message.boxId = reader.string();
|
|
768
768
|
continue;
|
|
769
769
|
case 4:
|
|
770
|
-
if (tag
|
|
770
|
+
if (tag != 34) {
|
|
771
771
|
break;
|
|
772
772
|
}
|
|
773
773
|
message.boxName = reader.string();
|
|
774
774
|
continue;
|
|
775
775
|
case 5:
|
|
776
|
-
if (tag
|
|
776
|
+
if (tag != 42) {
|
|
777
777
|
break;
|
|
778
778
|
}
|
|
779
779
|
message.boxDomain = reader.string();
|
|
780
780
|
continue;
|
|
781
781
|
}
|
|
782
|
-
if ((tag & 7)
|
|
782
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
783
783
|
break;
|
|
784
784
|
}
|
|
785
785
|
reader.skipType(tag & 7);
|
|
@@ -842,25 +842,25 @@ exports.Device = {
|
|
|
842
842
|
const tag = reader.uint32();
|
|
843
843
|
switch (tag >>> 3) {
|
|
844
844
|
case 1:
|
|
845
|
-
if (tag
|
|
845
|
+
if (tag != 10) {
|
|
846
846
|
break;
|
|
847
847
|
}
|
|
848
848
|
message.peerId = reader.string();
|
|
849
849
|
continue;
|
|
850
850
|
case 2:
|
|
851
|
-
if (tag
|
|
851
|
+
if (tag != 16) {
|
|
852
852
|
break;
|
|
853
853
|
}
|
|
854
854
|
message.isOnline = reader.bool();
|
|
855
855
|
continue;
|
|
856
856
|
case 6:
|
|
857
|
-
if (tag
|
|
857
|
+
if (tag != 50) {
|
|
858
858
|
break;
|
|
859
859
|
}
|
|
860
860
|
message.bindingTime = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
861
861
|
continue;
|
|
862
862
|
}
|
|
863
|
-
if ((tag & 7)
|
|
863
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
864
864
|
break;
|
|
865
865
|
}
|
|
866
866
|
reader.skipType(tag & 7);
|
|
@@ -911,13 +911,13 @@ exports.ListEndDeviceRequest = {
|
|
|
911
911
|
const tag = reader.uint32();
|
|
912
912
|
switch (tag >>> 3) {
|
|
913
913
|
case 1:
|
|
914
|
-
if (tag
|
|
914
|
+
if (tag != 10) {
|
|
915
915
|
break;
|
|
916
916
|
}
|
|
917
917
|
message.uid = reader.string();
|
|
918
918
|
continue;
|
|
919
919
|
}
|
|
920
|
-
if ((tag & 7)
|
|
920
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
921
921
|
break;
|
|
922
922
|
}
|
|
923
923
|
reader.skipType(tag & 7);
|
|
@@ -960,13 +960,13 @@ exports.ListEndDeviceReply = {
|
|
|
960
960
|
const tag = reader.uint32();
|
|
961
961
|
switch (tag >>> 3) {
|
|
962
962
|
case 1:
|
|
963
|
-
if (tag
|
|
963
|
+
if (tag != 10) {
|
|
964
964
|
break;
|
|
965
965
|
}
|
|
966
966
|
message.devices.push(exports.Device.decode(reader, reader.uint32()));
|
|
967
967
|
continue;
|
|
968
968
|
}
|
|
969
|
-
if ((tag & 7)
|
|
969
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
970
970
|
break;
|
|
971
971
|
}
|
|
972
972
|
reader.skipType(tag & 7);
|
|
@@ -1014,13 +1014,13 @@ exports.UserID = {
|
|
|
1014
1014
|
const tag = reader.uint32();
|
|
1015
1015
|
switch (tag >>> 3) {
|
|
1016
1016
|
case 1:
|
|
1017
|
-
if (tag
|
|
1017
|
+
if (tag != 10) {
|
|
1018
1018
|
break;
|
|
1019
1019
|
}
|
|
1020
1020
|
message.uid = reader.string();
|
|
1021
1021
|
continue;
|
|
1022
1022
|
}
|
|
1023
|
-
if ((tag & 7)
|
|
1023
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
1024
1024
|
break;
|
|
1025
1025
|
}
|
|
1026
1026
|
reader.skipType(tag & 7);
|
|
@@ -1066,19 +1066,19 @@ exports.ChangeRoleReqeust = {
|
|
|
1066
1066
|
const tag = reader.uint32();
|
|
1067
1067
|
switch (tag >>> 3) {
|
|
1068
1068
|
case 1:
|
|
1069
|
-
if (tag
|
|
1069
|
+
if (tag != 10) {
|
|
1070
1070
|
break;
|
|
1071
1071
|
}
|
|
1072
1072
|
message.uid = reader.string();
|
|
1073
1073
|
continue;
|
|
1074
1074
|
case 2:
|
|
1075
|
-
if (tag
|
|
1075
|
+
if (tag != 16) {
|
|
1076
1076
|
break;
|
|
1077
1077
|
}
|
|
1078
1078
|
message.role = reader.int32();
|
|
1079
1079
|
continue;
|
|
1080
1080
|
}
|
|
1081
|
-
if ((tag & 7)
|
|
1081
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
1082
1082
|
break;
|
|
1083
1083
|
}
|
|
1084
1084
|
reader.skipType(tag & 7);
|
|
@@ -1129,19 +1129,19 @@ exports.QueryRoleReply = {
|
|
|
1129
1129
|
const tag = reader.uint32();
|
|
1130
1130
|
switch (tag >>> 3) {
|
|
1131
1131
|
case 1:
|
|
1132
|
-
if (tag
|
|
1132
|
+
if (tag != 10) {
|
|
1133
1133
|
break;
|
|
1134
1134
|
}
|
|
1135
1135
|
message.uid = reader.string();
|
|
1136
1136
|
continue;
|
|
1137
1137
|
case 2:
|
|
1138
|
-
if (tag
|
|
1138
|
+
if (tag != 16) {
|
|
1139
1139
|
break;
|
|
1140
1140
|
}
|
|
1141
1141
|
message.role = reader.int32();
|
|
1142
1142
|
continue;
|
|
1143
1143
|
}
|
|
1144
|
-
if ((tag & 7)
|
|
1144
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
1145
1145
|
break;
|
|
1146
1146
|
}
|
|
1147
1147
|
reader.skipType(tag & 7);
|
|
@@ -1192,19 +1192,19 @@ exports.ResetPasswordRequest = {
|
|
|
1192
1192
|
const tag = reader.uint32();
|
|
1193
1193
|
switch (tag >>> 3) {
|
|
1194
1194
|
case 1:
|
|
1195
|
-
if (tag
|
|
1195
|
+
if (tag != 10) {
|
|
1196
1196
|
break;
|
|
1197
1197
|
}
|
|
1198
1198
|
message.uid = reader.string();
|
|
1199
1199
|
continue;
|
|
1200
1200
|
case 3:
|
|
1201
|
-
if (tag
|
|
1201
|
+
if (tag != 26) {
|
|
1202
1202
|
break;
|
|
1203
1203
|
}
|
|
1204
1204
|
message.newPassword = reader.string();
|
|
1205
1205
|
continue;
|
|
1206
1206
|
}
|
|
1207
|
-
if ((tag & 7)
|
|
1207
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
1208
1208
|
break;
|
|
1209
1209
|
}
|
|
1210
1210
|
reader.skipType(tag & 7);
|
|
@@ -1252,13 +1252,13 @@ exports.DeleteUserRequest = {
|
|
|
1252
1252
|
const tag = reader.uint32();
|
|
1253
1253
|
switch (tag >>> 3) {
|
|
1254
1254
|
case 1:
|
|
1255
|
-
if (tag
|
|
1255
|
+
if (tag != 10) {
|
|
1256
1256
|
break;
|
|
1257
1257
|
}
|
|
1258
1258
|
message.uid = reader.string();
|
|
1259
1259
|
continue;
|
|
1260
1260
|
}
|
|
1261
|
-
if ((tag & 7)
|
|
1261
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
1262
1262
|
break;
|
|
1263
1263
|
}
|
|
1264
1264
|
reader.skipType(tag & 7);
|
|
@@ -1307,25 +1307,25 @@ exports.CreateUserRequest = {
|
|
|
1307
1307
|
const tag = reader.uint32();
|
|
1308
1308
|
switch (tag >>> 3) {
|
|
1309
1309
|
case 1:
|
|
1310
|
-
if (tag
|
|
1310
|
+
if (tag != 10) {
|
|
1311
1311
|
break;
|
|
1312
1312
|
}
|
|
1313
1313
|
message.uid = reader.string();
|
|
1314
1314
|
continue;
|
|
1315
1315
|
case 2:
|
|
1316
|
-
if (tag
|
|
1316
|
+
if (tag != 18) {
|
|
1317
1317
|
break;
|
|
1318
1318
|
}
|
|
1319
1319
|
message.password = reader.string();
|
|
1320
1320
|
continue;
|
|
1321
1321
|
case 3:
|
|
1322
|
-
if (tag
|
|
1322
|
+
if (tag != 24) {
|
|
1323
1323
|
break;
|
|
1324
1324
|
}
|
|
1325
1325
|
message.role = reader.int32();
|
|
1326
1326
|
continue;
|
|
1327
1327
|
}
|
|
1328
|
-
if ((tag & 7)
|
|
1328
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
1329
1329
|
break;
|
|
1330
1330
|
}
|
|
1331
1331
|
reader.skipType(tag & 7);
|
|
@@ -1379,19 +1379,19 @@ exports.CheckPasswordRequest = {
|
|
|
1379
1379
|
const tag = reader.uint32();
|
|
1380
1380
|
switch (tag >>> 3) {
|
|
1381
1381
|
case 1:
|
|
1382
|
-
if (tag
|
|
1382
|
+
if (tag != 10) {
|
|
1383
1383
|
break;
|
|
1384
1384
|
}
|
|
1385
1385
|
message.uid = reader.string();
|
|
1386
1386
|
continue;
|
|
1387
1387
|
case 2:
|
|
1388
|
-
if (tag
|
|
1388
|
+
if (tag != 18) {
|
|
1389
1389
|
break;
|
|
1390
1390
|
}
|
|
1391
1391
|
message.password = reader.string();
|
|
1392
1392
|
continue;
|
|
1393
1393
|
}
|
|
1394
|
-
if ((tag & 7)
|
|
1394
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
1395
1395
|
break;
|
|
1396
1396
|
}
|
|
1397
1397
|
reader.skipType(tag & 7);
|
|
@@ -1445,25 +1445,25 @@ exports.ChangeTrustEndDeviceRequest = {
|
|
|
1445
1445
|
const tag = reader.uint32();
|
|
1446
1446
|
switch (tag >>> 3) {
|
|
1447
1447
|
case 1:
|
|
1448
|
-
if (tag
|
|
1448
|
+
if (tag != 10) {
|
|
1449
1449
|
break;
|
|
1450
1450
|
}
|
|
1451
1451
|
message.uid = reader.string();
|
|
1452
1452
|
continue;
|
|
1453
1453
|
case 2:
|
|
1454
|
-
if (tag
|
|
1454
|
+
if (tag != 18) {
|
|
1455
1455
|
break;
|
|
1456
1456
|
}
|
|
1457
1457
|
message.cid = reader.string();
|
|
1458
1458
|
continue;
|
|
1459
1459
|
case 3:
|
|
1460
|
-
if (tag
|
|
1460
|
+
if (tag != 24) {
|
|
1461
1461
|
break;
|
|
1462
1462
|
}
|
|
1463
1463
|
message.action = reader.int32();
|
|
1464
1464
|
continue;
|
|
1465
1465
|
}
|
|
1466
|
-
if ((tag & 7)
|
|
1466
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
1467
1467
|
break;
|
|
1468
1468
|
}
|
|
1469
1469
|
reader.skipType(tag & 7);
|
|
@@ -1511,7 +1511,7 @@ exports.ChangeTrustEndDeviceReply = {
|
|
|
1511
1511
|
const tag = reader.uint32();
|
|
1512
1512
|
switch (tag >>> 3) {
|
|
1513
1513
|
}
|
|
1514
|
-
if ((tag & 7)
|
|
1514
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
1515
1515
|
break;
|
|
1516
1516
|
}
|
|
1517
1517
|
reader.skipType(tag & 7);
|
|
@@ -1560,31 +1560,31 @@ exports.SetupHServerRequest = {
|
|
|
1560
1560
|
const tag = reader.uint32();
|
|
1561
1561
|
switch (tag >>> 3) {
|
|
1562
1562
|
case 1:
|
|
1563
|
-
if (tag
|
|
1563
|
+
if (tag != 10) {
|
|
1564
1564
|
break;
|
|
1565
1565
|
}
|
|
1566
1566
|
message.originServer = reader.string();
|
|
1567
1567
|
continue;
|
|
1568
1568
|
case 2:
|
|
1569
|
-
if (tag
|
|
1569
|
+
if (tag != 18) {
|
|
1570
1570
|
break;
|
|
1571
1571
|
}
|
|
1572
1572
|
message.boxName = reader.string();
|
|
1573
1573
|
continue;
|
|
1574
1574
|
case 3:
|
|
1575
|
-
if (tag
|
|
1575
|
+
if (tag != 26) {
|
|
1576
1576
|
break;
|
|
1577
1577
|
}
|
|
1578
1578
|
message.username = reader.string();
|
|
1579
1579
|
continue;
|
|
1580
1580
|
case 4:
|
|
1581
|
-
if (tag
|
|
1581
|
+
if (tag != 34) {
|
|
1582
1582
|
break;
|
|
1583
1583
|
}
|
|
1584
1584
|
message.password = reader.string();
|
|
1585
1585
|
continue;
|
|
1586
1586
|
}
|
|
1587
|
-
if ((tag & 7)
|
|
1587
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
1588
1588
|
break;
|
|
1589
1589
|
}
|
|
1590
1590
|
reader.skipType(tag & 7);
|
|
@@ -1641,19 +1641,19 @@ exports.SetupHServerReply = {
|
|
|
1641
1641
|
const tag = reader.uint32();
|
|
1642
1642
|
switch (tag >>> 3) {
|
|
1643
1643
|
case 1:
|
|
1644
|
-
if (tag
|
|
1644
|
+
if (tag != 8) {
|
|
1645
1645
|
break;
|
|
1646
1646
|
}
|
|
1647
1647
|
message.ok = reader.bool();
|
|
1648
1648
|
continue;
|
|
1649
1649
|
case 2:
|
|
1650
|
-
if (tag
|
|
1650
|
+
if (tag != 18) {
|
|
1651
1651
|
break;
|
|
1652
1652
|
}
|
|
1653
1653
|
message.reason = reader.string();
|
|
1654
1654
|
continue;
|
|
1655
1655
|
}
|
|
1656
|
-
if ((tag & 7)
|
|
1656
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
1657
1657
|
break;
|
|
1658
1658
|
}
|
|
1659
1659
|
reader.skipType(tag & 7);
|
|
@@ -1701,13 +1701,13 @@ exports.ResetHServerRequest = {
|
|
|
1701
1701
|
const tag = reader.uint32();
|
|
1702
1702
|
switch (tag >>> 3) {
|
|
1703
1703
|
case 1:
|
|
1704
|
-
if (tag
|
|
1704
|
+
if (tag != 10) {
|
|
1705
1705
|
break;
|
|
1706
1706
|
}
|
|
1707
1707
|
message.originServer = reader.string();
|
|
1708
1708
|
continue;
|
|
1709
1709
|
}
|
|
1710
|
-
if ((tag & 7)
|
|
1710
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
1711
1711
|
break;
|
|
1712
1712
|
}
|
|
1713
1713
|
reader.skipType(tag & 7);
|
|
@@ -1747,7 +1747,7 @@ exports.ResetHServerReply = {
|
|
|
1747
1747
|
const tag = reader.uint32();
|
|
1748
1748
|
switch (tag >>> 3) {
|
|
1749
1749
|
}
|
|
1750
|
-
if ((tag & 7)
|
|
1750
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
1751
1751
|
break;
|
|
1752
1752
|
}
|
|
1753
1753
|
reader.skipType(tag & 7);
|
|
@@ -2207,7 +2207,9 @@ class GrpcWebImpl {
|
|
|
2207
2207
|
},
|
|
2208
2208
|
});
|
|
2209
2209
|
observer.add(() => {
|
|
2210
|
-
|
|
2210
|
+
if (!observer.closed) {
|
|
2211
|
+
return client.close();
|
|
2212
|
+
}
|
|
2211
2213
|
});
|
|
2212
2214
|
});
|
|
2213
2215
|
upStream();
|
|
@@ -2236,8 +2238,8 @@ function toTimestamp(date) {
|
|
|
2236
2238
|
return { seconds, nanos };
|
|
2237
2239
|
}
|
|
2238
2240
|
function fromTimestamp(t) {
|
|
2239
|
-
let millis =
|
|
2240
|
-
millis +=
|
|
2241
|
+
let millis = t.seconds * 1000;
|
|
2242
|
+
millis += t.nanos / 1000000;
|
|
2241
2243
|
return new Date(millis);
|
|
2242
2244
|
}
|
|
2243
2245
|
function fromJsonTimestamp(o) {
|