@apps-in-toss/web-framework 1.7.1 → 1.8.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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @apps-in-toss/web-framework
2
2
 
3
+ ## 1.8.1
4
+
5
+ ## 1.8.0
6
+
3
7
  ## 1.7.1
4
8
 
5
9
  ## 1.7.0
@@ -155154,8 +155154,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155154
155154
  }).catch(noop);
155155
155155
  }
155156
155156
  var INTEGRATED_AD_SDK_VERSION = "0.0.0";
155157
- var ANDROID_INTEGRATED_AD_SUPPORTED_VERSION = "5.241.0";
155158
- var IOS_INTEGRATED_AD_SUPPORTED_VERSION = "5.241.0";
155157
+ var ANDROID_INTEGRATED_AD_SUPPORTED_VERSION = "5.244.1";
155158
+ var IOS_INTEGRATED_AD_SUPPORTED_VERSION = "5.244.1";
155159
155159
  var UNSUPPORTED_ERROR_MESSAGE2 = "This feature is not supported in the current environment";
155160
155160
  var INTG_AD_ADM_FALLBACK_RID_MAP = {};
155161
155161
  function integratedAdIsSupported() {
@@ -155695,19 +155695,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155695
155695
  canGoForward: canGoForward
155696
155696
  };
155697
155697
  }
155698
- var HISTORY_BACK_SCRIPT = `
155699
- (function() {
155700
- window.history.back();
155701
- true;
155702
- })();
155703
- `;
155704
- var HISTORY_HOME_SCRIPT = `
155705
- (function() {
155706
- window.location.href = '/';
155707
- true;
155708
- })();
155709
- `;
155710
- function useWebBackHandler(webViewRef) {
155698
+ function useWebBackHandler(webViewInitialURL, webViewRef) {
155711
155699
  var _useCaptureExitLog5 = useCaptureExitLog(),
155712
155700
  captureExitLog = _useCaptureExitLog5.captureExitLog;
155713
155701
  var _useWebViewHistory = useWebViewHistory(),
@@ -155737,7 +155725,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155737
155725
  }
155738
155726
  if (hasHistory) {
155739
155727
  var _webViewRef$current;
155740
- (_webViewRef$current = webViewRef.current) == null ? void 0 : _webViewRef$current.injectJavaScript(HISTORY_BACK_SCRIPT);
155728
+ (_webViewRef$current = webViewRef.current) == null ? void 0 : _webViewRef$current.injectJavaScript("window.history.back();");
155741
155729
  } else {
155742
155730
  var isConfirmed = yield openConfirm({
155743
155731
  title: `${(0, import_es_hangul5.josa)(global2.brandDisplayName, "\uC744/\uB97C")} \uC885\uB8CC\uD560\uAE4C\uC694?`,
@@ -155762,8 +155750,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155762
155750
  }
155763
155751
  return;
155764
155752
  }
155765
- (_webViewRef$current2 = webViewRef.current) == null ? void 0 : _webViewRef$current2.injectJavaScript(HISTORY_HOME_SCRIPT);
155766
- }, [hasWebBackEvent, webBackHandlersRef, logging, webViewRef]);
155753
+ (_webViewRef$current2 = webViewRef.current) == null ? void 0 : _webViewRef$current2.injectJavaScript(`
155754
+ (function() {
155755
+ const webBundleOrigin = '${webViewInitialURL.origin}';
155756
+ window.location.href = window.location.origin === webBundleOrigin ? '/' : webBundleOrigin;
155757
+ })();
155758
+ `);
155759
+ }, [hasWebBackEvent, webBackHandlersRef, logging, webViewInitialURL, webViewRef]);
155767
155760
  return (0, import_react25.useMemo)(function () {
155768
155761
  return {
155769
155762
  addEventListener: addEventListener,
@@ -156098,10 +156091,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156098
156091
  }
156099
156092
  return baseUrl;
156100
156093
  }
156101
- function getWebViewUri(local) {
156094
+ function getWebViewURL(local) {
156102
156095
  if (__DEV__) {
156103
156096
  var devUrl = `http://${local.host}:${local.port}`;
156104
- return mergeSchemeQueryParamsInto(devUrl).toString();
156097
+ return mergeSchemeQueryParamsInto(devUrl);
156105
156098
  }
156106
156099
  var _import_native_module = import_native_modules23.AppsInTossModule.getWebBundleURL({}),
156107
156100
  rawUrl = _import_native_module.url;
@@ -156110,7 +156103,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156110
156103
  if (deploymentId) {
156111
156104
  url.searchParams.set("_deploymentId", deploymentId);
156112
156105
  }
156113
- return url.toString();
156106
+ return url;
156114
156107
  }
156115
156108
  function _WebView(_ref83) {
156116
156109
  var type = _ref83.type,
@@ -156121,10 +156114,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156121
156114
  throw new Error(`Invalid WebView type: '${type}'`);
156122
156115
  }
156123
156116
  var webViewRef = (0, import_react28.useRef)(null);
156124
- var webBackHandler = useWebBackHandler(webViewRef);
156125
- var uri = (0, import_react28.useMemo)(function () {
156126
- return getWebViewUri(local);
156117
+ var url = (0, import_react28.useMemo)(function () {
156118
+ return getWebViewURL(local);
156127
156119
  }, [local]);
156120
+ var webBackHandler = useWebBackHandler(url, webViewRef);
156128
156121
  var top = (0, import_private9.useSafeAreaTop)();
156129
156122
  var bottom = (0, import_private9.useSafeAreaBottom)();
156130
156123
  var insets = (0, import_react_native_safe_area_context4.useSafeAreaInsets)();
@@ -156207,6 +156200,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156207
156200
  })), {
156208
156201
  loadAppsInTossAdMob_isSupported: import_native_modules23.GoogleAdMob.loadAppsInTossAdMob.isSupported,
156209
156202
  showAppsInTossAdMob_isSupported: import_native_modules23.GoogleAdMob.showAppsInTossAdMob.isSupported,
156203
+ isAppsInTossAdMobLoaded_isSupported: import_native_modules23.GoogleAdMob.isAppsInTossAdMobLoaded.isSupported,
156210
156204
  loadFullScreenAd_isSupported: loadFullScreenAdForWeb.isSupported,
156211
156205
  showFullScreenAd_isSupported: _showFullScreenAd.isSupported,
156212
156206
  fetchTossAd_isSupported: fetchTossAd.isSupported,
@@ -156254,6 +156248,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156254
156248
  getPendingOrders: import_native_modules23.IAP.getPendingOrders,
156255
156249
  getCompletedOrRefundedOrders: import_native_modules23.IAP.getCompletedOrRefundedOrders,
156256
156250
  completeProductGrant: import_native_modules23.IAP.completeProductGrant,
156251
+ isAppsInTossAdMobLoaded: import_native_modules23.GoogleAdMob.isAppsInTossAdMobLoaded,
156257
156252
  tossAdEventLog: tossAdEventLog,
156258
156253
  memoryDebugLog: webViewMemoryDebugLog
156259
156254
  })
