@apps-in-toss/native-modules 1.4.7 → 1.4.8
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
|
@@ -1888,7 +1888,7 @@ declare function getProductItemList(): Promise<{
|
|
|
1888
1888
|
* @category 인앱결제
|
|
1889
1889
|
* @name getPendingOrders
|
|
1890
1890
|
* @description 대기 중인 주문 목록을 가져와요. 이 함수를 사용하면 결제가 아직 완료되지 않은 주문 정보를 확인할 수 있어요.
|
|
1891
|
-
* @returns {Promise<{ orders: { orderId: string; sku: string; }[]}>} 대기 중인 주문의 배열을 반환해요. 앱 버전이 최소 지원 버전(안드로이드 5.234.0, iOS 5.231.0)보다 낮으면 `undefined`를 반환해요.
|
|
1891
|
+
* @returns {Promise<{ orders: { orderId: string; sku: string; paymentCompletedDate: string; }[]}>} 대기 중인 주문의 배열을 반환해요. 앱 버전이 최소 지원 버전(안드로이드 5.234.0, iOS 5.231.0)보다 낮으면 `undefined`를 반환해요.
|
|
1892
1892
|
*
|
|
1893
1893
|
* @example
|
|
1894
1894
|
* ### 대기 중인 주문 목록 가져오기
|
|
@@ -1909,6 +1909,7 @@ declare function getPendingOrders(): Promise<{
|
|
|
1909
1909
|
orders: {
|
|
1910
1910
|
orderId: string;
|
|
1911
1911
|
sku: string;
|
|
1912
|
+
paymentCompletedDate: string;
|
|
1912
1913
|
}[];
|
|
1913
1914
|
} | undefined>;
|
|
1914
1915
|
/**
|
|
@@ -2191,6 +2192,7 @@ interface Spec extends TurboModule {
|
|
|
2191
2192
|
orders: {
|
|
2192
2193
|
orderId: string;
|
|
2193
2194
|
sku: string;
|
|
2195
|
+
paymentCompletedDate: string;
|
|
2194
2196
|
}[];
|
|
2195
2197
|
}>;
|
|
2196
2198
|
getCompletedOrRefundedOrders: (params: {
|
package/dist/index.d.ts
CHANGED
|
@@ -1888,7 +1888,7 @@ declare function getProductItemList(): Promise<{
|
|
|
1888
1888
|
* @category 인앱결제
|
|
1889
1889
|
* @name getPendingOrders
|
|
1890
1890
|
* @description 대기 중인 주문 목록을 가져와요. 이 함수를 사용하면 결제가 아직 완료되지 않은 주문 정보를 확인할 수 있어요.
|
|
1891
|
-
* @returns {Promise<{ orders: { orderId: string; sku: string; }[]}>} 대기 중인 주문의 배열을 반환해요. 앱 버전이 최소 지원 버전(안드로이드 5.234.0, iOS 5.231.0)보다 낮으면 `undefined`를 반환해요.
|
|
1891
|
+
* @returns {Promise<{ orders: { orderId: string; sku: string; paymentCompletedDate: string; }[]}>} 대기 중인 주문의 배열을 반환해요. 앱 버전이 최소 지원 버전(안드로이드 5.234.0, iOS 5.231.0)보다 낮으면 `undefined`를 반환해요.
|
|
1892
1892
|
*
|
|
1893
1893
|
* @example
|
|
1894
1894
|
* ### 대기 중인 주문 목록 가져오기
|
|
@@ -1909,6 +1909,7 @@ declare function getPendingOrders(): Promise<{
|
|
|
1909
1909
|
orders: {
|
|
1910
1910
|
orderId: string;
|
|
1911
1911
|
sku: string;
|
|
1912
|
+
paymentCompletedDate: string;
|
|
1912
1913
|
}[];
|
|
1913
1914
|
} | undefined>;
|
|
1914
1915
|
/**
|
|
@@ -2191,6 +2192,7 @@ interface Spec extends TurboModule {
|
|
|
2191
2192
|
orders: {
|
|
2192
2193
|
orderId: string;
|
|
2193
2194
|
sku: string;
|
|
2195
|
+
paymentCompletedDate: string;
|
|
2194
2196
|
}[];
|
|
2195
2197
|
}>;
|
|
2196
2198
|
getCompletedOrRefundedOrders: (params: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apps-in-toss/native-modules",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.8",
|
|
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": "^1.4.
|
|
46
|
+
"@apps-in-toss/types": "^1.4.8",
|
|
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": "
|
|
57
|
+
"gitHead": "cc855970b30e1ce9098bd639b48212b8e21c0722"
|
|
58
58
|
}
|
|
@@ -75,7 +75,9 @@ interface Spec extends __TurboModule {
|
|
|
75
75
|
fallbacks: { onPurchased: (params: { orderId: string }) => void }
|
|
76
76
|
) => () => void;
|
|
77
77
|
processProductGrant: (params: { orderId: string; isProductGranted: boolean }) => Promise<void>;
|
|
78
|
-
getPendingOrders: (
|
|
78
|
+
getPendingOrders: (
|
|
79
|
+
params: CompatiblePlaceholderArgument
|
|
80
|
+
) => Promise<{ orders: { orderId: string; sku: string; paymentCompletedDate: string }[] }>;
|
|
79
81
|
getCompletedOrRefundedOrders: (params: { key?: string | null }) => Promise<CompletedOrRefundedOrdersResult>;
|
|
80
82
|
completeProductGrant: (params: { params: { orderId: string } }) => Promise<boolean>;
|
|
81
83
|
|
|
@@ -330,7 +330,7 @@ async function getProductItemList() {
|
|
|
330
330
|
* @category 인앱결제
|
|
331
331
|
* @name getPendingOrders
|
|
332
332
|
* @description 대기 중인 주문 목록을 가져와요. 이 함수를 사용하면 결제가 아직 완료되지 않은 주문 정보를 확인할 수 있어요.
|
|
333
|
-
* @returns {Promise<{ orders: { orderId: string; sku: string; }[]}>} 대기 중인 주문의 배열을 반환해요. 앱 버전이 최소 지원 버전(안드로이드 5.234.0, iOS 5.231.0)보다 낮으면 `undefined`를 반환해요.
|
|
333
|
+
* @returns {Promise<{ orders: { orderId: string; sku: string; paymentCompletedDate: string; }[]}>} 대기 중인 주문의 배열을 반환해요. 앱 버전이 최소 지원 버전(안드로이드 5.234.0, iOS 5.231.0)보다 낮으면 `undefined`를 반환해요.
|
|
334
334
|
*
|
|
335
335
|
* @example
|
|
336
336
|
* ### 대기 중인 주문 목록 가져오기
|