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

@mojito-inc/core-service

Package Overview
Dependencies
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mojito-inc/core-service - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

package.json
{
"name": "@mojito-inc/core-service",
"version": "1.0.4",
"version": "1.0.5",
"description": "Mojito Core API service for auction, payment, token",

@@ -5,0 +5,0 @@ "main": "./index.cjs",

@@ -23,26 +23,16 @@

create .npmrc file from root dir and copy & paste following code,
You can install this project with one of these commands:
npm i @mojito-inc/core-service
yarn add @mojito-inc/core-service
If you have Personal follow step 2
<br />
### Step - 1
Create Personal token: https://github.com/settings/tokens
1. Generate New Token (Classic)
2. enable following permission
3. [x] read:packages Download packages from GitHub Package Registry
## In order to use this package you must install this dependency
### Step 2
Copy the personal token and replace to ```<PROFILE_TOKEN>```
You can install the package with one of these commands:
```
@mojitoinc:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=<PROFILE_TOKEN>
```
You can install this project with one of these commands:
npm install --save @mojitoinc/core-service
npm i graphql
yarn add @mojitoinc/core-service
yarn add graphql

@@ -55,7 +45,15 @@ <br />

### For development URL
baseURL = https://api.mojito.xyz/query
### For production URL
baseURL = https://api-dev.mojito.xyz/query
```
import { CoreServiceProvider } from "@mojitoinc/core-service";
import { CoreServiceProvider } from "@mojito-inc/core-service";
<CoreServiceProvider uri={ 'https://api.dev.graphql.com' } token={ 'Bearer <Token>' }>
<CoreServiceProvider uri={ baseURL } token={ 'Bearer <Token>' }>
{ children }

@@ -86,3 +84,3 @@ </CoreServiceProvider>

```
import { useClaims, Response, GetSignatureData } from "@mojitoinc/core-service";
import { useClaims, Response, GetSignatureData } from "@mojito-inc/core-service";

@@ -121,3 +119,3 @@ const { getSignatureMessage } = useClaims();

```
import { useClaims, Response, LoginWithSignatureData } from "@mojitoinc/core-service";
import { useClaims, Response, LoginWithSignatureData } from "@mojito-inc/core-service";

@@ -164,3 +162,3 @@ const { loginWithSignature } = useClaims();

```
import { useClaims, Response, RedeemClaimableCodeData } from "@mojitoinc/core-service";
import { useClaims, Response, RedeemClaimableCodeData } from "@mojito-inc/core-service";

@@ -200,3 +198,3 @@ const { redeemClaimableCode } = useClaims();

```
import { useConversion, Response, USDConversionData } from '@mojitoinc/core-service';
import { useConversion, Response, USDConversionData } from '@mojito-inc/core-service';

@@ -242,3 +240,3 @@ const { getUSDConversion } = useConversion();

```
import { useConversion, Response, GetSupportedCurrenciesData } from '@mojitoinc/core-service';
import { useConversion, Response, GetSupportedCurrenciesData } from '@mojito-inc/core-service';

@@ -288,3 +286,3 @@ const { getSupportedCurrency, GetSupportedCurrenciesData } = useConversion();

```
import { useAuction } from '@mojitoinc/core-service';
import { useAuction } from '@mojito-inc/core-service';

@@ -357,3 +355,3 @@ const { auctionDetails } = useAuction();

```
import { useAuction, OnChainBidResponse } from '@mojitoinc/core-service';
import { useAuction, OnChainBidResponse } from '@mojito-inc/core-service';

@@ -402,3 +400,3 @@ const { verifyOnChainBid } = useAuction();

```
import { confirmOnChainBid, BidsItemData } from '@mojitoinc/core-service';
import { confirmOnChainBid, BidsItemData } from '@mojito-inc/core-service';

@@ -405,0 +403,0 @@ const { confirmOnChainBid } = useAuction();

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