@apps-in-toss/web-framework 1.6.1 → 1.6.2

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,3 +1,11 @@
1
1
  # @apps-in-toss/web-framework
2
2
 
3
+ ## 1.6.2
4
+
5
+ ### Patch Changes
6
+
7
+ [[AIT-3577] bridgeColorMode 삭제](https://github.toss.bz/toss/apps-in-toss-sdk/pull/6)
8
+
9
+ bridgeColorMode 옵션을 삭제합니다.
10
+
3
11
  ## 1.6.1
package/dist/cli/index.js CHANGED
@@ -65263,7 +65263,7 @@ function getPackageManager({ isExecutor = false } = {}) {
65263
65263
  var validateAppInTossWebPluginOptions = (() => {
65264
65264
  const _io0 = (input) => "object" === typeof input.commands && null !== input.commands && _io1(input.commands) && ("object" === typeof input.brand && null !== input.brand && _io2(input.brand)) && (void 0 === input.webViewProps || "object" === typeof input.webViewProps && null !== input.webViewProps && false === Array.isArray(input.webViewProps) && _io3(input.webViewProps)) && (Array.isArray(input.permissions) && input.permissions.every((elem) => "object" === typeof elem && null !== elem && _iu0(elem)));
65265
65265
  const _io1 = (input) => "string" === typeof input.build;
65266
- const _io2 = (input) => "string" === typeof input.displayName && "string" === typeof input.primaryColor && "string" === typeof input.icon && ("basic" === input.bridgeColorMode || "inverted" === input.bridgeColorMode);
65266
+ const _io2 = (input) => "string" === typeof input.displayName && "string" === typeof input.primaryColor && "string" === typeof input.icon;
65267
65267
  const _io3 = (input) => (void 0 === input.type || "partner" === input.type || "external" === input.type || "game" === input.type) && (void 0 === input.allowsInlineMediaPlayback || "boolean" === typeof input.allowsInlineMediaPlayback) && (void 0 === input.bounces || "boolean" === typeof input.bounces) && (void 0 === input.pullToRefreshEnabled || "boolean" === typeof input.pullToRefreshEnabled) && (void 0 === input.overScrollMode || "always" === input.overScrollMode || "content" === input.overScrollMode || "never" === input.overScrollMode) && (void 0 === input.mediaPlaybackRequiresUserAction || "boolean" === typeof input.mediaPlaybackRequiresUserAction) && (void 0 === input.allowsBackForwardNavigationGestures || "boolean" === typeof input.allowsBackForwardNavigationGestures);
65268
65268
  const _io4 = (input) => "clipboard" === input.name && ("read" === input.access || "write" === input.access);
65269
65269
  const _io5 = (input) => "geolocation" === input.name && "access" === input.access;
@@ -65342,10 +65342,6 @@ var validateAppInTossWebPluginOptions = (() => {
65342
65342
  path: _path + ".icon",
65343
65343
  expected: "string",
65344
65344
  value: input.icon
65345
- }), "basic" === input.bridgeColorMode || "inverted" === input.bridgeColorMode || _report(_exceptionable, {
65346
- path: _path + ".bridgeColorMode",
65347
- expected: '("basic" | "inverted")',
65348
- value: input.bridgeColorMode
65349
65345
  })].every((flag) => flag);
65350
65346
  const _vo3 = (input, _path, _exceptionable = true) => [void 0 === input.type || "partner" === input.type || "external" === input.type || "game" === input.type || _report(_exceptionable, {
65351
65347
  path: _path + ".type",
@@ -65629,7 +65625,6 @@ async function babelBuild({ platform: platform2, buildNumber, deploymentId, conf
65629
65625
  brandDisplayName: config.brand.displayName,
65630
65626
  brandIcon: config.brand.icon,
65631
65627
  brandPrimaryColor: config.brand.primaryColor,
65632
- brandBridgeColorMode: config.brand.bridgeColorMode,
65633
65628
  webViewType: config.webViewProps.type,
65634
65629
  navigationBar: JSON.stringify(config.navigationBar),
65635
65630
  ...config.webViewProps
@@ -68119,7 +68114,6 @@ async function buildDevBundle(platform2, { appName, web, brand, webViewProps, na
68119
68114
  brandDisplayName: brand.displayName,
68120
68115
  brandIcon: brand.icon,
68121
68116
  brandPrimaryColor: brand.primaryColor,
68122
- brandBridgeColorMode: brand.bridgeColorMode,
68123
68117
  webViewType: webViewProps.type,
68124
68118
  navigationBar: JSON.stringify(navigationBar),
68125
68119
  ...webViewProps
@@ -1202,7 +1202,6 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
1202
1202
  };
1203
1203
  global.__appsInToss = {
1204
1204
  deploymentId: Ait.deploymentId,
1205
- brandBridgeColorMode: Ait.brandBridgeColorMode,
1206
1205
  brandDisplayName: Ait.brandDisplayName,
1207
1206
  brandPrimaryColor: Ait.brandPrimaryColor,
1208
1207
  brandIcon: Ait.brandIcon,
@@ -1202,7 +1202,6 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
1202
1202
  };
1203
1203
  global.__appsInToss = {
1204
1204
  deploymentId: Ait.deploymentId,
1205
- brandBridgeColorMode: Ait.brandBridgeColorMode,
1206
1205
  brandDisplayName: Ait.brandDisplayName,
1207
1206
  brandPrimaryColor: Ait.brandPrimaryColor,
1208
1207
  brandIcon: Ait.brandIcon,
@@ -9,7 +9,6 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
9
9
  global.__granite.app = { name: Ait.appName, scheme: 'intoss', host: '' };
10
10
  global.__appsInToss = {
11
11
  deploymentId: Ait.deploymentId,
12
- brandBridgeColorMode: Ait.brandBridgeColorMode,
13
12
  brandDisplayName: Ait.brandDisplayName,
14
13
  brandPrimaryColor: Ait.brandPrimaryColor,
15
14
  brandIcon: Ait.brandIcon,
@@ -119,7 +118,6 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
119
118
  global.__granite.app = { name: Ait.appName, scheme: 'intoss', host: '' };
120
119
  global.__appsInToss = {
121
120
  deploymentId: Ait.deploymentId,
122
- brandBridgeColorMode: Ait.brandBridgeColorMode,
123
121
  brandDisplayName: Ait.brandDisplayName,
124
122
  brandPrimaryColor: Ait.brandPrimaryColor,
125
123
  brandIcon: Ait.brandIcon,
@@ -9,7 +9,6 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
9
9
  global.__granite.app = { name: Ait.appName, scheme: 'intoss', host: '' };
10
10
  global.__appsInToss = {
11
11
  deploymentId: Ait.deploymentId,
12
- brandBridgeColorMode: Ait.brandBridgeColorMode,
13
12
  brandDisplayName: Ait.brandDisplayName,
14
13
  brandPrimaryColor: Ait.brandPrimaryColor,
15
14
  brandIcon: Ait.brandIcon,
@@ -119,7 +118,6 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
119
118
  global.__granite.app = { name: Ait.appName, scheme: 'intoss', host: '' };
120
119
  global.__appsInToss = {
121
120
  deploymentId: Ait.deploymentId,
122
- brandBridgeColorMode: Ait.brandBridgeColorMode,
123
121
  brandDisplayName: Ait.brandDisplayName,
124
122
  brandPrimaryColor: Ait.brandPrimaryColor,
125
123
  brandIcon: Ait.brandIcon,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@apps-in-toss/web-framework",
3
3
  "type": "module",
4
- "version": "1.6.1",
4
+ "version": "1.6.2",
5
5
  "description": "Web Framework for Apps In Toss",
6
6
  "scripts": {
7
7
  "typecheck": "tsc --noEmit",
@@ -86,12 +86,12 @@
86
86
  "zod": "3.24.4"
87
87
  },
88
88
  "dependencies": {
89
- "@apps-in-toss/bridge-core": "1.6.1",
90
- "@apps-in-toss/cli": "1.6.1",
91
- "@apps-in-toss/framework": "1.6.1",
92
- "@apps-in-toss/plugins": "1.6.1",
93
- "@apps-in-toss/web-analytics": "1.6.1",
94
- "@apps-in-toss/web-bridge": "1.6.1",
89
+ "@apps-in-toss/bridge-core": "1.6.2",
90
+ "@apps-in-toss/cli": "1.6.2",
91
+ "@apps-in-toss/framework": "1.6.2",
92
+ "@apps-in-toss/plugins": "1.6.2",
93
+ "@apps-in-toss/web-analytics": "1.6.2",
94
+ "@apps-in-toss/web-bridge": "1.6.2",
95
95
  "@babel/core": "7.23.9",
96
96
  "@granite-js/cli": "0.1.31",
97
97
  "@granite-js/mpack": "0.1.31",