@apps-in-toss/web-framework 2.0.9 → 2.1.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.
@@ -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 ("camera" === input.name)
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 ("camera" === input.name)
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
  })();
@@ -139741,6 +139741,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139741
139741
  props.onNavigationStateChange?.(event);
139742
139742
  webBackHandler.onNavigationStateChange(event);
139743
139743
  },
139744
+ textZoom: 100,
139744
139745
  userAgent: import_react_native38.Platform.OS === "ios" ? userAgent : void 0,
139745
139746
  sharedCookiesEnabled: true,
139746
139747
  webviewDebuggingEnabled: webViewDebuggingEnabled,
@@ -140259,6 +140260,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140259
140260
  onPressIn: handlePressIn,
140260
140261
  onPressOut: handlePressOut,
140261
140262
  children: (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
140263
+ allowFontScaling: false,
140262
140264
  numberOfLines: 1,
140263
140265
  style: [styles.brandName, {
140264
140266
  color: colors.brandName
@@ -140266,6 +140268,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140266
140268
  children: brandName
140267
140269
  })
140268
140270
  }), isAdBadgeEnabled ? (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
140271
+ allowFontScaling: false,
140269
140272
  numberOfLines: 1,
140270
140273
  style: [styles.adBadge, {
140271
140274
  color: colors.adBadge
@@ -140281,6 +140284,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140281
140284
  onPressIn: handlePressIn,
140282
140285
  onPressOut: handlePressOut,
140283
140286
  children: (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
140287
+ allowFontScaling: false,
140284
140288
  style: [styles.title, {
140285
140289
  color: colors.title
140286
140290
  }],
@@ -140292,6 +140296,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140292
140296
  onPressIn: handlePressIn,
140293
140297
  onPressOut: handlePressOut,
140294
140298
  children: (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
140299
+ allowFontScaling: false,
140295
140300
  style: [styles.subtitle, {
140296
140301
  color: colors.subtitle
140297
140302
  }],
@@ -140326,6 +140331,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140326
140331
  backgroundColor: resolvedCtaBackground
140327
140332
  }],
140328
140333
  children: [(0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
140334
+ allowFontScaling: false,
140329
140335
  style: [styles.ctaText, {
140330
140336
  color: resolvedCtaTextColor
140331
140337
  }],
@@ -140345,6 +140351,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140345
140351
  }]
140346
140352
  })]
140347
140353
  }), adClearanceText ? (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
140354
+ allowFontScaling: false,
140348
140355
  style: [styles.adClearance, {
140349
140356
  color: colors.adClearance
140350
140357
  }],
@@ -140555,6 +140562,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140555
140562
  onPressIn: handlePressIn,
140556
140563
  onPressOut: handlePressOut,
140557
140564
  children: (0, import_jsx_runtime21.jsx)(import_react_native41.Text, {
140565
+ allowFontScaling: false,
140558
140566
  style: [styles2.title, {
140559
140567
  color: colors.title
140560
140568
  }],
@@ -140566,6 +140574,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140566
140574
  onPressIn: handlePressIn,
140567
140575
  onPressOut: handlePressOut,
140568
140576
  children: (0, import_jsx_runtime21.jsx)(import_react_native41.Text, {
140577
+ allowFontScaling: false,
140569
140578
  style: [styles2.subtitle, {
140570
140579
  color: colors.subtitle
140571
140580
  }],
@@ -140574,6 +140583,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140574
140583
  })]
140575
140584
  })]
140576
140585
  }), adClearanceText ? (0, import_jsx_runtime21.jsx)(import_react_native41.Text, {
140586
+ allowFontScaling: false,
140577
140587
  style: [styles2.adClearance, {
140578
140588
  color: colors.adClearance,
140579
140589
  fontSize: adClearanceFontSize,
@@ -139280,6 +139280,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139280
139280
  props.onNavigationStateChange?.(event);
139281
139281
  webBackHandler.onNavigationStateChange(event);
139282
139282
  },
139283
+ textZoom: 100,
139283
139284
  userAgent: import_react_native38.Platform.OS === "ios" ? userAgent : void 0,
139284
139285
  sharedCookiesEnabled: true,
139285
139286
  webviewDebuggingEnabled: webViewDebuggingEnabled,
@@ -139798,6 +139799,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139798
139799
  onPressIn: handlePressIn,
139799
139800
  onPressOut: handlePressOut,
139800
139801
  children: (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
139802
+ allowFontScaling: false,
139801
139803
  numberOfLines: 1,
139802
139804
  style: [styles.brandName, {
139803
139805
  color: colors.brandName
@@ -139805,6 +139807,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139805
139807
  children: brandName
139806
139808
  })
139807
139809
  }), isAdBadgeEnabled ? (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
139810
+ allowFontScaling: false,
139808
139811
  numberOfLines: 1,
139809
139812
  style: [styles.adBadge, {
139810
139813
  color: colors.adBadge
@@ -139820,6 +139823,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139820
139823
  onPressIn: handlePressIn,
139821
139824
  onPressOut: handlePressOut,
139822
139825
  children: (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
139826
+ allowFontScaling: false,
139823
139827
  style: [styles.title, {
139824
139828
  color: colors.title
139825
139829
  }],
@@ -139831,6 +139835,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139831
139835
  onPressIn: handlePressIn,
139832
139836
  onPressOut: handlePressOut,
139833
139837
  children: (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
139838
+ allowFontScaling: false,
139834
139839
  style: [styles.subtitle, {
139835
139840
  color: colors.subtitle
139836
139841
  }],
@@ -139865,6 +139870,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139865
139870
  backgroundColor: resolvedCtaBackground
139866
139871
  }],
139867
139872
  children: [(0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
139873
+ allowFontScaling: false,
139868
139874
  style: [styles.ctaText, {
139869
139875
  color: resolvedCtaTextColor
139870
139876
  }],
@@ -139884,6 +139890,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139884
139890
  }]
139885
139891
  })]
139886
139892
  }), adClearanceText ? (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
139893
+ allowFontScaling: false,
139887
139894
  style: [styles.adClearance, {
139888
139895
  color: colors.adClearance
139889
139896
  }],
@@ -140094,6 +140101,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140094
140101
  onPressIn: handlePressIn,
140095
140102
  onPressOut: handlePressOut,
140096
140103
  children: (0, import_jsx_runtime21.jsx)(import_react_native41.Text, {
140104
+ allowFontScaling: false,
140097
140105
  style: [styles2.title, {
140098
140106
  color: colors.title
140099
140107
  }],
@@ -140105,6 +140113,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140105
140113
  onPressIn: handlePressIn,
140106
140114
  onPressOut: handlePressOut,
140107
140115
  children: (0, import_jsx_runtime21.jsx)(import_react_native41.Text, {
140116
+ allowFontScaling: false,
140108
140117
  style: [styles2.subtitle, {
140109
140118
  color: colors.subtitle
140110
140119
  }],
@@ -140113,6 +140122,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140113
140122
  })]
140114
140123
  })]
