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.3-rc to 0.0.4-publish-on-push.0

lib/api/index.d.ts

1

lib/constants.d.ts
export declare 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_";

3

lib/constants.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GRAPHQL_ENDPOINT = exports.NEAR_DATA_ENV = void 0;
exports.QUERY_OPS_PREFIX = exports.GRAPHQL_ENDPOINT = exports.NEAR_DATA_ENV = void 0;
exports.NEAR_DATA_ENV = process.env.NEAR_DATA_ENV || 'mainnet';
exports.GRAPHQL_ENDPOINT = `https://interop-${exports.NEAR_DATA_ENV}.hasura.app/v1/graphql`;
exports.QUERY_OPS_PREFIX = 'mintbase_js_data_';
//# sourceMappingURL=constants.js.map
export * from './tokenListingCounts/tokenListingCountsByMetaId';
export * from './ownedTokens/ownedTokens';
export * from './codegen/index';

@@ -18,3 +18,4 @@ "use strict";

__exportStar(require("./tokenListingCounts/tokenListingCountsByMetaId"), exports);
__exportStar(require("./ownedTokens/ownedTokens"), exports);
__exportStar(require("./codegen/index"), exports);
//# sourceMappingURL=index.js.map

@@ -5,4 +5,5 @@ "use strict";

const graphql_request_1 = require("graphql-request");
const constants_1 = require("../../constants");
exports.tokenListingCountsByMetaIdQuery = (0, graphql_request_1.gql) `
query mintbase_js_data_tokenCountsByMetaId (
query ${constants_1.QUERY_OPS_PREFIX}_tokenCountsByMetaId (
$metadataId: String!

@@ -9,0 +10,0 @@ ) {

{
"name": "@mintbase-js/data",
"version": "0.0.3-rc",
"version": "0.0.4-publish-on-push.0",
"description": "Query wrappers for Mintbase JS SDK",

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

},
"gitHead": "0744c62a02e4bee86d78cfa9e9999fdccf51bef6"
"gitHead": "84e949cf2494229e3b6b84d0de87080d2736deb6"
}

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

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