@beam3_dev/api_module 0.0.120 → 0.0.122
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/wb3Api.js +4 -2
- package/dist/wb3Api.js.map +1 -1
- package/dist/wb3Api.umd.cjs +4 -4
- package/dist/wb3Api.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/wb3Api.js
CHANGED
|
@@ -1960,10 +1960,12 @@ function nt(e, t = void 0, n = void 0) {
|
|
|
1960
1960
|
f(o, {
|
|
1961
1961
|
async onComplete(a) {
|
|
1962
1962
|
console.log("response", a);
|
|
1963
|
-
const c = typeof a == "string" ? JSON.parse(a)?.x3ds_service_redirect_url : a?.x3ds_service_redirect_url
|
|
1963
|
+
const c = typeof a == "string" ? JSON.parse(a)?.x3ds_service_redirect_url : a?.x3ds_service_redirect_url;
|
|
1964
|
+
await fetch(c, {
|
|
1964
1965
|
method: "POST"
|
|
1966
|
+
}).then((d) => d.json()).then((d) => {
|
|
1967
|
+
console.log("data", d.data.token);
|
|
1965
1968
|
});
|
|
1966
|
-
console.log("result", d);
|
|
1967
1969
|
},
|
|
1968
1970
|
onFailure(a) {
|
|
1969
1971
|
n && n(a);
|