clarifai-web-grpc 1.1.2 → 1.1.3
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 +3 -2
- package/dist/google/api/annotations_grpc_pb.d.ts +0 -0
- package/dist/google/api/annotations_grpc_pb.js +2 -0
- package/dist/{cjs/google → google}/api/annotations_pb.d.ts +0 -0
- package/dist/{cjs/google → google}/api/annotations_pb.js +0 -0
- package/dist/google/api/http_grpc_pb.d.ts +0 -0
- package/dist/google/api/http_grpc_pb.js +2 -0
- package/dist/{cjs/google → google}/api/http_pb.d.ts +0 -0
- package/dist/{cjs/google → google}/api/http_pb.js +0 -0
- package/dist/{cjs/index.d.ts → index.d.ts} +0 -0
- package/dist/{cjs/index.js → index.js} +0 -0
- package/dist/{cjs/proto → proto}/clarifai/api/resources_pb.d.ts +0 -0
- package/dist/{cjs/proto → proto}/clarifai/api/resources_pb.js +0 -0
- package/dist/{cjs/proto → proto}/clarifai/api/serviceServiceClientPb.d.ts +0 -0
- package/dist/{cjs/proto → proto}/clarifai/api/serviceServiceClientPb.js +0 -0
- package/dist/{cjs/proto → proto}/clarifai/api/service_pb.d.ts +0 -0
- package/dist/{cjs/proto → proto}/clarifai/api/service_pb.js +0 -0
- package/dist/{cjs/proto → proto}/clarifai/api/status/status_code_pb.d.ts +0 -0
- package/dist/{cjs/proto → proto}/clarifai/api/status/status_code_pb.js +0 -0
- package/dist/{cjs/proto → proto}/clarifai/api/status/status_pb.d.ts +0 -0
- package/dist/{cjs/proto → proto}/clarifai/api/status/status_pb.js +0 -0
- package/dist/{cjs/proto → proto}/clarifai/api/utils/extensions_pb.d.ts +0 -0
- package/dist/{cjs/proto → proto}/clarifai/api/utils/extensions_pb.js +0 -0
- package/dist/{cjs/proto → proto}/clarifai/api/utils/test_proto_pb.d.ts +0 -0
- package/dist/{cjs/proto → proto}/clarifai/api/utils/test_proto_pb.js +0 -0
- package/dist/{cjs/proto → proto}/clarifai/auth/scope/scope_pb.d.ts +0 -0
- package/dist/{cjs/proto → proto}/clarifai/auth/scope/scope_pb.js +0 -0
- package/dist/{cjs/proto → proto}/clarifai/auth/types/types_pb.d.ts +0 -0
- package/dist/{cjs/proto → proto}/clarifai/auth/types/types_pb.js +0 -0
- package/dist/{cjs/proto → proto}/clarifai/auth/util/extension_pb.d.ts +0 -0
- package/dist/{cjs/proto → proto}/clarifai/auth/util/extension_pb.js +0 -0
- package/dist/{cjs/resources.d.ts → resources.d.ts} +0 -0
- package/dist/{cjs/resources.js → resources.js} +0 -0
- package/dist/{cjs/service.d.ts → service.d.ts} +0 -0
- package/dist/{cjs/service.js → service.js} +0 -0
- package/lib/google/api/annotations_grpc_pb.d.ts +0 -0
- package/lib/google/api/annotations_grpc_pb.js +2 -0
- package/{dist/esm → lib}/google/api/annotations_pb.d.ts +0 -0
- package/{dist/esm → lib}/google/api/annotations_pb.js +0 -0
- package/lib/google/api/http_grpc_pb.d.ts +0 -0
- package/lib/google/api/http_grpc_pb.js +2 -0
- package/{dist/esm → lib}/google/api/http_pb.d.ts +0 -0
- package/{dist/esm → lib}/google/api/http_pb.js +0 -0
- package/{dist/esm → lib}/index.d.ts +0 -0
- package/{dist/esm → lib}/index.js +0 -0
- package/{dist/esm → lib}/proto/clarifai/api/resources_pb.d.ts +0 -0
- package/{dist/esm → lib}/proto/clarifai/api/resources_pb.js +0 -0
- package/{dist/esm → lib}/proto/clarifai/api/serviceServiceClientPb.d.ts +0 -0
- package/{dist/esm → lib}/proto/clarifai/api/serviceServiceClientPb.js +0 -0
- package/{dist/esm → lib}/proto/clarifai/api/service_pb.d.ts +0 -0
- package/{dist/esm → lib}/proto/clarifai/api/service_pb.js +0 -0
- package/{dist/esm → lib}/proto/clarifai/api/status/status_code_pb.d.ts +0 -0
- package/{dist/esm → lib}/proto/clarifai/api/status/status_code_pb.js +0 -0
- package/{dist/esm → lib}/proto/clarifai/api/status/status_pb.d.ts +0 -0
- package/{dist/esm → lib}/proto/clarifai/api/status/status_pb.js +0 -0
- package/{dist/esm → lib}/proto/clarifai/api/utils/extensions_pb.d.ts +0 -0
- package/{dist/esm → lib}/proto/clarifai/api/utils/extensions_pb.js +0 -0
- package/{dist/esm → lib}/proto/clarifai/api/utils/test_proto_pb.d.ts +0 -0
- package/{dist/esm → lib}/proto/clarifai/api/utils/test_proto_pb.js +0 -0
- package/{dist/esm → lib}/proto/clarifai/auth/scope/scope_pb.d.ts +0 -0
- package/{dist/esm → lib}/proto/clarifai/auth/scope/scope_pb.js +0 -0
- package/{dist/esm → lib}/proto/clarifai/auth/types/types_pb.d.ts +0 -0
- package/{dist/esm → lib}/proto/clarifai/auth/types/types_pb.js +0 -0
- package/{dist/esm → lib}/proto/clarifai/auth/util/extension_pb.d.ts +0 -0
- package/{dist/esm → lib}/proto/clarifai/auth/util/extension_pb.js +0 -0
- package/{dist/esm → lib}/resources.d.ts +0 -0
- package/{dist/esm → lib}/resources.js +0 -0
- package/{dist/esm → lib}/service.d.ts +0 -0
- package/{dist/esm → lib}/service.js +0 -0
- package/package.json +12 -12
- package/{google → src/google}/api/annotations_grpc_pb.js +0 -0
- package/{google → src/google}/api/annotations_pb.js +0 -0
- package/{google → src/google}/api/http_grpc_pb.js +0 -0
- package/{google → src/google}/api/http_pb.js +0 -0
- package/{proto → src/proto}/clarifai/api/resources_pb.d.ts +0 -0
- package/{proto → src/proto}/clarifai/api/resources_pb.js +0 -0
- package/{proto → src/proto}/clarifai/api/serviceServiceClientPb.ts +0 -0
- package/{proto → src/proto}/clarifai/api/service_pb.d.ts +0 -0
- package/{proto → src/proto}/clarifai/api/service_pb.js +0 -0
- package/{proto → src/proto}/clarifai/api/status/status_code_pb.d.ts +0 -0
- package/{proto → src/proto}/clarifai/api/status/status_code_pb.js +0 -0
- package/{proto → src/proto}/clarifai/api/status/status_pb.d.ts +0 -0
- package/{proto → src/proto}/clarifai/api/status/status_pb.js +0 -0
- package/{proto → src/proto}/clarifai/api/utils/extensions_pb.d.ts +0 -0
- package/{proto → src/proto}/clarifai/api/utils/extensions_pb.js +0 -0
- package/{proto → src/proto}/clarifai/api/utils/test_proto_pb.d.ts +0 -0
- package/{proto → src/proto}/clarifai/api/utils/test_proto_pb.js +0 -0
- package/{proto → src/proto}/clarifai/auth/scope/scope_pb.d.ts +0 -0
- package/{proto → src/proto}/clarifai/auth/scope/scope_pb.js +0 -0
- package/{proto → src/proto}/clarifai/auth/types/types_pb.d.ts +0 -0
- package/{proto → src/proto}/clarifai/auth/types/types_pb.js +0 -0
- package/{proto → src/proto}/clarifai/auth/util/extension_pb.d.ts +0 -0
- package/{proto → src/proto}/clarifai/auth/util/extension_pb.js +0 -0
- package/tests/basic.test.ts +3 -3
- package/tests/helpers.test.ts +3 -3
- package/tsconfig.cjs.json +1 -1
- package/tsconfig.json +2 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
## [1.1.
|
|
1
|
+
## [1.1.3](https://github.com/Clarifai/clarifai-web-grpc/compare/v1.1.2...v1.1.3) (2022-01-28)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* fix the paths in the lint cmd ([31e58c8](https://github.com/Clarifai/clarifai-web-grpc/commit/31e58c876dbc7414637b9608c42d3217be34a366))
|
|
7
|
+
* move stuff to src, split dist/esm to lib for easier entry references ([a41e660](https://github.com/Clarifai/clarifai-web-grpc/commit/a41e660324233900339579696f97e8330bad4b31))
|
|
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
|
|
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,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clarifai-web-grpc",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "The official Clarifai gRPC-web client",
|
|
5
|
-
"main": "dist/
|
|
6
|
-
"module": "
|
|
7
|
-
"types": "
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "lib/index.js",
|
|
7
|
+
"types": "lib/index.d.ts",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
|
-
"import": "./
|
|
11
|
-
"require": "./dist/
|
|
10
|
+
"import": "./lib/index.js",
|
|
11
|
+
"require": "./dist/index.js"
|
|
12
12
|
},
|
|
13
13
|
"./resources": {
|
|
14
|
-
"import": "./
|
|
15
|
-
"require": "./dist/
|
|
14
|
+
"import": "./lib/resources.js",
|
|
15
|
+
"require": "./dist/resources.js"
|
|
16
16
|
},
|
|
17
17
|
"./service": {
|
|
18
|
-
"import": "./
|
|
19
|
-
"require": "./dist/
|
|
18
|
+
"import": "./lib/service.js",
|
|
19
|
+
"require": "./dist/service.js"
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"repository": "https://github.com/Clarifai/clarifai-web-grpc",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"keywords": [],
|
|
26
26
|
"scripts": {
|
|
27
27
|
"test": "mocha",
|
|
28
|
-
"lint": "eslint index.ts resources.ts service.ts",
|
|
29
|
-
"clean": "rm -rf dist clarifai-web-grpc-*.tgz",
|
|
28
|
+
"lint": "eslint ./src/index.ts ./src/resources.ts ./src/service.ts",
|
|
29
|
+
"clean": "rm -rf dist lib clarifai-web-grpc-*.tgz",
|
|
30
30
|
"typecheck": "tsc --pretty --noEmit",
|
|
31
31
|
"build:cjs": "tsc -b tsconfig.cjs.json",
|
|
32
32
|
"build:esm": "tsc -b",
|
|
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/tests/basic.test.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { describe, it } from 'mocha'
|
|
2
2
|
import { expect } from 'chai'
|
|
3
|
-
import { ClarifaiStub as StubSRC } from '../index'
|
|
4
|
-
import { ClarifaiStub as StubCJS } from '../dist/
|
|
5
|
-
import { ClarifaiStub as StubESM } from '../
|
|
3
|
+
import { ClarifaiStub as StubSRC } from '../src/index'
|
|
4
|
+
import { ClarifaiStub as StubCJS } from '../dist/index'
|
|
5
|
+
import { ClarifaiStub as StubESM } from '../lib/index'
|
|
6
6
|
|
|
7
7
|
describe('Client Stub (src)', () => {
|
|
8
8
|
it('works', () => {
|
package/tests/helpers.test.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { describe, it } from 'mocha'
|
|
2
2
|
import { expect } from 'chai'
|
|
3
|
-
import * as ResourcesSRC from '../resources'
|
|
4
|
-
import * as ResourcesCJS from '../dist/
|
|
5
|
-
import * as ResourcesESM from '../
|
|
3
|
+
import * as ResourcesSRC from '../src/resources'
|
|
4
|
+
import * as ResourcesCJS from '../dist/resources'
|
|
5
|
+
import * as ResourcesESM from '../lib/resources'
|
|
6
6
|
|
|
7
7
|
function verifyInterface (modInterface: Record<string, unknown>) {
|
|
8
8
|
expect(modInterface.Any).to.be.instanceOf(Function)
|
package/tsconfig.cjs.json
CHANGED
package/tsconfig.json
CHANGED
|
@@ -5,14 +5,11 @@
|
|
|
5
5
|
"strict": true,
|
|
6
6
|
"declaration": true,
|
|
7
7
|
"allowJs": true,
|
|
8
|
-
"outDir": "./
|
|
8
|
+
"outDir": "./lib",
|
|
9
9
|
"moduleResolution": "node"
|
|
10
10
|
},
|
|
11
11
|
"include": [
|
|
12
|
-
"./
|
|
13
|
-
"./resources.ts",
|
|
14
|
-
"./service.ts",
|
|
15
|
-
"proto/",
|
|
12
|
+
"./src",
|
|
16
13
|
],
|
|
17
14
|
"exclude": [
|
|
18
15
|
"node_modules"
|