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-use-owned-nfts-by-stores.1 to 0.0.4-v1-namespace.0

lib/api/attributes/attributesByMetaId.d.ts

1

lib/api/index.d.ts

@@ -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

4

package.json
{
"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

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