@nosana/sdk
Advanced tools
Comparing version 0.3.5 to 0.3.6
@@ -133,3 +133,6 @@ import { AnchorProvider, Program, setProvider } from '@coral-xyz/anchor'; | ||
if (info) { | ||
const collectionFromToken = bs58.encode(info.data.reverse().subarray(245, 277).reverse()); | ||
const collectionFromToken = bs58.encode(info.data | ||
.reverse() | ||
.subarray(279, 279 + 32) | ||
.reverse()); | ||
if (collectionFromToken === collection) { | ||
@@ -136,0 +139,0 @@ return new PublicKey(parsedData.mint); |
{ | ||
"name": "@nosana/sdk", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
3876037
110130