@apps-in-toss/native-modules 0.0.0-dev.1764816865438 → 0.0.0-dev.1765732023607

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.
@@ -73,7 +73,7 @@
73
73
  },
74
74
  {
75
75
  "identifier": "eventLog",
76
- "dts": "export type Primitive = string | number | boolean | null | undefined | symbol;\nexport interface EventLogParams {\n\tlog_name: string;\n\tlog_type: \"debug\" | \"info\" | \"warn\" | \"error\" | \"screen\" | \"impression\" | \"click\";\n\tparams: Record<string, Primitive>;\n}\n/**\n * @category 로깅\n * @kind function\n * @name eventLog\n * @description\n * 이벤트 로그를 기록하는 함수예요.\n *\n * 이 함수는 앱 내에서 발생하는 다양한 이벤트를 로깅하는 데 사용돼요. 디버깅, 정보 제공, 경고, 오류 등 다양한 유형의 로그를 기록할 수 있어요. 샌드박스 환경에서는 콘솔에 로그가 출력되고, 실제 환경에서는 로그 시스템에 기록돼요.\n *\n * @param {Object} params 로그 기록에 필요한 매개변수 객체예요.\n * @param {string} params.log_name 로그의 이름이에요.\n * @param {'debug' | 'info' | 'warn' | 'error' | 'screen' | 'impression' | 'click'} params.log_type 로그의 유형이에요.\n * @param {Record<string, Primitive>} params.params 로그에 포함할 추가 매개변수 객체예요.\n *\n * @returns {Promise<void>} 로그 기록이 완료되면 해결되는 Promise예요.\n *\n * @example\n * ### 이벤트 로그 기록하기\n *\n * ```tsx\n * import { eventLog } from '@apps-in-toss/framework';\n *\n * function logUserAction() {\n * eventLog({\n * log_name: 'user_action',\n * log_type: 'info',\n * params: {\n * action: 'button_click',\n * screen: 'main',\n * userId: 12345\n * }\n * });\n * }\n * ```\n */\nexport declare function eventLog(params: EventLogParams): Promise<void>;\n\nexport {};\n"
76
+ "dts": "export type Primitive = string | number | boolean | null | undefined | symbol;\nexport interface EventLogParams {\n\tlog_name: string;\n\tlog_type: \"debug\" | \"info\" | \"warn\" | \"error\" | \"event\" | \"screen\" | \"impression\" | \"click\";\n\tparams: Record<string, Primitive>;\n}\n/**\n * @category 로깅\n * @kind function\n * @name eventLog\n * @description\n * 이벤트 로그를 기록하는 함수예요.\n *\n * 이 함수는 앱 내에서 발생하는 다양한 이벤트를 로깅하는 데 사용돼요. 디버깅, 정보 제공, 경고, 오류 등 다양한 유형의 로그를 기록할 수 있어요. 샌드박스 환경에서는 콘솔에 로그가 출력되고, 실제 환경에서는 로그 시스템에 기록돼요.\n *\n * @param {Object} params 로그 기록에 필요한 매개변수 객체예요.\n * @param {string} params.log_name 로그의 이름이에요.\n * @param {'debug' | 'info' | 'warn' | 'error' | 'event' | 'screen' | 'impression' | 'click'} params.log_type 로그의 유형이에요.\n * @param {Record<string, Primitive>} params.params 로그에 포함할 추가 매개변수 객체예요.\n *\n * @returns {Promise<void>} 로그 기록이 완료되면 해결되는 Promise예요.\n *\n * @example\n * ### 이벤트 로그 기록하기\n *\n * ```tsx\n * import { eventLog } from '@apps-in-toss/framework';\n *\n * function logUserAction() {\n * eventLog({\n * log_name: 'user_action',\n * log_type: 'info',\n * params: {\n * action: 'button_click',\n * screen: 'main',\n * userId: 12345\n * }\n * });\n * }\n * ```\n */\nexport declare function eventLog(params: EventLogParams): Promise<void>;\n\nexport {};\n"
77
77
  },
