@capawesome/capacitor-live-update 6.7.2 → 7.0.0
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/CapawesomeCapacitorLiveUpdate.podspec +2 -2
- package/Package.swift +32 -0
- package/README.md +91 -81
- package/android/build.gradle +9 -9
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/LiveUpdate.java +165 -133
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/LiveUpdateConfig.java +6 -27
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/LiveUpdateHttpClient.java +7 -2
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/LiveUpdatePlugin.java +50 -78
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/LiveUpdatePreferences.java +12 -5
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/api/GetLatestBundleResponse.java +9 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/events/DownloadBundleProgressEvent.java +32 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/options/DownloadBundleOptions.java +1 -10
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/results/FetchLatestBundleResult.java +13 -1
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/results/ReadyResult.java +32 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/interfaces/DownloadProgressCallback.java +5 -0
- package/dist/docs.json +191 -158
- package/dist/esm/definitions.d.ts +107 -52
- package/dist/esm/definitions.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/web.d.ts +2 -2
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +1 -3
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +1 -3
- package/dist/plugin.js.map +1 -1
- package/ios/Plugin/Classes/Events/DownloadBundleProgressEvent.swift +25 -0
- package/ios/Plugin/Classes/Options/DownloadBundleOptions.swift +1 -7
- package/ios/Plugin/Classes/Results/{FetchLatestBundle.swift → FetchLatestBundleResult.swift} +6 -1
- package/ios/Plugin/Classes/Results/ReadyResult.swift +22 -0
- package/ios/Plugin/LiveUpdate.swift +167 -154
- package/ios/Plugin/LiveUpdateConfig.swift +2 -4
- package/ios/Plugin/LiveUpdateHttpClient.swift +6 -2
- package/ios/Plugin/LiveUpdatePlugin.swift +44 -38
- package/ios/Plugin/LiveUpdatePreferences.swift +6 -20
- package/ios/Plugin/Protocols/Api/GetLatestBundleResponse.swift +1 -0
- package/package.json +17 -18
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/options/SetBundleOptions.java +0 -18
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/results/GetBundleResult.java +0 -24
- package/ios/Plugin/Classes/Options/SetBundleOptions.swift +0 -14
- package/ios/Plugin/Classes/Results/GetBundleResult.swift +0 -16
- package/ios/Plugin/LiveUpdatePlugin.h +0 -10
- package/ios/Plugin/LiveUpdatePlugin.m +0 -27
package/dist/docs.json
CHANGED
|
@@ -75,27 +75,6 @@
|
|
|
75
75
|
],
|
|
76
76
|
"slug": "fetchlatestbundle"
|
|
77
77
|
},
|
|
78
|
-
{
|
|
79
|
-
"name": "getBundle",
|
|
80
|
-
"signature": "() => Promise<GetBundleResult>",
|
|
81
|
-
"parameters": [],
|
|
82
|
-
"returns": "Promise<GetBundleResult>",
|
|
83
|
-
"tags": [
|
|
84
|
-
{
|
|
85
|
-
"name": "since",
|
|
86
|
-
"text": "5.0.0"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"name": "deprecated",
|
|
90
|
-
"text": "Use `getCurrentBundle()` instead."
|
|
91
|
-
}
|
|
92
|
-
],
|
|
93
|
-
"docs": "Get the active bundle identifier.\n\nOnly available on Android and iOS.",
|
|
94
|
-
"complexTypes": [
|
|
95
|
-
"GetBundleResult"
|
|
96
|
-
],
|
|
97
|
-
"slug": "getbundle"
|
|
98
|
-
},
|
|
99
78
|
{
|
|
100
79
|
"name": "getBundles",
|
|
101
80
|
"signature": "() => Promise<GetBundlesResult>",
|
|
@@ -209,7 +188,7 @@
|
|
|
209
188
|
"text": "5.0.0"
|
|
210
189
|
}
|
|
211
190
|
],
|
|
212
|
-
"docs": "Get the version code of the app.\n\nOnly available on Android and iOS.",
|
|
191
|
+
"docs": "Get the version code of the app.\n\nOn **Android**, this is the `versionCode` from the `android/app/build.gradle` file.\nOn **iOS**, this is the `CFBundleVersion` from the `Info.plist` file.\n\nOnly available on Android and iOS.",
|
|
213
192
|
"complexTypes": [
|
|
214
193
|
"GetVersionCodeResult"
|
|
215
194
|
],
|
|
@@ -226,7 +205,7 @@
|
|
|
226
205
|
"text": "5.0.0"
|
|
227
206
|
}
|
|
228
207
|
],
|
|
229
|
-
"docs": "Get the version name of the app.\n\nOnly available on Android and iOS.",
|
|
208
|
+
"docs": "Get the version name of the app.\n\nOn **Android**, this is the `versionName` from the `android/app/build.gradle` file.\nOn **iOS**, this is the `CFBundleShortVersionString` from the `Info.plist` file.\n\nOnly available on Android and iOS.",
|
|
230
209
|
"complexTypes": [
|
|
231
210
|
"GetVersionNameResult"
|
|
232
211
|
],
|
|
@@ -234,9 +213,9 @@
|
|
|
234
213
|
},
|
|
235
214
|
{
|
|
236
215
|
"name": "ready",
|
|
237
|
-
"signature": "() => Promise<
|
|
216
|
+
"signature": "() => Promise<ReadyResult>",
|
|
238
217
|
"parameters": [],
|
|
239
|
-
"returns": "Promise<
|
|
218
|
+
"returns": "Promise<ReadyResult>",
|
|
240
219
|
"tags": [
|
|
241
220
|
{
|
|
242
221
|
"name": "since",
|
|
@@ -244,7 +223,9 @@
|
|
|
244
223
|
}
|
|
245
224
|
],
|
|
246
225
|
"docs": "Notify the plugin that the app is ready to use and no rollback is needed.\n\n**Attention**: This method should be called as soon as the app is ready to use\nto prevent the app from being reset to the default bundle.\n\nOnly available on Android and iOS.",
|
|
247
|
-
"complexTypes": [
|
|
226
|
+
"complexTypes": [
|
|
227
|
+
"ReadyResult"
|
|
228
|
+
],
|
|
248
229
|
"slug": "ready"
|
|
249
230
|
},
|
|
250
231
|
{
|
|
@@ -277,33 +258,6 @@
|
|
|
277
258
|
"complexTypes": [],
|
|
278
259
|
"slug": "reset"
|
|
279
260
|
},
|
|
280
|
-
{
|
|
281
|
-
"name": "setBundle",
|
|
282
|
-
"signature": "(options: SetBundleOptions) => Promise<void>",
|
|
283
|
-
"parameters": [
|
|
284
|
-
{
|
|
285
|
-
"name": "options",
|
|
286
|
-
"docs": "",
|
|
287
|
-
"type": "SetBundleOptions"
|
|
288
|
-
}
|
|
289
|
-
],
|
|
290
|
-
"returns": "Promise<void>",
|
|
291
|
-
"tags": [
|
|
292
|
-
{
|
|
293
|
-
"name": "since",
|
|
294
|
-
"text": "5.0.0"
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
"name": "deprecated",
|
|
298
|
-
"text": "Use `setNextBundle()` instead."
|
|
299
|
-
}
|
|
300
|
-
],
|
|
301
|
-
"docs": "Set the next bundle to use for the app.\n\nCall `reload()` or restart the app to apply the changes.\n\nOnly available on Android and iOS.",
|
|
302
|
-
"complexTypes": [
|
|
303
|
-
"SetBundleOptions"
|
|
304
|
-
],
|
|
305
|
-
"slug": "setbundle"
|
|
306
|
-
},
|
|
307
261
|
{
|
|
308
262
|
"name": "setChannel",
|
|
309
263
|
"signature": "(options: SetChannelOptions) => Promise<void>",
|
|
@@ -396,6 +350,35 @@
|
|
|
396
350
|
"SyncOptions"
|
|
397
351
|
],
|
|
398
352
|
"slug": "sync"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"name": "addListener",
|
|
356
|
+
"signature": "(eventName: 'downloadBundleProgress', listenerFunc: DownloadBundleProgressListener) => Promise<PluginListenerHandle>",
|
|
357
|
+
"parameters": [
|
|
358
|
+
{
|
|
359
|
+
"name": "eventName",
|
|
360
|
+
"docs": "",
|
|
361
|
+
"type": "'downloadBundleProgress'"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"name": "listenerFunc",
|
|
365
|
+
"docs": "",
|
|
366
|
+
"type": "DownloadBundleProgressListener"
|
|
367
|
+
}
|
|
368
|
+
],
|
|
369
|
+
"returns": "Promise<PluginListenerHandle>",
|
|
370
|
+
"tags": [
|
|
371
|
+
{
|
|
372
|
+
"name": "since",
|
|
373
|
+
"text": "7.0.0"
|
|
374
|
+
}
|
|
375
|
+
],
|
|
376
|
+
"docs": "Listen for the download progress of a bundle.\n\nOnly available on Android and iOS.",
|
|
377
|
+
"complexTypes": [
|
|
378
|
+
"PluginListenerHandle",
|
|
379
|
+
"DownloadBundleProgressListener"
|
|
380
|
+
],
|
|
381
|
+
"slug": "addlistenerdownloadbundleprogress-"
|
|
399
382
|
}
|
|
400
383
|
],
|
|
401
384
|
"properties": []
|
|
@@ -470,26 +453,10 @@
|
|
|
470
453
|
"name": "example"
|
|
471
454
|
}
|
|
472
455
|
],
|
|
473
|
-
"docs": "The unique identifier of the bundle.",
|
|
456
|
+
"docs": "The unique identifier of the bundle.\n\n**Attention**: The value `public` is reserved and cannot be used as a bundle identifier.",
|
|
474
457
|
"complexTypes": [],
|
|
475
458
|
"type": "string"
|
|
476
459
|
},
|
|
477
|
-
{
|
|
478
|
-
"name": "checksum",
|
|
479
|
-
"tags": [
|
|
480
|
-
{
|
|
481
|
-
"text": "6.1.0",
|
|
482
|
-
"name": "since"
|
|
483
|
-
},
|
|
484
|
-
{
|
|
485
|
-
"text": "The server should return a `X-Checksum` header instead.",
|
|
486
|
-
"name": "deprecated"
|
|
487
|
-
}
|
|
488
|
-
],
|
|
489
|
-
"docs": "The checksum of the bundle to verify the integrity of the ZIP file.\n\nMust be a SHA-256 hash in base64 format.",
|
|
490
|
-
"complexTypes": [],
|
|
491
|
-
"type": "string | undefined"
|
|
492
|
-
},
|
|
493
460
|
{
|
|
494
461
|
"name": "url",
|
|
495
462
|
"tags": [
|
|
@@ -544,6 +511,22 @@
|
|
|
544
511
|
"complexTypes": [],
|
|
545
512
|
"type": "string | null"
|
|
546
513
|
},
|
|
514
|
+
{
|
|
515
|
+
"name": "customProperties",
|
|
516
|
+
"tags": [
|
|
517
|
+
{
|
|
518
|
+
"text": "7.0.0",
|
|
519
|
+
"name": "since"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"text": "{ \"key\": \"value\" }",
|
|
523
|
+
"name": "example"
|
|
524
|
+
}
|
|
525
|
+
],
|
|
526
|
+
"docs": "Custom properties that are associated with the latest bundle.",
|
|
527
|
+
"complexTypes": [],
|
|
528
|
+
"type": "{ [key: string]: string; } | undefined"
|
|
529
|
+
},
|
|
547
530
|
{
|
|
548
531
|
"name": "downloadUrl",
|
|
549
532
|
"tags": [
|
|
@@ -584,36 +567,6 @@
|
|
|
584
567
|
}
|
|
585
568
|
]
|
|
586
569
|
},
|
|
587
|
-
{
|
|
588
|
-
"name": "GetBundleResult",
|
|
589
|
-
"slug": "getbundleresult",
|
|
590
|
-
"docs": "",
|
|
591
|
-
"tags": [
|
|
592
|
-
{
|
|
593
|
-
"text": "5.0.0",
|
|
594
|
-
"name": "since"
|
|
595
|
-
}
|
|
596
|
-
],
|
|
597
|
-
"methods": [],
|
|
598
|
-
"properties": [
|
|
599
|
-
{
|
|
600
|
-
"name": "bundleId",
|
|
601
|
-
"tags": [
|
|
602
|
-
{
|
|
603
|
-
"text": "5.0.0",
|
|
604
|
-
"name": "since"
|
|
605
|
-
},
|
|
606
|
-
{
|
|
607
|
-
"text": "'1.0.0'",
|
|
608
|
-
"name": "example"
|
|
609
|
-
}
|
|
610
|
-
],
|
|
611
|
-
"docs": "The unique identifier of the active bundle.\n\nIf `null`, the default bundle is being used.",
|
|
612
|
-
"complexTypes": [],
|
|
613
|
-
"type": "string | null"
|
|
614
|
-
}
|
|
615
|
-
]
|
|
616
|
-
},
|
|
617
570
|
{
|
|
618
571
|
"name": "GetBundlesResult",
|
|
619
572
|
"slug": "getbundlesresult",
|
|
@@ -843,32 +796,52 @@
|
|
|
843
796
|
]
|
|
844
797
|
},
|
|
845
798
|
{
|
|
846
|
-
"name": "
|
|
847
|
-
"slug": "
|
|
799
|
+
"name": "ReadyResult",
|
|
800
|
+
"slug": "readyresult",
|
|
848
801
|
"docs": "",
|
|
849
802
|
"tags": [
|
|
850
803
|
{
|
|
851
|
-
"text": "
|
|
804
|
+
"text": "7.0.0",
|
|
852
805
|
"name": "since"
|
|
853
806
|
}
|
|
854
807
|
],
|
|
855
808
|
"methods": [],
|
|
856
809
|
"properties": [
|
|
857
810
|
{
|
|
858
|
-
"name": "
|
|
811
|
+
"name": "previousBundleId",
|
|
859
812
|
"tags": [
|
|
860
813
|
{
|
|
861
|
-
"text": "
|
|
814
|
+
"text": "7.0.0",
|
|
862
815
|
"name": "since"
|
|
863
|
-
}
|
|
816
|
+
}
|
|
817
|
+
],
|
|
818
|
+
"docs": "The identifier of the previous bundle used.\n\nIf `null`, the default bundle was used.",
|
|
819
|
+
"complexTypes": [],
|
|
820
|
+
"type": "string | null"
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
"name": "currentBundleId",
|
|
824
|
+
"tags": [
|
|
864
825
|
{
|
|
865
|
-
"text": "
|
|
866
|
-
"name": "
|
|
826
|
+
"text": "7.0.0",
|
|
827
|
+
"name": "since"
|
|
867
828
|
}
|
|
868
829
|
],
|
|
869
|
-
"docs": "The
|
|
830
|
+
"docs": "The identifier of the current bundle used.\n\nIf `null`, the default bundle is being used.",
|
|
870
831
|
"complexTypes": [],
|
|
871
|
-
"type": "string"
|
|
832
|
+
"type": "string | null"
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
"name": "rollback",
|
|
836
|
+
"tags": [
|
|
837
|
+
{
|
|
838
|
+
"text": "7.0.0",
|
|
839
|
+
"name": "since"
|
|
840
|
+
}
|
|
841
|
+
],
|
|
842
|
+
"docs": "Whether or not the app was reset to the default bundle.",
|
|
843
|
+
"complexTypes": [],
|
|
844
|
+
"type": "boolean"
|
|
872
845
|
}
|
|
873
846
|
]
|
|
874
847
|
},
|
|
@@ -1005,10 +978,106 @@
|
|
|
1005
978
|
"type": "string | undefined"
|
|
1006
979
|
}
|
|
1007
980
|
]
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
"name": "PluginListenerHandle",
|
|
984
|
+
"slug": "pluginlistenerhandle",
|
|
985
|
+
"docs": "",
|
|
986
|
+
"tags": [],
|
|
987
|
+
"methods": [],
|
|
988
|
+
"properties": [
|
|
989
|
+
{
|
|
990
|
+
"name": "remove",
|
|
991
|
+
"tags": [],
|
|
992
|
+
"docs": "",
|
|
993
|
+
"complexTypes": [],
|
|
994
|
+
"type": "() => Promise<void>"
|
|
995
|
+
}
|
|
996
|
+
]
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
"name": "DownloadBundleProgressEvent",
|
|
1000
|
+
"slug": "downloadbundleprogressevent",
|
|
1001
|
+
"docs": "Event that is triggered when the download progress of a bundle changes.",
|
|
1002
|
+
"tags": [
|
|
1003
|
+
{
|
|
1004
|
+
"text": "7.0.0",
|
|
1005
|
+
"name": "since"
|
|
1006
|
+
}
|
|
1007
|
+
],
|
|
1008
|
+
"methods": [],
|
|
1009
|
+
"properties": [
|
|
1010
|
+
{
|
|
1011
|
+
"name": "bundleId",
|
|
1012
|
+
"tags": [
|
|
1013
|
+
{
|
|
1014
|
+
"text": "7.0.0",
|
|
1015
|
+
"name": "since"
|
|
1016
|
+
}
|
|
1017
|
+
],
|
|
1018
|
+
"docs": "The unique identifier of the bundle that is being downloaded.",
|
|
1019
|
+
"complexTypes": [],
|
|
1020
|
+
"type": "string"
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"name": "downloadedBytes",
|
|
1024
|
+
"tags": [
|
|
1025
|
+
{
|
|
1026
|
+
"text": "7.0.0",
|
|
1027
|
+
"name": "since"
|
|
1028
|
+
}
|
|
1029
|
+
],
|
|
1030
|
+
"docs": "The number of bytes that have been downloaded.",
|
|
1031
|
+
"complexTypes": [],
|
|
1032
|
+
"type": "number"
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
"name": "progress",
|
|
1036
|
+
"tags": [
|
|
1037
|
+
{
|
|
1038
|
+
"text": "7.0.0",
|
|
1039
|
+
"name": "since"
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
"text": "0.5",
|
|
1043
|
+
"name": "example"
|
|
1044
|
+
}
|
|
1045
|
+
],
|
|
1046
|
+
"docs": "The progress of the download in percent as a value between `0` and `1`.",
|
|
1047
|
+
"complexTypes": [],
|
|
1048
|
+
"type": "number"
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
"name": "totalBytes",
|
|
1052
|
+
"tags": [
|
|
1053
|
+
{
|
|
1054
|
+
"text": "7.0.0",
|
|
1055
|
+
"name": "since"
|
|
1056
|
+
}
|
|
1057
|
+
],
|
|
1058
|
+
"docs": "The total number of bytes to download.",
|
|
1059
|
+
"complexTypes": [],
|
|
1060
|
+
"type": "number"
|
|
1061
|
+
}
|
|
1062
|
+
]
|
|
1008
1063
|
}
|
|
1009
1064
|
],
|
|
1010
1065
|
"enums": [],
|
|
1011
|
-
"typeAliases": [
|
|
1066
|
+
"typeAliases": [
|
|
1067
|
+
{
|
|
1068
|
+
"name": "DownloadBundleProgressListener",
|
|
1069
|
+
"slug": "downloadbundleprogresslistener",
|
|
1070
|
+
"docs": "Listener for the download progress of a bundle.",
|
|
1071
|
+
"types": [
|
|
1072
|
+
{
|
|
1073
|
+
"text": "(event: DownloadBundleProgressEvent): void",
|
|
1074
|
+
"complexTypes": [
|
|
1075
|
+
"DownloadBundleProgressEvent"
|
|
1076
|
+
]
|
|
1077
|
+
}
|
|
1078
|
+
]
|
|
1079
|
+
}
|
|
1080
|
+
],
|
|
1012
1081
|
"pluginConfigs": [
|
|
1013
1082
|
{
|
|
1014
1083
|
"name": "LiveUpdate",
|
|
@@ -1062,22 +1131,6 @@
|
|
|
1062
1131
|
"complexTypes": [],
|
|
1063
1132
|
"type": "string | undefined"
|
|
1064
1133
|
},
|
|
1065
|
-
{
|
|
1066
|
-
"name": "enabled",
|
|
1067
|
-
"tags": [
|
|
1068
|
-
{
|
|
1069
|
-
"text": "5.0.0",
|
|
1070
|
-
"name": "since"
|
|
1071
|
-
},
|
|
1072
|
-
{
|
|
1073
|
-
"text": "true",
|
|
1074
|
-
"name": "default"
|
|
1075
|
-
}
|
|
1076
|
-
],
|
|
1077
|
-
"docs": "Whether or not the plugin is enabled.",
|
|
1078
|
-
"complexTypes": [],
|
|
1079
|
-
"type": "boolean | undefined"
|
|
1080
|
-
},
|
|
1081
1134
|
{
|
|
1082
1135
|
"name": "httpTimeout",
|
|
1083
1136
|
"tags": [
|
|
@@ -1094,30 +1147,6 @@
|
|
|
1094
1147
|
"complexTypes": [],
|
|
1095
1148
|
"type": "number | undefined"
|
|
1096
1149
|
},
|
|
1097
|
-
{
|
|
1098
|
-
"name": "location",
|
|
1099
|
-
"tags": [
|
|
1100
|
-
{
|
|
1101
|
-
"text": "6.2.0",
|
|
1102
|
-
"name": "since"
|
|
1103
|
-
},
|
|
1104
|
-
{
|
|
1105
|
-
"text": "'us'",
|
|
1106
|
-
"name": "default"
|
|
1107
|
-
},
|
|
1108
|
-
{
|
|
1109
|
-
"text": "'eu'",
|
|
1110
|
-
"name": "example"
|
|
1111
|
-
},
|
|
1112
|
-
{
|
|
1113
|
-
"text": "This option will be removed in the future.",
|
|
1114
|
-
"name": "deprecated"
|
|
1115
|
-
}
|
|
1116
|
-
],
|
|
1117
|
-
"docs": "The location of the server to use when using [Capawesome Cloud](https://capawesome.io/cloud).",
|
|
1118
|
-
"complexTypes": [],
|
|
1119
|
-
"type": "'us' | 'eu' | undefined"
|
|
1120
|
-
},
|
|
1121
1150
|
{
|
|
1122
1151
|
"name": "publicKey",
|
|
1123
1152
|
"tags": [
|
|
@@ -1142,29 +1171,33 @@
|
|
|
1142
1171
|
"name": "since"
|
|
1143
1172
|
},
|
|
1144
1173
|
{
|
|
1145
|
-
"text": "
|
|
1174
|
+
"text": "0",
|
|
1146
1175
|
"name": "default"
|
|
1176
|
+
},
|
|
1177
|
+
{
|
|
1178
|
+
"text": "10000",
|
|
1179
|
+
"name": "example"
|
|
1147
1180
|
}
|
|
1148
1181
|
],
|
|
1149
|
-
"docs": "The timeout in milliseconds to wait for the app to be ready before resetting to the default bundle.",
|
|
1182
|
+
"docs": "The timeout in milliseconds to wait for the app to be ready\nbefore resetting to the default bundle.\n\nIt is strongly **recommended** to configure this option so that\nthe plugin can roll back to the default bundle in case of problems.\nIf configured, the plugin will wait for the app to call the `ready()`\nmethod before resetting to the default bundle.\n\nSet to `0` to disable the timeout.",
|
|
1150
1183
|
"complexTypes": [],
|
|
1151
1184
|
"type": "number | undefined"
|
|
1152
1185
|
},
|
|
1153
1186
|
{
|
|
1154
|
-
"name": "
|
|
1187
|
+
"name": "serverDomain",
|
|
1155
1188
|
"tags": [
|
|
1156
1189
|
{
|
|
1157
|
-
"text": "
|
|
1190
|
+
"text": "7.0.0",
|
|
1158
1191
|
"name": "since"
|
|
1159
1192
|
},
|
|
1160
1193
|
{
|
|
1161
|
-
"text": "
|
|
1194
|
+
"text": "'api.cloud.capawesome.io'",
|
|
1162
1195
|
"name": "default"
|
|
1163
1196
|
}
|
|
1164
1197
|
],
|
|
1165
|
-
"docs": "
|
|
1198
|
+
"docs": "The API domain of the [Capawesome Cloud](https://cloud.capawesome.io) server.",
|
|
1166
1199
|
"complexTypes": [],
|
|
1167
|
-
"type": "
|
|
1200
|
+
"type": "string | undefined"
|
|
1168
1201
|
}
|
|
1169
1202
|
],
|
|
1170
1203
|
"docs": ""
|