@apps-in-toss/web-bridge 0.0.25 → 0.0.26
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/build/bridge.d.ts +25 -25
- package/build/getCurrentLocation.d.ts +6 -6
- package/build/index.d.ts +6 -6
- package/build/startUpdateLocation.d.ts +7 -9
- package/package.json +6 -6
package/build/bridge.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
export * from './closeView';
|
|
2
|
-
export * from './generateHapticFeedback';
|
|
3
|
-
export * from './share';
|
|
4
|
-
export * from './setSecureScreen';
|
|
5
|
-
export * from './setScreenAwakeMode';
|
|
6
|
-
export * from './getNetworkStatus';
|
|
7
|
-
export * from './setIosSwipeGestureEnabled';
|
|
8
|
-
export * from './openURL';
|
|
9
|
-
export * from './getLocale';
|
|
10
|
-
export * from './getSchemeUri';
|
|
11
|
-
export * from './getPlatformOS';
|
|
12
|
-
export * from './setClipboardText';
|
|
13
|
-
export * from './getClipboardText';
|
|
14
|
-
export * from './fetchContacts';
|
|
15
|
-
export * from './fetchAlbumPhotos';
|
|
16
|
-
export * from './getCurrentLocation';
|
|
17
|
-
export * from './openCamera';
|
|
18
|
-
export * from './appLogin';
|
|
19
|
-
export * from './checkoutPayment';
|
|
20
|
-
export * from './eventLog';
|
|
21
|
-
export * from './getTossShareLink';
|
|
22
|
-
export * from './getOperationalEnvironment';
|
|
23
|
-
export * from './getTossAppVersion';
|
|
24
|
-
export * from './getDeviceId';
|
|
25
|
-
export * from './startUpdateLocation';
|
|
1
|
+
export * from './closeView.js';
|
|
2
|
+
export * from './generateHapticFeedback.js';
|
|
3
|
+
export * from './share.js';
|
|
4
|
+
export * from './setSecureScreen.js';
|
|
5
|
+
export * from './setScreenAwakeMode.js';
|
|
6
|
+
export * from './getNetworkStatus.js';
|
|
7
|
+
export * from './setIosSwipeGestureEnabled.js';
|
|
8
|
+
export * from './openURL.js';
|
|
9
|
+
export * from './getLocale.js';
|
|
10
|
+
export * from './getSchemeUri.js';
|
|
11
|
+
export * from './getPlatformOS.js';
|
|
12
|
+
export * from './setClipboardText.js';
|
|
13
|
+
export * from './getClipboardText.js';
|
|
14
|
+
export * from './fetchContacts.js';
|
|
15
|
+
export * from './fetchAlbumPhotos.js';
|
|
16
|
+
export * from './getCurrentLocation.js';
|
|
17
|
+
export * from './openCamera.js';
|
|
18
|
+
export * from './appLogin.js';
|
|
19
|
+
export * from './checkoutPayment.js';
|
|
20
|
+
export * from './eventLog.js';
|
|
21
|
+
export * from './getTossShareLink.js';
|
|
22
|
+
export * from './getOperationalEnvironment.js';
|
|
23
|
+
export * from './getTossAppVersion.js';
|
|
24
|
+
export * from './getDeviceId.js';
|
|
25
|
+
export * from './startUpdateLocation.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @name Accuracy
|
|
5
5
|
* @description 위치 정확도 옵션이에요.
|
|
6
6
|
*/
|
|
7
|
-
export enum Accuracy {
|
|
7
|
+
export declare enum Accuracy {
|
|
8
8
|
/**
|
|
9
9
|
* 오차범위 3KM 이내
|
|
10
10
|
*/
|
|
@@ -12,23 +12,23 @@ export enum Accuracy {
|
|
|
12
12
|
/**
|
|
13
13
|
* 오차범위 1KM 이내
|
|
14
14
|
*/
|
|
15
|
-
Low,
|
|
15
|
+
Low = 2,
|
|
16
16
|
/**
|
|
17
17
|
* 오차범위 몇 백미터 이내
|
|
18
18
|
*/
|
|
19
|
-
Balanced,
|
|
19
|
+
Balanced = 3,
|
|
20
20
|
/**
|
|
21
21
|
* 오차범위 10M 이내
|
|
22
22
|
*/
|
|
23
|
-
High,
|
|
23
|
+
High = 4,
|
|
24
24
|
/**
|
|
25
25
|
* 가장 높은 정확도
|
|
26
26
|
*/
|
|
27
|
-
Highest,
|
|
27
|
+
Highest = 5,
|
|
28
28
|
/**
|
|
29
29
|
* 네비게이션을 위한 최고 정확도
|
|
30
30
|
*/
|
|
31
|
-
BestForNavigation
|
|
31
|
+
BestForNavigation = 6
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
* @public
|
package/build/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './bridge';
|
|
1
|
+
export * from './bridge.js';
|
|
2
2
|
export * from '@apps-in-toss/bridge-core';
|
|
3
3
|
import { LoadAdMobInterstitialAdOptions, ShowAdMobInterstitialAdOptions, LoadAdMobRewardedAdOptions, ShowAdMobRewardedAdOptions } from '@apps-in-toss/framework';
|
|
4
4
|
|
|
@@ -376,10 +376,10 @@ type BedrockEvent = {
|
|
|
376
376
|
};
|
|
377
377
|
};
|
|
378
378
|
declare const bedrockEvent: {
|
|
379
|
-
addEventListener: <K extends
|
|
379
|
+
addEventListener: <K extends keyof BedrockEvent>(event: K, { onEvent, onError, options, }: {
|
|
380
380
|
onEvent: BedrockEvent[K]["onEvent"];
|
|
381
|
-
onError?: BedrockEvent[K]["onError"]
|
|
382
|
-
options?: BedrockEvent[K]["options"]
|
|
381
|
+
onError?: BedrockEvent[K]["onError"];
|
|
382
|
+
options?: BedrockEvent[K]["options"];
|
|
383
383
|
}) => () => void;
|
|
384
384
|
};
|
|
385
385
|
|
|
@@ -436,8 +436,8 @@ type AppsInTossEvent = {
|
|
|
436
436
|
declare const appsInTossEvent: {
|
|
437
437
|
addEventListener: <K extends keyof AppsInTossEvent>(event: K, { onEvent, onError, options, }: {
|
|
438
438
|
onEvent: AppsInTossEvent[K]["onEvent"];
|
|
439
|
-
onError?: AppsInTossEvent[K]["onError"]
|
|
440
|
-
options?: AppsInTossEvent[K]["options"]
|
|
439
|
+
onError?: AppsInTossEvent[K]["onError"];
|
|
440
|
+
options?: AppsInTossEvent[K]["options"];
|
|
441
441
|
}) => () => void;
|
|
442
442
|
};
|
|
443
443
|
|
|
@@ -12,23 +12,23 @@ declare enum Accuracy {
|
|
|
12
12
|
/**
|
|
13
13
|
* 오차범위 1KM 이내
|
|
14
14
|
*/
|
|
15
|
-
Low,
|
|
15
|
+
Low = 2,
|
|
16
16
|
/**
|
|
17
17
|
* 오차범위 몇 백미터 이내
|
|
18
18
|
*/
|
|
19
|
-
Balanced,
|
|
19
|
+
Balanced = 3,
|
|
20
20
|
/**
|
|
21
21
|
* 오차범위 10M 이내
|
|
22
22
|
*/
|
|
23
|
-
High,
|
|
23
|
+
High = 4,
|
|
24
24
|
/**
|
|
25
25
|
* 가장 높은 정확도
|
|
26
26
|
*/
|
|
27
|
-
Highest,
|
|
27
|
+
Highest = 5,
|
|
28
28
|
/**
|
|
29
29
|
* 네비게이션을 위한 최고 정확도
|
|
30
30
|
*/
|
|
31
|
-
BestForNavigation
|
|
31
|
+
BestForNavigation = 6
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
* @public
|
|
@@ -109,12 +109,10 @@ export interface StartUpdateLocationSubscription extends EmitterSubscription {
|
|
|
109
109
|
* @kind typedef
|
|
110
110
|
* @description
|
|
111
111
|
* 디바이스의 위치 정보 변경을 감지해요
|
|
112
|
-
* @extends {EventEmitterSchema<'updateLocation', [Location]>}
|
|
113
112
|
*/
|
|
114
|
-
export
|
|
113
|
+
export type UpdateLocationEventEmitter = EventEmitterSchema<"updateLocation", [
|
|
115
114
|
Location
|
|
116
|
-
]
|
|
117
|
-
}
|
|
115
|
+
]>;
|
|
118
116
|
/**
|
|
119
117
|
* @public
|
|
120
118
|
* @category 위치 정보
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apps-in-toss/web-bridge",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.26",
|
|
5
5
|
"description": "Web Bridge for Apps In Toss",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"prepack": "yarn build",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"build"
|
|
24
24
|
],
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@apps-in-toss-internal/bridgepack": "0.0.
|
|
27
|
-
"@apps-in-toss/bridge-core": "0.0.
|
|
28
|
-
"@apps-in-toss/framework": "0.0.
|
|
29
|
-
"react-native-bedrock": "0.0.
|
|
26
|
+
"@apps-in-toss-internal/bridgepack": "0.0.26",
|
|
27
|
+
"@apps-in-toss/bridge-core": "0.0.26",
|
|
28
|
+
"@apps-in-toss/framework": "0.0.26",
|
|
29
|
+
"react-native-bedrock": "0.0.24",
|
|
30
30
|
"tsup": "^8.3.5",
|
|
31
31
|
"typescript": "4.9.5",
|
|
32
32
|
"vitest": "^3.1.2"
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "8df951171a6a432852d863459d724224a0680e7d"
|
|
41
41
|
}
|