78
78
  {
79
79
  "identifier": "getTossShareLink",
package/dist/index.cjs CHANGED
@@ -75,26 +75,15 @@ __export(index_exports, {
75
75
  module.exports = __toCommonJS(index_exports);
76
76
 
77
77
  // src/AppsInTossModule/native-event-emitter/appsInTossEvent.ts
78
- var import_react_native7 = require("@granite-js/react-native");
79
-
80
- // src/AppsInTossModule/native-event-emitter/event-plugins/EntryMessageExitedEvent.ts
81
- var import_react_native = require("@granite-js/react-native");
82
- var EntryMessageExitedEvent = class extends import_react_native.GraniteEventDefinition {
83
- name = "entryMessageExited";
84
- remove() {
85
- }
86
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
87
- listener(_) {
88
- }
89
- };
78
+ var import_react_native6 = require("@granite-js/react-native");
90
79
 
91
80
  // src/AppsInTossModule/native-event-emitter/event-plugins/UpdateLocationEvent.ts
92
81
  var import_types = require("@apps-in-toss/types");
93
- var import_react_native4 = require("@granite-js/react-native");
82
+ var import_react_native3 = require("@granite-js/react-native");
94
83
 
95
84
  // src/AppsInTossModule/native-modules/AppsInTossModule.ts
96
- var import_react_native2 = require("react-native");
97
- var Module = import_react_native2.TurboModuleRegistry.getEnforcing("AppsInTossModule");
85
+ var import_react_native = require("react-native");
86
+ var Module = import_react_native.TurboModuleRegistry.getEnforcing("AppsInTossModule");
98
87
  var AppsInTossModuleInstance = Module;
99
88
  var AppsInTossModule = Module;
100
89
 
@@ -121,11 +110,11 @@ async function requestPermission(permission) {
121
110
  }
122
111
 
123
112
  // src/AppsInTossModule/native-event-emitter/nativeEventEmitter.ts
124
- var import_react_native3 = require("react-native");
125
- var nativeEventEmitter = new import_react_native3.NativeEventEmitter(AppsInTossModuleInstance);
113
+ var import_react_native2 = require("react-native");
114
+ var nativeEventEmitter = new import_react_native2.NativeEventEmitter(AppsInTossModuleInstance);
126
115
 
127
116
  // src/AppsInTossModule/native-event-emitter/event-plugins/UpdateLocationEvent.ts
128
- var UpdateLocationEvent = class extends import_react_native4.GraniteEventDefinition {
117
+ var UpdateLocationEvent = class extends import_react_native3.GraniteEventDefinition {
129
118
  name = "updateLocationEvent";
130
119
  subscriptionCount = 0;
131
120
  ref = {
@@ -155,7 +144,7 @@ var UpdateLocationEvent = class extends import_react_native4.GraniteEventDefinit
155
144
  };
156
145
 
157
146
  // src/AppsInTossModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts
158
- var import_react_native5 = require("@granite-js/react-native");
147
+ var import_react_native4 = require("@granite-js/react-native");
159
148
 
160
149
  // src/utils/generateUUID.ts
161
150
  function generateUUID(placeholder) {
@@ -217,7 +206,7 @@ var INTERNAL__appBridgeHandler = {
217
206
 
218
207
  // src/AppsInTossModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts
219
208
  var UNSAFE__nativeEventEmitter = nativeEventEmitter;
220
- var AppBridgeCallbackEvent = class _AppBridgeCallbackEvent extends import_react_native5.GraniteEventDefinition {
209
+ var AppBridgeCallbackEvent = class _AppBridgeCallbackEvent extends import_react_native4.GraniteEventDefinition {
221
210
  static INTERNAL__appBridgeSubscription;
222
211
  name = "appBridgeCallbackEvent";
223
212
  constructor() {
@@ -247,8 +236,8 @@ var AppBridgeCallbackEvent = class _AppBridgeCallbackEvent extends import_react_
247
236
  };
248
237
 
249
238
  // src/AppsInTossModule/native-event-emitter/internal/VisibilityChangedByTransparentServiceWebEvent.ts
250
- var import_react_native6 = require("@granite-js/react-native");
251
- var VisibilityChangedByTransparentServiceWebEvent = class extends import_react_native6.GraniteEventDefinition {
239
+ var import_react_native5 = require("@granite-js/react-native");
240
+ var VisibilityChangedByTransparentServiceWebEvent = class extends import_react_native5.GraniteEventDefinition {
252
241
  name = "onVisibilityChangedByTransparentServiceWeb";
253
242
  subscription = null;
254
243
  remove() {
@@ -273,9 +262,8 @@ var VisibilityChangedByTransparentServiceWebEvent = class extends import_react_n
273
262
  };
274
263
 
275
264
  // src/AppsInTossModule/native-event-emitter/appsInTossEvent.ts
276
- var appsInTossEvent = new import_react_native7.GraniteEvent([
265
+ var appsInTossEvent = new import_react_native6.GraniteEvent([
277
266
  new UpdateLocationEvent(),
278
- new EntryMessageExitedEvent(),
279
267
  // Internal events
280
268
  new AppBridgeCallbackEvent(),
281
269
  new VisibilityChangedByTransparentServiceWebEvent()
@@ -290,7 +278,7 @@ function getOperationalEnvironment() {
290
278
  }
291
279
 
292
280
  // src/AppsInTossModule/native-modules/isMinVersionSupported.ts
293
- var import_react_native8 = require("react-native");
281
+ var import_react_native7 = require("react-native");
294
282
 
295
283
  // src/utils/compareVersion.ts
296
284
  var SEMVER_REGEX = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\\-]+(?:\.[\da-z\\-]+)*))?(?:\+[\da-z\\-]+(?:\.[\da-z\\-]+)*)?)?)?$/i;
@@ -366,7 +354,7 @@ function isMinVersionSupported(minVersions) {
366
354
  return true;
367
355
  }
368
356
  const currentVersion = AppsInTossModule.tossAppVersion;
369
- const isIOS = import_react_native8.Platform.OS === "ios";
357
+ const isIOS = import_react_native7.Platform.OS === "ios";
370
358
  const minVersion = isIOS ? minVersions.ios : minVersions.android;
371
359
  if (minVersion === void 0) {
372
360
  return false;
@@ -486,10 +474,10 @@ showAdMobRewardedAd.isSupported = createIsSupported();
486
474
  var import_es_toolkit2 = require("es-toolkit");
487
475
 
488
476
  // src/utils/getReferrer.ts
489
- var import_react_native9 = require("@granite-js/react-native");
477
+ var import_react_native8 = require("@granite-js/react-native");
490
478
  function getReferrer() {
491
479
  try {
492
- return new URL((0, import_react_native9.getSchemeUri)()).searchParams.get("referrer");
480
+ return new URL((0, import_react_native8.getSchemeUri)()).searchParams.get("referrer");
493
481
  } catch {
494
482
  return null;
495
483
  }
@@ -910,7 +898,7 @@ var Storage = {
910
898
  };
911
899
 
912
900
  // src/AppsInTossModule/native-modules/openGameCenterLeaderboard.ts
913
- var import_react_native10 = require("@granite-js/react-native");
901
+ var import_react_native9 = require("@granite-js/react-native");
914
902
 
915
903
  // src/AppsInTossModule/constants.ts
916
904
  var GAME_CENTER_MIN_VERSION = {
@@ -942,7 +930,7 @@ async function openGameCenterLeaderboard() {
942
930
  const url = new URL("servicetoss://game-center/leaderboard?_navbar=hide");
943
931
  url.searchParams.set("appName", appName);
944
932
  url.searchParams.set("referrer", `appsintoss.${appName}`);
945
- return (0, import_react_native10.openURL)(url.toString());
933
+ return (0, import_react_native9.openURL)(url.toString());
946
934
  }
947
935
 
948
936
  // src/AppsInTossModule/native-modules/getGameCenterGameProfile.ts
@@ -1086,8 +1074,8 @@ function onVisibilityChangedByTransparentServiceWeb(eventParams) {
1086
1074
  }
1087
1075
 
1088
1076
  // src/BedrockModule/native-modules/natives/BedrockModule.ts
1089
- var import_react_native11 = require("react-native");
1090
- var BedrockModule = import_react_native11.NativeModules.BedrockModule;
1077
+ var import_react_native10 = require("react-native");
1078
+ var BedrockModule = import_react_native10.NativeModules.BedrockModule;
1091
1079
 
1092
1080
  // src/BedrockModule/native-modules/natives/closeView.ts
1093
1081
  async function closeView() {
@@ -1095,10 +1083,10 @@ async function closeView() {
1095
1083
  }
1096
1084
 
1097
1085
  // src/BedrockModule/native-modules/natives/getLocale.ts
1098
- var import_react_native12 = require("react-native");
1086
+ var import_react_native11 = require("react-native");
1099
1087
  function getLocale() {
1100
1088
  const locale = BedrockModule?.DeviceInfo?.locale ?? "ko-KR";
1101
- if (import_react_native12.Platform.OS === "android") {
1089
+ if (import_react_native11.Platform.OS === "android") {
1102
1090
  return replaceUnderbarToHypen(locale);
1103
1091
  }
1104
1092
  return locale;
@@ -1146,24 +1134,24 @@ async function setIosSwipeGestureEnabled(options) {
1146
1134
  }
1147
1135
 
1148
1136
  // src/BedrockModule/native-modules/natives/openURL.ts
1149
- var import_react_native13 = require("react-native");
1137
+ var import_react_native12 = require("react-native");
1150
1138
  function openURL2(url) {
1151
- return import_react_native13.Linking.openURL(url);
1139
+ return import_react_native12.Linking.openURL(url);
1152
1140
  }
1153
1141
 
1154
1142
  // src/BedrockModule/native-modules/natives/getPlatformOS.ts
1155
- var import_react_native14 = require("react-native");
1143
+ var import_react_native13 = require("react-native");
1156
1144
  function getPlatformOS() {
1157
- return import_react_native14.Platform.OS;
1145
+ return import_react_native13.Platform.OS;
1158
1146
  }
1159
1147
 
1160
1148
  // src/BedrockModule/native-modules/core/BedrockCoreModule.ts
1161
- var import_react_native15 = require("react-native");
1162
- var BedrockCoreModule = import_react_native15.NativeModules.BedrockCoreModule;
1149
+ var import_react_native14 = require("react-native");
1150
+ var BedrockCoreModule = import_react_native14.NativeModules.BedrockCoreModule;
1163
1151
 
1164
1152
  // src/AppsInTossModule/native-modules/tossCore.ts
1165
- var import_react_native16 = require("react-native");
1166
- var TossCoreModule = import_react_native16.NativeModules.TossCoreModule;
1153
+ var import_react_native15 = require("react-native");
1154
+ var TossCoreModule = import_react_native15.NativeModules.TossCoreModule;
1167
1155
  function tossCoreEventLog(params) {
1168
1156
  const supported = isMinVersionSupported({ ios: "5.210.0", android: "5.210.0" });
1169
1157
  const isSandbox = getOperationalEnvironment() === "sandbox";
package/dist/index.d.cts CHANGED
@@ -231,12 +231,6 @@ interface ContactsViralParams {
231
231
  */
232
232
  declare function contactsViral(params: ContactsViralParams): () => void;
233
233
 
234
- declare class EntryMessageExitedEvent extends GraniteEventDefinition<undefined, undefined> {
235
- name: "entryMessageExited";
236
- remove(): void;
237
- listener(_: undefined): void;
238
- }
239
-
240
234
  interface StartUpdateLocationOptions {
241
235
  /**
242
236
  * 위치 정확도를 설정해요.
@@ -286,7 +280,7 @@ declare class VisibilityChangedByTransparentServiceWebEvent extends GraniteEvent
286
280
  private isVisibilityChangedByTransparentServiceWebResult;
287
281
  }
288
282
 
289
- declare const appsInTossEvent: GraniteEvent<EntryMessageExitedEvent | UpdateLocationEvent | AppBridgeCallbackEvent | VisibilityChangedByTransparentServiceWebEvent>;
283
+ declare const appsInTossEvent: GraniteEvent<UpdateLocationEvent | AppBridgeCallbackEvent | VisibilityChangedByTransparentServiceWebEvent>;
290
284
 
291
285
  declare function onVisibilityChangedByTransparentServiceWeb(eventParams: {
292
286
  options: {
@@ -2159,7 +2153,7 @@ interface Spec extends TurboModule {
2159
2153
  clearStorage: (arg: CompatiblePlaceholderArgument) => Promise<void>;
2160
2154
  eventLog: (params: {
2161
2155
  log_name: string;
2162
- log_type: 'debug' | 'info' | 'warn' | 'error' | 'screen' | 'impression' | 'click';
2156
+ log_type: 'debug' | 'info' | 'warn' | 'error' | 'event' | 'screen' | 'impression' | 'click';
2163
2157
  params: Record<string, string>;
2164
2158
  }) => Promise<void>;
2165
2159
  getTossShareLink: (params: object) => Promise<{
@@ -2257,7 +2251,7 @@ type Primitive = string | number | boolean | null | undefined | symbol;
2257
2251
 
2258
2252
  interface EventLogParams {
2259
2253
  log_name: string;
2260
- log_type: 'debug' | 'info' | 'warn' | 'error' | 'screen' | 'impression' | 'click';
2254
+ log_type: 'debug' | 'info' | 'warn' | 'error' | 'event' | 'screen' | 'impression' | 'click';
2261
2255
  params: Record<string, Primitive>;
2262
2256
  }
2263
2257
  /**
@@ -2271,7 +2265,7 @@ interface EventLogParams {
2271
2265
  *
2272
2266
  * @param {Object} params 로그 기록에 필요한 매개변수 객체예요.
2273
2267
  * @param {string} params.log_name 로그의 이름이에요.
2274
- * @param {'debug' | 'info' | 'warn' | 'error' | 'screen' | 'impression' | 'click'} params.log_type 로그의 유형이에요.
2268
+ * @param {'debug' | 'info' | 'warn' | 'error' | 'event' | 'screen' | 'impression' | 'click'} params.log_type 로그의 유형이에요.
2275
2269
  * @param {Record<string, Primitive>} params.params 로그에 포함할 추가 매개변수 객체예요.
2276
2270
  *
2277
2271
  * @returns {Promise<void>} 로그 기록이 완료되면 해결되는 Promise예요.
package/dist/index.d.ts CHANGED
@@ -231,12 +231,6 @@ interface ContactsViralParams {
231
231
  */
232
232
  declare function contactsViral(params: ContactsViralParams): () => void;
233
233
 
234
- declare class EntryMessageExitedEvent extends GraniteEventDefinition<undefined, undefined> {
235
- name: "entryMessageExited";
236
- remove(): void;
237
- listener(_: undefined): void;
238
- }
239
-
240
234
  interface StartUpdateLocationOptions {
241
235
  /**
242
236
  * 위치 정확도를 설정해요.
@@ -286,7 +280,7 @@ declare class VisibilityChangedByTransparentServiceWebEvent extends GraniteEvent
286
280
  private isVisibilityChangedByTransparentServiceWebResult;
287
281
  }
288
282
 
289
- declare const appsInTossEvent: GraniteEvent<EntryMessageExitedEvent | UpdateLocationEvent | AppBridgeCallbackEvent | VisibilityChangedByTransparentServiceWebEvent>;
283
+ declare const appsInTossEvent: GraniteEvent<UpdateLocationEvent | AppBridgeCallbackEvent | VisibilityChangedByTransparentServiceWebEvent>;
290
284
 
291
285
  declare function onVisibilityChangedByTransparentServiceWeb(eventParams: {
292
286
  options: {
@@ -2159,7 +2153,7 @@ interface Spec extends TurboModule {
2159
2153
  clearStorage: (arg: CompatiblePlaceholderArgument) => Promise<void>;
2160
2154
  eventLog: (params: {
2161
2155
  log_name: string;
2162
- log_type: 'debug' | 'info' | 'warn' | 'error' | 'screen' | 'impression' | 'click';
2156
+ log_type: 'debug' | 'info' | 'warn' | 'error' | 'event' | 'screen' | 'impression' | 'click';
2163
2157
  params: Record<string, string>;
2164
2158
  }) => Promise<void>;
2165
2159
  getTossShareLink: (params: object) => Promise<{
@@ -2257,7 +2251,7 @@ type Primitive = string | number | boolean | null | undefined | symbol;
2257
2251
 
2258
2252
  interface EventLogParams {
2259
2253
  log_name: string;
2260
- log_type: 'debug' | 'info' | 'warn' | 'error' | 'screen' | 'impression' | 'click';
2254
+ log_type: 'debug' | 'info' | 'warn' | 'error' | 'event' | 'screen' | 'impression' | 'click';
2261
2255
  params: Record<string, Primitive>;
2262
2256
  }
2263
2257
  /**
@@ -2271,7 +2265,7 @@ interface EventLogParams {
2271
2265
  *
2272
2266
  * @param {Object} params 로그 기록에 필요한 매개변수 객체예요.
2273
2267
  * @param {string} params.log_name 로그의 이름이에요.
2274
- * @param {'debug' | 'info' | 'warn' | 'error' | 'screen' | 'impression' | 'click'} params.log_type 로그의 유형이에요.
2268
+ * @param {'debug' | 'info' | 'warn' | 'error' | 'event' | 'screen' | 'impression' | 'click'} params.log_type 로그의 유형이에요.
2275
2269
  * @param {Record<string, Primitive>} params.params 로그에 포함할 추가 매개변수 객체예요.
2276
2270
  *
2277
2271
  * @returns {Promise<void>} 로그 기록이 완료되면 해결되는 Promise예요.
package/dist/index.js CHANGED
@@ -1,20 +1,9 @@
1
1
  // src/AppsInTossModule/native-event-emitter/appsInTossEvent.ts
2
2
  import { GraniteEvent } from "@granite-js/react-native";
3
3
 
4
- // src/AppsInTossModule/native-event-emitter/event-plugins/EntryMessageExitedEvent.ts
5
- import { GraniteEventDefinition } from "@granite-js/react-native";
6
- var EntryMessageExitedEvent = class extends GraniteEventDefinition {
7
- name = "entryMessageExited";
8
- remove() {
9
- }
10
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
11
- listener(_) {
12
- }
13
- };
14
-
15
4
  // src/AppsInTossModule/native-event-emitter/event-plugins/UpdateLocationEvent.ts
16
5
  import { GetCurrentLocationPermissionError } from "@apps-in-toss/types";
17
- import { GraniteEventDefinition as GraniteEventDefinition2 } from "@granite-js/react-native";
6
+ import { GraniteEventDefinition } from "@granite-js/react-native";
18
7
 
19
8
  // src/AppsInTossModule/native-modules/AppsInTossModule.ts
20
9
  import { TurboModuleRegistry } from "react-native";
@@ -49,7 +38,7 @@ import { NativeEventEmitter } from "react-native";
49
38
  var nativeEventEmitter = new NativeEventEmitter(AppsInTossModuleInstance);
50
39
 
51
40
  // src/AppsInTossModule/native-event-emitter/event-plugins/UpdateLocationEvent.ts
52
- var UpdateLocationEvent = class extends GraniteEventDefinition2 {
41
+ var UpdateLocationEvent = class extends GraniteEventDefinition {
53
42
  name = "updateLocationEvent";
54
43
  subscriptionCount = 0;
55
44
  ref = {
@@ -79,7 +68,7 @@ var UpdateLocationEvent = class extends GraniteEventDefinition2 {
79
68
  };
80
69
 
81
70
  // src/AppsInTossModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts
82
- import { GraniteEventDefinition as GraniteEventDefinition3 } from "@granite-js/react-native";
71
+ import { GraniteEventDefinition as GraniteEventDefinition2 } from "@granite-js/react-native";
83
72
 
84
73
  // src/utils/generateUUID.ts
85
74
  function generateUUID(placeholder) {
@@ -141,7 +130,7 @@ var INTERNAL__appBridgeHandler = {
141
130
 
142
131
  // src/AppsInTossModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts
143
132
  var UNSAFE__nativeEventEmitter = nativeEventEmitter;
144
- var AppBridgeCallbackEvent = class _AppBridgeCallbackEvent extends GraniteEventDefinition3 {
133
+ var AppBridgeCallbackEvent = class _AppBridgeCallbackEvent extends GraniteEventDefinition2 {
145
134
  static INTERNAL__appBridgeSubscription;
146
135
  name = "appBridgeCallbackEvent";
147
136
  constructor() {
@@ -171,8 +160,8 @@ var AppBridgeCallbackEvent = class _AppBridgeCallbackEvent extends GraniteEventD
171
160
  };
172
161
 
173
162
  // src/AppsInTossModule/native-event-emitter/internal/VisibilityChangedByTransparentServiceWebEvent.ts
174
- import { GraniteEventDefinition as GraniteEventDefinition4 } from "@granite-js/react-native";
175
- var VisibilityChangedByTransparentServiceWebEvent = class extends GraniteEventDefinition4 {
163
+ import { GraniteEventDefinition as GraniteEventDefinition3 } from "@granite-js/react-native";
164
+ var VisibilityChangedByTransparentServiceWebEvent = class extends GraniteEventDefinition3 {
176
165
  name = "onVisibilityChangedByTransparentServiceWeb";
177
166
  subscription = null;
178
167
  remove() {
@@ -199,7 +188,6 @@ var VisibilityChangedByTransparentServiceWebEvent = class extends GraniteEventDe
199
188
  // src/AppsInTossModule/native-event-emitter/appsInTossEvent.ts
200
189
  var appsInTossEvent = new GraniteEvent([
201
190
  new UpdateLocationEvent(),
202
- new EntryMessageExitedEvent(),
203
191
  // Internal events
204
192
  new AppBridgeCallbackEvent(),
205
193
  new VisibilityChangedByTransparentServiceWebEvent()
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@apps-in-toss/native-modules",
3
3
  "type": "module",
4
- "version": "0.0.0-dev.1764816865438",
4
+ "version": "0.0.0-dev.1765732023607",
5
5
  "description": "Native Modules for Apps In Toss",
6
6
  "scripts": {
7
7
  "prepack": "yarn build",
@@ -43,7 +43,7 @@
43
43
  "vitest": "^3.2.4"
44
44
  },
45
45
  "dependencies": {
46
- "@apps-in-toss/types": "^0.0.0-dev.1764816865438",
46
+ "@apps-in-toss/types": "^0.0.0-dev.1765732023607",
47
47
  "es-toolkit": "^1.39.3"
48
48
  },
49
49
  "peerDependencies": {
@@ -54,5 +54,5 @@
54
54
  "publishConfig": {
55
55
  "access": "public"
56
56
  },
57
- "gitHead": "d72f564708d831e445bf0ae4e1b9f8cce536dc16"
57
+ "gitHead": "e45c1308eb7d471b4873b1d92b7570e11bc85ae3"
58
58
  }
@@ -1,12 +1,10 @@
1
1
  import { GraniteEvent } from '@granite-js/react-native';
2
- import { EntryMessageExitedEvent } from './event-plugins/EntryMessageExitedEvent';
3
2
  import { UpdateLocationEvent } from './event-plugins/UpdateLocationEvent';
4
3
  import { AppBridgeCallbackEvent } from './internal/AppBridgeCallbackEvent';
5
4
  import { VisibilityChangedByTransparentServiceWebEvent } from './internal/VisibilityChangedByTransparentServiceWebEvent';
6
5
 
7
6
  export const appsInTossEvent = new GraniteEvent([
8
7
  new UpdateLocationEvent(),
9
- new EntryMessageExitedEvent(),
10
8
 
11
9
  // Internal events
12
10
  new AppBridgeCallbackEvent(),
@@ -59,7 +59,7 @@ interface Spec extends __TurboModule {
59
59
  clearStorage: (arg: CompatiblePlaceholderArgument) => Promise<void>;
60
60
  eventLog: (params: {
61
61
  log_name: string;
62
- log_type: 'debug' | 'info' | 'warn' | 'error' | 'screen' | 'impression' | 'click';
62
+ log_type: 'debug' | 'info' | 'warn' | 'error' | 'event' | 'screen' | 'impression' | 'click';
63
63
  params: Record<string, string>;
64
64
  }) => Promise<void>;
65
65
  getTossShareLink: (params: object) => Promise<{ shareLink: string }>;
@@ -12,7 +12,7 @@ function normalizeParams(params: Record<string, Primitive>): Record<string, stri
12
12
 
13
13
  export interface EventLogParams {
14
14
  log_name: string;
15
- log_type: 'debug' | 'info' | 'warn' | 'error' | 'screen' | 'impression' | 'click';
15
+ log_type: 'debug' | 'info' | 'warn' | 'error' | 'event' | 'screen' | 'impression' | 'click';
16
16
  params: Record<string, Primitive>;
17
17
  }
18
18
 
@@ -27,7 +27,7 @@ export interface EventLogParams {
27
27
  *
28
28
  * @param {Object} params 로그 기록에 필요한 매개변수 객체예요.
29
29
  * @param {string} params.log_name 로그의 이름이에요.
30
- * @param {'debug' | 'info' | 'warn' | 'error' | 'screen' | 'impression' | 'click'} params.log_type 로그의 유형이에요.
30
+ * @param {'debug' | 'info' | 'warn' | 'error' | 'event' | 'screen' | 'impression' | 'click'} params.log_type 로그의 유형이에요.
31
31
  * @param {Record<string, Primitive>} params.params 로그에 포함할 추가 매개변수 객체예요.
32
32
  *
33
33
  * @returns {Promise<void>} 로그 기록이 완료되면 해결되는 Promise예요.
@@ -1,10 +0,0 @@
1
- import { GraniteEventDefinition } from '@granite-js/react-native';
2
-
3
- export class EntryMessageExitedEvent extends GraniteEventDefinition<undefined, undefined> {
4
- name = 'entryMessageExited' as const;
5
-
6
- remove() {}
7
-
8
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
9
- listener(_: undefined) {}
10
- }