Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mintbase-js/data

Package Overview
Dependencies
Maintainers
2
Versions
1320
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mintbase-js/data - npm Package Compare versions

Comparing version 0.0.4-rc21 to 0.0.4-rc22

4

lib/api/ownedTokens/ownedTokens.d.ts
import { Pagination } from '../../types';
export declare type OwnedTokens = {
export type OwnedTokens = {
lastTransferredAt: string;

@@ -14,5 +14,5 @@ tokenId: string;

};
export declare type OwnedTokensQueryResult = {
export type OwnedTokensQueryResult = {
tokens: OwnedTokens[];
};
export declare const ownedTokens: (ownerId: string, { limit, offset }: Pagination) => Promise<OwnedTokens[]>;
import { NftTokensAggregate } from '../../graphql/codegen/graphql';
export declare type TokenListingCounts = {
export type TokenListingCounts = {
totalTokensCount: number;

@@ -9,3 +9,3 @@ simpleListingCount: number;

};
export declare type TokenListingQueryResults = {
export type TokenListingQueryResults = {
tokensCount: NftTokensAggregate;

@@ -12,0 +12,0 @@ simpleListingsCount: NftTokensAggregate;

@@ -1,4 +0,4 @@

export declare type NearDataEnv = 'mainnet' | 'testnet' | 'sandbox';
export type NearDataEnv = 'mainnet' | 'testnet' | 'sandbox';
export declare const NEAR_DATA_ENV: string;
export declare const GRAPHQL_ENDPOINT: string;
export declare const QUERY_OPS_PREFIX = "mintbase_js_data_";
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
export declare type FragmentType<TDocumentType extends DocumentNode<any, any>> = TDocumentType extends DocumentNode<infer TType, any> ? TType extends {
export type FragmentType<TDocumentType extends DocumentNode<any, any>> = TDocumentType extends DocumentNode<infer TType, any> ? TType extends {
' $fragmentName'?: infer TKey;

@@ -4,0 +4,0 @@ } ? TKey extends string ? {

import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
export declare function graphql(source: string): unknown;
export declare type DocumentType<TDocumentNode extends DocumentNode<any, any>> = TDocumentNode extends DocumentNode<infer TType, any> ? TType : never;
export type DocumentType<TDocumentNode extends DocumentNode<any, any>> = TDocumentNode extends DocumentNode<infer TType, any> ? TType : never;

@@ -5,3 +5,3 @@ import { DocumentNode } from 'graphql';

}
export declare type GqlFetchResult<T> = {
export type GqlFetchResult<T> = {
data?: T;

@@ -8,0 +8,0 @@ error?: GraphqlFetchingError;

@@ -1,4 +0,4 @@

export declare type Pagination = {
export type Pagination = {
limit: number;
offset?: number;
};
{
"name": "@mintbase-js/data",
"version": "0.0.4-rc21",
"version": "0.0.4-rc22",
"description": "Query wrappers for Mintbase JS SDK",

@@ -30,3 +30,3 @@ "main": "lib/index.js",

},
"gitHead": "a7baa6d1550a245a4b52a34007a9428e857357a2"
"gitHead": "9fd5b879467fbce379431074133e8cff9fb332ea"
}
[//]: # `{ "title": "@mintbase-js/data", "order": 1 }`
# @mintbase-js/data
# Fetching Data From the Indexer
This is your one stop shop for all things data. We've got it all! Graphql? no problem. Blazing fast wrappers? You betcha.
For as long as we have had an indexer, we have relied on GraphQL to provide builders with a flexible and efficient way to query data any way they like.
Check back soon for even more great documentation right here.
While we will continue to provide public and tailored schema objects, we will begin to introduce helper methods here that can be used to query data **without having to write any graphql**.
For now, reference our [existing graphql docs](https://docs.mintbase.io/dev/read-data/mintbase-graph) and be sure to check back here soon for updates to our data layer APIs.

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc