@mayanfinance/swap-sdk
Advanced tools
Comparing version 4.0.2 to 4.0.3
@@ -75,3 +75,3 @@ define(['exports','cross-fetch','@ethersproject/bytes','ethers','@solana/web3.js','buffer','js-sha3','@solana/buffer-layout'],(function(exports,fetch,bytes,ethers,web3_js,buffer,jsSha3,bufferLayout){'use strict';var mayanAddresses = { | ||
} | ||
const sdkVersion = [4, 0, 0]; | ||
const sdkVersion = [4, 0, 3]; | ||
function checkSdkVersionSupport(minimumVersion) { | ||
@@ -78,0 +78,0 @@ //major |
@@ -75,3 +75,3 @@ 'use strict';var fetch=require('cross-fetch'),bytes=require('@ethersproject/bytes'),ethers=require('ethers'),web3_js=require('@solana/web3.js'),buffer=require('buffer'),jsSha3=require('js-sha3'),bufferLayout=require('@solana/buffer-layout');var mayanAddresses = { | ||
} | ||
const sdkVersion = [4, 0, 0]; | ||
const sdkVersion = [4, 0, 3]; | ||
function checkSdkVersionSupport(minimumVersion) { | ||
@@ -78,0 +78,0 @@ //major |
@@ -38,2 +38,3 @@ import { Transaction, Connection, PublicKey } from '@solana/web3.js'; | ||
minAmountOut: number; | ||
minReceived: number; | ||
gasDrop: number; | ||
@@ -40,0 +41,0 @@ price: number; |
@@ -75,3 +75,3 @@ import fetch from'cross-fetch';import {zeroPad}from'@ethersproject/bytes';import {ethers}from'ethers';import {PublicKey,Connection,Keypair,Transaction,SystemProgram,SYSVAR_CLOCK_PUBKEY,SYSVAR_RENT_PUBKEY,TransactionInstruction}from'@solana/web3.js';import {Buffer as Buffer$1}from'buffer';import {sha3_256}from'js-sha3';import {struct,u8,nu64,u16,blob}from'@solana/buffer-layout';var mayanAddresses = { | ||
} | ||
const sdkVersion = [4, 0, 0]; | ||
const sdkVersion = [4, 0, 3]; | ||
function checkSdkVersionSupport(minimumVersion) { | ||
@@ -78,0 +78,0 @@ //major |
@@ -75,3 +75,3 @@ (function(g,f){typeof exports==='object'&&typeof module!=='undefined'?f(exports,require('cross-fetch'),require('@ethersproject/bytes'),require('ethers'),require('@solana/web3.js'),require('buffer'),require('js-sha3'),require('@solana/buffer-layout')):typeof define==='function'&&define.amd?define(['exports','cross-fetch','@ethersproject/bytes','ethers','@solana/web3.js','buffer','js-sha3','@solana/buffer-layout'],f):(g=typeof globalThis!=='undefined'?globalThis:g||self,f(g.MAYAN={},g.fetch,g.bytes,g.ethers,g.web3_js,g.buffer,g.jsSha3,g.bufferLayout));})(this,(function(exports,fetch,bytes,ethers,web3_js,buffer,jsSha3,bufferLayout){'use strict';var mayanAddresses = { | ||
} | ||
const sdkVersion = [4, 0, 0]; | ||
const sdkVersion = [4, 0, 3]; | ||
function checkSdkVersionSupport(minimumVersion) { | ||
@@ -78,0 +78,0 @@ //major |
@@ -35,2 +35,3 @@ import { Transaction } from '@solana/web3.js'; | ||
minAmountOut: number; | ||
minReceived: number; | ||
gasDrop: number; | ||
@@ -37,0 +38,0 @@ price: number; |
@@ -75,3 +75,3 @@ import { zeroPad } from '@ethersproject/bytes'; | ||
} | ||
const sdkVersion = [4, 0, 0]; | ||
const sdkVersion = [4, 0, 3]; | ||
export function checkSdkVersionSupport(minimumVersion) { | ||
@@ -78,0 +78,0 @@ //major |
{ | ||
"name": "@mayanfinance/swap-sdk", | ||
"description": "A SDK to swap with Mayan", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"source": "src/main.ts", | ||
@@ -6,0 +6,0 @@ "main": "lib/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
224880
5420