@qubic-connect/redirect
Advanced tools
Comparing version 0.11.1 to 1.0.0
@@ -9,2 +9,3 @@ import { LoginRedirectWalletType, QubicSignInProvider } from './types'; | ||
redirectUrl: string; | ||
apiKey: string; | ||
dataString: string; | ||
@@ -17,2 +18,3 @@ action: 'login'; | ||
redirectUrl: string; | ||
apiKey: string; | ||
dataString: string; | ||
@@ -19,0 +21,0 @@ clientTicket: string; |
@@ -25,2 +25,3 @@ "use strict"; | ||
redirectUrl: encodeURIComponent(options.redirectUrl), | ||
apiKey: options.apiKey, | ||
dataString: encodeURIComponent(options.dataString), | ||
@@ -33,2 +34,3 @@ action: options.action, | ||
redirectUrl: encodeURIComponent(options.redirectUrl), | ||
apiKey: options.apiKey, | ||
dataString: encodeURIComponent(options.dataString), | ||
@@ -96,2 +98,3 @@ clientTicket: options.clientTicket, | ||
redirectUrl: decodeURIComponent(query.redirectUrl), | ||
apiKey: query.apiKey, | ||
dataString: decodeURIComponent(query.dataString), | ||
@@ -104,2 +107,3 @@ action: 'login', | ||
redirectUrl: decodeURIComponent(query.redirectUrl), | ||
apiKey: query.apiKey, | ||
dataString: decodeURIComponent(query.dataString), | ||
@@ -106,0 +110,0 @@ clientTicket: query.clientTicket, |
{ | ||
"name": "@qubic-connect/redirect", | ||
"version": "0.11.1", | ||
"version": "1.0.0", | ||
"homepage": "https://github.com/getamis/qubic-creator-sdk/tree/main/packages/redirect#readme", | ||
@@ -31,3 +31,3 @@ "license": "ISC", | ||
}, | ||
"gitHead": "28fc7b03a884009ccc9f44614ab9c40ec31af465" | ||
"gitHead": "bb996ccd4d3db308dc9d06194f1503ec48194301" | ||
} |
@@ -20,3 +20,3 @@ # qubic connect auth flow | ||
client->sdk:loginWithRedirect\n | ||
sdk->auth:navigate to auth web\n{\n action: 'login' \n walletType\n qubicSignInProvider\n redirectUrl\n dataString\n\n} | ||
sdk->auth:navigate to auth web\n{\n action: 'login' \n walletType\n qubicSignInProvider\n redirectUrl\n apiKey\n dataString\n\n} | ||
@@ -47,3 +47,3 @@ alt Qubic Wallet and has redirectUrl | ||
sdk<-adminApi:response { ticket, expiredAt } | ||
sdk->auth:navigate to auth web\n{\n action: 'bind'\n clientTicket\n walletType\n qubicSignInProvider\n redirectUrl\n dataString\n}\n\n | ||
sdk->auth:navigate to auth web\n{\n action: 'bind'\n clientTicket\n walletType\n qubicSignInProvider\n redirectUrl\n apiKey\n dataString\n}\n\n | ||
@@ -50,0 +50,0 @@ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
18816
325
1