@mintbase-js/data
Advanced tools
Comparing version 0.6.0-restate-wallet-e774be2.0 to 0.6.0-revert-beta-66cae09.0
@@ -22,3 +22,3 @@ "use strict"; | ||
} }, (network && { network: network }))); | ||
const errorMsg = error ? `Error fetching token listing counts, ${error}` : undefined; | ||
const errorMsg = error ? `Error fetching ownedTokens, ${error}` : undefined; | ||
return (0, utils_1.parseData)(data === null || data === void 0 ? void 0 : data.tokens, error, errorMsg); | ||
@@ -25,0 +25,0 @@ }); |
@@ -25,2 +25,3 @@ "use strict"; | ||
title | ||
description | ||
minter | ||
@@ -27,0 +28,0 @@ media |
@@ -9,5 +9,5 @@ import { DocumentNode } from 'graphql'; | ||
query: DocumentNode | string; | ||
variables?: any; | ||
variables?: V; | ||
network?: Network | null | undefined; | ||
}) => Promise<GqlFetchResult<T>>; | ||
//# sourceMappingURL=fetch.d.ts.map |
@@ -12,2 +12,3 @@ export type Pagination = { | ||
title: string; | ||
description: string; | ||
minter: string; | ||
@@ -51,3 +52,3 @@ media: string; | ||
trait_type?: string; | ||
value?: any; | ||
value?: unknown; | ||
display_type?: string; | ||
@@ -72,2 +73,3 @@ }>; | ||
title: string; | ||
description: string; | ||
media: string; | ||
@@ -74,0 +76,0 @@ reference: string; |
import { ParsedDataReturn } from './types'; | ||
export declare const objectWithCamelKeys: (obj: object) => object; | ||
export declare const objectWithCamelKeys: (obj: Record<string, unknown>) => Record<string, unknown>; | ||
export declare const parseData: <T>(data: T, error?: null | string, errorMsg?: string) => ParsedDataReturn<T>; | ||
@@ -4,0 +4,0 @@ export declare function getTokenArrayFromNodes(nodes: { |
{ | ||
"name": "@mintbase-js/data", | ||
"version": "0.6.0-restate-wallet-e774be2.0", | ||
"version": "0.6.0-revert-beta-66cae09.0", | ||
"description": "Query wrappers for Mintbase JS SDK", | ||
@@ -33,3 +33,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "24d13e6810ecd3d79a4ed0d4e98e5a4701d91b63" | ||
"gitHead": "f4f70efd9d6790aace4a271996c1b4935658acff" | ||
} |
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
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
970766
12581