@@ -156296,7 +156291,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156296
156291
  ref: refs
156297
156292
  }, props, headerPropForExternalWebView, {
156298
156293
  source: {
156299
- uri: uri,
156294
+ uri: url.href,
156300
156295
  headers: {
156301
156296
  "User-Agent": userAgent
156302
156297
  }
@@ -156321,12 +156316,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156321
156316
  allowsBackForwardNavigationGestures: allowsBackForwardNavigationGestures,
156322
156317
  onShouldStartLoadWithRequest: function onShouldStartLoadWithRequest(event) {
156323
156318
  try {
156324
- var url = new URL(event.url);
156325
- if (["https:", "http:"].includes(url.protocol) || url.href === "about:blank") {
156319
+ var url2 = new URL(event.url);
156320
+ if (["https:", "http:"].includes(url2.protocol) || url2.href === "about:blank") {
156326
156321
  return true;
156327
156322
  } else {
156328
156323
  var _convertIntentURL;
156329
- import_react_native39.Linking.openURL((_convertIntentURL = convertIntentURL(url)) != null ? _convertIntentURL : url.href);
156324
+ import_react_native39.Linking.openURL((_convertIntentURL = convertIntentURL(url2)) != null ? _convertIntentURL : url2.href);
156330
156325
  return false;
156331
156326
  }
156332
156327
  } catch (error) {
@@ -157683,7 +157678,34 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157683
157678
  }
157684
157679
  loadAppsInTossAdMob.isSupported = createIsSupported();
157685
157680
  showAppsInTossAdMob.isSupported = createIsSupported();
157686
- function checkoutPayment(_x2) {
157681
+ function isAppsInTossAdMobLoaded(_x2) {
157682
+ return _isAppsInTossAdMobLoaded.apply(this, arguments);
157683
+ }
157684
+ function _isAppsInTossAdMobLoaded() {
157685
+ _isAppsInTossAdMobLoaded = _asyncToGenerator(function* (params) {
157686
+ if (!isAppsInTossAdMobLoadedSupported()) {
157687
+ return false;
157688
+ }
157689
+ return new Promise(function (resolve, reject) {
157690
+ var unregister = _INTERNAL__appBridgeHandler.invokeAppBridgeMethod("getCachedStatusAppsInTossAdmob", Object.assign({}, params), {
157691
+ onSuccess: function onSuccess(cached) {
157692
+ resolve(cached);
157693
+ unregister();
157694
+ },
157695
+ onError: reject
157696
+ });
157697
+ });
157698
+ });
157699
+ return _isAppsInTossAdMobLoaded.apply(this, arguments);
157700
+ }
157701
+ function isAppsInTossAdMobLoadedSupported() {
157702
+ return ENVIRONMENT !== "toss" ? false : _isMinVersionSupported({
157703
+ android: "5.244.0",
157704
+ ios: "5.244.0"
157705
+ });
157706
+ }
157707
+ isAppsInTossAdMobLoaded.isSupported = isAppsInTossAdMobLoadedSupported;
157708
+ function checkoutPayment(_x3) {
157687
157709
  return _checkoutPayment.apply(this, arguments);
157688
157710
  }
157689
157711
  function _checkoutPayment() {
@@ -157715,7 +157737,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157715
157737
  return [key, String(value)];
157716
157738
  }));
157717
157739
  }
157718
- function _eventLog(_x3) {
157740
+ function _eventLog(_x4) {
157719
157741
  return _eventLog2.apply(this, arguments);
157720
157742
  }
157721
157743
  function _eventLog2() {
@@ -157779,7 +157801,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157779
157801
  maxWidth: (_options$maxWidth = options == null ? void 0 : options.maxWidth) != null ? _options$maxWidth : DEFAULT_MAX_WIDTH
157780
157802
  }));
157781
157803
  });
