hanbiro-react16-sdk 1.0.33 → 1.0.35

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * hanbiro-react16-sdk v1.0.33
2
+ * hanbiro-react16-sdk v1.0.35
3
3
  * Build Date: 2026-06-23
4
4
  */
5
5
  @charset "UTF-8";
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * hanbiro-react16-sdk v1.0.33
2
+ * hanbiro-react16-sdk v1.0.35
3
3
  * Build Date: 2026-06-23
4
4
  */
5
5
  function _toArray(r) { return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest(); }
@@ -2148,9 +2148,15 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2148
2148
  }
2149
2149
  }, window.hanSessionStatus = L);
2150
2150
  var getSigner = function getSigner() {
2151
- var existed = window == null ? void 0 : window.HanSigCommon;
2152
- if (existed) {
2153
- return existed;
2151
+ var _a2;
2152
+ var parentHanSigCommon = (_a2 = window == null ? void 0 : window.parent) == null ? void 0 : _a2.HanSigCommon;
2153
+ var windowHanSigCommon = window == null ? void 0 : window.HanSigCommon;
2154
+ console.info("🚀 ~ parentHanSigCommon:", parentHanSigCommon);
2155
+ console.info("🚀 ~ windowHanSigCommon:", windowHanSigCommon);
2156
+ if (parentHanSigCommon) {
2157
+ return parentHanSigCommon;
2158
+ } else if (windowHanSigCommon) {
2159
+ return windowHanSigCommon;
2154
2160
  } else {
2155
2161
  return new W({
2156
2162
  baseUrl: getBaseUrl()
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * hanbiro-react16-sdk v1.0.33
2
+ * hanbiro-react16-sdk v1.0.35
3
3
  * Build Date: 2026-06-23
4
4
  */
5
5
  /* empty css */
package/dist/utils/api.js CHANGED
@@ -37,9 +37,15 @@ var __async = (__this, __arguments, generator) => {
37
37
  import { getBaseUrl } from "./url.js";
38
38
  import { ClientSigner as W } from "../node_modules/@hanbiro/signer-core/dist/index.js";
39
39
  const getSigner = () => {
40
- const existed = window == null ? void 0 : window.HanSigCommon;
41
- if (existed) {
42
- return existed;
40
+ var _a;
41
+ const parentHanSigCommon = (_a = window == null ? void 0 : window.parent) == null ? void 0 : _a.HanSigCommon;
42
+ const windowHanSigCommon = window == null ? void 0 : window.HanSigCommon;
43
+ console.info("🚀 ~ parentHanSigCommon:", parentHanSigCommon);
44
+ console.info("🚀 ~ windowHanSigCommon:", windowHanSigCommon);
45
+ if (parentHanSigCommon) {
46
+ return parentHanSigCommon;
47
+ } else if (windowHanSigCommon) {
48
+ return windowHanSigCommon;
43
49
  } else {
44
50
  return new W({ baseUrl: getBaseUrl() });
45
51
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hanbiro-react16-sdk",
3
- "version": "1.0.33",
3
+ "version": "1.0.35",
4
4
  "description": "React 16.2.0 compatible UI components for Hanbiro",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/hanbiro-react16-sdk.umd.js",