zephyr-edge-contract 0.0.0-canary-20241122175815 → 0.0.0-canary-20241223182338

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']) !== null && _a !== void 0 ? _a : 'https://api.zephyr-cloud.io'; };
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 = () => { var _a; return (_a = process.env['ZE_API_GATE']) !== null && _a !== void 0 ? _a : 'https://zeapi.zephyrcloud.app'; };
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,QA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,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"}
@@ -27,10 +27,7 @@ export interface ZephyrPluginOptions {
27
27
  exposes?: Record<string, string>;
28
28
  remotes?: Record<string, string>;
29
29
  shared?: Record<string, unknown>;
30
- runtimePlugins?: string[] | undefined;
31
30
  };
32
- target?: 'ios' | 'android' | 'web' | undefined;
33
- upload_file?: boolean;
34
31
  wait_for_index_html?: boolean;
35
32
  outputPath?: string;
36
33
  }
@@ -3,7 +3,6 @@ export interface ConvertedGraph {
3
3
  id?: string;
4
4
  version?: string;
5
5
  name?: string;
6
- /** //TODO: what is this? */
7
6
  remote: unknown;
8
7
  metadata: unknown;
9
8
  versionData: unknown;
@@ -18,5 +17,4 @@ export interface ConvertedGraph {
18
17
  dependencies?: LocalPackageJson[];
19
18
  devDependencies?: LocalPackageJson[];
20
19
  optionalDependencies?: LocalPackageJson[];
21
- target?: 'ios' | 'android' | 'web' | undefined;
22
20
  }
@@ -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 https://github.com/ZephyrCloudIO/zephyr-mono,
48
- * ZephyrCloudIO would be the org field here
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 https://github.com/ZephyrCloudIO/zephyr-mono,
53
- * zephyr-mono would be the project field here
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 */
@@ -100,8 +102,6 @@ export interface ZephyrBuildStats {
100
102
  domain?: string | undefined;
101
103
  /** @deprecated */
102
104
  platform?: DeploymentIntegrationPlatform | undefined;
103
- /** The target platform of the build */
104
- build_target?: string;
105
105
  /** @deprecated */
106
106
  type: unknown;
107
107
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zephyr-edge-contract",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "license": "Apache-2.0",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zephyr-edge-contract",
3
- "version": "0.0.0-canary-20241122175815",
3
+ "version": "0.0.0-canary-20241223182338",
4
4
  "license": "Apache-2.0",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",