clarifai-web-grpc 1.1.0 → 1.1.1

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/CHANGELOG.md CHANGED
@@ -1,11 +1,6 @@
1
- # [1.1.0](https://github.com/Clarifai/clarifai-web-grpc/compare/v1.0.5...v1.1.0) (2022-01-25)
1
+ ## [1.1.1](https://github.com/Clarifai/clarifai-web-grpc/compare/v1.1.0...v1.1.1) (2022-01-27)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * export all the protobuf helpers ([c2ef895](https://github.com/Clarifai/clarifai-web-grpc/commit/c2ef89540400dd9db82e9436301896d51fd4b788))
7
-
8
-
9
- ### Features
10
-
11
- * move helpers from index to resources ([e3b6cf1](https://github.com/Clarifai/clarifai-web-grpc/commit/e3b6cf1bcb275c237246382e2f5e2e4b2905ae8e))
6
+ * use eslint. change re-export syntax to appease typescript compiler ([8992d6c](https://github.com/Clarifai/clarifai-web-grpc/commit/8992d6ce693f074661b2d6238490c315b430427b))
@@ -7,6 +7,6 @@ export { Struct } from 'google-protobuf/google/protobuf/struct_pb';
7
7
  export { Timestamp } from 'google-protobuf/google/protobuf/timestamp_pb';
8
8
  export { Type, Field, Enum, EnumValue, Option } from 'google-protobuf/google/protobuf/type_pb';
9
9
  export { DoubleValue, FloatValue, Int64Value, UInt64Value, Int32Value, UInt32Value, BoolValue, StringValue, BytesValue } from 'google-protobuf/google/protobuf/wrappers_pb';
10
- export { Error, Metadata } from 'grpc-web';
10
+ export type { Error, Metadata } from 'grpc-web';
11
11
  export { Status, BaseResponse } from './proto/clarifai/api/status/status_pb';
12
12
  export { StatusCode } from './proto/clarifai/api/status/status_code_pb';
@@ -7,6 +7,6 @@ export { Struct } from 'google-protobuf/google/protobuf/struct_pb';
7
7
  export { Timestamp } from 'google-protobuf/google/protobuf/timestamp_pb';
8
8
  export { Type, Field, Enum, EnumValue, Option } from 'google-protobuf/google/protobuf/type_pb';
9
9
  export { DoubleValue, FloatValue, Int64Value, UInt64Value, Int32Value, UInt32Value, BoolValue, StringValue, BytesValue } from 'google-protobuf/google/protobuf/wrappers_pb';
10
- export { Error, Metadata } from 'grpc-web';
10
+ export type { Error, Metadata } from 'grpc-web';
11
11
  export { Status, BaseResponse } from './proto/clarifai/api/status/status_pb';
12
12
  export { StatusCode } from './proto/clarifai/api/status/status_code_pb';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarifai-web-grpc",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "The official Clarifai gRPC-web client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -11,8 +11,9 @@
11
11
  "keywords": [],
12
12
  "scripts": {
13
13
  "test": "mocha",
14
- "lint": "standard index.ts resources.ts service.ts",
14
+ "lint": "eslint index.ts resources.ts service.ts",
15
15
  "clean": "rm -rf dist clarifai-web-grpc-*.tgz",
16
+ "typecheck": "tsc --pretty --noEmit",
16
17
  "build:cjs": "tsc -b tsconfig.cjs.json",
17
18
  "build:esm": "tsc -b",
18
19
  "build": "yarn build:esm && yarn build:cjs",
package/resources.ts CHANGED
@@ -10,6 +10,6 @@ export {
10
10
  DoubleValue, FloatValue, Int64Value, UInt64Value, Int32Value, UInt32Value,
11
11
  BoolValue, StringValue, BytesValue
12
12
  } from 'google-protobuf/google/protobuf/wrappers_pb'
13
- export { Error, Metadata } from 'grpc-web'
13
+ export type { Error, Metadata } from 'grpc-web'
14
14
  export { Status, BaseResponse } from './proto/clarifai/api/status/status_pb'
15
15
  export { StatusCode } from './proto/clarifai/api/status/status_code_pb'