Comparing version 0.0.2 to 0.0.3
@@ -127,5 +127,3 @@ import axios from "axios"; | ||
headers: { | ||
Authorization: `Bearer ${this.token.jwtToken}`, | ||
"Content-Type": "application/json", | ||
Cookie: `refreshToken=${this.token.refresh}`, | ||
}, | ||
@@ -137,4 +135,4 @@ data: data, | ||
.then((response) => { | ||
if (res.data.isError) { | ||
return { error: true, data: res.data }; | ||
if (response.data.isError) { | ||
return { error: true, data: response.data }; | ||
} | ||
@@ -141,0 +139,0 @@ return { error: false, data: response.data }; |
@@ -5,2 +5,5 @@ import Auth from "./auth/auth.js"; | ||
import NFT from "./nft/nft.js"; | ||
import EOSIO from "./EOSIO/eosio.js"; | ||
import Data from "./data/data.js"; | ||
import Solana from "./solana/solana.js"; | ||
@@ -12,2 +15,5 @@ export default { | ||
NFT, | ||
EOSIO, | ||
Data, | ||
Solana, | ||
}; |
{ | ||
"name": "oasis-api", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "A JavaScript proxy for the Oasis API. To be used only in the browser.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
28339
12
855