@apps-in-toss/web-framework 0.0.0-dev.1741934253781 → 0.0.0-dev.1742183674302

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.
@@ -154966,7 +154966,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154966
154966
  if (__DEV__) {
154967
154967
  return "http://".concat(local.host, ":").concat(local.port);
154968
154968
  }
154969
- return "https://".concat(import_react_native_bedrock4.Bedrock.appName, ".alpha-apps.tossmini.com");
154969
+ var url = new URL("https://".concat(import_react_native_bedrock4.Bedrock.appName, ".alpha-apps.tossmini.com"));
154970
+ var deploymentId = _env.getDeploymentId();
154971
+ if (deploymentId) {
154972
+ url.searchParams.set("_deploymentId", deploymentId);
154973
+ }
154974
+ return url.toString();
154970
154975
  }, [local]);
154971
154976
  var handler = (0, import_react_native_bedrock4.useBridgeHandler)({
154972
154977
  onMessage: onMessage,
@@ -154978,10 +154983,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154978
154983
  ref: handler.ref
154979
154984
  }, props), {}, {
154980
154985
  source: {
154981
- uri: uri,
154982
- headers: {
154983
- "x-mini-deployment-id": _env.getDeploymentId()
154984
- }
154986
+ uri: uri
154985
154987
  },
154986
154988
  sharedCookiesEnabled: true,
154987
154989
  thirdPartyCookiesEnabled: true,
@@ -154793,7 +154793,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154793
154793
  if (__DEV__) {
154794
154794
  return "http://".concat(local.host, ":").concat(local.port);
154795
154795
  }
154796
- return "https://".concat(import_react_native_bedrock4.Bedrock.appName, ".alpha-apps.tossmini.com");
154796
+ var url = new URL("https://".concat(import_react_native_bedrock4.Bedrock.appName, ".alpha-apps.tossmini.com"));
154797
+ var deploymentId = _env.getDeploymentId();
154798
+ if (deploymentId) {
154799
+ url.searchParams.set("_deploymentId", deploymentId);
154800
+ }
154801
+ return url.toString();
154797
154802
  }, [local]);
154798
154803
  var handler = (0, import_react_native_bedrock4.useBridgeHandler)({
154799
154804
  onMessage: onMessage,
@@ -154805,10 +154810,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154805
154810
  ref: handler.ref
154806
154811
  }, props), {}, {
154807
154812
  source: {
154808
- uri: uri,
154809
- headers: {
154810
- "x-mini-deployment-id": _env.getDeploymentId()
154811
- }
154813
+ uri: uri
154812
154814
  },
154813
154815
  sharedCookiesEnabled: true,
154814
154816
  thirdPartyCookiesEnabled: true,