@mintbase-js/data
Advanced tools
Comparing version 0.0.4-use-owned-nfts-by-stores.1 to 0.0.4-v1-namespace.0
@@ -6,1 +6,2 @@ export * from './tokenListingCounts/tokenListingCountsByMetaId'; | ||
export * from './ownedNftsByStore/ownedNftsByStore'; | ||
export * from './attributes/attributesByMetaId'; |
@@ -22,2 +22,3 @@ "use strict"; | ||
__exportStar(require("./ownedNftsByStore/ownedNftsByStore"), exports); | ||
__exportStar(require("./attributes/attributesByMetaId"), exports); | ||
//# sourceMappingURL=index.js.map |
export declare type NearDataEnv = 'mainnet' | 'testnet' | 'sandbox'; | ||
export declare const DataNetwork: { | ||
MAINNET: string; | ||
TESTNET: string; | ||
SANDBOX: string; | ||
}; | ||
export declare const NEAR_DATA_ENV: string; | ||
export declare const GRAPHQL_ENDPOINT: string; | ||
export declare const QUERY_OPS_PREFIX = "mintbase_js_data_"; |
"use strict"; | ||
var _a, _b; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.QUERY_OPS_PREFIX = exports.GRAPHQL_ENDPOINT = exports.NEAR_DATA_ENV = void 0; | ||
exports.QUERY_OPS_PREFIX = exports.GRAPHQL_ENDPOINT = exports.NEAR_DATA_ENV = exports.DataNetwork = void 0; | ||
exports.DataNetwork = { | ||
MAINNET: 'mainnet', | ||
TESTNET: 'testnet', | ||
SANDBOX: 'sandbox', | ||
}; | ||
let hostBasedNetworkDefault = exports.DataNetwork.MAINNET; | ||
if ((_a = globalThis === null || globalThis === void 0 ? void 0 : globalThis.window) === null || _a === void 0 ? void 0 : _a.location.host.includes(exports.DataNetwork.TESTNET)) { | ||
hostBasedNetworkDefault = exports.DataNetwork.TESTNET; | ||
} | ||
if ((_b = globalThis === null || globalThis === void 0 ? void 0 : globalThis.window) === null || _b === void 0 ? void 0 : _b.location.host.includes(exports.DataNetwork.SANDBOX)) { | ||
hostBasedNetworkDefault = exports.DataNetwork.SANDBOX; | ||
} | ||
exports.NEAR_DATA_ENV = process.env.NEAR_DATA_ENV || | ||
process.env.NEXT_PUBLIC_NEAR_DATA_ENV || | ||
'mainnet'; | ||
hostBasedNetworkDefault; | ||
exports.GRAPHQL_ENDPOINT = `https://interop-${exports.NEAR_DATA_ENV}.hasura.app/v1/graphql`; | ||
exports.QUERY_OPS_PREFIX = 'mintbase_js_data_'; | ||
//# sourceMappingURL=constants.js.map |
{ | ||
"name": "@mintbase-js/data", | ||
"version": "0.0.4-use-owned-nfts-by-stores.1", | ||
"version": "0.0.4-v1-namespace.0", | ||
"description": "Query wrappers for Mintbase JS SDK", | ||
@@ -30,3 +30,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "8a66534bb8ca5da6a11c6e159fd5c3111a62c528" | ||
"gitHead": "438306c7348b0c9d3aa643510bc4d86202468b64" | ||
} |
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
359976
87
7741