clarifai-web-grpc 1.1.1 → 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.d.ts +0 -0
- package/{google → lib/google}/api/annotations_grpc_pb.js +0 -0
- package/{dist/cjs → lib}/google/api/annotations_pb.d.ts +0 -0
- package/{google → lib/google}/api/annotations_pb.js +0 -0
- package/lib/google/api/http_grpc_pb.d.ts +0 -0
- package/{google → lib/google}/api/http_grpc_pb.js +0 -0
- package/{dist/cjs → lib}/google/api/http_pb.d.ts +0 -0
- package/{google → lib/google}/api/http_pb.js +0 -0
- package/{dist/cjs → lib}/index.d.ts +0 -0
- package/{dist/esm → lib}/index.js +0 -0
- package/{proto → lib/proto}/clarifai/api/resources_pb.d.ts +0 -0
- package/{proto → lib/proto}/clarifai/api/resources_pb.js +0 -0
- package/{dist/cjs → lib}/proto/clarifai/api/serviceServiceClientPb.d.ts +0 -0
- package/{dist/esm → lib}/proto/clarifai/api/serviceServiceClientPb.js +0 -0
- package/{proto → lib/proto}/clarifai/api/serviceServiceClientPb.ts +0 -0
- package/{proto → lib/proto}/clarifai/api/service_pb.d.ts +0 -0
- package/{proto → lib/proto}/clarifai/api/service_pb.js +0 -0
- package/{proto → lib/proto}/clarifai/api/status/status_code_pb.d.ts +0 -0
- package/{proto → lib/proto}/clarifai/api/status/status_code_pb.js +0 -0
- package/{proto → lib/proto}/clarifai/api/status/status_pb.d.ts +0 -0
- package/{proto → lib/proto}/clarifai/api/status/status_pb.js +0 -0
- package/{proto → lib/proto}/clarifai/api/utils/extensions_pb.d.ts +0 -0
- package/{proto → lib/proto}/clarifai/api/utils/extensions_pb.js +0 -0
- package/{proto → lib/proto}/clarifai/api/utils/test_proto_pb.d.ts +0 -0
- package/{proto → lib/proto}/clarifai/api/utils/test_proto_pb.js +0 -0
- package/{proto → lib/proto}/clarifai/auth/scope/scope_pb.d.ts +0 -0
- package/{proto → lib/proto}/clarifai/auth/scope/scope_pb.js +0 -0
- package/{proto → lib/proto}/clarifai/auth/types/types_pb.d.ts +0 -0
- package/{proto → lib/proto}/clarifai/auth/types/types_pb.js +0 -0
- package/{proto → lib/proto}/clarifai/auth/util/extension_pb.d.ts +0 -0
- package/{proto → lib/proto}/clarifai/auth/util/extension_pb.js +0 -0
- package/{dist/cjs → lib}/resources.d.ts +0 -0
- package/{dist/esm → lib}/resources.js +0 -0
- package/{dist/cjs → lib}/service.d.ts +0 -0
- package/{dist/esm → lib}/service.js +0 -0
- package/package.json +21 -10
- package/src/google/api/annotations_grpc_pb.js +1 -0
- package/{dist/cjs → src}/google/api/annotations_pb.js +19 -4
- package/src/google/api/http_grpc_pb.js +1 -0
- package/src/google/api/http_pb.js +1005 -0
- package/src/proto/clarifai/api/resources_pb.d.ts +5052 -0
- package/src/proto/clarifai/api/resources_pb.js +41204 -0
- package/src/proto/clarifai/api/serviceServiceClientPb.ts +3002 -0
- package/src/proto/clarifai/api/service_pb.d.ts +5582 -0
- package/src/proto/clarifai/api/service_pb.js +47897 -0
- package/src/proto/clarifai/api/status/status_code_pb.d.ts +296 -0
- package/src/proto/clarifai/api/status/status_code_pb.js +314 -0
- package/src/proto/clarifai/api/status/status_pb.d.ts +73 -0
- package/src/proto/clarifai/api/status/status_pb.js +580 -0
- package/src/proto/clarifai/api/utils/extensions_pb.d.ts +4 -0
- package/{dist/cjs → src}/proto/clarifai/api/utils/extensions_pb.js +53 -10
- package/src/proto/clarifai/api/utils/test_proto_pb.d.ts +81 -0
- package/src/proto/clarifai/api/utils/test_proto_pb.js +640 -0
- package/src/proto/clarifai/auth/scope/scope_pb.d.ts +92 -0
- package/src/proto/clarifai/auth/scope/scope_pb.js +363 -0
- package/src/proto/clarifai/auth/types/types_pb.d.ts +10 -0
- package/{dist/cjs → src}/proto/clarifai/auth/types/types_pb.js +9 -7
- package/src/proto/clarifai/auth/util/extension_pb.d.ts +6 -0
- package/{dist/esm → src}/proto/clarifai/auth/util/extension_pb.js +87 -16
- package/tests/basic.test.ts +4 -30
- package/tests/helpers.test.ts +25 -41
- package/tsconfig.json +6 -8
- package/dist/cjs/google/api/http_pb.js +0 -813
- package/dist/cjs/index.js +0 -11
- package/dist/cjs/proto/clarifai/api/resources_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +0 -32957
- package/dist/cjs/proto/clarifai/api/serviceServiceClientPb.js +0 -908
- package/dist/cjs/proto/clarifai/api/service_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/api/service_pb.js +0 -38791
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +0 -312
- package/dist/cjs/proto/clarifai/api/status/status_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/api/status/status_pb.js +0 -473
- package/dist/cjs/proto/clarifai/api/utils/extensions_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/api/utils/test_proto_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/api/utils/test_proto_pb.js +0 -521
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +0 -294
- package/dist/cjs/proto/clarifai/auth/types/types_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/auth/util/extension_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/auth/util/extension_pb.js +0 -80
- package/dist/cjs/resources.js +0 -47
- package/dist/cjs/service.js +0 -13
- package/dist/esm/google/api/annotations_pb.d.ts +0 -1
- package/dist/esm/google/api/annotations_pb.js +0 -32
- package/dist/esm/google/api/http_pb.d.ts +0 -1
- package/dist/esm/google/api/http_pb.js +0 -813
- package/dist/esm/index.d.ts +0 -5
- package/dist/esm/proto/clarifai/api/resources_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +0 -32957
- package/dist/esm/proto/clarifai/api/serviceServiceClientPb.d.ts +0 -275
- package/dist/esm/proto/clarifai/api/service_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/api/service_pb.js +0 -38791
- package/dist/esm/proto/clarifai/api/status/status_code_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +0 -312
- package/dist/esm/proto/clarifai/api/status/status_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/api/status/status_pb.js +0 -473
- package/dist/esm/proto/clarifai/api/utils/extensions_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/api/utils/extensions_pb.js +0 -52
- package/dist/esm/proto/clarifai/api/utils/test_proto_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/api/utils/test_proto_pb.js +0 -521
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +0 -294
- package/dist/esm/proto/clarifai/auth/types/types_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/auth/types/types_pb.js +0 -26
- package/dist/esm/proto/clarifai/auth/util/extension_pb.d.ts +0 -1
- package/dist/esm/resources.d.ts +0 -12
- package/dist/esm/service.d.ts +0 -1
- package/index.ts +0 -9
- package/resources.ts +0 -15
- package/service.ts +0 -1
- package/tsconfig.cjs.json +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## [1.1.
|
|
1
|
+
## [1.1.5](https://github.com/Clarifai/clarifai-web-grpc/compare/v1.1.4...v1.1.5) (2022-01-31)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* remove CJS and clean up package resolution ([14b5d31](https://github.com/Clarifai/clarifai-web-grpc/commit/14b5d3128dc87082d1d4c876614a477f299ff0fe))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,25 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clarifai-web-grpc",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
4
4
|
"description": "The official Clarifai gRPC-web client",
|
|
5
|
-
"main": "
|
|
6
|
-
"module": "
|
|
7
|
-
"types": "
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"module": "lib/index.js",
|
|
7
|
+
"types": "lib/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": "./lib/index.js",
|
|
10
|
+
"./resources": "./lib/resources.js",
|
|
11
|
+
"./service": "./lib/service.js"
|
|
12
|
+
},
|
|
13
|
+
"typesVersions": {
|
|
14
|
+
"*": {
|
|
15
|
+
"*": [
|
|
16
|
+
"lib/*"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
},
|
|
8
20
|
"repository": "https://github.com/Clarifai/clarifai-web-grpc",
|
|
9
21
|
"author": "Clarifai Inc.",
|
|
10
22
|
"license": "Apache-2.0",
|
|
11
23
|
"keywords": [],
|
|
12
24
|
"scripts": {
|
|
13
25
|
"test": "mocha",
|
|
14
|
-
"lint": "eslint index.ts resources.ts service.ts",
|
|
15
|
-
"clean": "rm -rf
|
|
26
|
+
"lint": "eslint ./src/index.ts ./src/resources.ts ./src/service.ts",
|
|
27
|
+
"clean": "rm -rf lib clarifai-web-grpc-*.tgz",
|
|
16
28
|
"typecheck": "tsc --pretty --noEmit",
|
|
17
|
-
"build
|
|
18
|
-
"build:esm": "tsc -b",
|
|
19
|
-
"build": "yarn build:esm && yarn build:cjs",
|
|
29
|
+
"build": "tsc -b && yarn copy-generated-protos",
|
|
20
30
|
"prepack": "yarn clean && yarn build",
|
|
21
31
|
"release": "semantic-release",
|
|
22
|
-
"prepare": "husky install"
|
|
32
|
+
"prepare": "husky install",
|
|
33
|
+
"copy-generated-protos": "cp -R src/proto src/google lib"
|
|
23
34
|
},
|
|
24
35
|
"dependencies": {
|
|
25
36
|
"google-protobuf": "~3.14.0",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// GENERATED CODE -- NO SERVICES IN PROTO
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// source: google/api/annotations.proto
|
|
3
2
|
/**
|
|
4
3
|
* @fileoverview
|
|
@@ -10,23 +9,39 @@
|
|
|
10
9
|
// GENERATED CODE -- DO NOT EDIT!
|
|
11
10
|
/* eslint-disable */
|
|
12
11
|
// @ts-nocheck
|
|
12
|
+
|
|
13
13
|
var jspb = require('google-protobuf');
|
|
14
14
|
var goog = jspb;
|
|
15
15
|
var global = Function('return this')();
|
|
16
|
+
|
|
16
17
|
var google_api_http_pb = require('../../google/api/http_pb.js');
|
|
17
18
|
goog.object.extend(proto, google_api_http_pb);
|
|
18
19
|
var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js');
|
|
19
20
|
goog.object.extend(proto, google_protobuf_descriptor_pb);
|
|
20
21
|
goog.exportSymbol('proto.google.api.http', null, global);
|
|
22
|
+
|
|
21
23
|
/**
|
|
22
24
|
* A tuple of {field number, class constructor} for the extension
|
|
23
25
|
* field named `http`.
|
|
24
26
|
* @type {!jspb.ExtensionFieldInfo<!proto.google.api.HttpRule>}
|
|
25
27
|
*/
|
|
26
|
-
proto.google.api.http = new jspb.ExtensionFieldInfo(
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
proto.google.api.http = new jspb.ExtensionFieldInfo(
|
|
29
|
+
72295728,
|
|
30
|
+
{http: 0},
|
|
31
|
+
google_api_http_pb.HttpRule,
|
|
32
|
+
/** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
|
|
33
|
+
google_api_http_pb.HttpRule.toObject),
|
|
34
|
+
0);
|
|
35
|
+
|
|
36
|
+
google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[72295728] = new jspb.ExtensionFieldBinaryInfo(
|
|
37
|
+
proto.google.api.http,
|
|
38
|
+
jspb.BinaryReader.prototype.readMessage,
|
|
39
|
+
jspb.BinaryWriter.prototype.writeMessage,
|
|
40
|
+
google_api_http_pb.HttpRule.serializeBinaryToWriter,
|
|
41
|
+
google_api_http_pb.HttpRule.deserializeBinaryFromReader,
|
|
42
|
+
false);
|
|
29
43
|
// This registers the extension field with the extended class, so that
|
|
30
44
|
// toObject() will function correctly.
|
|
31
45
|
google_protobuf_descriptor_pb.MethodOptions.extensions[72295728] = proto.google.api.http;
|
|
46
|
+
|
|
32
47
|
goog.object.extend(exports, proto.google.api);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// GENERATED CODE -- NO SERVICES IN PROTO
|