140115
140124
  }), adClearanceText ? (0, import_jsx_runtime21.jsx)(import_react_native41.Text, {
140125
+ allowFontScaling: false,
140116
140126
  style: [styles2.adClearance, {
140117
140127
  color: colors.adClearance,
140118
140128
  fontSize: adClearanceFontSize,
@@ -47322,6 +47322,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47322
47322
  (_props_onNavigationStateChange = props.onNavigationStateChange) === null || _props_onNavigationStateChange === void 0 ? void 0 : _props_onNavigationStateChange.call(props, event);
47323
47323
  webBackHandler.onNavigationStateChange(event);
47324
47324
  },
47325
+ textZoom: 100,
47325
47326
  userAgent: import_react_native207.Platform.OS === "ios" ? userAgent : void 0,
47326
47327
  sharedCookiesEnabled: true,
47327
47328
  webviewDebuggingEnabled: webViewDebuggingEnabled,
@@ -46709,6 +46709,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46709
46709
  (_props_onNavigationStateChange = props.onNavigationStateChange) === null || _props_onNavigationStateChange === void 0 ? void 0 : _props_onNavigationStateChange.call(props, event);
46710
46710
  webBackHandler.onNavigationStateChange(event);
46711
46711
  },
46712
+ textZoom: 100,
46712
46713
  userAgent: import_react_native207.Platform.OS === "ios" ? userAgent : void 0,
46713
46714
  sharedCookiesEnabled: true,
46714
46715
  webviewDebuggingEnabled: webViewDebuggingEnabled,
@@ -47331,6 +47331,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47331
47331
  (_props_onNavigationStateChange = props.onNavigationStateChange) === null || _props_onNavigationStateChange === void 0 ? void 0 : _props_onNavigationStateChange.call(props, event);
47332
47332
  webBackHandler.onNavigationStateChange(event);
47333
47333
  },
47334
+ textZoom: 100,
47334
47335
  userAgent: import_react_native207.Platform.OS === "ios" ? userAgent : void 0,
47335
47336
  sharedCookiesEnabled: true,
47336
47337
  webviewDebuggingEnabled: webViewDebuggingEnabled,
@@ -46718,6 +46718,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46718
46718
  (_props_onNavigationStateChange = props.onNavigationStateChange) === null || _props_onNavigationStateChange === void 0 ? void 0 : _props_onNavigationStateChange.call(props, event);
46719
46719
  webBackHandler.onNavigationStateChange(event);
46720
46720
  },
46721
+ textZoom: 100,
46721
46722
  userAgent: import_react_native207.Platform.OS === "ios" ? userAgent : void 0,
46722
46723
  sharedCookiesEnabled: true,
46723
46724
  webviewDebuggingEnabled: webViewDebuggingEnabled,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@apps-in-toss/web-framework",
3
3
  "type": "module",
4
- "version": "2.0.9",
4
+ "version": "2.1.0",
5
5
  "description": "Web Framework for Apps In Toss",
6
6
  "scripts": {
7
7
  "typecheck": "tsc --noEmit",
@@ -86,13 +86,13 @@
86
86
  "zod": "3.24.4"
87
87
  },
88
88
  "dependencies": {
89
- "@apps-in-toss/bridge-core": "2.0.9",
90
- "@apps-in-toss/cli": "2.0.9",
91
- "@apps-in-toss/framework": "2.0.9",
92
- "@apps-in-toss/plugins": "2.0.9",
93
- "@apps-in-toss/web-analytics": "2.0.9",
94
- "@apps-in-toss/web-bridge": "2.0.9",
95
- "@apps-in-toss/web-config": "2.0.9",
89
+ "@apps-in-toss/bridge-core": "2.1.0",
90
+ "@apps-in-toss/cli": "2.1.0",
91
+ "@apps-in-toss/framework": "2.1.0",
92
+ "@apps-in-toss/plugins": "2.1.0",
93
+ "@apps-in-toss/web-analytics": "2.1.0",
94
+ "@apps-in-toss/web-bridge": "2.1.0",
95
+ "@apps-in-toss/web-config": "2.1.0",
96
96
  "@babel/core": "7.23.9",
97
97
  "@granite-js/cli": "1.0.4",
98
98
  "@granite-js/mpack": "1.0.4",