157782
- function handler(_x4) {
157804
+ function handler(_x5) {
157783
157805
  return _handler.apply(this, arguments);
157784
157806
  }
157785
157807
  return handler;
@@ -157802,7 +157824,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157802
157824
  done: contacts.done
157803
157825
  };
157804
157826
  });
157805
- function handler(_x5) {
157827
+ function handler(_x6) {
157806
157828
  return _handler2.apply(this, arguments);
157807
157829
  }
157808
157830
  return handler;
@@ -157830,7 +157852,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157830
157852
  var _handler3 = _asyncToGenerator(function* (options) {
157831
157853
  return _AppsInTossModule.getCurrentLocation(options);
157832
157854
  });
157833
- function handler(_x6) {
157855
+ function handler(_x7) {
157834
157856
  return _handler3.apply(this, arguments);
157835
157857
  }
157836
157858
  return handler;
@@ -157878,7 +157900,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157878
157900
  android: "5.240.0",
157879
157901
  ios: "5.239.0"
157880
157902
  };
157881
- function _getTossShareLink(_x7, _x8) {
157903
+ function _getTossShareLink(_x8, _x9) {
157882
157904
  return _getTossShareLink2.apply(this, arguments);
157883
157905
  }
157884
157906
  function _getTossShareLink2() {
@@ -157898,7 +157920,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157898
157920
  });
157899
157921
  return _getTossShareLink2.apply(this, arguments);
157900
157922
  }
157901
- function getTossShareLinkV1(_x9) {
157923
+ function getTossShareLinkV1(_x10) {
157902
157924
  return _getTossShareLinkV.apply(this, arguments);
157903
157925
  }
157904
157926
  function _getTossShareLinkV() {
@@ -158003,7 +158025,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
158003
158025
  isProductGranted: isProductGranted
158004
158026
  });
158005
158027
  });
158006
- function onPurchased(_x10) {
158028
+ function onPurchased(_x11) {
158007
158029
  return _onPurchased.apply(this, arguments);
158008
158030
  }
158009
158031
  return onPurchased;
@@ -158052,7 +158074,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
158052
158074
  });
158053
158075
  return _getPendingOrders.apply(this, arguments);
158054
158076
  }
158055
- function getCompletedOrRefundedOrders(_x11) {
158077
+ function getCompletedOrRefundedOrders(_x12) {
158056
158078
  return _getCompletedOrRefundedOrders.apply(this, arguments);
158057
158079
  }
158058
158080
  function _getCompletedOrRefundedOrders() {
@@ -158070,7 +158092,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
158070
158092
  });
158071
158093
  return _getCompletedOrRefundedOrders.apply(this, arguments);
158072
158094
  }
