@haechi-labs/face-sdk
Advanced tools
Comparing version 0.1.1-alpha.4 to 0.1.1-alpha.5
{ | ||
"name": "@haechi-labs/face-sdk", | ||
"version": "0.1.1-alpha.4", | ||
"version": "0.1.1-alpha.5", | ||
"description": "", | ||
@@ -18,3 +18,3 @@ "author": "", | ||
"devDependencies": { | ||
"@haechi-labs/face-types": "^0.1.1-alpha.4", | ||
"@haechi-labs/face-types": "^0.1.1-alpha.5", | ||
"@tsconfig/node16": "^1.0.2", | ||
@@ -27,3 +27,3 @@ "@types/node": "^17.0.33", | ||
}, | ||
"gitHead": "7e88dcd1ca8e067aa43967a1abd34a0c276db20b", | ||
"gitHead": "903037e42a4a9d46ac5e170aa5c2c49ceee4bdb1", | ||
"publishConfig": { | ||
@@ -30,0 +30,0 @@ "access": "public" |
@@ -86,5 +86,11 @@ import { | ||
iframe.title = 'Secure Modal'; | ||
// TODO: We should change iframeUrl calculate code | ||
if (network === Network.ETHEREUM) { | ||
iframeUrl = iframeUrl || 'https://app.facewallet.xyz'; | ||
} else { | ||
iframeUrl = iframeUrl || 'https://app.test.facewallet.xyz'; | ||
} | ||
iframe.src = new URL( | ||
`${ | ||
iframeUrl ?? 'https://app.dev.facewallet.xyz' | ||
iframeUrl ?? 'https://app.facewallet.xyz' | ||
}?api_key=${apiKey}&blockchain=${blockchain}&apiUrl=${apiUrl}&env=${env}` | ||
@@ -91,0 +97,0 @@ ).href; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53130
1274