clarifai-web-grpc 1.1.4 → 1.1.5
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/lib/google/api/annotations_grpc_pb.js +1 -2
- package/lib/google/api/annotations_pb.js +19 -4
- package/lib/google/api/http_grpc_pb.js +1 -2
- package/lib/google/api/http_pb.js +606 -414
- package/lib/proto/clarifai/api/resources_pb.d.ts +5052 -1
- package/lib/proto/clarifai/api/resources_pb.js +26126 -17879
- package/lib/proto/clarifai/api/serviceServiceClientPb.ts +3002 -0
- package/lib/proto/clarifai/api/service_pb.d.ts +5582 -1
- package/lib/proto/clarifai/api/service_pb.js +30050 -20944
- package/lib/proto/clarifai/api/status/status_code_pb.d.ts +296 -1
- package/lib/proto/clarifai/api/status/status_code_pb.js +295 -293
- package/lib/proto/clarifai/api/status/status_pb.d.ts +73 -1
- package/lib/proto/clarifai/api/status/status_pb.js +357 -250
- package/lib/proto/clarifai/api/utils/extensions_pb.d.ts +4 -1
- package/lib/proto/clarifai/api/utils/extensions_pb.js +53 -10
- package/lib/proto/clarifai/api/utils/test_proto_pb.d.ts +81 -1
- package/lib/proto/clarifai/api/utils/test_proto_pb.js +385 -266
- package/lib/proto/clarifai/auth/scope/scope_pb.d.ts +92 -1
- package/lib/proto/clarifai/auth/scope/scope_pb.js +232 -163
- package/lib/proto/clarifai/auth/types/types_pb.d.ts +10 -1
- package/lib/proto/clarifai/auth/types/types_pb.js +9 -7
- package/lib/proto/clarifai/auth/util/extension_pb.d.ts +6 -1
- package/lib/proto/clarifai/auth/util/extension_pb.js +87 -16
- package/package.json +15 -24
- package/tests/basic.test.ts +4 -30
- package/tests/helpers.test.ts +25 -41
- package/tsconfig.json +5 -4
- package/dist/google/api/annotations_grpc_pb.d.ts +0 -0
- package/dist/google/api/annotations_grpc_pb.js +0 -2
- package/dist/google/api/annotations_pb.d.ts +0 -1
- package/dist/google/api/annotations_pb.js +0 -32
- package/dist/google/api/http_grpc_pb.d.ts +0 -0
- package/dist/google/api/http_grpc_pb.js +0 -2
- package/dist/google/api/http_pb.d.ts +0 -1
- package/dist/google/api/http_pb.js +0 -813
- package/dist/index.d.ts +0 -5
- package/dist/index.js +0 -11
- package/dist/proto/clarifai/api/resources_pb.d.ts +0 -1
- package/dist/proto/clarifai/api/resources_pb.js +0 -32957
- package/dist/proto/clarifai/api/serviceServiceClientPb.d.ts +0 -275
- package/dist/proto/clarifai/api/serviceServiceClientPb.js +0 -908
- package/dist/proto/clarifai/api/service_pb.d.ts +0 -1
- package/dist/proto/clarifai/api/service_pb.js +0 -38791
- package/dist/proto/clarifai/api/status/status_code_pb.d.ts +0 -1
- package/dist/proto/clarifai/api/status/status_code_pb.js +0 -312
- package/dist/proto/clarifai/api/status/status_pb.d.ts +0 -1
- package/dist/proto/clarifai/api/status/status_pb.js +0 -473
- package/dist/proto/clarifai/api/utils/extensions_pb.d.ts +0 -1
- package/dist/proto/clarifai/api/utils/extensions_pb.js +0 -52
- package/dist/proto/clarifai/api/utils/test_proto_pb.d.ts +0 -1
- package/dist/proto/clarifai/api/utils/test_proto_pb.js +0 -521
- package/dist/proto/clarifai/auth/scope/scope_pb.d.ts +0 -1
- package/dist/proto/clarifai/auth/scope/scope_pb.js +0 -294
- package/dist/proto/clarifai/auth/types/types_pb.d.ts +0 -1
- package/dist/proto/clarifai/auth/types/types_pb.js +0 -26
- package/dist/proto/clarifai/auth/util/extension_pb.d.ts +0 -1
- package/dist/proto/clarifai/auth/util/extension_pb.js +0 -80
- package/dist/resources.d.ts +0 -12
- package/dist/resources.js +0 -47
- package/dist/service.d.ts +0 -1
- package/dist/service.js +0 -13
- package/tsconfig.cjs.json +0 -7
package/dist/index.d.ts
DELETED
package/dist/index.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
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-grpc-web.clarifai.com') {
|
|
8
|
-
return new serviceServiceClientPb_1.V2Client(hostname);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
exports.ClarifaiStub = ClarifaiStub;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|