zephyr-edge-contract 0.0.0-canary.3 → 0.0.0-canary.31
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.
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/api-contract-negotiation/get-api-contract.d.ts +2 -0
- package/dist/lib/api-contract-negotiation/get-api-contract.js +4 -1
- package/dist/lib/api-contract-negotiation/get-api-contract.js.map +1 -1
- package/dist/lib/edge-api/publish-request.d.ts +3 -1
- package/dist/lib/snapshot.d.ts +1 -0
- package/dist/lib/zephyr-build-stats.d.ts +9 -9
- package/dist/lib/zephyr-build-stats.js +0 -9
- package/dist/lib/zephyr-build-stats.js.map +1 -1
- package/dist/lib/zephyr-manifest.d.ts +7 -14
- package/dist/lib/zephyr-manifest.js +1 -9
- package/dist/lib/zephyr-manifest.js.map +1 -1
- package/dist/package.json +9 -1
- package/eslint.config.mjs +3 -0
- package/package.json +9 -1
package/dist/index.d.ts
CHANGED
|
@@ -11,10 +11,10 @@ export type { ZeApplicationList } from './lib/ze-api/app-list';
|
|
|
11
11
|
export type { ZeAppVersion, ZeAppVersionResponse } from './lib/ze-api/app-version';
|
|
12
12
|
export type { ConvertedGraph } from './lib/ze-api/converted-graph';
|
|
13
13
|
export type { LocalPackageJson } from './lib/ze-api/local-package-json';
|
|
14
|
-
export type { ZephyrBuildStats, ZephyrDependency } from './lib/zephyr-build-stats';
|
|
14
|
+
export type { ApplicationConsumes, ZephyrBuildStats, ZephyrDependency, } from './lib/zephyr-build-stats';
|
|
15
15
|
export type { Asset, SnapshotUploadRes, Source, UploadableAsset, ZeBuildAsset, ZeBuildAssetsMap, ZeUploadAssetsOptions, } from './lib/zephyr-edge-contract';
|
|
16
16
|
export { ZEPHYR_MANIFEST_FILENAME, ZEPHYR_MANIFEST_VERSION, type ZephyrManifest, } from './lib/zephyr-manifest';
|
|
17
|
-
export { ZE_API_ENDPOINT, ZE_API_ENDPOINT_HOST, ze_api_gateway, ZE_IS_PREVIEW, ZEPHYR_API_ENDPOINT, } from './lib/api-contract-negotiation/get-api-contract';
|
|
17
|
+
export { ZE_API_ENDPOINT, ZE_API_ENDPOINT_HOST, ze_api_gateway, ZE_ENV, ZE_IS_PREVIEW, ZEPHYR_API_ENDPOINT, } from './lib/api-contract-negotiation/get-api-contract';
|
|
18
18
|
export { deferred, forEachLimit, isSuccessTuple, PromiseLazyLoad, PromiseTuple, PromiseWithResolvers, } from './lib/promise';
|
|
19
19
|
export { formatString, type FindTemplates } from './lib/string/string';
|
|
20
20
|
export { stripAnsi } from './lib/string/strip-ansi';
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.stripAnsi = exports.formatString = exports.PromiseWithResolvers = exports.PromiseTuple = exports.PromiseLazyLoad = exports.isSuccessTuple = exports.forEachLimit = exports.deferred = exports.ZEPHYR_API_ENDPOINT = exports.ZE_IS_PREVIEW = exports.ze_api_gateway = exports.ZE_API_ENDPOINT_HOST = exports.ZE_API_ENDPOINT = exports.ZEPHYR_MANIFEST_VERSION = exports.ZEPHYR_MANIFEST_FILENAME = exports.safe_json_parse = exports.normalize_app_name = exports.flatCreateSnapshotId = exports.createSnapshotId = exports.createApplicationUid = exports.ZeUtils = void 0;
|
|
4
|
+
exports.stripAnsi = exports.formatString = exports.PromiseWithResolvers = exports.PromiseTuple = exports.PromiseLazyLoad = exports.isSuccessTuple = exports.forEachLimit = exports.deferred = exports.ZEPHYR_API_ENDPOINT = exports.ZE_IS_PREVIEW = exports.ZE_ENV = exports.ze_api_gateway = exports.ZE_API_ENDPOINT_HOST = exports.ZE_API_ENDPOINT = exports.ZEPHYR_MANIFEST_VERSION = exports.ZEPHYR_MANIFEST_FILENAME = exports.safe_json_parse = exports.normalize_app_name = exports.flatCreateSnapshotId = exports.createSnapshotId = exports.createApplicationUid = exports.ZeUtils = void 0;
|
|
5
5
|
const tslib_1 = require("tslib");
|
|
6
6
|
exports.ZeUtils = tslib_1.__importStar(require("./lib/promise"));
|
|
7
7
|
var create_application_uid_1 = require("./lib/utils/create-application-uid");
|
|
@@ -21,6 +21,7 @@ var get_api_contract_1 = require("./lib/api-contract-negotiation/get-api-contrac
|
|
|
21
21
|
Object.defineProperty(exports, "ZE_API_ENDPOINT", { enumerable: true, get: function () { return get_api_contract_1.ZE_API_ENDPOINT; } });
|
|
22
22
|
Object.defineProperty(exports, "ZE_API_ENDPOINT_HOST", { enumerable: true, get: function () { return get_api_contract_1.ZE_API_ENDPOINT_HOST; } });
|
|
23
23
|
Object.defineProperty(exports, "ze_api_gateway", { enumerable: true, get: function () { return get_api_contract_1.ze_api_gateway; } });
|
|
24
|
+
Object.defineProperty(exports, "ZE_ENV", { enumerable: true, get: function () { return get_api_contract_1.ZE_ENV; } });
|
|
24
25
|
Object.defineProperty(exports, "ZE_IS_PREVIEW", { enumerable: true, get: function () { return get_api_contract_1.ZE_IS_PREVIEW; } });
|
|
25
26
|
Object.defineProperty(exports, "ZEPHYR_API_ENDPOINT", { enumerable: true, get: function () { return get_api_contract_1.ZEPHYR_API_ENDPOINT; } });
|
|
26
27
|
// promise proto methods
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,0BAA0B;;;;AAa1B,iEAAyC;AAEzC,6EAA0E;AAAjE,8HAAA,oBAAoB,OAAA;AAC7B,qEAAwF;AAA/E,sHAAA,gBAAgB,OAAA;AAAE,0HAAA,oBAAoB,OAAA;AAC/C,2EAAgG;AAAvF,2HAAA,qBAAqB,OAAsB;AACpD,+DAA8D;AAArD,kHAAA,eAAe,OAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,0BAA0B;;;;AAa1B,iEAAyC;AAEzC,6EAA0E;AAAjE,8HAAA,oBAAoB,OAAA;AAC7B,qEAAwF;AAA/E,sHAAA,gBAAgB,OAAA;AAAE,0HAAA,oBAAoB,OAAA;AAC/C,2EAAgG;AAAvF,2HAAA,qBAAqB,OAAsB;AACpD,+DAA8D;AAArD,kHAAA,eAAe,OAAA;AAmBxB,yDAI+B;AAH7B,2HAAA,wBAAwB,OAAA;AACxB,0HAAA,uBAAuB,OAAA;AAIzB,2BAA2B;AAC3B,oFAOyD;AANvD,mHAAA,eAAe,OAAA;AACf,wHAAA,oBAAoB,OAAA;AACpB,kHAAA,cAAc,OAAA;AACd,0GAAA,MAAM,OAAA;AACN,iHAAA,aAAa,OAAA;AACb,uHAAA,mBAAmB,OAAA;AAGrB,wBAAwB;AACxB,yCAOuB;AANrB,mGAAA,QAAQ,OAAA;AACR,uGAAA,YAAY,OAAA;AACZ,yGAAA,cAAc,OAAA;AACd,0GAAA,eAAe,OAAA;AACf,uGAAA,YAAY,OAAA;AACZ,+GAAA,oBAAoB,OAAA;AAGtB,uBAAuB;AACvB,8CAAuE;AAA9D,sGAAA,YAAY,OAAA;AACrB,sDAAoD;AAA3C,uGAAA,SAAS,OAAA"}
|
|
@@ -2,6 +2,7 @@ export declare const ZEPHYR_API_ENDPOINT: () => string;
|
|
|
2
2
|
export declare const ZE_API_ENDPOINT: () => string;
|
|
3
3
|
export declare const ZE_API_ENDPOINT_HOST: () => string;
|
|
4
4
|
export declare const ZE_IS_PREVIEW: () => boolean;
|
|
5
|
+
export declare const ZE_ENV: () => string | undefined;
|
|
5
6
|
export declare const ze_api_gateway: {
|
|
6
7
|
logs: string;
|
|
7
8
|
build_stats: string;
|
|
@@ -9,4 +10,5 @@ export declare const ze_api_gateway: {
|
|
|
9
10
|
resolve: string;
|
|
10
11
|
application_config: string;
|
|
11
12
|
websocket: string;
|
|
13
|
+
get_access_token_by_server_token: string;
|
|
12
14
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ze_api_gateway = exports.ZE_IS_PREVIEW = exports.ZE_API_ENDPOINT_HOST = exports.ZE_API_ENDPOINT = exports.ZEPHYR_API_ENDPOINT = void 0;
|
|
3
|
+
exports.ze_api_gateway = exports.ZE_ENV = 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
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;
|
|
@@ -15,6 +15,8 @@ const ZE_API_ENDPOINT_HOST = () => new URL((0, exports.ZE_API_ENDPOINT)()).host;
|
|
|
15
15
|
exports.ZE_API_ENDPOINT_HOST = ZE_API_ENDPOINT_HOST;
|
|
16
16
|
const ZE_IS_PREVIEW = () => process.env['ZE_IS_PREVIEW'] === 'true';
|
|
17
17
|
exports.ZE_IS_PREVIEW = ZE_IS_PREVIEW;
|
|
18
|
+
const ZE_ENV = () => process.env['ZE_ENV'];
|
|
19
|
+
exports.ZE_ENV = ZE_ENV;
|
|
18
20
|
exports.ze_api_gateway = {
|
|
19
21
|
logs: '/logs',
|
|
20
22
|
build_stats: '/build-stats',
|
|
@@ -22,5 +24,6 @@ exports.ze_api_gateway = {
|
|
|
22
24
|
resolve: '/resolve',
|
|
23
25
|
application_config: '/application-config',
|
|
24
26
|
websocket: '/websocket',
|
|
27
|
+
get_access_token_by_server_token: 'get-access-token-by-server-token',
|
|
25
28
|
};
|
|
26
29
|
//# sourceMappingURL=get-api-contract.js.map
|
|
@@ -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,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;
|
|
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;AAEpE,MAAM,MAAM,GAAG,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AAArC,QAAA,MAAM,UAA+B;AAErC,QAAA,cAAc,GAAG;IAC5B,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,cAAc;IAC3B,cAAc,EAAE,iBAAiB;IACjC,OAAO,EAAE,UAAU;IACnB,kBAAkB,EAAE,qBAAqB;IACzC,SAAS,EAAE,YAAY;IACvB,gCAAgC,EAAE,kCAAkC;CACrE,CAAC"}
|
|
@@ -26,7 +26,7 @@ export interface GatewayPublishRequest {
|
|
|
26
26
|
/** Previously `can_write_jwt` */
|
|
27
27
|
jwt: string;
|
|
28
28
|
/** Per-environment variables - map of hostname to variables for all deploys */
|
|
29
|
-
|
|
29
|
+
envVarSetEnvMap?: Record<string, Record<string, string>>;
|
|
30
30
|
}
|
|
31
31
|
export interface StageZeroPublishRequest {
|
|
32
32
|
application_uid: string;
|
|
@@ -51,5 +51,7 @@ export interface PublishRequest {
|
|
|
51
51
|
envs: PublishTarget[];
|
|
52
52
|
cnames: PublishTarget[];
|
|
53
53
|
};
|
|
54
|
+
envVarsHash?: string;
|
|
55
|
+
environmentVariables?: Record<string, Record<string, string>>;
|
|
54
56
|
jwt: string;
|
|
55
57
|
}
|
package/dist/lib/snapshot.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
1
|
/** Todo: this worst and most outdated model so far, had to be refactored */
|
|
3
2
|
export interface ZephyrBuildStats {
|
|
4
3
|
/** @deprecated */
|
|
@@ -98,6 +97,8 @@ export interface ZephyrBuildStats {
|
|
|
98
97
|
context: {
|
|
99
98
|
username?: string;
|
|
100
99
|
isCI: boolean;
|
|
100
|
+
env?: string;
|
|
101
|
+
target?: string;
|
|
101
102
|
};
|
|
102
103
|
/**
|
|
103
104
|
* Become the first part of `remote_host` and `remote_entry_url` in database in
|
|
@@ -132,14 +133,13 @@ declare enum DeploymentIntegrationPlatform {
|
|
|
132
133
|
AZURE = "azure",
|
|
133
134
|
GCP = "gcp"
|
|
134
135
|
}
|
|
135
|
-
export
|
|
136
|
-
application_uid:
|
|
137
|
-
remote_entry_url:
|
|
138
|
-
default_url:
|
|
139
|
-
name:
|
|
140
|
-
library_type:
|
|
141
|
-
}
|
|
142
|
-
export type ZephyrDependency = z.infer<typeof ZephyrDependencySchema>;
|
|
136
|
+
export interface ZephyrDependency {
|
|
137
|
+
application_uid: string;
|
|
138
|
+
remote_entry_url: string;
|
|
139
|
+
default_url: string;
|
|
140
|
+
name: string;
|
|
141
|
+
library_type: string;
|
|
142
|
+
}
|
|
143
143
|
export interface RawDependency {
|
|
144
144
|
name: string;
|
|
145
145
|
version: string;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.ZephyrDependencySchema = void 0;
|
|
5
|
-
const zod_1 = require("zod");
|
|
6
4
|
var DeploymentIntegrationPlatform;
|
|
7
5
|
(function (DeploymentIntegrationPlatform) {
|
|
8
6
|
DeploymentIntegrationPlatform["CLOUDFLARE"] = "cloudflare";
|
|
@@ -11,11 +9,4 @@ var DeploymentIntegrationPlatform;
|
|
|
11
9
|
DeploymentIntegrationPlatform["AZURE"] = "azure";
|
|
12
10
|
DeploymentIntegrationPlatform["GCP"] = "gcp";
|
|
13
11
|
})(DeploymentIntegrationPlatform || (DeploymentIntegrationPlatform = {}));
|
|
14
|
-
exports.ZephyrDependencySchema = zod_1.z.object({
|
|
15
|
-
application_uid: zod_1.z.string(),
|
|
16
|
-
remote_entry_url: zod_1.z.string(),
|
|
17
|
-
default_url: zod_1.z.string(),
|
|
18
|
-
name: zod_1.z.string(),
|
|
19
|
-
library_type: zod_1.z.string(),
|
|
20
|
-
});
|
|
21
12
|
//# sourceMappingURL=zephyr-build-stats.js.map
|
|
@@ -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;;AAyI1B,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"}
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ZephyrDependency } from './zephyr-build-stats';
|
|
2
2
|
export declare const ZEPHYR_MANIFEST_VERSION = "1.0.0";
|
|
3
3
|
export declare const ZEPHYR_MANIFEST_FILENAME = "zephyr-manifest.json";
|
|
4
|
-
export
|
|
5
|
-
version:
|
|
6
|
-
timestamp:
|
|
7
|
-
dependencies:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
default_url: z.ZodString;
|
|
11
|
-
name: z.ZodString;
|
|
12
|
-
library_type: z.ZodString;
|
|
13
|
-
}, z.core.$strip>>;
|
|
14
|
-
zeVars: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
15
|
-
}, z.core.$strip>;
|
|
16
|
-
export type ZephyrManifest = z.infer<typeof ZephyrManifestSchema>;
|
|
4
|
+
export interface ZephyrManifest {
|
|
5
|
+
version: string;
|
|
6
|
+
timestamp: string;
|
|
7
|
+
dependencies: Record<string, ZephyrDependency>;
|
|
8
|
+
zeVars: Record<string, string>;
|
|
9
|
+
}
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const zephyr_build_stats_1 = require("./zephyr-build-stats");
|
|
3
|
+
exports.ZEPHYR_MANIFEST_FILENAME = exports.ZEPHYR_MANIFEST_VERSION = void 0;
|
|
6
4
|
exports.ZEPHYR_MANIFEST_VERSION = '1.0.0';
|
|
7
5
|
exports.ZEPHYR_MANIFEST_FILENAME = 'zephyr-manifest.json';
|
|
8
|
-
exports.ZephyrManifestSchema = zod_1.z.object({
|
|
9
|
-
version: zod_1.z.string(),
|
|
10
|
-
timestamp: zod_1.z.string(),
|
|
11
|
-
dependencies: zod_1.z.record(zod_1.z.string(), zephyr_build_stats_1.ZephyrDependencySchema),
|
|
12
|
-
zeVars: zod_1.z.record(zod_1.z.string(), zod_1.z.string()),
|
|
13
|
-
});
|
|
14
6
|
//# sourceMappingURL=zephyr-manifest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zephyr-manifest.js","sourceRoot":"","sources":["../../src/lib/zephyr-manifest.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"zephyr-manifest.js","sourceRoot":"","sources":["../../src/lib/zephyr-manifest.ts"],"names":[],"mappings":";;;AAEa,QAAA,uBAAuB,GAAG,OAAO,CAAC;AAClC,QAAA,wBAAwB,GAAG,sBAAsB,CAAC"}
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zephyr-edge-contract",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Edge contract for Zephyr",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
"url": "https://github.com/ZephyrCloudIO"
|
|
14
14
|
},
|
|
15
15
|
"type": "commonjs",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"import": "./dist/index.js",
|
|
20
|
+
"require": "./dist/index.js",
|
|
21
|
+
"default": "./dist/index.js"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
16
24
|
"main": "dist/index.js",
|
|
17
25
|
"types": "dist/index.d.ts",
|
|
18
26
|
"scripts": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zephyr-edge-contract",
|
|
3
|
-
"version": "0.0.0-canary.
|
|
3
|
+
"version": "0.0.0-canary.31",
|
|
4
4
|
"description": "Edge contract for Zephyr",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
"url": "https://github.com/ZephyrCloudIO"
|
|
14
14
|
},
|
|
15
15
|
"type": "commonjs",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"import": "./dist/index.js",
|
|
20
|
+
"require": "./dist/index.js",
|
|
21
|
+
"default": "./dist/index.js"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
16
24
|
"main": "dist/index.js",
|
|
17
25
|
"types": "dist/index.d.ts",
|
|
18
26
|
"dependencies": {
|