@apps-in-toss/framework 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.
package/dist/index.d.cts CHANGED
@@ -165,75 +165,11 @@ declare function useTopNavigation(): {
165
165
  };
166
166
 
167
167
  declare const env: {
168
- getDeploymentId: () => string;
168
+ getDeploymentId: () => string | undefined;
169
169
  };
170
170
 
171
171
  declare const INTERNAL__onVisibilityChangedByTransparentServiceWeb: typeof onVisibilityChangedByTransparentServiceWeb;
172
172
 
173
- interface LoadFullScreenAdOptions {
174
- adGroupId: string;
175
- }
176
- interface LoadFullScreenAdEvent {
177
- type: 'loaded';
178
- }
179
- interface LoadFullScreenAdParams {
180
- options: LoadFullScreenAdOptions;
181
- onEvent: (data: LoadFullScreenAdEvent) => void;
182
- onError: (err: unknown) => void;
183
- }
184
- declare function loadFullScreenAd(params: LoadFullScreenAdParams): () => void;
185
- declare namespace loadFullScreenAd {
186
- var isSupported: () => boolean;
187
- }
188
- interface ShowFullScreenAdOptions {
189
- adGroupId: string;
190
- }
191
- type AdMobFullScreenEvent = AdClicked | AdDismissed | AdFailedToShow | AdImpression | AdShow;
192
- type AdClicked = {
193
- type: 'clicked';
194
- };
195
- type AdDismissed = {
196
- type: 'dismissed';
197
- };
198
- type AdFailedToShow = {
199
- type: 'failedToShow';
200
- };
201
- type AdImpression = {
202
- type: 'impression';
203
- };
204
- type AdShow = {
205
- type: 'show';
206
- };
207
- type AdUserEarnedReward = {
208
- type: 'userEarnedReward';
209
- data: {
210
- unitType: string;
211
- unitAmount: number;
212
- };
213
- };
214
- type ShowFullScreenAdEvent = AdMobFullScreenEvent | AdUserEarnedReward | {
215
- type: 'requested';
216
- };
217
- interface ShowFullScreenAdParams {
218
- options: ShowFullScreenAdOptions;
219
- onEvent: (data: ShowFullScreenAdEvent) => void;
220
- onError: (err: unknown) => void;
221
- }
222
- declare function showFullScreenAd(params: ShowFullScreenAdParams): () => void;
223
- declare namespace showFullScreenAd {
224
- var isSupported: () => boolean;
225
- }
226
-
227
- interface FetchTossAdOptions {
228
- adGroupId: string;
229
- }
230
-
231
- interface TossAdEventLogParams {
232
- log_name: string;
233
- log_type: string;
234
- params: Record<string, unknown>;
235
- }
236
-
237
173
  declare const Analytics: {
238
174
  init: (options: _apps_in_toss_analytics.AnalyticsConfig) => void;
239
175
  Impression: ({ enabled, impression: impressionType, ...props }: _apps_in_toss_analytics.LoggingImpressionProps) => react_jsx_runtime.JSX.Element;
@@ -241,4 +177,4 @@ declare const Analytics: {
241
177
  Area: ({ children, params: _params, ...props }: _apps_in_toss_analytics.LoggingAreaProps) => react_jsx_runtime.JSX.Element;
242
178
  };
243
179
 
244
- export { Analytics, AppsInToss, type ExternalWebViewProps, type FetchTossAdOptions, type GameWebViewProps, INTERNAL__onVisibilityChangedByTransparentServiceWeb, type LoadFullScreenAdEvent, type LoadFullScreenAdOptions, type LoadFullScreenAdParams, type PartnerWebViewProps, type ShowFullScreenAdEvent, type ShowFullScreenAdOptions, type ShowFullScreenAdParams, type TossAdEventLogParams, type UseGeolocationOptions, WebView, type WebViewProps, env, loadFullScreenAd, showFullScreenAd, useCreateUserAgent, useGeolocation, useTopNavigation, useWaitForReturnNavigator };
180
+ export { Analytics, AppsInToss, type ExternalWebViewProps, type GameWebViewProps, INTERNAL__onVisibilityChangedByTransparentServiceWeb, type PartnerWebViewProps, type UseGeolocationOptions, WebView, type WebViewProps, env, useCreateUserAgent, useGeolocation, useTopNavigation, useWaitForReturnNavigator };
package/dist/index.d.ts CHANGED
@@ -165,75 +165,11 @@ declare function useTopNavigation(): {
165
165
  };
166
166
 
167
167
  declare const env: {
168
- getDeploymentId: () => string;
168
+ getDeploymentId: () => string | undefined;
169
169
  };
170
170
 
171
171
  declare const INTERNAL__onVisibilityChangedByTransparentServiceWeb: typeof onVisibilityChangedByTransparentServiceWeb;
172
172
 
173
- interface LoadFullScreenAdOptions {
174
- adGroupId: string;
175
- }
176
- interface LoadFullScreenAdEvent {
177
- type: 'loaded';
178
- }
179
- interface LoadFullScreenAdParams {
180
- options: LoadFullScreenAdOptions;
181
- onEvent: (data: LoadFullScreenAdEvent) => void;
182
- onError: (err: unknown) => void;
183
- }
184
- declare function loadFullScreenAd(params: LoadFullScreenAdParams): () => void;
185
- declare namespace loadFullScreenAd {
186
- var isSupported: () => boolean;
187
- }
188
- interface ShowFullScreenAdOptions {
189
- adGroupId: string;
190
- }
191
- type AdMobFullScreenEvent = AdClicked | AdDismissed | AdFailedToShow | AdImpression | AdShow;
192
- type AdClicked = {
193
- type: 'clicked';
194
- };
195
- type AdDismissed = {
196
- type: 'dismissed';
197
- };
198
- type AdFailedToShow = {
199
- type: 'failedToShow';
200
- };
201
- type AdImpression = {
202
- type: 'impression';
203
- };
204
- type AdShow = {
205
- type: 'show';
206
- };
207
- type AdUserEarnedReward = {
208
- type: 'userEarnedReward';
209
- data: {
210
- unitType: string;
211
- unitAmount: number;
212
- };
213
- };
214
- type ShowFullScreenAdEvent = AdMobFullScreenEvent | AdUserEarnedReward | {
215
- type: 'requested';
216
- };
217
- interface ShowFullScreenAdParams {
218
- options: ShowFullScreenAdOptions;
219
- onEvent: (data: ShowFullScreenAdEvent) => void;
220
- onError: (err: unknown) => void;
221
- }
222
- declare function showFullScreenAd(params: ShowFullScreenAdParams): () => void;
223
- declare namespace showFullScreenAd {
224
- var isSupported: () => boolean;
225
- }
226
-
227
- interface FetchTossAdOptions {
228
- adGroupId: string;
229
- }
230
-
231
- interface TossAdEventLogParams {
232
- log_name: string;
233
- log_type: string;
234
- params: Record<string, unknown>;
235
- }
236
-
237
173
  declare const Analytics: {
238
174
  init: (options: _apps_in_toss_analytics.AnalyticsConfig) => void;
239
175
  Impression: ({ enabled, impression: impressionType, ...props }: _apps_in_toss_analytics.LoggingImpressionProps) => react_jsx_runtime.JSX.Element;
@@ -241,4 +177,4 @@ declare const Analytics: {
241
177
  Area: ({ children, params: _params, ...props }: _apps_in_toss_analytics.LoggingAreaProps) => react_jsx_runtime.JSX.Element;
242
178
  };
243
179
 
244
- export { Analytics, AppsInToss, type ExternalWebViewProps, type FetchTossAdOptions, type GameWebViewProps, INTERNAL__onVisibilityChangedByTransparentServiceWeb, type LoadFullScreenAdEvent, type LoadFullScreenAdOptions, type LoadFullScreenAdParams, type PartnerWebViewProps, type ShowFullScreenAdEvent, type ShowFullScreenAdOptions, type ShowFullScreenAdParams, type TossAdEventLogParams, type UseGeolocationOptions, WebView, type WebViewProps, env, loadFullScreenAd, showFullScreenAd, useCreateUserAgent, useGeolocation, useTopNavigation, useWaitForReturnNavigator };
180
+ export { Analytics, AppsInToss, type ExternalWebViewProps, type GameWebViewProps, INTERNAL__onVisibilityChangedByTransparentServiceWeb, type PartnerWebViewProps, type UseGeolocationOptions, WebView, type WebViewProps, env, useCreateUserAgent, useGeolocation, useTopNavigation, useWaitForReturnNavigator };