@qubic-connect/redirect
Advanced tools
Comparing version 0.7.6 to 0.7.7
@@ -59,9 +59,10 @@ "use strict"; | ||
function cleanResponsePassToConnect(currentUrl) { | ||
var _a = query_string_1.default.parseUrl(currentUrl), url = _a.url, | ||
var _a = query_string_1.default.parseUrl(currentUrl, { parseFragmentIdentifier: true }), url = _a.url, | ||
// remove previous result, key of LoginRequest and errorMessage but keep other query params | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
_b = _a.query, accountAddress = _b.accountAddress, signature = _b.signature, dataString = _b.dataString, isQubicUser = _b.isQubicUser, errorMessage = _b.errorMessage, restQuery = __rest(_b, ["accountAddress", "signature", "dataString", "isQubicUser", "errorMessage"]); | ||
_b = _a.query, accountAddress = _b.accountAddress, signature = _b.signature, dataString = _b.dataString, isQubicUser = _b.isQubicUser, errorMessage = _b.errorMessage, restQuery = __rest(_b, ["accountAddress", "signature", "dataString", "isQubicUser", "errorMessage"]), fragmentIdentifier = _a.fragmentIdentifier; | ||
var removedResultUrl = query_string_1.default.stringifyUrl({ | ||
url: url, | ||
query: restQuery, | ||
fragmentIdentifier: fragmentIdentifier, | ||
}); | ||
@@ -108,8 +109,9 @@ return removedResultUrl; | ||
function cleanResponseWalletToPass(currentUrl) { | ||
var _a = query_string_1.default.parseUrl(currentUrl), url = _a.url, | ||
var _a = query_string_1.default.parseUrl(currentUrl, { parseFragmentIdentifier: true }), url = _a.url, | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
_b = _a.query, ticket = _b.ticket, expiredAt = _b.expiredAt, address = _b.address, errorMessage = _b.errorMessage, restQuery = __rest(_b, ["ticket", "expiredAt", "address", "errorMessage"]); | ||
_b = _a.query, ticket = _b.ticket, expiredAt = _b.expiredAt, address = _b.address, errorMessage = _b.errorMessage, restQuery = __rest(_b, ["ticket", "expiredAt", "address", "errorMessage"]), fragmentIdentifier = _a.fragmentIdentifier; | ||
var removedResultUrl = query_string_1.default.stringifyUrl({ | ||
url: url, | ||
query: restQuery, | ||
fragmentIdentifier: fragmentIdentifier, | ||
}); | ||
@@ -116,0 +118,0 @@ return removedResultUrl; |
{ | ||
"name": "@qubic-connect/redirect", | ||
"version": "0.7.6", | ||
"version": "0.7.7", | ||
"homepage": "https://github.com/getamis/qubic-creator-sdk/tree/main/packages/redirect#readme", | ||
@@ -31,3 +31,3 @@ "license": "ISC", | ||
}, | ||
"gitHead": "a78c3b07c990a2e86b07f328f4a307a523df293d" | ||
"gitHead": "7cdf9c007635f28e9796ccb62a35811b4fe734a8" | ||
} |
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
22228
489