@apps-in-toss/web-framework 0.0.0-dev.1742869301025 → 0.0.0-dev.1742871497217

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.
@@ -154963,6 +154963,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154963
154963
  function mergeSchemeQueryParamsInto(url) {
154964
154964
  var baseUrl = new URL(url);
154965
154965
  var schemeUrl = new URL((0, import_react_native_bedrock4.getSchemeUri)());
154966
+ baseUrl.pathname = schemeUrl.pathname;
154966
154967
  var _iterator2 = _createForOfIteratorHelper(schemeUrl.searchParams.entries()),
154967
154968
  _step2;
154968
154969
  try {
@@ -154980,15 +154981,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154980
154981
  return baseUrl;
154981
154982
  }
154982
154983
  function getWebViewUri(local) {
154983
- var url;
154984
154984
  if (__DEV__) {
154985
154985
  var devUrl = "http://".concat(local.host, ":").concat(local.port);
154986
- url = mergeSchemeQueryParamsInto(devUrl);
154987
- } else {
154988
- var _AppsInTossModule$get = AppsInTossModule.getWebBundleURL({}),
154989
- rawUrl = _AppsInTossModule$get.url;
154990
- url = mergeSchemeQueryParamsInto(rawUrl);
154986
+ return mergeSchemeQueryParamsInto(devUrl).toString();
154991
154987
  }
154988
+ var _AppsInTossModule$get = AppsInTossModule.getWebBundleURL({}),
154989
+ rawUrl = _AppsInTossModule$get.url;
154990
+ var url = mergeSchemeQueryParamsInto(rawUrl);
154992
154991
  var deploymentId = _env.getDeploymentId();
154993
154992
  if (deploymentId) {
154994
154993
  url.searchParams.set("_deploymentId", deploymentId);
@@ -154790,6 +154790,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154790
154790
  function mergeSchemeQueryParamsInto(url) {
154791
154791
  var baseUrl = new URL(url);
154792
154792
  var schemeUrl = new URL((0, import_react_native_bedrock4.getSchemeUri)());
154793
+ baseUrl.pathname = schemeUrl.pathname;
154793
154794
  var _iterator2 = _createForOfIteratorHelper(schemeUrl.searchParams.entries()),
154794
154795
  _step2;
154795
154796
  try {
@@ -154807,15 +154808,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154807
154808
  return baseUrl;
154808
154809
  }
154809
154810
  function getWebViewUri(local) {
154810
- var url;
154811
154811
  if (__DEV__) {
154812
154812
  var devUrl = "http://".concat(local.host, ":").concat(local.port);
154813
- url = mergeSchemeQueryParamsInto(devUrl);
154814
- } else {
154815
- var _AppsInTossModule$get = AppsInTossModule.getWebBundleURL({}),
154816
- rawUrl = _AppsInTossModule$get.url;
154817
- url = mergeSchemeQueryParamsInto(rawUrl);
154813
+ return mergeSchemeQueryParamsInto(devUrl).toString();
154818
154814
  }
154815
+ var _AppsInTossModule$get = AppsInTossModule.getWebBundleURL({}),
154816
+ rawUrl = _AppsInTossModule$get.url;
154817
+ var url = mergeSchemeQueryParamsInto(rawUrl);
154819
154818
  var deploymentId = _env.getDeploymentId();
154820
154819
  if (deploymentId) {
154821
154820
  url.searchParams.set("_deploymentId", deploymentId);