clarifai-web-grpc 4.0.0 → 4.1.0

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
- # [4.0.0](https://github.com/Clarifai/clarifai-web-grpc/compare/v3.0.0...v4.0.0) (2022-03-28)
1
+ # [4.1.0](https://github.com/Clarifai/clarifai-web-grpc/compare/v4.0.0...v4.1.0) (2022-03-28)
2
2
 
3
3
 
4
- ### Documentation
4
+ ### Features
5
5
 
6
- * update docs to show correct module paths ([a0a8116](https://github.com/Clarifai/clarifai-web-grpc/commit/a0a8116cf7e2e07ca37432574b2ea83594c22eb8))
7
-
8
-
9
- ### BREAKING CHANGES
10
-
11
- * trigger a release
6
+ * export V2PromiseClient ([aed8964](https://github.com/Clarifai/clarifai-web-grpc/commit/aed8964420c3c46fe12537669044a1f539bacacf))
@@ -1,7 +1,7 @@
1
- import { V2Client } from './proto/clarifai/api/service_grpc_web_pb';
1
+ import { V2Client, V2PromiseClient } from './proto/clarifai/api/service_grpc_web_pb';
2
2
  export declare class ClarifaiStub {
3
3
  static grpc(hostname?: string): V2Client;
4
4
  }
5
- export { V2Client };
5
+ export { V2Client, V2PromiseClient };
6
6
  export { RpcError, Metadata, ClientReadableStream } from 'grpc-web';
7
7
  export { BaseResponse } from './proto/clarifai/api/status/status_pb';
package/dist/cjs/index.js CHANGED
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BaseResponse = exports.ClientReadableStream = exports.RpcError = exports.V2Client = exports.ClarifaiStub = void 0;
3
+ exports.BaseResponse = exports.ClientReadableStream = exports.RpcError = exports.V2PromiseClient = exports.V2Client = exports.ClarifaiStub = void 0;
4
4
  const service_grpc_web_pb_1 = require("./proto/clarifai/api/service_grpc_web_pb");
5
5
  Object.defineProperty(exports, "V2Client", { enumerable: true, get: function () { return service_grpc_web_pb_1.V2Client; } });
6
+ Object.defineProperty(exports, "V2PromiseClient", { enumerable: true, get: function () { return service_grpc_web_pb_1.V2PromiseClient; } });
6
7
  class ClarifaiStub {
7
8
  static grpc(hostname = 'api.clarifai.com') {
8
9
  return new service_grpc_web_pb_1.V2Client(hostname);
@@ -1,7 +1,7 @@
1
- import { V2Client } from './proto/clarifai/api/service_grpc_web_pb';
1
+ import { V2Client, V2PromiseClient } from './proto/clarifai/api/service_grpc_web_pb';
2
2
  export declare class ClarifaiStub {
3
3
  static grpc(hostname?: string): V2Client;
4
4
  }
5
- export { V2Client };
5
+ export { V2Client, V2PromiseClient };
6
6
  export { RpcError, Metadata, ClientReadableStream } from 'grpc-web';
7
7
  export { BaseResponse } from './proto/clarifai/api/status/status_pb';
package/dist/esm/index.js CHANGED
@@ -1,9 +1,9 @@
1
- import { V2Client } from './proto/clarifai/api/service_grpc_web_pb';
1
+ import { V2Client, V2PromiseClient } from './proto/clarifai/api/service_grpc_web_pb';
2
2
  export class ClarifaiStub {
3
3
  static grpc(hostname = 'api.clarifai.com') {
4
4
  return new V2Client(hostname);
5
5
  }
6
6
  }
7
- export { V2Client };
7
+ export { V2Client, V2PromiseClient };
8
8
  export { RpcError, ClientReadableStream } from 'grpc-web';
9
9
  export { BaseResponse } from './proto/clarifai/api/status/status_pb';
package/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { V2Client } from './proto/clarifai/api/service_grpc_web_pb'
1
+ import { V2Client, V2PromiseClient } from './proto/clarifai/api/service_grpc_web_pb'
2
2
 
3
3
  export class ClarifaiStub {
4
4
  static grpc (hostname = 'api.clarifai.com') {
@@ -6,6 +6,6 @@ export class ClarifaiStub {
6
6
  }
7
7
  }
8
8
 
9
- export { V2Client }
9
+ export { V2Client, V2PromiseClient }
10
10
  export { RpcError, Metadata, ClientReadableStream } from 'grpc-web'
11
11
  export { BaseResponse } from './proto/clarifai/api/status/status_pb'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarifai-web-grpc",
3
- "version": "4.0.0",
3
+ "version": "4.1.0",
4
4
  "description": "The official Clarifai gRPC-web client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",