clarifai-web-grpc 1.0.3 → 1.0.4
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/.github/workflows/ci.yml +4 -2
- package/CHANGELOG.md +2 -2
- package/dist/{google → cjs/google}/api/annotations_pb.d.ts +0 -0
- package/dist/{google → cjs/google}/api/annotations_pb.js +0 -0
- package/dist/{google → cjs/google}/api/http_pb.d.ts +0 -0
- package/dist/{google → cjs/google}/api/http_pb.js +0 -0
- package/dist/{index.d.ts → cjs/index.d.ts} +0 -0
- package/dist/cjs/index.js +15 -0
- package/dist/{proto → cjs/proto}/clarifai/api/resources_pb.d.ts +0 -0
- package/dist/{proto → cjs/proto}/clarifai/api/resources_pb.js +0 -0
- package/dist/{proto → cjs/proto}/clarifai/api/serviceServiceClientPb.d.ts +0 -0
- package/dist/cjs/proto/clarifai/api/serviceServiceClientPb.js +908 -0
- package/dist/{proto → cjs/proto}/clarifai/api/service_pb.d.ts +0 -0
- package/dist/{proto → cjs/proto}/clarifai/api/service_pb.js +0 -0
- package/dist/{proto → cjs/proto}/clarifai/api/status/status_code_pb.d.ts +0 -0
- package/dist/{proto → cjs/proto}/clarifai/api/status/status_code_pb.js +0 -0
- package/dist/{proto → cjs/proto}/clarifai/api/status/status_pb.d.ts +0 -0
- package/dist/{proto → cjs/proto}/clarifai/api/status/status_pb.js +0 -0
- package/dist/{proto → cjs/proto}/clarifai/api/utils/extensions_pb.d.ts +0 -0
- package/dist/{proto → cjs/proto}/clarifai/api/utils/extensions_pb.js +0 -0
- package/dist/{proto → cjs/proto}/clarifai/api/utils/test_proto_pb.d.ts +0 -0
- package/dist/{proto → cjs/proto}/clarifai/api/utils/test_proto_pb.js +0 -0
- package/dist/{proto → cjs/proto}/clarifai/auth/scope/scope_pb.d.ts +0 -0
- package/dist/{proto → cjs/proto}/clarifai/auth/scope/scope_pb.js +0 -0
- package/dist/{proto → cjs/proto}/clarifai/auth/types/types_pb.d.ts +0 -0
- package/dist/{proto → cjs/proto}/clarifai/auth/types/types_pb.js +0 -0
- package/dist/{proto → cjs/proto}/clarifai/auth/util/extension_pb.d.ts +0 -0
- package/dist/{proto → cjs/proto}/clarifai/auth/util/extension_pb.js +0 -0
- package/dist/{resources.d.ts → cjs/resources.d.ts} +0 -0
- package/dist/cjs/resources.js +13 -0
- package/dist/{service.d.ts → cjs/service.d.ts} +0 -0
- package/dist/cjs/service.js +13 -0
- package/dist/esm/google/api/annotations_pb.d.ts +1 -0
- package/dist/esm/google/api/annotations_pb.js +32 -0
- package/dist/esm/google/api/http_pb.d.ts +1 -0
- package/dist/esm/google/api/http_pb.js +813 -0
- package/dist/esm/index.d.ts +7 -0
- package/dist/{index.js → esm/index.js} +0 -0
- package/dist/esm/proto/clarifai/api/resources_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/api/resources_pb.js +32957 -0
- package/dist/esm/proto/clarifai/api/serviceServiceClientPb.d.ts +275 -0
- package/dist/{proto → esm/proto}/clarifai/api/serviceServiceClientPb.js +0 -0
- package/dist/esm/proto/clarifai/api/service_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +38791 -0
- package/dist/esm/proto/clarifai/api/status/status_code_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +312 -0
- package/dist/esm/proto/clarifai/api/status/status_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/api/status/status_pb.js +473 -0
- package/dist/esm/proto/clarifai/api/utils/extensions_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/api/utils/extensions_pb.js +52 -0
- package/dist/esm/proto/clarifai/api/utils/test_proto_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/api/utils/test_proto_pb.js +521 -0
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +294 -0
- package/dist/esm/proto/clarifai/auth/types/types_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/auth/types/types_pb.js +26 -0
- package/dist/esm/proto/clarifai/auth/util/extension_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/auth/util/extension_pb.js +80 -0
- package/dist/{resources.js → esm/resources.d.ts} +0 -0
- package/dist/esm/resources.js +1 -0
- package/dist/{service.js → esm/service.d.ts} +0 -0
- package/dist/esm/service.js +1 -0
- package/index.ts +1 -1
- package/package.json +9 -4
- package/tests/basic.test.ts +31 -4
- package/tests/package.test.ts +0 -0
- package/tsconfig.cjs.json +7 -0
- package/tsconfig.json +1 -1
package/.github/workflows/ci.yml
CHANGED
|
@@ -18,10 +18,12 @@ jobs:
|
|
|
18
18
|
node-version: 16
|
|
19
19
|
- name: Install deps
|
|
20
20
|
run: yarn install
|
|
21
|
-
- name:
|
|
22
|
-
run: yarn
|
|
21
|
+
- name: Lint code
|
|
22
|
+
run: yarn lint
|
|
23
23
|
- name: Build package
|
|
24
24
|
run: yarn build
|
|
25
|
+
- name: Run tests
|
|
26
|
+
run: yarn test
|
|
25
27
|
|
|
26
28
|
release:
|
|
27
29
|
needs: build
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## [1.0.
|
|
1
|
+
## [1.0.4](https://github.com/Clarifai/clarifai-web-grpc/compare/v1.0.3...v1.0.4) (2022-01-10)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* package exports cjs AND esm. add linting to CI ([2084657](https://github.com/Clarifai/clarifai-web-grpc/commit/2084657bde8fdbd702cb3b6cbe5e43c26658981c))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BaseResponse = exports.ClientReadableStream = exports.V2Client = exports.ClarifaiStub = void 0;
|
|
4
|
+
const serviceServiceClientPb_1 = require("./proto/clarifai/api/serviceServiceClientPb");
|
|
5
|
+
Object.defineProperty(exports, "V2Client", { enumerable: true, get: function () { return serviceServiceClientPb_1.V2Client; } });
|
|
6
|
+
class ClarifaiStub {
|
|
7
|
+
static grpc(hostname = 'api.clarifai.com') {
|
|
8
|
+
return new serviceServiceClientPb_1.V2Client(hostname);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.ClarifaiStub = ClarifaiStub;
|
|
12
|
+
var grpc_web_1 = require("grpc-web");
|
|
13
|
+
Object.defineProperty(exports, "ClientReadableStream", { enumerable: true, get: function () { return grpc_web_1.ClientReadableStream; } });
|
|
14
|
+
var status_pb_1 = require("./proto/clarifai/api/status/status_pb");
|
|
15
|
+
Object.defineProperty(exports, "BaseResponse", { enumerable: true, get: function () { return status_pb_1.BaseResponse; } });
|
|
File without changes
|
|
File without changes
|
|
File without changes
|