sales-frontend-bridge 0.0.44 → 0.0.45

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 CHANGED
@@ -2004,6 +2004,17 @@ var NativeBridge = class extends CommonBridge {
2004
2004
  exitApp() {
2005
2005
  return this.core.callToTarget("exitApp");
2006
2006
  }
2007
+ /**
2008
+ * 앱 정보 가져오기
2009
+ * @example
2010
+ * ```tsx
2011
+ * // 사용 예시
2012
+ * Bridge.native.closeWeb()
2013
+ * ```
2014
+ */
2015
+ getAppInfo() {
2016
+ return this.core.callToTarget("getAppInfo");
2017
+ }
2007
2018
  // TODO: 필요 플러그인들 추가
2008
2019
  };
2009
2020
 
@@ -2454,6 +2465,7 @@ var ExtraData = {
2454
2465
  var policyNumber = "300034894";
2455
2466
  var fpInfo = { uniqNo: "2210000" };
2456
2467
  var roleCode = [`11`, `28`];
2468
+ var xdudheaders = `Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJXNWRtc1g1MkVWZGV0YThJRy90YmlZY281bnVCdzRZOXhGZjlWakZzdWxnbU00YnkiLCJpYXQiOjE3NjEwNDMyNjgsImV4cCI6MTc2NjI5OTI2OH0.KDnF7ZhkmnEApGCvOcItwcHnLWe5iJu64g93GACT2yo`;
2457
2469
 
2458
2470
  // src/oz/hooks/use-document-info.tsx
2459
2471
  var import_react = __toESM(require_react());
@@ -2917,8 +2929,8 @@ async function SaveTotalPdf() {
2917
2929
  }
2918
2930
 
2919
2931
  // src/oz/utils/bridge-util/fetch-util.ts
2920
- async function fetchDocument(options) {
2921
- const { data: result } = await Bridge.native.downloadDocument({ data: options, policyNumber, fpInfo });
2932
+ async function fetchDocument(args) {
2933
+ const { data: result } = await Bridge.native.downloadDocument(args);
2922
2934
  return result.data.map((i) => ({ ...i, startPage: 0, endPage: 0 }));
2923
2935
  }
2924
2936
  async function fetchFont() {
@@ -3191,5 +3203,6 @@ exports.useDocumentInfo = useDocumentInfo;
3191
3203
  exports.useOzEventListener = useOzEventListener;
3192
3204
  exports.validateAllPages = validateAllPages;
3193
3205
  exports.wrapperStyle = wrapperStyle;
3206
+ exports.xdudheaders = xdudheaders;
3194
3207
  //# sourceMappingURL=index.cjs.map
3195
3208
  //# sourceMappingURL=index.cjs.map