@nfteyez/sol-rayz
Advanced tools
Comparing version 0.9.1 to 0.10.0
@@ -47,3 +47,5 @@ "use strict"; | ||
var metaProgamPublicKeyBuffer = metaProgamPublicKey.toBuffer(); | ||
var metaProgamPrefixBuffer = Buffer.from(metaplex_1.METADATA_PREFIX); | ||
// Create UTF-8 bytes Buffer from string | ||
// similar to Buffer.from(METADATA_PREFIX) but should work by default in node.js/browser | ||
var metaProgamPrefixBuffer = new TextEncoder().encode(metaplex_1.METADATA_PREFIX); | ||
var decodeTokenMetadata = function (buffer) { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) { | ||
@@ -50,0 +52,0 @@ return [2 /*return*/, (0, borsh_1.deserializeUnchecked)(metaplex_1.METADATA_SCHEMA, metaplex_1.Metadata, buffer)]; |
{ | ||
"name": "@nfteyez/sol-rayz", | ||
"version": "0.9.1", | ||
"version": "0.10.0", | ||
"license": "MIT", | ||
@@ -29,3 +29,3 @@ "author": { | ||
"devDependencies": { | ||
"@solana/web3.js": "^1.30.2", | ||
"@solana/web3.js": "^1.33.0", | ||
"@types/lodash.chunk": "^4.2.6", | ||
@@ -37,3 +37,3 @@ "@types/lodash.orderby": "^4.6.6", | ||
"peerDependencies": { | ||
"@solana/web3.js": "^1.30.2" | ||
"@solana/web3.js": "^1.33.0" | ||
}, | ||
@@ -46,3 +46,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "2da688f71bcf5392acb13622ac30acef57c2af9a" | ||
"gitHead": "1c72e5b70649718fcdb91e183f84aed10403c596" | ||
} |
@@ -32,3 +32,5 @@ # @nfteyez/sol-rayz | ||
const publicAddress = await resolveToWalletAddress(address); | ||
const publicAddress = await resolveToWalletAddress({ | ||
text: address | ||
}); | ||
@@ -35,0 +37,0 @@ const nftArray = await getParsedNftAccountsByOwner({ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
74346
879
157