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.
|
|
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
|
|
2152
|
-
|
|
2153
|
-
|
|
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
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
|
-
|
|
41
|
-
|
|
42
|
-
|
|
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
|
}
|