clarifai-web-grpc 9.6.1 → 9.10.4
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 +25 -17
- package/README.md +1 -1
- package/VERSION +1 -1
- package/dist/cjs/google/api/annotations_pb.d.ts +1 -0
- package/dist/cjs/google/api/annotations_pb.js +32 -0
- package/dist/cjs/google/api/http_pb.d.ts +1 -0
- package/dist/cjs/google/api/http_pb.js +813 -0
- package/dist/cjs/index.d.ts +7 -0
- package/dist/cjs/index.js +2 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.d.ts +1 -0
- package/dist/cjs/proto/clarifai/api/resources_pb.js +51179 -0
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.d.ts +5 -0
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +9103 -0
- package/dist/cjs/proto/clarifai/api/service_pb.d.ts +1 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +67405 -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 +376 -0
- package/dist/cjs/proto/clarifai/api/status/status_pb.d.ts +1 -0
- package/dist/cjs/proto/clarifai/api/status/status_pb.js +717 -0
- package/dist/cjs/proto/clarifai/api/utils/extensions_pb.d.ts +1 -0
- package/dist/cjs/proto/clarifai/api/utils/extensions_pb.js +60 -0
- package/dist/cjs/proto/clarifai/api/utils/matrix_pb.d.ts +1 -0
- package/dist/cjs/proto/clarifai/api/utils/matrix_pb.js +197 -0
- 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 +529 -0
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.d.ts +1 -0
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +332 -0
- package/dist/cjs/proto/clarifai/auth/types/types_pb.d.ts +1 -0
- package/dist/cjs/proto/clarifai/auth/types/types_pb.js +34 -0
- package/dist/cjs/proto/clarifai/auth/util/extension_pb.d.ts +1 -0
- package/dist/cjs/proto/clarifai/auth/util/extension_pb.js +88 -0
- package/dist/cjs/resources.d.ts +1 -0
- package/dist/cjs/resources.js +13 -0
- package/dist/cjs/service.d.ts +1 -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 +7 -0
- package/dist/esm/index.js +10 -0
- package/dist/esm/proto/clarifai/api/resources_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/api/resources_pb.js +51179 -0
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.d.ts +5 -0
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +9103 -0
- package/dist/esm/proto/clarifai/api/service_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +67405 -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 +376 -0
- package/dist/esm/proto/clarifai/api/status/status_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/api/status/status_pb.js +717 -0
- package/dist/esm/proto/clarifai/api/utils/extensions_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/api/utils/extensions_pb.js +60 -0
- package/dist/esm/proto/clarifai/api/utils/matrix_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/api/utils/matrix_pb.js +197 -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 +529 -0
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +332 -0
- package/dist/esm/proto/clarifai/auth/types/types_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/auth/types/types_pb.js +34 -0
- package/dist/esm/proto/clarifai/auth/util/extension_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/auth/util/extension_pb.js +88 -0
- package/dist/esm/resources.d.ts +1 -0
- package/dist/esm/resources.js +1 -0
- package/dist/esm/service.d.ts +1 -0
- package/dist/esm/service.js +1 -0
- package/index.ts +2 -1
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +352 -27
- package/proto/clarifai/api/resources_pb.js +2840 -232
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +96 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +488 -0
- package/proto/clarifai/api/service_pb.d.ts +742 -46
- package/proto/clarifai/api/service_pb.js +12437 -6437
- package/proto/clarifai/api/status/status_code_pb.d.ts +7 -1
- package/proto/clarifai/api/status/status_code_pb.js +7 -1
- package/proto/clarifai/auth/scope/scope_pb.d.ts +5 -0
- package/proto/clarifai/auth/scope/scope_pb.js +6 -1
package/.github/workflows/ci.yml
CHANGED
|
@@ -2,13 +2,17 @@ name: CI
|
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
|
-
branches:
|
|
5
|
+
branches:
|
|
6
|
+
- master
|
|
7
|
+
tags:
|
|
8
|
+
- '**'
|
|
6
9
|
pull_request:
|
|
7
|
-
branches:
|
|
10
|
+
branches:
|
|
11
|
+
- master
|
|
8
12
|
|
|
9
13
|
jobs:
|
|
10
14
|
build:
|
|
11
|
-
runs-on: ubuntu-
|
|
15
|
+
runs-on: ubuntu-22.04
|
|
12
16
|
steps:
|
|
13
17
|
# Setup steps
|
|
14
18
|
- uses: actions/checkout@v3
|
|
@@ -23,26 +27,30 @@ jobs:
|
|
|
23
27
|
run: yarn build
|
|
24
28
|
|
|
25
29
|
release:
|
|
26
|
-
if:
|
|
30
|
+
if: github.ref_type == 'tag'
|
|
27
31
|
needs: build
|
|
28
|
-
runs-on: ubuntu-
|
|
32
|
+
runs-on: ubuntu-22.04
|
|
29
33
|
steps:
|
|
30
34
|
# Setup steps
|
|
31
35
|
- uses: actions/checkout@v3
|
|
32
36
|
- uses: actions/setup-node@v3
|
|
33
37
|
with:
|
|
34
38
|
node-version: 16
|
|
39
|
+
registry-url: https://registry.npmjs.org/
|
|
35
40
|
- name: Install deps
|
|
36
|
-
run:
|
|
37
|
-
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
publish_command: "yarn"
|
|
45
|
-
publish_args: "--non-interactive"
|
|
41
|
+
run: npm install
|
|
42
|
+
- run: npm ci
|
|
43
|
+
- run: npm publish
|
|
44
|
+
env:
|
|
45
|
+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
|
46
|
+
- name: Slack Notify
|
|
47
|
+
if: ${{ failure() }}
|
|
48
|
+
uses: rtCamp/action-slack-notify@v2
|
|
46
49
|
env:
|
|
47
|
-
|
|
48
|
-
|
|
50
|
+
SLACK_ICON: "https://raw.githubusercontent.com/github/explore/2c7e603b797535e5ad8b4beb575ab3b7354666e1/topics/actions/actions.png"
|
|
51
|
+
SLACK_USERNAME: "GitHub Alerts"
|
|
52
|
+
SLACK_CHANNEL: "#grpc-client-repo-alerts"
|
|
53
|
+
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
|
|
54
|
+
SLACK_COLOR: ${{ job.status }}
|
|
55
|
+
SLACK_MESSAGE: "Publish failure"
|
|
56
|
+
SLACK_FOOTER: "Clarifai Web GRPC Repo"
|
package/README.md
CHANGED
|
@@ -45,4 +45,4 @@ client.postApps(req, auth, (err, resp) => {
|
|
|
45
45
|
|
|
46
46
|
Publishing the client to NPM involves merging a PR with 2 things:
|
|
47
47
|
1. Updates the `version` field in `package.json` to the appropriate version.
|
|
48
|
-
2. Commit message should begin with `"
|
|
48
|
+
2. Commit message should begin with `"GRPC clients version"` eg `"GRPC clients version 9.4.0"`.
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
9.
|
|
1
|
+
9.10.4
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
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);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|