sales-frontend-bridge 0.0.121 → 0.0.122
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 +2 -5
- package/dist/index.d.cts +0 -2
- package/dist/index.d.ts +0 -2
- package/dist/index.js +2 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -950,10 +950,8 @@ var NativeBridgeOz = class extends CommonBridge {
|
|
|
950
950
|
/**
|
|
951
951
|
* ### Bridge for Oz
|
|
952
952
|
* 이메일 전송 모달 열기
|
|
953
|
-
* - 네이티브는 envelope 전체(`{ action, data }`)를 JSON 문자열로 리턴합니다.
|
|
954
953
|
* - 전송: `data`는 `{ recipientName, recipientEmail, senderEmail }` 객체
|
|
955
954
|
* - 취소: `data`는 `'cancel'` 문자열
|
|
956
|
-
* - 응답이 유효한 JSON 이 아닐 경우 `JSON.parse` 가 throw 합니다. 호출 측에서 try/catch 로 감싸세요.
|
|
957
955
|
* @example
|
|
958
956
|
* ```tsx
|
|
959
957
|
* // 사용 예시
|
|
@@ -965,9 +963,8 @@ var NativeBridgeOz = class extends CommonBridge {
|
|
|
965
963
|
* }
|
|
966
964
|
* ```
|
|
967
965
|
*/
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
return JSON.parse(stringifiedData);
|
|
966
|
+
showEmailModal() {
|
|
967
|
+
return this.core.callToTarget("showEmailModal");
|
|
971
968
|
}
|
|
972
969
|
// TODO: 필요 플러그인들 추가
|
|
973
970
|
};
|
package/dist/index.d.cts
CHANGED
|
@@ -1121,10 +1121,8 @@ declare class NativeBridgeOz extends CommonBridge implements INativeBridgeOz {
|
|
|
1121
1121
|
/**
|
|
1122
1122
|
* ### Bridge for Oz
|
|
1123
1123
|
* 이메일 전송 모달 열기
|
|
1124
|
-
* - 네이티브는 envelope 전체(`{ action, data }`)를 JSON 문자열로 리턴합니다.
|
|
1125
1124
|
* - 전송: `data`는 `{ recipientName, recipientEmail, senderEmail }` 객체
|
|
1126
1125
|
* - 취소: `data`는 `'cancel'` 문자열
|
|
1127
|
-
* - 응답이 유효한 JSON 이 아닐 경우 `JSON.parse` 가 throw 합니다. 호출 측에서 try/catch 로 감싸세요.
|
|
1128
1126
|
* @example
|
|
1129
1127
|
* ```tsx
|
|
1130
1128
|
* // 사용 예시
|
package/dist/index.d.ts
CHANGED
|
@@ -1121,10 +1121,8 @@ declare class NativeBridgeOz extends CommonBridge implements INativeBridgeOz {
|
|
|
1121
1121
|
/**
|
|
1122
1122
|
* ### Bridge for Oz
|
|
1123
1123
|
* 이메일 전송 모달 열기
|
|
1124
|
-
* - 네이티브는 envelope 전체(`{ action, data }`)를 JSON 문자열로 리턴합니다.
|
|
1125
1124
|
* - 전송: `data`는 `{ recipientName, recipientEmail, senderEmail }` 객체
|
|
1126
1125
|
* - 취소: `data`는 `'cancel'` 문자열
|
|
1127
|
-
* - 응답이 유효한 JSON 이 아닐 경우 `JSON.parse` 가 throw 합니다. 호출 측에서 try/catch 로 감싸세요.
|
|
1128
1126
|
* @example
|
|
1129
1127
|
* ```tsx
|
|
1130
1128
|
* // 사용 예시
|
package/dist/index.js
CHANGED
|
@@ -948,10 +948,8 @@ var NativeBridgeOz = class extends CommonBridge {
|
|
|
948
948
|
/**
|
|
949
949
|
* ### Bridge for Oz
|
|
950
950
|
* 이메일 전송 모달 열기
|
|
951
|
-
* - 네이티브는 envelope 전체(`{ action, data }`)를 JSON 문자열로 리턴합니다.
|
|
952
951
|
* - 전송: `data`는 `{ recipientName, recipientEmail, senderEmail }` 객체
|
|
953
952
|
* - 취소: `data`는 `'cancel'` 문자열
|
|
954
|
-
* - 응답이 유효한 JSON 이 아닐 경우 `JSON.parse` 가 throw 합니다. 호출 측에서 try/catch 로 감싸세요.
|
|
955
953
|
* @example
|
|
956
954
|
* ```tsx
|
|
957
955
|
* // 사용 예시
|
|
@@ -963,9 +961,8 @@ var NativeBridgeOz = class extends CommonBridge {
|
|
|
963
961
|
* }
|
|
964
962
|
* ```
|
|
965
963
|
*/
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
return JSON.parse(stringifiedData);
|
|
964
|
+
showEmailModal() {
|
|
965
|
+
return this.core.callToTarget("showEmailModal");
|
|
969
966
|
}
|
|
970
967
|
// TODO: 필요 플러그인들 추가
|
|
971
968
|
};
|