@aresrpg/aresrpg-sdk
Advanced tools
Comparing version 2.2.2 to 2.2.3
{ | ||
"name": "@aresrpg/aresrpg-sdk", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"description": "General SDK to interract with AresRPG", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -104,3 +104,7 @@ import { LRUCache } from 'lru-cache' | ||
const whitelisted_item = SUPPORTED_NFTS[item._type] | ||
if (!whitelisted_item) return null | ||
if (!whitelisted_item) { | ||
// those items are not wanted, just put them in the cache as null | ||
OBJECT_CACHE.set(item.id, null) | ||
return null | ||
} | ||
@@ -168,2 +172,4 @@ if (item._type === BULLSHARK) { | ||
internal_items.forEach(item => OBJECT_CACHE.set(item.id, item)) | ||
return new Map( | ||
@@ -170,0 +176,0 @@ [ |
117556
3390