@apps-in-toss/web-framework 0.0.32 → 0.0.34

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/cli/index.js CHANGED
@@ -65323,6 +65323,8 @@ async function babelBuild({
65323
65323
  const prebuilt = fileURLToPath3(import.meta.resolve(`@apps-in-toss/web-framework/prebuilt/prod/${platform2}`));
65324
65324
  const bundle = await fs2.promises.readFile(prebuilt, "utf-8");
65325
65325
  const result = await transform(bundle, {
65326
+ babelrc: false,
65327
+ configFile: false,
65326
65328
  sourceMaps: true,
65327
65329
  plugins: [
65328
65330
  [
@@ -65340,6 +65342,7 @@ async function babelBuild({
65340
65342
  brandBridgeColorMode: config.brand.bridgeColorMode,
65341
65343
  webViewType: config.webViewProps.type,
65342
65344
  webViewHeaderWithBackButton: config.webViewProps.header?.withBackButton,
65345
+ webViewInitialAccessoryButtons: JSON.stringify(config.webViewProps.header?.initialAccessoryButtons ?? []),
65343
65346
  ...config.webViewProps
65344
65347
  },
65345
65348
  identifierName: "Ait"
@@ -67801,6 +67804,8 @@ var createApp = ({ appName, web, permissions, webViewProps, brand }) => {
67801
67804
  return c4.body(transformCache.get(key));
67802
67805
  }
67803
67806
  const result = await transform2(bundle, {
67807
+ babelrc: false,
67808
+ configFile: false,
67804
67809
  plugins: [
67805
67810
  [
67806
67811
  babelJsonReplacementPlugin,
@@ -67817,6 +67822,7 @@ var createApp = ({ appName, web, permissions, webViewProps, brand }) => {
67817
67822
  brandBridgeColorMode: brand.bridgeColorMode,
67818
67823
  webViewType: webViewProps.type,
67819
67824
  webViewHeaderWithBackButton: webViewProps.header?.withBackButton,
67825
+ webViewInitialAccessoryButtons: JSON.stringify(webViewProps.header?.initialAccessoryButtons ?? []),
67820
67826
  ...webViewProps
67821
67827
  },
67822
67828
  identifierName: "Ait"