capdag 0.190.488 → 0.191.491

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.
Files changed (2) hide show
  1. package/capdag.js +6 -6
  2. package/package.json +1 -1
package/capdag.js CHANGED
@@ -1759,19 +1759,19 @@ const DEFAULT_SCHEMA_BASE = 'https://capdag.com/schema';
1759
1759
  * Get the schema base URL from environment variables or default
1760
1760
  *
1761
1761
  * Checks in order:
1762
- * 1. CAPDAG_SCHEMA_BASE_URL environment variable
1763
- * 2. CAPDAG_REGISTRY_URL environment variable + "/schema"
1762
+ * 1. CDG_SCHEMA_BASE_URL environment variable
1763
+ * 2. CDG_FABRIC_REGISTRY_URL environment variable + "/schema"
1764
1764
  * 3. Default: "https://capdag.com/schema"
1765
1765
  *
1766
1766
  * @returns {string} The schema base URL
1767
1767
  */
1768
1768
  function getSchemaBaseURL() {
1769
1769
  if (typeof process !== 'undefined' && process.env) {
1770
- if (process.env.CAPDAG_SCHEMA_BASE_URL) {
1771
- return process.env.CAPDAG_SCHEMA_BASE_URL;
1770
+ if (process.env.CDG_SCHEMA_BASE_URL) {
1771
+ return process.env.CDG_SCHEMA_BASE_URL;
1772
1772
  }
1773
- if (process.env.CAPDAG_REGISTRY_URL) {
1774
- return process.env.CAPDAG_REGISTRY_URL + '/schema';
1773
+ if (process.env.CDG_FABRIC_REGISTRY_URL) {
1774
+ return process.env.CDG_FABRIC_REGISTRY_URL + '/schema';
1775
1775
  }
1776
1776
  }
1777
1777
  return DEFAULT_SCHEMA_BASE;
package/package.json CHANGED
@@ -40,5 +40,5 @@
40
40
  "pretest": "npm run build:parser",
41
41
  "test": "node capdag.test.js"
42
42
  },
43
- "version": "0.190.488"
43
+ "version": "0.191.491"
44
44
  }