@mintbase-js/data
Advanced tools
Comparing version 0.0.4-rc15 to 0.0.4-rc16
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_"; |
"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.4-rc15", | ||
"version": "0.0.4-rc16", | ||
"description": "Query wrappers for Mintbase JS SDK", | ||
@@ -30,3 +30,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "c7633e16b687c6d2ea5079808ff88de120351601" | ||
"gitHead": "b39a08dbe0a9fd64da1d23a5a1319c5bb369ce5e" | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
255794
44
5563