clarifai-web-grpc 1.1.8 → 2.0.0
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 +0 -6
- package/CHANGELOG.md +12 -10
- package/package.json +4 -28
- package/.husky/pre-commit +0 -4
- package/.mocharc.yml +0 -5
- package/dist/cjs/google/api/annotations_pb.d.ts +0 -1
- package/dist/cjs/google/api/annotations_pb.js +0 -32
- package/dist/cjs/google/api/http_pb.d.ts +0 -1
- package/dist/cjs/google/api/http_pb.js +0 -813
- package/dist/cjs/index.d.ts +0 -5
- 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.d.ts +0 -275
- 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/extensions_pb.js +0 -52
- 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/types/types_pb.js +0 -26
- 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.d.ts +0 -12
- package/dist/cjs/resources.js +0 -47
- package/dist/cjs/service.d.ts +0 -1
- 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/index.js +0 -7
- 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/serviceServiceClientPb.js +0 -904
- 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/proto/clarifai/auth/util/extension_pb.js +0 -80
- package/dist/esm/resources.d.ts +0 -12
- package/dist/esm/resources.js +0 -11
- package/dist/esm/service.d.ts +0 -1
- package/dist/esm/service.js +0 -1
- package/tests/basic.test.ts +0 -41
- package/tests/helpers.test.ts +0 -47
- package/tsconfig.cjs.json +0 -7
- package/tsconfig.json +0 -25
package/.github/workflows/ci.yml
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
# [2.0.0](https://github.com/Clarifai/clarifai-web-grpc/compare/v1.1.8...v2.0.0) (2022-02-04)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
###
|
|
4
|
+
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
*
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
* ci process ([3aee02d](https://github.com/Clarifai/clarifai-web-grpc/commit/3aee02d17bd05efc00fd645c62a6971e22fb2418))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
* fix(package)!: cleanse the package ([100e142](https://github.com/Clarifai/clarifai-web-grpc/commit/100e142a34254933439f08224557d6c23162effb))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### BREAKING CHANGES
|
|
13
|
+
|
|
14
|
+
* Consumers must now import the fully qualified
|
|
15
|
+
package names.
|
package/package.json
CHANGED
|
@@ -1,42 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clarifai-web-grpc",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "The official Clarifai gRPC-web client",
|
|
5
|
-
"
|
|
6
|
-
"module": "dist/esm/index.js",
|
|
7
|
-
"types": "dist/esm/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"import": "./dist/esm/index.js",
|
|
11
|
-
"require": "./dist/cjs/index.js"
|
|
12
|
-
},
|
|
13
|
-
"./resources": {
|
|
14
|
-
"import": "./dist/esm/resources.js",
|
|
15
|
-
"require": "./dist/cjs/resources.js"
|
|
16
|
-
},
|
|
17
|
-
"./service": {
|
|
18
|
-
"import": "./dist/esm/service.js",
|
|
19
|
-
"require": "./dist/cjs/service.js"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
5
|
+
"type": "module",
|
|
22
6
|
"repository": "https://github.com/Clarifai/clarifai-web-grpc",
|
|
23
7
|
"author": "Clarifai Inc.",
|
|
24
8
|
"license": "Apache-2.0",
|
|
25
9
|
"keywords": [],
|
|
26
10
|
"scripts": {
|
|
27
|
-
"test": "mocha",
|
|
28
|
-
"lint": "eslint index.ts resources.ts service.ts",
|
|
29
|
-
"clean": "rm -rf dist clarifai-web-grpc-*.tgz",
|
|
30
|
-
"typecheck": "tsc --pretty --noEmit",
|
|
31
|
-
"build:cjs": "tsc -b tsconfig.cjs.json",
|
|
32
|
-
"build:esm": "tsc -b",
|
|
33
|
-
"build": "yarn build:esm && yarn build:cjs",
|
|
34
|
-
"prepack": "yarn clean && yarn build",
|
|
35
11
|
"release": "semantic-release",
|
|
36
12
|
"prepare": "husky install"
|
|
37
13
|
},
|
|
38
14
|
"dependencies": {
|
|
39
|
-
"google-protobuf": "
|
|
15
|
+
"google-protobuf": "^3.19.4",
|
|
40
16
|
"grpc-web": "~1.0.5"
|
|
41
17
|
},
|
|
42
18
|
"devDependencies": {
|
|
@@ -44,7 +20,7 @@
|
|
|
44
20
|
"@commitlint/config-conventional": "^16.0.0",
|
|
45
21
|
"@semantic-release/changelog": "^6.0.1",
|
|
46
22
|
"@types/chai": "^4.3.0",
|
|
47
|
-
"@types/google-protobuf": "
|
|
23
|
+
"@types/google-protobuf": "^3.15.5",
|
|
48
24
|
"@types/mocha": "^9.0.0",
|
|
49
25
|
"@types/node": "~10.17.0",
|
|
50
26
|
"@typescript-eslint/eslint-plugin": "^5.10.1",
|
package/.husky/pre-commit
DELETED
package/.mocharc.yml
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// source: google/api/annotations.proto
|
|
3
|
-
/**
|
|
4
|
-
* @fileoverview
|
|
5
|
-
* @enhanceable
|
|
6
|
-
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
7
|
-
* field starts with 'MSG_' and isn't a translatable message.
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
-
/* eslint-disable */
|
|
12
|
-
// @ts-nocheck
|
|
13
|
-
var jspb = require('google-protobuf');
|
|
14
|
-
var goog = jspb;
|
|
15
|
-
var global = Function('return this')();
|
|
16
|
-
var google_api_http_pb = require('../../google/api/http_pb.js');
|
|
17
|
-
goog.object.extend(proto, google_api_http_pb);
|
|
18
|
-
var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js');
|
|
19
|
-
goog.object.extend(proto, google_protobuf_descriptor_pb);
|
|
20
|
-
goog.exportSymbol('proto.google.api.http', null, global);
|
|
21
|
-
/**
|
|
22
|
-
* A tuple of {field number, class constructor} for the extension
|
|
23
|
-
* field named `http`.
|
|
24
|
-
* @type {!jspb.ExtensionFieldInfo<!proto.google.api.HttpRule>}
|
|
25
|
-
*/
|
|
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);
|
|
29
|
-
// This registers the extension field with the extended class, so that
|
|
30
|
-
// toObject() will function correctly.
|
|
31
|
-
google_protobuf_descriptor_pb.MethodOptions.extensions[72295728] = proto.google.api.http;
|
|
32
|
-
goog.object.extend(exports, proto.google.api);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|