@miradorlabs/web-grpc 2.0.0 → 2.2.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.
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.11.10
3
+ // protoc-gen-ts_proto v2.12.0
4
4
  // protoc v3.21.12
5
5
  // source: google/protobuf/timestamp.proto
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miradorlabs/web-grpc",
3
- "version": "2.0.0",
3
+ "version": "2.2.0",
4
4
  "description": "Generated gRPC (grpc-js) client stubs for the Mirador web gateway.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.11.10
3
+ // protoc-gen-ts_proto v2.12.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/common/v1/status.proto
6
6
 
@@ -23,6 +23,8 @@ export enum ResponseStatus_StatusCode {
23
23
  STATUS_CODE_INTERNAL_ERROR = 4,
24
24
  /** STATUS_CODE_UNAUTHENTICATED - missing or invalid authentication */
25
25
  STATUS_CODE_UNAUTHENTICATED = 5,
26
+ /** STATUS_CODE_CONFLICT - optimistic-lock version mismatch; re-fetch and retry */
27
+ STATUS_CODE_CONFLICT = 6,
26
28
  UNRECOGNIZED = -1,
27
29
  }
28
30
 
@@ -46,6 +48,9 @@ export function responseStatus_StatusCodeFromJSON(object: any): ResponseStatus_S
46
48
  case 5:
47
49
  case "STATUS_CODE_UNAUTHENTICATED":
48
50
  return ResponseStatus_StatusCode.STATUS_CODE_UNAUTHENTICATED;
51
+ case 6:
52
+ case "STATUS_CODE_CONFLICT":
53
+ return ResponseStatus_StatusCode.STATUS_CODE_CONFLICT;
49
54
  case -1:
50
55
  case "UNRECOGNIZED":
51
56
  default:
@@ -67,6 +72,8 @@ export function responseStatus_StatusCodeToJSON(object: ResponseStatus_StatusCod
67
72
  return "STATUS_CODE_INTERNAL_ERROR";
68
73
  case ResponseStatus_StatusCode.STATUS_CODE_UNAUTHENTICATED:
69
74
  return "STATUS_CODE_UNAUTHENTICATED";
75
+ case ResponseStatus_StatusCode.STATUS_CODE_CONFLICT:
76
+ return "STATUS_CODE_CONFLICT";
70
77
  case ResponseStatus_StatusCode.UNRECOGNIZED:
71
78
  default:
72
79
  return "UNRECOGNIZED";
@@ -177,7 +177,8 @@ proto.gateway.common.v1.ResponseStatus.StatusCode = {
177
177
  STATUS_CODE_NOT_FOUND: 2,
178
178
  STATUS_CODE_VALIDATION_ERROR: 3,
179
179
  STATUS_CODE_INTERNAL_ERROR: 4,
180
- STATUS_CODE_UNAUTHENTICATED: 5
180
+ STATUS_CODE_UNAUTHENTICATED: 5,
181
+ STATUS_CODE_CONFLICT: 6
181
182
  };
182
183
 
183
184
  /**
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.11.10
3
+ // protoc-gen-ts_proto v2.12.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/common/v1/types.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.11.10
3
+ // protoc-gen-ts_proto v2.12.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/account_gateway.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.11.10
3
+ // protoc-gen-ts_proto v2.12.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/automation_gateway.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.11.10
3
+ // protoc-gen-ts_proto v2.12.0
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/chain_gateway.proto
6
6