@metacall/protocol 0.1.19 → 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.
@@ -4,7 +4,7 @@ export declare enum LogType {
4
4
  Deploy = "deploy"
5
5
  }
6
6
  export declare type LanguageId = 'node' | 'ts' | 'rb' | 'py' | 'cs' | 'cob' | 'file' | 'rpc';
7
- declare enum ValueId {
7
+ export declare enum ValueId {
8
8
  METACALL_BOOL = 0,
9
9
  METACALL_CHAR = 1,
10
10
  METACALL_SHORT = 2,
@@ -6,7 +6,7 @@
6
6
 
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.LogType = void 0;
9
+ exports.ValueId = exports.LogType = void 0;
10
10
  var LogType;
11
11
  (function (LogType) {
12
12
  LogType["Job"] = "job";
@@ -33,4 +33,4 @@ var ValueId;
33
33
  ValueId[ValueId["METACALL_OBJECT"] = 16] = "METACALL_OBJECT";
34
34
  ValueId[ValueId["METACALL_SIZE"] = 17] = "METACALL_SIZE";
35
35
  ValueId[ValueId["METACALL_INVALID"] = 18] = "METACALL_INVALID";
36
- })(ValueId || (ValueId = {}));
36
+ })(ValueId = exports.ValueId || (exports.ValueId = {}));
@@ -17,7 +17,7 @@ export interface AddResponse {
17
17
  export interface Branches {
18
18
  branches: [string];
19
19
  }
20
- interface API {
20
+ export interface API {
21
21
  refresh(): Promise<string>;
22
22
  validate(): Promise<boolean>;
23
23
  deployEnabled(): Promise<boolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metacall/protocol",
3
- "version": "0.1.19",
3
+ "version": "0.1.21",
4
4
  "description": "Tool for deploying into MetaCall FaaS platform.",
5
5
  "exports": {
6
6
  "./*": "./dist/*.js",
package/src/deployment.ts CHANGED
@@ -25,7 +25,7 @@ export type LanguageId =
25
25
  | 'file'
26
26
  | 'rpc';
27
27
 
28
- enum ValueId {
28
+ export enum ValueId {
29
29
  METACALL_BOOL = 0,
30
30
  METACALL_CHAR = 1,
31
31
  METACALL_SHORT = 2,
package/src/protocol.ts CHANGED
@@ -47,7 +47,7 @@ export interface Branches {
47
47
  branches: [string];
48
48
  }
49
49
 
50
- interface API {
50
+ export interface API {
51
51
  refresh(): Promise<string>;
52
52
  validate(): Promise<boolean>;
53
53
  deployEnabled(): Promise<boolean>;