@nft-studio/js 0.1.20 → 0.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,6 +16,9 @@ const updateEnv = () => {
16
16
  _logger.default.info("updating js sdk env");
17
17
  envMap = {
18
18
  ..._config.default.env,
19
+ get isMultiTenant() {
20
+ return _config.default.env.tenantMode === "multiple";
21
+ },
19
22
  get chainHost() {
20
23
  return _config.default.env.CHAIN_HOST || process.env.CHAIN_HOST || "";
21
24
  },
@@ -9,6 +9,9 @@ const updateEnv = () => {
9
9
  logger.info("updating js sdk env");
10
10
  envMap = {
11
11
  ...config.env,
12
+ get isMultiTenant() {
13
+ return config.env.tenantMode === "multiple";
14
+ },
12
15
  get chainHost() {
13
16
  return config.env.CHAIN_HOST || process.env.CHAIN_HOST || "";
14
17
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nft-studio/js",
3
- "version": "0.1.20",
3
+ "version": "0.1.21",
4
4
  "description": "Node.js client for NFT Studio",
5
5
  "keywords": [
6
6
  "types",