158073
- function completeProductGrant(_x12) {
158095
+ function completeProductGrant(_x13) {
158074
158096
  return _completeProductGrant.apply(this, arguments);
158075
158097
  }
158076
158098
  function _completeProductGrant() {
@@ -158093,7 +158115,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
158093
158115
  getCompletedOrRefundedOrders: getCompletedOrRefundedOrders,
158094
158116
  completeProductGrant: completeProductGrant
158095
158117
  };
158096
- function _saveBase64Data(_x13) {
158118
+ function _saveBase64Data(_x14) {
158097
158119
  return _saveBase64Data2.apply(this, arguments);
158098
158120
  }
158099
158121
  function _saveBase64Data2() {
@@ -158110,7 +158132,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
158110
158132
  });
158111
158133
  return _saveBase64Data2.apply(this, arguments);
158112
158134
  }
158113
- function _setDeviceOrientation(_x14) {
158135
+ function _setDeviceOrientation(_x15) {
158114
158136
  return _setDeviceOrientation2.apply(this, arguments);
158115
158137
  }
158116
158138
  function _setDeviceOrientation2() {
@@ -158201,7 +158223,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
158201
158223
  });
158202
158224
  return _getGameCenterGameProfile2.apply(this, arguments);
158203
158225
  }
158204
- function _submitGameCenterLeaderBoardScore(_x15) {
158226
+ function _submitGameCenterLeaderBoardScore(_x16) {
158205
158227
  return _submitGameCenterLeaderBoardScore2.apply(this, arguments);
158206
158228
  }
158207
158229
  function _submitGameCenterLeaderBoardScore2() {
@@ -158241,7 +158263,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
158241
158263
  function isGrantPromotionRewardForGameError(error) {
158242
158264
  return typeof error === "object" && error !== null && "code" in error && typeof error.code === "string" && "message" in error && typeof error.message === "string";
158243
158265
  }
158244
- function _grantPromotionRewardForGame(_x16) {
158266
+ function _grantPromotionRewardForGame(_x17) {
158245
158267
  return _grantPromotionRewardForGame2.apply(this, arguments);
158246
158268
  }
158247
158269
  function _grantPromotionRewardForGame2() {
@@ -158323,7 +158345,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
158323
158345
  ios: "5.236.0"
158324
158346
  }
158325
158347
  };
158326
- function _appsInTossSignTossCert(_x17) {
158348
+ function _appsInTossSignTossCert(_x18) {
158327
158349
  return _appsInTossSignTossCert2.apply(this, arguments);
158328
158350
  }
158329
158351
  function _appsInTossSignTossCert2() {
@@ -158345,7 +158367,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
158345
158367
  };
158346
158368
  var _GoogleAdMob = {
158347
158369
  loadAppsInTossAdMob: loadAppsInTossAdMob,
158348
- showAppsInTossAdMob: showAppsInTossAdMob
158370
+ showAppsInTossAdMob: showAppsInTossAdMob,
158371
+ isAppsInTossAdMobLoaded: isAppsInTossAdMobLoaded
158349
158372
  };
158350
158373
  function _startUpdateLocation(eventParams) {
158351
158374
  return _appsInTossEvent.addEventListener("updateLocationEvent", eventParams);
@@ -158385,7 +158408,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
158385
158408
  function _generateHapticFeedback(options) {
158386
158409
  return _BedrockModule.generateHapticFeedback(options);
158387
158410
  }
158388
- function _share(_x18) {
158411
+ function _share(_x19) {
158389
158412
  return _share2.apply(this, arguments);
158390
158413
  }
158391
158414
  function _share2() {
@@ -158397,7 +158420,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
158397
158420
  function _setSecureScreen(options) {
158398
158421
  return _BedrockModule.setSecureScreen(options);
158399
158422
  }
158400
- function _setScreenAwakeMode(_x19) {
158423
+ function _setScreenAwakeMode(_x20) {
158401
158424
  return _setScreenAwakeMode2.apply(this, arguments);
158402
158425
  }
158403
158426
  function _setScreenAwakeMode2() {
@@ -158409,7 +158432,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
158409
158432
  function _getNetworkStatus() {
158410
158433
  return _BedrockModule.getNetworkStatus();
158411
158434
  }
158412
- function _setIosSwipeGestureEnabled(_x20) {
158435
+ function _setIosSwipeGestureEnabled(_x21) {
158413
158436
  return _setIosSwipeGestureEnabled2.apply(this, arguments);
158414
158437
  }
158415
158438
  function _setIosSwipeGestureEnabled2() {
@@ -234120,20 +234143,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
234120
234143
  };
234121
234144
  var GoogleAdMob = exports.GoogleAdMob = {
234122
234145
  loadAppsInTossAdMob: _googleAdMobV.loadAppsInTossAdMob,
234123
- showAppsInTossAdMob: _googleAdMobV.showAppsInTossAdMob
234146
+ showAppsInTossAdMob: _googleAdMobV.showAppsInTossAdMob,
234147
+ isAppsInTossAdMobLoaded: _googleAdMobV.isAppsInTossAdMobLoaded
234124
234148
  };
234125
234149
  },2622,[2623,2596,2580,2590,2591,2587,2586,2585,2588,2583,2589,2612,2610,2611,2594,2625,2592,2597,2595,2626,2601,2599,2602,2603,2605,2604,2627,2598],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/index.ts");
234126
234150
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
234151
+ var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
234127
234152
  Object.defineProperty(exports, "__esModule", {
234128
234153
  value: true
234129
234154
  });
234155
+ exports.isAppsInTossAdMobLoaded = isAppsInTossAdMobLoaded;
234130
234156
  exports.loadAppsInTossAdMob = loadAppsInTossAdMob;
234131
234157
  exports.showAppsInTossAdMob = showAppsInTossAdMob;
234132
- var _esToolkit = _$$_REQUIRE(_dependencyMap[0], "es-toolkit");
234133
- var _getReferrer = _$$_REQUIRE(_dependencyMap[1], "../../../utils/getReferrer");
234134
- var _appBridge = _$$_REQUIRE(_dependencyMap[2], "../../native-event-emitter/internal/appBridge");
234135
- var _getOperationalEnvironment = _$$_REQUIRE(_dependencyMap[3], "../getOperationalEnvironment");
234136
- var _isMinVersionSupported = _$$_REQUIRE(_dependencyMap[4], "../isMinVersionSupported");
234158
+ var _asyncToGenerator2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/asyncToGenerator"));
234159
+ var _esToolkit = _$$_REQUIRE(_dependencyMap[2], "es-toolkit");
234160
+ var _getReferrer = _$$_REQUIRE(_dependencyMap[3], "../../../utils/getReferrer");
234161
+ var _appBridge = _$$_REQUIRE(_dependencyMap[4], "../../native-event-emitter/internal/appBridge");
234162
+ var _getOperationalEnvironment = _$$_REQUIRE(_dependencyMap[5], "../getOperationalEnvironment");
234163
+ var _isMinVersionSupported = _$$_REQUIRE(_dependencyMap[6], "../isMinVersionSupported");
234137
234164
  function loadAppsInTossAdMob(params) {
234138
234165
  if (!loadAppsInTossAdMob.isSupported()) {
234139
234166
  params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE));
@@ -234225,7 +234252,34 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
234225
234252
  }
234226
234253
  loadAppsInTossAdMob.isSupported = createIsSupported();
234227
234254
  showAppsInTossAdMob.isSupported = createIsSupported();
234228
- },2623,[1261,2624,2619,2610,2592],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMobV2.ts");
234255
+ function isAppsInTossAdMobLoaded(_x) {
234256
+ return _isAppsInTossAdMobLoaded.apply(this, arguments);
234257
+ }
234258
+ function _isAppsInTossAdMobLoaded() {
234259
+ _isAppsInTossAdMobLoaded = (0, _asyncToGenerator2.default)(function* (params) {
234260
+ if (!isAppsInTossAdMobLoadedSupported()) {
234261
+ return false;
234262
+ }
234263
+ return new Promise(function (resolve, reject) {
234264
+ var unregister = _appBridge.INTERNAL__appBridgeHandler.invokeAppBridgeMethod('getCachedStatusAppsInTossAdmob', Object.assign({}, params), {
234265
+ onSuccess: function onSuccess(cached) {
234266
+ resolve(cached);
234267
+ unregister();
234268
+ },
234269
+ onError: reject
234270
+ });
234271
+ });
234272
+ });
234273
+ return _isAppsInTossAdMobLoaded.apply(this, arguments);
234274
+ }
234275
+ function isAppsInTossAdMobLoadedSupported() {
234276
+ return ENVIRONMENT !== 'toss' ? false : (0, _isMinVersionSupported.isMinVersionSupported)({
234277
+ android: '5.244.0',
234278
+ ios: '5.244.0'
234279
+ });
234280
+ }
234281
+ isAppsInTossAdMobLoaded.isSupported = isAppsInTossAdMobLoadedSupported;
234282
+ },2623,[1,16,1261,2624,2619,2610,2592],"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMobV2.ts");
234229
234283
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
234230
234284
  Object.defineProperty(exports, "__esModule", {
234231
234285
  value: true