sales-frontend-bridge 0.0.38 → 0.0.39
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 +44 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +47 -1
- package/dist/index.d.ts +47 -1
- package/dist/index.js +44 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1944,6 +1944,50 @@ var NativeBridge = class extends CommonBridge {
|
|
|
1944
1944
|
hideWebPopup() {
|
|
1945
1945
|
return this.core.callToTarget("hideWebPopup");
|
|
1946
1946
|
}
|
|
1947
|
+
/**
|
|
1948
|
+
* OnePass 인증
|
|
1949
|
+
* @example
|
|
1950
|
+
* ```tsx
|
|
1951
|
+
* // 사용 예시
|
|
1952
|
+
* Bridge.native.requestAuthentication()
|
|
1953
|
+
* ```
|
|
1954
|
+
*/
|
|
1955
|
+
requestAuthentication() {
|
|
1956
|
+
return this.core.callToTarget("requestAuthentication");
|
|
1957
|
+
}
|
|
1958
|
+
/**
|
|
1959
|
+
* 웹뷰 띄우기
|
|
1960
|
+
* @example
|
|
1961
|
+
* ```tsx
|
|
1962
|
+
* // 사용 예시
|
|
1963
|
+
* Bridge.native.openWeb()
|
|
1964
|
+
* ```
|
|
1965
|
+
*/
|
|
1966
|
+
openWeb(options) {
|
|
1967
|
+
return this.core.callToTarget("openWeb", options);
|
|
1968
|
+
}
|
|
1969
|
+
/**
|
|
1970
|
+
* 웹뷰 닫기
|
|
1971
|
+
* @example
|
|
1972
|
+
* ```tsx
|
|
1973
|
+
* // 사용 예시
|
|
1974
|
+
* Bridge.native.closeWeb()
|
|
1975
|
+
* ```
|
|
1976
|
+
*/
|
|
1977
|
+
closeWeb() {
|
|
1978
|
+
return this.core.callToTarget("closeWeb");
|
|
1979
|
+
}
|
|
1980
|
+
/**
|
|
1981
|
+
* 앱 종료
|
|
1982
|
+
* @example
|
|
1983
|
+
* ```tsx
|
|
1984
|
+
* // 사용 예시
|
|
1985
|
+
* Bridge.native.closeWeb()
|
|
1986
|
+
* ```
|
|
1987
|
+
*/
|
|
1988
|
+
exitApp() {
|
|
1989
|
+
return this.core.callToTarget("exitApp");
|
|
1990
|
+
}
|
|
1947
1991
|
// TODO: 필요 플러그인들 추가
|
|
1948
1992
|
};
|
|
1949
1993
|
|