@apps-in-toss/web-bridge 1.9.0 → 1.9.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/dist/index.cjs +8 -0
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +7 -0
- package/package.json +4 -4
- package/CHANGELOG.md +0 -33
package/dist/index.cjs
CHANGED
|
@@ -35,6 +35,7 @@ __export(index_exports, {
|
|
|
35
35
|
getClipboardText: () => getClipboardText,
|
|
36
36
|
getCurrentLocation: () => getCurrentLocation,
|
|
37
37
|
getSafeAreaInsets: () => getSafeAreaInsets,
|
|
38
|
+
getServerTime: () => getServerTime,
|
|
38
39
|
graniteEvent: () => graniteEvent,
|
|
39
40
|
isMinVersionSupported: () => isMinVersionSupported,
|
|
40
41
|
loadFullScreenAd: () => loadFullScreenAd,
|
|
@@ -1102,6 +1103,12 @@ var TossAds = {
|
|
|
1102
1103
|
})
|
|
1103
1104
|
};
|
|
1104
1105
|
|
|
1106
|
+
// src/getServerTime.ts
|
|
1107
|
+
var import_bridge_core24 = require("@apps-in-toss/bridge-core");
|
|
1108
|
+
var getServerTime = Object.assign((0, import_bridge_core24.createAsyncBridge)("getServerTime"), {
|
|
1109
|
+
isSupported: (0, import_bridge_core24.createConstantBridge)("getServerTime_isSupported")
|
|
1110
|
+
});
|
|
1111
|
+
|
|
1105
1112
|
// src/index.ts
|
|
1106
1113
|
__reExport(index_exports, require("@apps-in-toss/types"), module.exports);
|
|
1107
1114
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -1119,6 +1126,7 @@ __reExport(index_exports, require("@apps-in-toss/types"), module.exports);
|
|
|
1119
1126
|
getClipboardText,
|
|
1120
1127
|
getCurrentLocation,
|
|
1121
1128
|
getSafeAreaInsets,
|
|
1129
|
+
getServerTime,
|
|
1122
1130
|
graniteEvent,
|
|
1123
1131
|
isMinVersionSupported,
|
|
1124
1132
|
loadFullScreenAd,
|
package/dist/index.d.cts
CHANGED
|
@@ -889,4 +889,8 @@ declare const TossAds: {
|
|
|
889
889
|
};
|
|
890
890
|
};
|
|
891
891
|
|
|
892
|
-
|
|
892
|
+
declare const getServerTime: (() => Promise<number | undefined>) & {
|
|
893
|
+
isSupported: () => boolean;
|
|
894
|
+
};
|
|
895
|
+
|
|
896
|
+
export { type AddAccessoryButtonOptions, type AppsInTossEvent, type AppsInTossGlobals, type CompletedOrRefundedOrdersResult, GoogleAdMob, type GraniteEvent, IAP, type IapCreateOneTimePurchaseOrderOptions, type IapProductListItem, SafeAreaInsets$1 as SafeAreaInsets, Storage, type TdsEvent, TossAds, type AttachOptions as TossAdsAttachOptions, type BannerSlotCallbacks as TossAdsBannerSlotCallbacks, type BannerSlotErrorPayload as TossAdsBannerSlotErrorPayload, type BannerSlotEventPayload as TossAdsBannerSlotEventPayload, type InitializeOptions as TossAdsInitializeOptions, appsInTossEvent, env, fetchAlbumPhotos, fetchContacts, getAppsInTossGlobals, getClipboardText, getCurrentLocation, getSafeAreaInsets, getServerTime, graniteEvent, isMinVersionSupported, loadFullScreenAd, openCamera, partner, setClipboardText, showFullScreenAd, startUpdateLocation, tdsEvent };
|
package/dist/index.d.ts
CHANGED
|
@@ -889,4 +889,8 @@ declare const TossAds: {
|
|
|
889
889
|
};
|
|
890
890
|
};
|
|
891
891
|
|
|
892
|
-
|
|
892
|
+
declare const getServerTime: (() => Promise<number | undefined>) & {
|
|
893
|
+
isSupported: () => boolean;
|
|
894
|
+
};
|
|
895
|
+
|
|
896
|
+
export { type AddAccessoryButtonOptions, type AppsInTossEvent, type AppsInTossGlobals, type CompletedOrRefundedOrdersResult, GoogleAdMob, type GraniteEvent, IAP, type IapCreateOneTimePurchaseOrderOptions, type IapProductListItem, SafeAreaInsets$1 as SafeAreaInsets, Storage, type TdsEvent, TossAds, type AttachOptions as TossAdsAttachOptions, type BannerSlotCallbacks as TossAdsBannerSlotCallbacks, type BannerSlotErrorPayload as TossAdsBannerSlotErrorPayload, type BannerSlotEventPayload as TossAdsBannerSlotEventPayload, type InitializeOptions as TossAdsInitializeOptions, appsInTossEvent, env, fetchAlbumPhotos, fetchContacts, getAppsInTossGlobals, getClipboardText, getCurrentLocation, getSafeAreaInsets, getServerTime, graniteEvent, isMinVersionSupported, loadFullScreenAd, openCamera, partner, setClipboardText, showFullScreenAd, startUpdateLocation, tdsEvent };
|
package/dist/index.js
CHANGED
|
@@ -1061,6 +1061,12 @@ var TossAds = {
|
|
|
1061
1061
|
})
|
|
1062
1062
|
};
|
|
1063
1063
|
|
|
1064
|
+
// src/getServerTime.ts
|
|
1065
|
+
import { createAsyncBridge as createAsyncBridge15, createConstantBridge as createConstantBridge9 } from "@apps-in-toss/bridge-core";
|
|
1066
|
+
var getServerTime = Object.assign(createAsyncBridge15("getServerTime"), {
|
|
1067
|
+
isSupported: createConstantBridge9("getServerTime_isSupported")
|
|
1068
|
+
});
|
|
1069
|
+
|
|
1064
1070
|
// src/index.ts
|
|
1065
1071
|
export * from "@apps-in-toss/types";
|
|
1066
1072
|
export {
|
|
@@ -1077,6 +1083,7 @@ export {
|
|
|
1077
1083
|
getClipboardText,
|
|
1078
1084
|
getCurrentLocation,
|
|
1079
1085
|
getSafeAreaInsets,
|
|
1086
|
+
getServerTime,
|
|
1080
1087
|
graniteEvent,
|
|
1081
1088
|
isMinVersionSupported,
|
|
1082
1089
|
loadFullScreenAd,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apps-in-toss/web-bridge",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.9.
|
|
4
|
+
"version": "1.9.2",
|
|
5
5
|
"description": "Web Bridge for Apps In Toss",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"typecheck": "tsc --noEmit",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@apps-in-toss/types": "1.9.
|
|
30
|
+
"@apps-in-toss/types": "1.9.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@apps-in-toss/bridge-core": "1.9.
|
|
34
|
-
"@apps-in-toss/framework": "1.9.
|
|
33
|
+
"@apps-in-toss/bridge-core": "1.9.2",
|
|
34
|
+
"@apps-in-toss/framework": "1.9.2",
|
|
35
35
|
"@swc/core": "^1.12.7",
|
|
36
36
|
"picocolors": "^1.1.1",
|
|
37
37
|
"ts-morph": "^26.0.0",
|
package/CHANGELOG.md
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
# @apps-in-toss/web-bridge
|
|
2
|
-
|
|
3
|
-
## 1.9.0
|
|
4
|
-
|
|
5
|
-
### Minor Changes
|
|
6
|
-
|
|
7
|
-
[[AIT-3902] getServerTime 앱브릿지 추가](https://github.toss.bz/toss/apps-in-toss-sdk/pull/24)
|
|
8
|
-
|
|
9
|
-
서버 시간을 가져오는 getServerTime 브릿지를 추가합니다.
|
|
10
|
-
|
|
11
|
-
## 1.8.1
|
|
12
|
-
|
|
13
|
-
## 1.8.0
|
|
14
|
-
|
|
15
|
-
### Minor Changes
|
|
16
|
-
|
|
17
|
-
[[AIT-3762]: GoogleAdMob 로딩 여부 확인하는 브릿지 추가](https://github.toss.bz/toss/apps-in-toss-sdk/pull/18)
|
|
18
|
-
|
|
19
|
-
구글 광고가 로딩되었는지 확인하는 isAdMobLoaded를 추가합니다.
|
|
20
|
-
|
|
21
|
-
## 1.7.1
|
|
22
|
-
|
|
23
|
-
## 1.7.0
|
|
24
|
-
|
|
25
|
-
## 1.6.2
|
|
26
|
-
|
|
27
|
-
### Patch Changes
|
|
28
|
-
|
|
29
|
-
[[AIT-3577] bridgeColorMode 삭제](https://github.toss.bz/toss/apps-in-toss-sdk/pull/6)
|
|
30
|
-
|
|
31
|
-
bridgeColorMode 옵션을 삭제합니다.
|
|
32
|
-
|
|
33
|
-
## 1.6.1
|