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

oasis-api

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oasis-api - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

data/data.js

6

auth/auth.js

@@ -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",

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