clarifai-web-grpc 1.0.0 → 1.0.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 +2 -2
- package/README.md +4 -2
- package/dist/index.d.ts +1 -0
- package/index.ts +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
## [1.0.1](https://github.com/Clarifai/clarifai-web-grpc/compare/v1.0.0...v1.0.1) (2022-01-05)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* re-export grpc-web error type for ease-of-use ([faf6d1a](https://github.com/Clarifai/clarifai-web-grpc/commit/faf6d1a573c943d0158013519ef0885a260e39e3))
|
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
The official Clarifai gRPC client for use in client browser applications.
|
|
4
4
|
|
|
5
|
+
[](https://www.npmjs.com/package/clarifai-web-grpc)
|
|
6
|
+
|
|
5
7
|
## Installation
|
|
6
8
|
|
|
7
9
|
```bash
|
|
@@ -12,8 +14,8 @@ yarn add clarifai-web-grpc
|
|
|
12
14
|
|
|
13
15
|
```ts
|
|
14
16
|
import { ClarifaiStub } from 'clarifai-web-grpc'
|
|
15
|
-
import { App } from '
|
|
16
|
-
import { PostAppsRequest } from '
|
|
17
|
+
import { App } from 'clarifai-web-grpc/resources'
|
|
18
|
+
import { PostAppsRequest } from 'clarifai-web-grpc/service'
|
|
17
19
|
|
|
18
20
|
const client = ClarifaiStub.grpc()
|
|
19
21
|
// use client to create an App
|
package/dist/index.d.ts
CHANGED
package/index.ts
CHANGED