clarifai-web-grpc 1.1.7 → 1.1.8
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 +2 -0
- package/.husky/pre-commit +4 -0
- package/.mocharc.yml +5 -0
- package/CHANGELOG.md +10 -4
- package/{lib → dist/cjs}/google/api/annotations_pb.d.ts +0 -0
- package/{src → dist/cjs}/google/api/annotations_pb.js +4 -19
- package/{lib → dist/cjs}/google/api/http_pb.d.ts +0 -0
- package/dist/cjs/google/api/http_pb.js +813 -0
- package/{lib → dist/cjs}/index.d.ts +0 -0
- package/dist/cjs/index.js +11 -0
- package/dist/cjs/proto/clarifai/api/resources_pb.d.ts +1 -0
- package/dist/cjs/proto/clarifai/api/resources_pb.js +32957 -0
- package/{lib → dist/cjs}/proto/clarifai/api/serviceServiceClientPb.d.ts +0 -0
- package/dist/cjs/proto/clarifai/api/serviceServiceClientPb.js +908 -0
- package/dist/cjs/proto/clarifai/api/service_pb.d.ts +1 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +38791 -0
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.d.ts +1 -0
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +312 -0
- package/dist/cjs/proto/clarifai/api/status/status_pb.d.ts +1 -0
- package/dist/cjs/proto/clarifai/api/status/status_pb.js +473 -0
- package/dist/cjs/proto/clarifai/api/utils/extensions_pb.d.ts +1 -0
- package/{src → dist/cjs}/proto/clarifai/api/utils/extensions_pb.js +10 -53
- package/dist/cjs/proto/clarifai/api/utils/test_proto_pb.d.ts +1 -0
- package/dist/cjs/proto/clarifai/api/utils/test_proto_pb.js +521 -0
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.d.ts +1 -0
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +294 -0
- package/dist/cjs/proto/clarifai/auth/types/types_pb.d.ts +1 -0
- package/{src → dist/cjs}/proto/clarifai/auth/types/types_pb.js +7 -9
- package/dist/cjs/proto/clarifai/auth/util/extension_pb.d.ts +1 -0
- package/{src → dist/cjs}/proto/clarifai/auth/util/extension_pb.js +16 -87
- package/{lib → dist/cjs}/resources.d.ts +1 -1
- package/dist/cjs/resources.js +47 -0
- package/{lib → dist/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 +5 -0
- package/{lib → dist/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/{lib → dist/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/esm/resources.d.ts +12 -0
- package/{lib → dist/esm}/resources.js +0 -0
- package/{lib/service.js → dist/esm/service.d.ts} +0 -0
- package/dist/esm/service.js +1 -0
- package/{lib/google → google}/api/annotations_grpc_pb.js +0 -0
- package/{lib/google → google}/api/annotations_pb.js +0 -0
- package/{lib/google → google}/api/http_grpc_pb.js +0 -0
- package/{lib/google → google}/api/http_pb.js +0 -0
- package/package.json +21 -25
- package/{lib/proto → proto}/clarifai/api/resources_pb.d.ts +0 -0
- package/{lib/proto → proto}/clarifai/api/resources_pb.js +0 -0
- package/{lib/proto → proto}/clarifai/api/serviceServiceClientPb.ts +0 -0
- package/{lib/proto → proto}/clarifai/api/service_pb.d.ts +0 -0
- package/{lib/proto → proto}/clarifai/api/service_pb.js +0 -0
- package/{lib/proto → proto}/clarifai/api/status/status_code_pb.d.ts +0 -0
- package/{lib/proto → proto}/clarifai/api/status/status_code_pb.js +0 -0
- package/{lib/proto → proto}/clarifai/api/status/status_pb.d.ts +0 -0
- package/{lib/proto → proto}/clarifai/api/status/status_pb.js +0 -0
- package/{lib/proto → proto}/clarifai/api/utils/extensions_pb.d.ts +0 -0
- package/{lib/proto → proto}/clarifai/api/utils/extensions_pb.js +0 -0
- package/{lib/proto → proto}/clarifai/api/utils/test_proto_pb.d.ts +0 -0
- package/{lib/proto → proto}/clarifai/api/utils/test_proto_pb.js +0 -0
- package/{lib/proto → proto}/clarifai/auth/scope/scope_pb.d.ts +0 -0
- package/{lib/proto → proto}/clarifai/auth/scope/scope_pb.js +0 -0
- package/{lib/proto → proto}/clarifai/auth/types/types_pb.d.ts +0 -0
- package/{lib/proto → proto}/clarifai/auth/types/types_pb.js +0 -0
- package/{lib/proto → proto}/clarifai/auth/util/extension_pb.d.ts +0 -0
- package/{lib/proto → proto}/clarifai/auth/util/extension_pb.js +0 -0
- package/tests/basic.test.ts +41 -0
- package/tests/helpers.test.ts +47 -0
- package/tsconfig.cjs.json +7 -0
- package/tsconfig.json +8 -7
- package/lib/google/api/annotations_grpc_pb.d.ts +0 -0
- package/lib/google/api/http_grpc_pb.d.ts +0 -0
- package/src/google/api/annotations_grpc_pb.js +0 -1
- package/src/google/api/http_grpc_pb.js +0 -1
- package/src/google/api/http_pb.js +0 -1005
- package/src/proto/clarifai/api/resources_pb.d.ts +0 -5052
- package/src/proto/clarifai/api/resources_pb.js +0 -41204
- package/src/proto/clarifai/api/serviceServiceClientPb.ts +0 -3002
- package/src/proto/clarifai/api/service_pb.d.ts +0 -5582
- package/src/proto/clarifai/api/service_pb.js +0 -47897
- package/src/proto/clarifai/api/status/status_code_pb.d.ts +0 -296
- package/src/proto/clarifai/api/status/status_code_pb.js +0 -314
- package/src/proto/clarifai/api/status/status_pb.d.ts +0 -73
- package/src/proto/clarifai/api/status/status_pb.js +0 -580
- package/src/proto/clarifai/api/utils/extensions_pb.d.ts +0 -4
- package/src/proto/clarifai/api/utils/test_proto_pb.d.ts +0 -81
- package/src/proto/clarifai/api/utils/test_proto_pb.js +0 -640
- package/src/proto/clarifai/auth/scope/scope_pb.d.ts +0 -92
- package/src/proto/clarifai/auth/scope/scope_pb.js +0 -363
- package/src/proto/clarifai/auth/types/types_pb.d.ts +0 -10
- package/src/proto/clarifai/auth/util/extension_pb.d.ts +0 -6
package/.github/workflows/ci.yml
CHANGED
package/.mocharc.yml
ADDED
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
## [1.1.
|
|
1
|
+
## [1.1.8](https://github.com/Clarifai/clarifai-web-grpc/compare/v1.1.7...v1.1.8) (2022-02-04)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
###
|
|
4
|
+
### Reverts
|
|
5
5
|
|
|
6
|
-
*
|
|
7
|
-
*
|
|
6
|
+
* Revert "fix: move stuff to src, split dist/esm to lib for easier entry references" ([4b45e0a](https://github.com/Clarifai/clarifai-web-grpc/commit/4b45e0afd0085c289a8b61ec130f3e5bbf8a7375))
|
|
7
|
+
* Revert "fix: fix the paths in the lint cmd" ([146aa24](https://github.com/Clarifai/clarifai-web-grpc/commit/146aa24d1469b1bd24db427e3c1ce808715c3ce9))
|
|
8
|
+
* Revert "fix: improve exports" ([8d4afaa](https://github.com/Clarifai/clarifai-web-grpc/commit/8d4afaa4270b3cfe8f1d42376611f4cb2285e417))
|
|
9
|
+
* Revert "fix: remove CJS and clean up package resolution" ([3275dc3](https://github.com/Clarifai/clarifai-web-grpc/commit/3275dc3e3089a196358dd8ba30f3f8380cb5624f))
|
|
10
|
+
* Revert "fix: fix typesVersions filesystem shimming" ([fa4bc4f](https://github.com/Clarifai/clarifai-web-grpc/commit/fa4bc4f5a48766abe51ad193118803b95d808225))
|
|
11
|
+
* Revert "fix: make it a module" ([4900de9](https://github.com/Clarifai/clarifai-web-grpc/commit/4900de9f5ef2a6ba40ead5fe3d177744963a685d))
|
|
12
|
+
* Revert "fix: ci process" ([253f652](https://github.com/Clarifai/clarifai-web-grpc/commit/253f652c43cb603d63f00b6bd9156b2c6cbe2d53))
|
|
13
|
+
* Revert "fix: use eslint. change re-export syntax to appease typescript compiler" ([aa2f82b](https://github.com/Clarifai/clarifai-web-grpc/commit/aa2f82b8cbfb61a2c1622c9edd82b9479d68083b))
|
|
File without changes
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// source: google/api/annotations.proto
|
|
2
3
|
/**
|
|
3
4
|
* @fileoverview
|
|
@@ -9,39 +10,23 @@
|
|
|
9
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
10
11
|
/* eslint-disable */
|
|
11
12
|
// @ts-nocheck
|
|
12
|
-
|
|
13
13
|
var jspb = require('google-protobuf');
|
|
14
14
|
var goog = jspb;
|
|
15
15
|
var global = Function('return this')();
|
|
16
|
-
|
|
17
16
|
var google_api_http_pb = require('../../google/api/http_pb.js');
|
|
18
17
|
goog.object.extend(proto, google_api_http_pb);
|
|
19
18
|
var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js');
|
|
20
19
|
goog.object.extend(proto, google_protobuf_descriptor_pb);
|
|
21
20
|
goog.exportSymbol('proto.google.api.http', null, global);
|
|
22
|
-
|
|
23
21
|
/**
|
|
24
22
|
* A tuple of {field number, class constructor} for the extension
|
|
25
23
|
* field named `http`.
|
|
26
24
|
* @type {!jspb.ExtensionFieldInfo<!proto.google.api.HttpRule>}
|
|
27
25
|
*/
|
|
28
|
-
proto.google.api.http = new jspb.ExtensionFieldInfo(
|
|
29
|
-
|
|
30
|
-
|
|
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);
|
|
26
|
+
proto.google.api.http = new jspb.ExtensionFieldInfo(72295728, { http: 0 }, google_api_http_pb.HttpRule,
|
|
27
|
+
/** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (google_api_http_pb.HttpRule.toObject), 0);
|
|
28
|
+
google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[72295728] = new jspb.ExtensionFieldBinaryInfo(proto.google.api.http, jspb.BinaryReader.prototype.readMessage, jspb.BinaryWriter.prototype.writeMessage, google_api_http_pb.HttpRule.serializeBinaryToWriter, google_api_http_pb.HttpRule.deserializeBinaryFromReader, false);
|
|
43
29
|
// This registers the extension field with the extended class, so that
|
|
44
30
|
// toObject() will function correctly.
|
|
45
31
|
google_protobuf_descriptor_pb.MethodOptions.extensions[72295728] = proto.google.api.http;
|
|
46
|
-
|
|
47
32
|
goog.object.extend(exports, proto.google.api);
|
|
File without changes
|