Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@qubic-connect/redirect

Package Overview
Dependencies
Maintainers
2
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qubic-connect/redirect - npm Package Compare versions

Comparing version 0.7.6 to 0.7.7

10

dist/utils.js

@@ -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;

4

package.json
{
"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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc