@apps-in-toss/web-framework 2.0.9 → 2.1.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/config/index.js +19 -5
- package/dist/prebuilt/dev.android.rn84.js +3105 -2889
- package/dist/prebuilt/dev.ios.rn84.js +3104 -2888
- package/dist/prebuilt/prod.android.rn72.js +261 -236
- package/dist/prebuilt/prod.android.rn84.js +261 -236
- package/dist/prebuilt/prod.ios.rn72.js +261 -236
- package/dist/prebuilt/prod.ios.rn84.js +261 -236
- package/package.json +14 -14
package/dist/config/index.js
CHANGED
|
@@ -249,8 +249,11 @@ var validateAppInTossWebPluginOptions = (() => {
|
|
|
249
249
|
const _io11 = (input) => "contacts" === input.name && ("read" === input.access || "write" === input.access);
|
|
250
250
|
const _io12 = (input) => "photos" === input.name && ("read" === input.access || "write" === input.access);
|
|
251
251
|
const _io13 = (input) => "camera" === input.name && "access" === input.access;
|
|
252
|
+
const _io14 = (input) => "microphone" === input.name && "access" === input.access;
|
|
252
253
|
const _iu0 = (input) => (() => {
|
|
253
|
-
if ("
|
|
254
|
+
if ("microphone" === input.name)
|
|
255
|
+
return _io14(input);
|
|
256
|
+
else if ("camera" === input.name)
|
|
254
257
|
return _io13(input);
|
|
255
258
|
else if ("photos" === input.name)
|
|
256
259
|
return _io12(input);
|
|
@@ -309,11 +312,11 @@ var validateAppInTossWebPluginOptions = (() => {
|
|
|
309
312
|
value: input.permissions
|
|
310
313
|
})) && input.permissions.map((elem, _index2) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
311
314
|
path: _path + ".permissions[" + _index2 + "]",
|
|
312
|
-
expected: "(CameraPermission | ClipboardPermission | ContactsPermission | GeolocationPermission | PhotosPermission)",
|
|
315
|
+
expected: "(CameraPermission | ClipboardPermission | ContactsPermission | GeolocationPermission | MicrophonePermission | PhotosPermission)",
|
|
313
316
|
value: elem
|
|
314
317
|
})) && _vu0(elem, _path + ".permissions[" + _index2 + "]", _exceptionable) || _report(_exceptionable, {
|
|
315
318
|
path: _path + ".permissions[" + _index2 + "]",
|
|
316
|
-
expected: "(CameraPermission | ClipboardPermission | ContactsPermission | GeolocationPermission | PhotosPermission)",
|
|
319
|
+
expected: "(CameraPermission | ClipboardPermission | ContactsPermission | GeolocationPermission | MicrophonePermission | PhotosPermission)",
|
|
317
320
|
value: elem
|
|
318
321
|
})).every((flag) => flag) || _report(_exceptionable, {
|
|
319
322
|
path: _path + ".permissions",
|
|
@@ -481,8 +484,19 @@ var validateAppInTossWebPluginOptions = (() => {
|
|
|
481
484
|
expected: '"access"',
|
|
482
485
|
value: input.access
|
|
483
486
|
})].every((flag) => flag);
|
|
487
|
+
const _vo14 = (input, _path, _exceptionable = true) => ["microphone" === input.name || _report(_exceptionable, {
|
|
488
|
+
path: _path + ".name",
|
|
489
|
+
expected: '"microphone"',
|
|
490
|
+
value: input.name
|
|
491
|
+
}), "access" === input.access || _report(_exceptionable, {
|
|
492
|
+
path: _path + ".access",
|
|
493
|
+
expected: '"access"',
|
|
494
|
+
value: input.access
|
|
495
|
+
})].every((flag) => flag);
|
|
484
496
|
const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
485
|
-
if ("
|
|
497
|
+
if ("microphone" === input.name)
|
|
498
|
+
return _vo14(input, _path, _exceptionable);
|
|
499
|
+
else if ("camera" === input.name)
|
|
486
500
|
return _vo13(input, _path, _exceptionable);
|
|
487
501
|
else if ("photos" === input.name)
|
|
488
502
|
return _vo12(input, _path, _exceptionable);
|
|
@@ -495,7 +509,7 @@ var validateAppInTossWebPluginOptions = (() => {
|
|
|
495
509
|
else
|
|
496
510
|
return _report(_exceptionable, {
|
|
497
511
|
path: _path,
|
|
498
|
-
expected: "(CameraPermission | PhotosPermission | ContactsPermission | GeolocationPermission | ClipboardPermission)",
|
|
512
|
+
expected: "(MicrophonePermission | CameraPermission | PhotosPermission | ContactsPermission | GeolocationPermission | ClipboardPermission)",
|
|
499
513
|
value: input
|
|
500
514
|
});
|
|
501
515
|
})();
|