@elrondnetwork/core-components
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -7,3 +7,5 @@ export declare const services: { | ||
}) => Promise<string>; | ||
getRefreshToken: ({ address, maiarIdApi, timeout, }: { | ||
getRefreshToken: ({ signature, loginToken, address, maiarIdApi, timeout, }: { | ||
signature: string; | ||
loginToken: string; | ||
address: string; | ||
@@ -16,7 +18,5 @@ maiarIdApi: string; | ||
refreshToken: string; | ||
} | undefined>; | ||
}>; | ||
removeToken: () => void; | ||
getAccessToken: ({ signature, loginToken, address, maiarIdApi, timeout, }: { | ||
signature: string; | ||
loginToken: string; | ||
getAccessToken: ({ address, maiarIdApi, timeout, }: { | ||
address: string; | ||
@@ -29,3 +29,3 @@ maiarIdApi: string; | ||
refreshToken: string; | ||
}>; | ||
} | undefined>; | ||
}; | ||
@@ -32,0 +32,0 @@ }; |
@@ -182,3 +182,3 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var getRefreshToken = function getRefreshToken(_ref3) { | ||
var getAccessToken = function getAccessToken(_ref3) { | ||
var address = _ref3.address, | ||
@@ -232,3 +232,3 @@ maiarIdApi = _ref3.maiarIdApi, | ||
var getAccessToken = function getAccessToken(_ref5) { | ||
var getRefreshToken = function getRefreshToken(_ref5) { | ||
var signature = _ref5.signature, | ||
@@ -235,0 +235,0 @@ loginToken = _ref5.loginToken, |
@@ -180,3 +180,3 @@ import axios from 'axios'; | ||
var getRefreshToken = function getRefreshToken(_ref3) { | ||
var getAccessToken = function getAccessToken(_ref3) { | ||
var address = _ref3.address, | ||
@@ -230,3 +230,3 @@ maiarIdApi = _ref3.maiarIdApi, | ||
var getAccessToken = function getAccessToken(_ref5) { | ||
var getRefreshToken = function getRefreshToken(_ref5) { | ||
var signature = _ref5.signature, | ||
@@ -233,0 +233,0 @@ loginToken = _ref5.loginToken, |
@@ -5,3 +5,3 @@ declare const init: ({ maiarIdApi, timeout, }: { | ||
}) => Promise<string>; | ||
declare const getRefreshToken: ({ address, maiarIdApi, timeout, }: { | ||
declare const getAccessToken: ({ address, maiarIdApi, timeout, }: { | ||
address: string; | ||
@@ -15,3 +15,3 @@ maiarIdApi: string; | ||
} | undefined>; | ||
declare const getAccessToken: ({ signature, loginToken, address, maiarIdApi, timeout, }: { | ||
declare const getRefreshToken: ({ signature, loginToken, address, maiarIdApi, timeout, }: { | ||
signature: string; | ||
@@ -18,0 +18,0 @@ loginToken: string; |
{ | ||
"name": "@elrondnetwork/core-components", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Elrond Dapp Core Components", | ||
@@ -5,0 +5,0 @@ "author": "ElrondNetwork", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
46820
595