zephyr-edge-contract 0.0.0-canary-20241223182024 → 0.0.0-canary-20250104043432
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.
|
@@ -2,9 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ze_api_gateway = exports.ZE_IS_PREVIEW = exports.ZE_API_ENDPOINT_HOST = exports.ZE_API_ENDPOINT = exports.ZEPHYR_API_ENDPOINT = void 0;
|
|
4
4
|
/* istanbul ignore file */
|
|
5
|
-
const ZEPHYR_API_ENDPOINT = () => { var _a; return (_a = process.env['ZE_API'])
|
|
5
|
+
const ZEPHYR_API_ENDPOINT = () => { var _a; return ((_a = process.env['ZE_API']) === null || _a === void 0 ? void 0 : _a.length) ? process.env['ZE_API'] : 'https://api.zephyr-cloud.io'; };
|
|
6
6
|
exports.ZEPHYR_API_ENDPOINT = ZEPHYR_API_ENDPOINT;
|
|
7
|
-
const ZE_API_ENDPOINT = () => {
|
|
7
|
+
const ZE_API_ENDPOINT = () => {
|
|
8
|
+
var _a;
|
|
9
|
+
return ((_a = process.env['ZE_API_GATE']) === null || _a === void 0 ? void 0 : _a.length)
|
|
10
|
+
? process.env['ZE_API_GATE']
|
|
11
|
+
: 'https://zeapi.zephyrcloud.app';
|
|
12
|
+
};
|
|
8
13
|
exports.ZE_API_ENDPOINT = ZE_API_ENDPOINT;
|
|
9
14
|
const ZE_API_ENDPOINT_HOST = () => new URL((0, exports.ZE_API_ENDPOINT)()).host;
|
|
10
15
|
exports.ZE_API_ENDPOINT_HOST = ZE_API_ENDPOINT_HOST;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-api-contract.js","sourceRoot":"","sources":["../../../src/lib/api-contract-negotiation/get-api-contract.ts"],"names":[],"mappings":";;;AAAA,0BAA0B;AACnB,MAAM,mBAAmB,GAAG,GAAG,EAAE,WACtC,OAAA,MAAA,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"get-api-contract.js","sourceRoot":"","sources":["../../../src/lib/api-contract-negotiation/get-api-contract.ts"],"names":[],"mappings":";;;AAAA,0BAA0B;AACnB,MAAM,mBAAmB,GAAG,GAAG,EAAE,WACtC,OAAA,CAAA,MAAA,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,0CAAE,MAAM,EAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,6BAA6B,CAAA,EAAA,CAAC;AAD3E,QAAA,mBAAmB,uBACwD;AAEjF,MAAM,eAAe,GAAG,GAAG,EAAE;;IAClC,OAAA,CAAA,MAAA,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,0CAAE,MAAM;QAChC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC;QAC5B,CAAC,CAAC,+BAA+B,CAAA;CAAA,CAAC;AAHzB,QAAA,eAAe,mBAGU;AAE/B,MAAM,oBAAoB,GAAG,GAAG,EAAE,CAAC,IAAI,GAAG,CAAC,IAAA,uBAAe,GAAE,CAAC,CAAC,IAAI,CAAC;AAA7D,QAAA,oBAAoB,wBAAyC;AAEnE,MAAM,aAAa,GAAG,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,KAAK,MAAM,CAAC;AAA9D,QAAA,aAAa,iBAAiD;AAE9D,QAAA,cAAc,GAAG;IAC5B,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,cAAc;IAC3B,SAAS,EAAE,YAAY;IACvB,OAAO,EAAE,UAAU;IACnB,kBAAkB,EAAE,qBAAqB;CAC1C,CAAC"}
|
|
@@ -44,13 +44,15 @@ export interface ZephyrBuildStats {
|
|
|
44
44
|
/** Version field form package.json */
|
|
45
45
|
version: string;
|
|
46
46
|
/**
|
|
47
|
-
* If the repository's git remote url is
|
|
48
|
-
* ZephyrCloudIO would be the org
|
|
47
|
+
* If the repository's git remote url is
|
|
48
|
+
* https://github.com/ZephyrCloudIO/zephyr-packages, ZephyrCloudIO would be the org
|
|
49
|
+
* field here
|
|
49
50
|
*/
|
|
50
51
|
org: string;
|
|
51
52
|
/**
|
|
52
|
-
* If the repository's git remote url is
|
|
53
|
-
* zephyr-
|
|
53
|
+
* If the repository's git remote url is
|
|
54
|
+
* https://github.com/ZephyrCloudIO/zephyr-packages, zephyr-packages would be the
|
|
55
|
+
* project field here
|
|
54
56
|
*/
|
|
55
57
|
project: string;
|
|
56
58
|
/** This is the user's uuid */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zephyr-build-stats.js","sourceRoot":"","sources":["../../src/lib/zephyr-build-stats.ts"],"names":[],"mappings":";AAAA,0BAA0B;;
|
|
1
|
+
{"version":3,"file":"zephyr-build-stats.js","sourceRoot":"","sources":["../../src/lib/zephyr-build-stats.ts"],"names":[],"mappings":";AAAA,0BAA0B;;AAmH1B,IAAK,6BAMJ;AAND,WAAK,6BAA6B;IAChC,0DAAyB,CAAA;IACzB,4CAAW,CAAA;IACX,oDAAmB,CAAA;IACnB,gDAAe,CAAA;IACf,4CAAW,CAAA;AACb,CAAC,EANI,6BAA6B,KAA7B,6BAA6B,QAMjC"}
|