hanbiro-react16-sdk 1.0.34 → 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.34
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.34
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(); }
@@ -2149,9 +2149,14 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2149
2149
  }, window.hanSessionStatus = L);
2150
2150
  var getSigner = function getSigner() {
2151
2151
  var _a2;
2152
- var existed = (_a2 = window == null ? void 0 : window.parent) == null ? void 0 : _a2.HanSigCommon;
2153
- if (existed) {
2154
- return existed;
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;
2155
2160
  } else {
2156
2161
  return new W({
2157
2162
  baseUrl: getBaseUrl()
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * hanbiro-react16-sdk v1.0.34
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
@@ -38,9 +38,14 @@ 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
40
  var _a;
41
- const existed = (_a = window == null ? void 0 : window.parent) == null ? void 0 : _a.HanSigCommon;
42
- if (existed) {
43
- return existed;
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;
44
49
  } else {
45
50
  return new W({ baseUrl: getBaseUrl() });
46
51
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hanbiro-react16-sdk",
3
- "version": "1.0.34",
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",