@onflow/protobuf
Advanced tools
Comparing version 1.0.0 to 1.1.0-alpha.0
# @onflow/protobuf | ||
## 1.1.0-alpha.0 | ||
### Minor Changes | ||
- [#1206](https://github.com/onflow/fcl-js/pull/1206) [`6ae4469c`](https://github.com/onflow/fcl-js/commit/6ae4469cdaa9590ef110ed1c0ec6928d9ac09845) Thanks [@jribbink](https://github.com/jribbink)! - Updated & regenerated protobuf definitions to match current access node specification | ||
## 1.0.0 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@onflow/protobuf", | ||
"version": "1.0.0", | ||
"version": "1.1.0-alpha.0", | ||
"description": "Access Node Protobuf", | ||
@@ -34,3 +34,3 @@ "license": "Apache-2.0", | ||
"build": "webpack --mode=production", | ||
"generate": "protoc --plugin='protoc-gen-ts=./node_modules/.bin/protoc-gen-ts' --js_out='import_style=commonjs,binary:src/generated' --ts_out='service=grpc-web:src/generated' -I ./src/proto ./src/proto/flow/**/*.proto;" | ||
"generate": "protoc --plugin='protoc-gen-ts=../../node_modules/.bin/protoc-gen-ts' --js_out='import_style=commonjs,binary:src/generated' --ts_out='service=grpc-web:src/generated' -I ./src/proto ./src/proto/flow/**/*.proto;" | ||
}, | ||
@@ -40,4 +40,4 @@ "dependencies": { | ||
"elliptic": "^6.5.4", | ||
"google-protobuf": "^3.11.4" | ||
"google-protobuf": "3.11.4" | ||
} | ||
} |
@@ -106,2 +106,29 @@ // package: flow.access | ||
type AccessAPIGetTransactionResultByIndex = { | ||
readonly methodName: string; | ||
readonly service: typeof AccessAPI; | ||
readonly requestStream: false; | ||
readonly responseStream: false; | ||
readonly requestType: typeof flow_access_access_pb.GetTransactionByIndexRequest; | ||
readonly responseType: typeof flow_access_access_pb.TransactionResultResponse; | ||
}; | ||
type AccessAPIGetTransactionResultsByBlockID = { | ||
readonly methodName: string; | ||
readonly service: typeof AccessAPI; | ||
readonly requestStream: false; | ||
readonly responseStream: false; | ||
readonly requestType: typeof flow_access_access_pb.GetTransactionsByBlockIDRequest; | ||
readonly responseType: typeof flow_access_access_pb.TransactionResultsResponse; | ||
}; | ||
type AccessAPIGetTransactionsByBlockID = { | ||
readonly methodName: string; | ||
readonly service: typeof AccessAPI; | ||
readonly requestStream: false; | ||
readonly responseStream: false; | ||
readonly requestType: typeof flow_access_access_pb.GetTransactionsByBlockIDRequest; | ||
readonly responseType: typeof flow_access_access_pb.TransactionsResponse; | ||
}; | ||
type AccessAPIGetAccount = { | ||
@@ -188,2 +215,20 @@ readonly methodName: string; | ||
type AccessAPIGetLatestProtocolStateSnapshot = { | ||
readonly methodName: string; | ||
readonly service: typeof AccessAPI; | ||
readonly requestStream: false; | ||
readonly responseStream: false; | ||
readonly requestType: typeof flow_access_access_pb.GetLatestProtocolStateSnapshotRequest; | ||
readonly responseType: typeof flow_access_access_pb.ProtocolStateSnapshotResponse; | ||
}; | ||
type AccessAPIGetExecutionResultForBlockID = { | ||
readonly methodName: string; | ||
readonly service: typeof AccessAPI; | ||
readonly requestStream: false; | ||
readonly responseStream: false; | ||
readonly requestType: typeof flow_access_access_pb.GetExecutionResultForBlockIDRequest; | ||
readonly responseType: typeof flow_access_access_pb.ExecutionResultForBlockIDResponse; | ||
}; | ||
export class AccessAPI { | ||
@@ -202,2 +247,5 @@ static readonly serviceName: string; | ||
static readonly GetTransactionResult: AccessAPIGetTransactionResult; | ||
static readonly GetTransactionResultByIndex: AccessAPIGetTransactionResultByIndex; | ||
static readonly GetTransactionResultsByBlockID: AccessAPIGetTransactionResultsByBlockID; | ||
static readonly GetTransactionsByBlockID: AccessAPIGetTransactionsByBlockID; | ||
static readonly GetAccount: AccessAPIGetAccount; | ||
@@ -212,2 +260,4 @@ static readonly GetAccountAtLatestBlock: AccessAPIGetAccountAtLatestBlock; | ||
static readonly GetNetworkParameters: AccessAPIGetNetworkParameters; | ||
static readonly GetLatestProtocolStateSnapshot: AccessAPIGetLatestProtocolStateSnapshot; | ||
static readonly GetExecutionResultForBlockID: AccessAPIGetExecutionResultForBlockID; | ||
} | ||
@@ -346,2 +396,29 @@ | ||
): UnaryResponse; | ||
getTransactionResultByIndex( | ||
requestMessage: flow_access_access_pb.GetTransactionByIndexRequest, | ||
metadata: grpc.Metadata, | ||
callback: (error: ServiceError|null, responseMessage: flow_access_access_pb.TransactionResultResponse|null) => void | ||
): UnaryResponse; | ||
getTransactionResultByIndex( | ||
requestMessage: flow_access_access_pb.GetTransactionByIndexRequest, | ||
callback: (error: ServiceError|null, responseMessage: flow_access_access_pb.TransactionResultResponse|null) => void | ||
): UnaryResponse; | ||
getTransactionResultsByBlockID( | ||
requestMessage: flow_access_access_pb.GetTransactionsByBlockIDRequest, | ||
metadata: grpc.Metadata, | ||
callback: (error: ServiceError|null, responseMessage: flow_access_access_pb.TransactionResultsResponse|null) => void | ||
): UnaryResponse; | ||
getTransactionResultsByBlockID( | ||
requestMessage: flow_access_access_pb.GetTransactionsByBlockIDRequest, | ||
callback: (error: ServiceError|null, responseMessage: flow_access_access_pb.TransactionResultsResponse|null) => void | ||
): UnaryResponse; | ||
getTransactionsByBlockID( | ||
requestMessage: flow_access_access_pb.GetTransactionsByBlockIDRequest, | ||
metadata: grpc.Metadata, | ||
callback: (error: ServiceError|null, responseMessage: flow_access_access_pb.TransactionsResponse|null) => void | ||
): UnaryResponse; | ||
getTransactionsByBlockID( | ||
requestMessage: flow_access_access_pb.GetTransactionsByBlockIDRequest, | ||
callback: (error: ServiceError|null, responseMessage: flow_access_access_pb.TransactionsResponse|null) => void | ||
): UnaryResponse; | ||
getAccount( | ||
@@ -428,3 +505,21 @@ requestMessage: flow_access_access_pb.GetAccountRequest, | ||
): UnaryResponse; | ||
getLatestProtocolStateSnapshot( | ||
requestMessage: flow_access_access_pb.GetLatestProtocolStateSnapshotRequest, | ||
metadata: grpc.Metadata, | ||
callback: (error: ServiceError|null, responseMessage: flow_access_access_pb.ProtocolStateSnapshotResponse|null) => void | ||
): UnaryResponse; | ||
getLatestProtocolStateSnapshot( | ||
requestMessage: flow_access_access_pb.GetLatestProtocolStateSnapshotRequest, | ||
callback: (error: ServiceError|null, responseMessage: flow_access_access_pb.ProtocolStateSnapshotResponse|null) => void | ||
): UnaryResponse; | ||
getExecutionResultForBlockID( | ||
requestMessage: flow_access_access_pb.GetExecutionResultForBlockIDRequest, | ||
metadata: grpc.Metadata, | ||
callback: (error: ServiceError|null, responseMessage: flow_access_access_pb.ExecutionResultForBlockIDResponse|null) => void | ||
): UnaryResponse; | ||
getExecutionResultForBlockID( | ||
requestMessage: flow_access_access_pb.GetExecutionResultForBlockIDRequest, | ||
callback: (error: ServiceError|null, responseMessage: flow_access_access_pb.ExecutionResultForBlockIDResponse|null) => void | ||
): UnaryResponse; | ||
} | ||
@@ -112,2 +112,29 @@ // package: flow.access | ||
AccessAPI.GetTransactionResultByIndex = { | ||
methodName: "GetTransactionResultByIndex", | ||
service: AccessAPI, | ||
requestStream: false, | ||
responseStream: false, | ||
requestType: flow_access_access_pb.GetTransactionByIndexRequest, | ||
responseType: flow_access_access_pb.TransactionResultResponse | ||
}; | ||
AccessAPI.GetTransactionResultsByBlockID = { | ||
methodName: "GetTransactionResultsByBlockID", | ||
service: AccessAPI, | ||
requestStream: false, | ||
responseStream: false, | ||
requestType: flow_access_access_pb.GetTransactionsByBlockIDRequest, | ||
responseType: flow_access_access_pb.TransactionResultsResponse | ||
}; | ||
AccessAPI.GetTransactionsByBlockID = { | ||
methodName: "GetTransactionsByBlockID", | ||
service: AccessAPI, | ||
requestStream: false, | ||
responseStream: false, | ||
requestType: flow_access_access_pb.GetTransactionsByBlockIDRequest, | ||
responseType: flow_access_access_pb.TransactionsResponse | ||
}; | ||
AccessAPI.GetAccount = { | ||
@@ -194,2 +221,20 @@ methodName: "GetAccount", | ||
AccessAPI.GetLatestProtocolStateSnapshot = { | ||
methodName: "GetLatestProtocolStateSnapshot", | ||
service: AccessAPI, | ||
requestStream: false, | ||
responseStream: false, | ||
requestType: flow_access_access_pb.GetLatestProtocolStateSnapshotRequest, | ||
responseType: flow_access_access_pb.ProtocolStateSnapshotResponse | ||
}; | ||
AccessAPI.GetExecutionResultForBlockID = { | ||
methodName: "GetExecutionResultForBlockID", | ||
service: AccessAPI, | ||
requestStream: false, | ||
responseStream: false, | ||
requestType: flow_access_access_pb.GetExecutionResultForBlockIDRequest, | ||
responseType: flow_access_access_pb.ExecutionResultForBlockIDResponse | ||
}; | ||
exports.AccessAPI = AccessAPI; | ||
@@ -543,2 +588,95 @@ | ||
AccessAPIClient.prototype.getTransactionResultByIndex = function getTransactionResultByIndex(requestMessage, metadata, callback) { | ||
if (arguments.length === 2) { | ||
callback = arguments[1]; | ||
} | ||
var client = grpc.unary(AccessAPI.GetTransactionResultByIndex, { | ||
request: requestMessage, | ||
host: this.serviceHost, | ||
metadata: metadata, | ||
transport: this.options.transport, | ||
debug: this.options.debug, | ||
onEnd: function (response) { | ||
if (callback) { | ||
if (response.status !== grpc.Code.OK) { | ||
var err = new Error(response.statusMessage); | ||
err.code = response.status; | ||
err.metadata = response.trailers; | ||
callback(err, null); | ||
} else { | ||
callback(null, response.message); | ||
} | ||
} | ||
} | ||
}); | ||
return { | ||
cancel: function () { | ||
callback = null; | ||
client.close(); | ||
} | ||
}; | ||
}; | ||
AccessAPIClient.prototype.getTransactionResultsByBlockID = function getTransactionResultsByBlockID(requestMessage, metadata, callback) { | ||
if (arguments.length === 2) { | ||
callback = arguments[1]; | ||
} | ||
var client = grpc.unary(AccessAPI.GetTransactionResultsByBlockID, { | ||
request: requestMessage, | ||
host: this.serviceHost, | ||
metadata: metadata, | ||
transport: this.options.transport, | ||
debug: this.options.debug, | ||
onEnd: function (response) { | ||
if (callback) { | ||
if (response.status !== grpc.Code.OK) { | ||
var err = new Error(response.statusMessage); | ||
err.code = response.status; | ||
err.metadata = response.trailers; | ||
callback(err, null); | ||
} else { | ||
callback(null, response.message); | ||
} | ||
} | ||
} | ||
}); | ||
return { | ||
cancel: function () { | ||
callback = null; | ||
client.close(); | ||
} | ||
}; | ||
}; | ||
AccessAPIClient.prototype.getTransactionsByBlockID = function getTransactionsByBlockID(requestMessage, metadata, callback) { | ||
if (arguments.length === 2) { | ||
callback = arguments[1]; | ||
} | ||
var client = grpc.unary(AccessAPI.GetTransactionsByBlockID, { | ||
request: requestMessage, | ||
host: this.serviceHost, | ||
metadata: metadata, | ||
transport: this.options.transport, | ||
debug: this.options.debug, | ||
onEnd: function (response) { | ||
if (callback) { | ||
if (response.status !== grpc.Code.OK) { | ||
var err = new Error(response.statusMessage); | ||
err.code = response.status; | ||
err.metadata = response.trailers; | ||
callback(err, null); | ||
} else { | ||
callback(null, response.message); | ||
} | ||
} | ||
} | ||
}); | ||
return { | ||
cancel: function () { | ||
callback = null; | ||
client.close(); | ||
} | ||
}; | ||
}; | ||
AccessAPIClient.prototype.getAccount = function getAccount(requestMessage, metadata, callback) { | ||
@@ -823,3 +961,65 @@ if (arguments.length === 2) { | ||
AccessAPIClient.prototype.getLatestProtocolStateSnapshot = function getLatestProtocolStateSnapshot(requestMessage, metadata, callback) { | ||
if (arguments.length === 2) { | ||
callback = arguments[1]; | ||
} | ||
var client = grpc.unary(AccessAPI.GetLatestProtocolStateSnapshot, { | ||
request: requestMessage, | ||
host: this.serviceHost, | ||
metadata: metadata, | ||
transport: this.options.transport, | ||
debug: this.options.debug, | ||
onEnd: function (response) { | ||
if (callback) { | ||
if (response.status !== grpc.Code.OK) { | ||
var err = new Error(response.statusMessage); | ||
err.code = response.status; | ||
err.metadata = response.trailers; | ||
callback(err, null); | ||
} else { | ||
callback(null, response.message); | ||
} | ||
} | ||
} | ||
}); | ||
return { | ||
cancel: function () { | ||
callback = null; | ||
client.close(); | ||
} | ||
}; | ||
}; | ||
AccessAPIClient.prototype.getExecutionResultForBlockID = function getExecutionResultForBlockID(requestMessage, metadata, callback) { | ||
if (arguments.length === 2) { | ||
callback = arguments[1]; | ||
} | ||
var client = grpc.unary(AccessAPI.GetExecutionResultForBlockID, { | ||
request: requestMessage, | ||
host: this.serviceHost, | ||
metadata: metadata, | ||
transport: this.options.transport, | ||
debug: this.options.debug, | ||
onEnd: function (response) { | ||
if (callback) { | ||
if (response.status !== grpc.Code.OK) { | ||
var err = new Error(response.statusMessage); | ||
err.code = response.status; | ||
err.metadata = response.trailers; | ||
callback(err, null); | ||
} else { | ||
callback(null, response.message); | ||
} | ||
} | ||
} | ||
}); | ||
return { | ||
cancel: function () { | ||
callback = null; | ||
client.close(); | ||
} | ||
}; | ||
}; | ||
exports.AccessAPIClient = AccessAPIClient; | ||
@@ -10,2 +10,3 @@ // package: flow.access | ||
import * as flow_entities_event_pb from "../../flow/entities/event_pb"; | ||
import * as flow_entities_execution_result_pb from "../../flow/entities/execution_result_pb"; | ||
import * as flow_entities_transaction_pb from "../../flow/entities/transaction_pb"; | ||
@@ -134,2 +135,5 @@ import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb"; | ||
getFullBlockResponse(): boolean; | ||
setFullBlockResponse(value: boolean): void; | ||
serializeBinary(): Uint8Array; | ||
@@ -148,2 +152,3 @@ toObject(includeInstance?: boolean): GetLatestBlockRequest.AsObject; | ||
isSealed: boolean, | ||
fullBlockResponse: boolean, | ||
} | ||
@@ -158,2 +163,5 @@ } | ||
getFullBlockResponse(): boolean; | ||
setFullBlockResponse(value: boolean): void; | ||
serializeBinary(): Uint8Array; | ||
@@ -172,2 +180,3 @@ toObject(includeInstance?: boolean): GetBlockByIDRequest.AsObject; | ||
id: Uint8Array | string, | ||
fullBlockResponse: boolean, | ||
} | ||
@@ -180,2 +189,5 @@ } | ||
getFullBlockResponse(): boolean; | ||
setFullBlockResponse(value: boolean): void; | ||
serializeBinary(): Uint8Array; | ||
@@ -194,2 +206,3 @@ toObject(includeInstance?: boolean): GetBlockByHeightRequest.AsObject; | ||
height: number, | ||
fullBlockResponse: boolean, | ||
} | ||
@@ -330,2 +343,94 @@ } | ||
export class GetTransactionByIndexRequest extends jspb.Message { | ||
getBlockId(): Uint8Array | string; | ||
getBlockId_asU8(): Uint8Array; | ||
getBlockId_asB64(): string; | ||
setBlockId(value: Uint8Array | string): void; | ||
getIndex(): number; | ||
setIndex(value: number): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): GetTransactionByIndexRequest.AsObject; | ||
static toObject(includeInstance: boolean, msg: GetTransactionByIndexRequest): GetTransactionByIndexRequest.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: GetTransactionByIndexRequest, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): GetTransactionByIndexRequest; | ||
static deserializeBinaryFromReader(message: GetTransactionByIndexRequest, reader: jspb.BinaryReader): GetTransactionByIndexRequest; | ||
} | ||
export namespace GetTransactionByIndexRequest { | ||
export type AsObject = { | ||
blockId: Uint8Array | string, | ||
index: number, | ||
} | ||
} | ||
export class GetTransactionsByBlockIDRequest extends jspb.Message { | ||
getBlockId(): Uint8Array | string; | ||
getBlockId_asU8(): Uint8Array; | ||
getBlockId_asB64(): string; | ||
setBlockId(value: Uint8Array | string): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): GetTransactionsByBlockIDRequest.AsObject; | ||
static toObject(includeInstance: boolean, msg: GetTransactionsByBlockIDRequest): GetTransactionsByBlockIDRequest.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: GetTransactionsByBlockIDRequest, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): GetTransactionsByBlockIDRequest; | ||
static deserializeBinaryFromReader(message: GetTransactionsByBlockIDRequest, reader: jspb.BinaryReader): GetTransactionsByBlockIDRequest; | ||
} | ||
export namespace GetTransactionsByBlockIDRequest { | ||
export type AsObject = { | ||
blockId: Uint8Array | string, | ||
} | ||
} | ||
export class TransactionResultsResponse extends jspb.Message { | ||
clearTransactionResultsList(): void; | ||
getTransactionResultsList(): Array<TransactionResultResponse>; | ||
setTransactionResultsList(value: Array<TransactionResultResponse>): void; | ||
addTransactionResults(value?: TransactionResultResponse, index?: number): TransactionResultResponse; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): TransactionResultsResponse.AsObject; | ||
static toObject(includeInstance: boolean, msg: TransactionResultsResponse): TransactionResultsResponse.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: TransactionResultsResponse, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): TransactionResultsResponse; | ||
static deserializeBinaryFromReader(message: TransactionResultsResponse, reader: jspb.BinaryReader): TransactionResultsResponse; | ||
} | ||
export namespace TransactionResultsResponse { | ||
export type AsObject = { | ||
transactionResultsList: Array<TransactionResultResponse.AsObject>, | ||
} | ||
} | ||
export class TransactionsResponse extends jspb.Message { | ||
clearTransactionsList(): void; | ||
getTransactionsList(): Array<flow_entities_transaction_pb.Transaction>; | ||
setTransactionsList(value: Array<flow_entities_transaction_pb.Transaction>): void; | ||
addTransactions(value?: flow_entities_transaction_pb.Transaction, index?: number): flow_entities_transaction_pb.Transaction; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): TransactionsResponse.AsObject; | ||
static toObject(includeInstance: boolean, msg: TransactionsResponse): TransactionsResponse.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: TransactionsResponse, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): TransactionsResponse; | ||
static deserializeBinaryFromReader(message: TransactionsResponse, reader: jspb.BinaryReader): TransactionsResponse; | ||
} | ||
export namespace TransactionsResponse { | ||
export type AsObject = { | ||
transactionsList: Array<flow_entities_transaction_pb.Transaction.AsObject>, | ||
} | ||
} | ||
export class TransactionResponse extends jspb.Message { | ||
@@ -368,2 +473,17 @@ hasTransaction(): boolean; | ||
getBlockId(): Uint8Array | string; | ||
getBlockId_asU8(): Uint8Array; | ||
getBlockId_asB64(): string; | ||
setBlockId(value: Uint8Array | string): void; | ||
getTransactionId(): Uint8Array | string; | ||
getTransactionId_asU8(): Uint8Array; | ||
getTransactionId_asB64(): string; | ||
setTransactionId(value: Uint8Array | string): void; | ||
getCollectionId(): Uint8Array | string; | ||
getCollectionId_asU8(): Uint8Array; | ||
getCollectionId_asB64(): string; | ||
setCollectionId(value: Uint8Array | string): void; | ||
serializeBinary(): Uint8Array; | ||
@@ -385,2 +505,5 @@ toObject(includeInstance?: boolean): TransactionResultResponse.AsObject; | ||
eventsList: Array<flow_entities_event_pb.Event.AsObject>, | ||
blockId: Uint8Array | string, | ||
transactionId: Uint8Array | string, | ||
collectionId: Uint8Array | string, | ||
} | ||
@@ -777,1 +900,83 @@ } | ||
export class GetLatestProtocolStateSnapshotRequest extends jspb.Message { | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): GetLatestProtocolStateSnapshotRequest.AsObject; | ||
static toObject(includeInstance: boolean, msg: GetLatestProtocolStateSnapshotRequest): GetLatestProtocolStateSnapshotRequest.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: GetLatestProtocolStateSnapshotRequest, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): GetLatestProtocolStateSnapshotRequest; | ||
static deserializeBinaryFromReader(message: GetLatestProtocolStateSnapshotRequest, reader: jspb.BinaryReader): GetLatestProtocolStateSnapshotRequest; | ||
} | ||
export namespace GetLatestProtocolStateSnapshotRequest { | ||
export type AsObject = { | ||
} | ||
} | ||
export class ProtocolStateSnapshotResponse extends jspb.Message { | ||
getSerializedsnapshot(): Uint8Array | string; | ||
getSerializedsnapshot_asU8(): Uint8Array; | ||
getSerializedsnapshot_asB64(): string; | ||
setSerializedsnapshot(value: Uint8Array | string): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): ProtocolStateSnapshotResponse.AsObject; | ||
static toObject(includeInstance: boolean, msg: ProtocolStateSnapshotResponse): ProtocolStateSnapshotResponse.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: ProtocolStateSnapshotResponse, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): ProtocolStateSnapshotResponse; | ||
static deserializeBinaryFromReader(message: ProtocolStateSnapshotResponse, reader: jspb.BinaryReader): ProtocolStateSnapshotResponse; | ||
} | ||
export namespace ProtocolStateSnapshotResponse { | ||
export type AsObject = { | ||
serializedsnapshot: Uint8Array | string, | ||
} | ||
} | ||
export class GetExecutionResultForBlockIDRequest extends jspb.Message { | ||
getBlockId(): Uint8Array | string; | ||
getBlockId_asU8(): Uint8Array; | ||
getBlockId_asB64(): string; | ||
setBlockId(value: Uint8Array | string): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): GetExecutionResultForBlockIDRequest.AsObject; | ||
static toObject(includeInstance: boolean, msg: GetExecutionResultForBlockIDRequest): GetExecutionResultForBlockIDRequest.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: GetExecutionResultForBlockIDRequest, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): GetExecutionResultForBlockIDRequest; | ||
static deserializeBinaryFromReader(message: GetExecutionResultForBlockIDRequest, reader: jspb.BinaryReader): GetExecutionResultForBlockIDRequest; | ||
} | ||
export namespace GetExecutionResultForBlockIDRequest { | ||
export type AsObject = { | ||
blockId: Uint8Array | string, | ||
} | ||
} | ||
export class ExecutionResultForBlockIDResponse extends jspb.Message { | ||
hasExecutionResult(): boolean; | ||
clearExecutionResult(): void; | ||
getExecutionResult(): flow_entities_execution_result_pb.ExecutionResult | undefined; | ||
setExecutionResult(value?: flow_entities_execution_result_pb.ExecutionResult): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): ExecutionResultForBlockIDResponse.AsObject; | ||
static toObject(includeInstance: boolean, msg: ExecutionResultForBlockIDResponse): ExecutionResultForBlockIDResponse.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: ExecutionResultForBlockIDResponse, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): ExecutionResultForBlockIDResponse; | ||
static deserializeBinaryFromReader(message: ExecutionResultForBlockIDResponse, reader: jspb.BinaryReader): ExecutionResultForBlockIDResponse; | ||
} | ||
export namespace ExecutionResultForBlockIDResponse { | ||
export type AsObject = { | ||
executionResult?: flow_entities_execution_result_pb.ExecutionResult.AsObject, | ||
} | ||
} | ||
@@ -5,2 +5,3 @@ // source: flow/entities/account.proto | ||
* @enhanceable | ||
* @suppress {missingRequire} reports error on implicit type usages. | ||
* @suppress {messageConventions} JS Compiler reports an error if a variable or | ||
@@ -11,6 +12,14 @@ * field starts with 'MSG_' and isn't a translatable message. | ||
// GENERATED CODE -- DO NOT EDIT! | ||
/* eslint-disable */ | ||
// @ts-nocheck | ||
var jspb = require('google-protobuf'); | ||
var goog = jspb; | ||
var global = Function('return this')(); | ||
var global = (function() { | ||
if (this) { return this; } | ||
if (typeof window !== 'undefined') { return window; } | ||
if (typeof global !== 'undefined') { return global; } | ||
if (typeof self !== 'undefined') { return self; } | ||
return Function('return this')(); | ||
}.call(null)); | ||
@@ -17,0 +26,0 @@ goog.exportSymbol('proto.flow.entities.Account', null, global); |
@@ -26,2 +26,40 @@ // package: flow.entities | ||
getPayloadHash(): Uint8Array | string; | ||
getPayloadHash_asU8(): Uint8Array; | ||
getPayloadHash_asB64(): string; | ||
setPayloadHash(value: Uint8Array | string): void; | ||
getView(): number; | ||
setView(value: number): void; | ||
clearParentVoterIdsList(): void; | ||
getParentVoterIdsList(): Array<Uint8Array | string>; | ||
getParentVoterIdsList_asU8(): Array<Uint8Array>; | ||
getParentVoterIdsList_asB64(): Array<string>; | ||
setParentVoterIdsList(value: Array<Uint8Array | string>): void; | ||
addParentVoterIds(value: Uint8Array | string, index?: number): Uint8Array | string; | ||
getParentVoterSigData(): Uint8Array | string; | ||
getParentVoterSigData_asU8(): Uint8Array; | ||
getParentVoterSigData_asB64(): string; | ||
setParentVoterSigData(value: Uint8Array | string): void; | ||
getProposerId(): Uint8Array | string; | ||
getProposerId_asU8(): Uint8Array; | ||
getProposerId_asB64(): string; | ||
setProposerId(value: Uint8Array | string): void; | ||
getProposerSigData(): Uint8Array | string; | ||
getProposerSigData_asU8(): Uint8Array; | ||
getProposerSigData_asB64(): string; | ||
setProposerSigData(value: Uint8Array | string): void; | ||
getChainId(): string; | ||
setChainId(value: string): void; | ||
getParentVoterIndices(): Uint8Array | string; | ||
getParentVoterIndices_asU8(): Uint8Array; | ||
getParentVoterIndices_asB64(): string; | ||
setParentVoterIndices(value: Uint8Array | string): void; | ||
serializeBinary(): Uint8Array; | ||
@@ -43,4 +81,12 @@ toObject(includeInstance?: boolean): BlockHeader.AsObject; | ||
timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject, | ||
payloadHash: Uint8Array | string, | ||
view: number, | ||
parentVoterIdsList: Array<Uint8Array | string>, | ||
parentVoterSigData: Uint8Array | string, | ||
proposerId: Uint8Array | string, | ||
proposerSigData: Uint8Array | string, | ||
chainId: string, | ||
parentVoterIndices: Uint8Array | string, | ||
} | ||
} | ||
@@ -5,2 +5,3 @@ // source: flow/entities/block_header.proto | ||
* @enhanceable | ||
* @suppress {missingRequire} reports error on implicit type usages. | ||
* @suppress {messageConventions} JS Compiler reports an error if a variable or | ||
@@ -11,6 +12,14 @@ * field starts with 'MSG_' and isn't a translatable message. | ||
// GENERATED CODE -- DO NOT EDIT! | ||
/* eslint-disable */ | ||
// @ts-nocheck | ||
var jspb = require('google-protobuf'); | ||
var goog = jspb; | ||
var global = Function('return this')(); | ||
var global = (function() { | ||
if (this) { return this; } | ||
if (typeof window !== 'undefined') { return window; } | ||
if (typeof global !== 'undefined') { return global; } | ||
if (typeof self !== 'undefined') { return self; } | ||
return Function('return this')(); | ||
}.call(null)); | ||
@@ -31,3 +40,3 @@ var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); | ||
proto.flow.entities.BlockHeader = function(opt_data) { | ||
jspb.Message.initialize(this, opt_data, 0, -1, null, null); | ||
jspb.Message.initialize(this, opt_data, 0, -1, proto.flow.entities.BlockHeader.repeatedFields_, null); | ||
}; | ||
@@ -43,4 +52,11 @@ goog.inherits(proto.flow.entities.BlockHeader, jspb.Message); | ||
/** | ||
* List of repeated fields within this message type. | ||
* @private {!Array<number>} | ||
* @const | ||
*/ | ||
proto.flow.entities.BlockHeader.repeatedFields_ = [7]; | ||
if (jspb.Message.GENERATE_TO_OBJECT) { | ||
@@ -78,3 +94,11 @@ /** | ||
height: jspb.Message.getFieldWithDefault(msg, 3, 0), | ||
timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) | ||
timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), | ||
payloadHash: msg.getPayloadHash_asB64(), | ||
view: jspb.Message.getFieldWithDefault(msg, 6, 0), | ||
parentVoterIdsList: msg.getParentVoterIdsList_asB64(), | ||
parentVoterSigData: msg.getParentVoterSigData_asB64(), | ||
proposerId: msg.getProposerId_asB64(), | ||
proposerSigData: msg.getProposerSigData_asB64(), | ||
chainId: jspb.Message.getFieldWithDefault(msg, 11, ""), | ||
parentVoterIndices: msg.getParentVoterIndices_asB64() | ||
}; | ||
@@ -133,2 +157,34 @@ | ||
break; | ||
case 5: | ||
var value = /** @type {!Uint8Array} */ (reader.readBytes()); | ||
msg.setPayloadHash(value); | ||
break; | ||
case 6: | ||
var value = /** @type {number} */ (reader.readUint64()); | ||
msg.setView(value); | ||
break; | ||
case 7: | ||
var value = /** @type {!Uint8Array} */ (reader.readBytes()); | ||
msg.addParentVoterIds(value); | ||
break; | ||
case 8: | ||
var value = /** @type {!Uint8Array} */ (reader.readBytes()); | ||
msg.setParentVoterSigData(value); | ||
break; | ||
case 9: | ||
var value = /** @type {!Uint8Array} */ (reader.readBytes()); | ||
msg.setProposerId(value); | ||
break; | ||
case 10: | ||
var value = /** @type {!Uint8Array} */ (reader.readBytes()); | ||
msg.setProposerSigData(value); | ||
break; | ||
case 11: | ||
var value = /** @type {string} */ (reader.readString()); | ||
msg.setChainId(value); | ||
break; | ||
case 12: | ||
var value = /** @type {!Uint8Array} */ (reader.readBytes()); | ||
msg.setParentVoterIndices(value); | ||
break; | ||
default: | ||
@@ -192,2 +248,58 @@ reader.skipField(); | ||
} | ||
f = message.getPayloadHash_asU8(); | ||
if (f.length > 0) { | ||
writer.writeBytes( | ||
5, | ||
f | ||
); | ||
} | ||
f = message.getView(); | ||
if (f !== 0) { | ||
writer.writeUint64( | ||
6, | ||
f | ||
); | ||
} | ||
f = message.getParentVoterIdsList_asU8(); | ||
if (f.length > 0) { | ||
writer.writeRepeatedBytes( | ||
7, | ||
f | ||
); | ||
} | ||
f = message.getParentVoterSigData_asU8(); | ||
if (f.length > 0) { | ||
writer.writeBytes( | ||
8, | ||
f | ||
); | ||
} | ||
f = message.getProposerId_asU8(); | ||
if (f.length > 0) { | ||
writer.writeBytes( | ||
9, | ||
f | ||
); | ||
} | ||
f = message.getProposerSigData_asU8(); | ||
if (f.length > 0) { | ||
writer.writeBytes( | ||
10, | ||
f | ||
); | ||
} | ||
f = message.getChainId(); | ||
if (f.length > 0) { | ||
writer.writeString( | ||
11, | ||
f | ||
); | ||
} | ||
f = message.getParentVoterIndices_asU8(); | ||
if (f.length > 0) { | ||
writer.writeBytes( | ||
12, | ||
f | ||
); | ||
} | ||
}; | ||
@@ -335,2 +447,309 @@ | ||
/** | ||
* optional bytes payload_hash = 5; | ||
* @return {!(string|Uint8Array)} | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.getPayloadHash = function() { | ||
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 5, "")); | ||
}; | ||
/** | ||
* optional bytes payload_hash = 5; | ||
* This is a type-conversion wrapper around `getPayloadHash()` | ||
* @return {string} | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.getPayloadHash_asB64 = function() { | ||
return /** @type {string} */ (jspb.Message.bytesAsB64( | ||
this.getPayloadHash())); | ||
}; | ||
/** | ||
* optional bytes payload_hash = 5; | ||
* Note that Uint8Array is not supported on all browsers. | ||
* @see http://caniuse.com/Uint8Array | ||
* This is a type-conversion wrapper around `getPayloadHash()` | ||
* @return {!Uint8Array} | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.getPayloadHash_asU8 = function() { | ||
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( | ||
this.getPayloadHash())); | ||
}; | ||
/** | ||
* @param {!(string|Uint8Array)} value | ||
* @return {!proto.flow.entities.BlockHeader} returns this | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.setPayloadHash = function(value) { | ||
return jspb.Message.setProto3BytesField(this, 5, value); | ||
}; | ||
/** | ||
* optional uint64 view = 6; | ||
* @return {number} | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.getView = function() { | ||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); | ||
}; | ||
/** | ||
* @param {number} value | ||
* @return {!proto.flow.entities.BlockHeader} returns this | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.setView = function(value) { | ||
return jspb.Message.setProto3IntField(this, 6, value); | ||
}; | ||
/** | ||
* repeated bytes parent_voter_ids = 7; | ||
* @return {!(Array<!Uint8Array>|Array<string>)} | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.getParentVoterIdsList = function() { | ||
return /** @type {!(Array<!Uint8Array>|Array<string>)} */ (jspb.Message.getRepeatedField(this, 7)); | ||
}; | ||
/** | ||
* repeated bytes parent_voter_ids = 7; | ||
* This is a type-conversion wrapper around `getParentVoterIdsList()` | ||
* @return {!Array<string>} | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.getParentVoterIdsList_asB64 = function() { | ||
return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64( | ||
this.getParentVoterIdsList())); | ||
}; | ||
/** | ||
* repeated bytes parent_voter_ids = 7; | ||
* Note that Uint8Array is not supported on all browsers. | ||
* @see http://caniuse.com/Uint8Array | ||
* This is a type-conversion wrapper around `getParentVoterIdsList()` | ||
* @return {!Array<!Uint8Array>} | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.getParentVoterIdsList_asU8 = function() { | ||
return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8( | ||
this.getParentVoterIdsList())); | ||
}; | ||
/** | ||
* @param {!(Array<!Uint8Array>|Array<string>)} value | ||
* @return {!proto.flow.entities.BlockHeader} returns this | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.setParentVoterIdsList = function(value) { | ||
return jspb.Message.setField(this, 7, value || []); | ||
}; | ||
/** | ||
* @param {!(string|Uint8Array)} value | ||
* @param {number=} opt_index | ||
* @return {!proto.flow.entities.BlockHeader} returns this | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.addParentVoterIds = function(value, opt_index) { | ||
return jspb.Message.addToRepeatedField(this, 7, value, opt_index); | ||
}; | ||
/** | ||
* Clears the list making it empty but non-null. | ||
* @return {!proto.flow.entities.BlockHeader} returns this | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.clearParentVoterIdsList = function() { | ||
return this.setParentVoterIdsList([]); | ||
}; | ||
/** | ||
* optional bytes parent_voter_sig_data = 8; | ||
* @return {!(string|Uint8Array)} | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.getParentVoterSigData = function() { | ||
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 8, "")); | ||
}; | ||
/** | ||
* optional bytes parent_voter_sig_data = 8; | ||
* This is a type-conversion wrapper around `getParentVoterSigData()` | ||
* @return {string} | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.getParentVoterSigData_asB64 = function() { | ||
return /** @type {string} */ (jspb.Message.bytesAsB64( | ||
this.getParentVoterSigData())); | ||
}; | ||
/** | ||
* optional bytes parent_voter_sig_data = 8; | ||
* Note that Uint8Array is not supported on all browsers. | ||
* @see http://caniuse.com/Uint8Array | ||
* This is a type-conversion wrapper around `getParentVoterSigData()` | ||
* @return {!Uint8Array} | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.getParentVoterSigData_asU8 = function() { | ||
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( | ||
this.getParentVoterSigData())); | ||
}; | ||
/** | ||
* @param {!(string|Uint8Array)} value | ||
* @return {!proto.flow.entities.BlockHeader} returns this | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.setParentVoterSigData = function(value) { | ||
return jspb.Message.setProto3BytesField(this, 8, value); | ||
}; | ||
/** | ||
* optional bytes proposer_id = 9; | ||
* @return {!(string|Uint8Array)} | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.getProposerId = function() { | ||
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 9, "")); | ||
}; | ||
/** | ||
* optional bytes proposer_id = 9; | ||
* This is a type-conversion wrapper around `getProposerId()` | ||
* @return {string} | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.getProposerId_asB64 = function() { | ||
return /** @type {string} */ (jspb.Message.bytesAsB64( | ||
this.getProposerId())); | ||
}; | ||
/** | ||
* optional bytes proposer_id = 9; | ||
* Note that Uint8Array is not supported on all browsers. | ||
* @see http://caniuse.com/Uint8Array | ||
* This is a type-conversion wrapper around `getProposerId()` | ||
* @return {!Uint8Array} | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.getProposerId_asU8 = function() { | ||
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( | ||
this.getProposerId())); | ||
}; | ||
/** | ||
* @param {!(string|Uint8Array)} value | ||
* @return {!proto.flow.entities.BlockHeader} returns this | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.setProposerId = function(value) { | ||
return jspb.Message.setProto3BytesField(this, 9, value); | ||
}; | ||
/** | ||
* optional bytes proposer_sig_data = 10; | ||
* @return {!(string|Uint8Array)} | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.getProposerSigData = function() { | ||
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 10, "")); | ||
}; | ||
/** | ||
* optional bytes proposer_sig_data = 10; | ||
* This is a type-conversion wrapper around `getProposerSigData()` | ||
* @return {string} | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.getProposerSigData_asB64 = function() { | ||
return /** @type {string} */ (jspb.Message.bytesAsB64( | ||
this.getProposerSigData())); | ||
}; | ||
/** | ||
* optional bytes proposer_sig_data = 10; | ||
* Note that Uint8Array is not supported on all browsers. | ||
* @see http://caniuse.com/Uint8Array | ||
* This is a type-conversion wrapper around `getProposerSigData()` | ||
* @return {!Uint8Array} | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.getProposerSigData_asU8 = function() { | ||
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( | ||
this.getProposerSigData())); | ||
}; | ||
/** | ||
* @param {!(string|Uint8Array)} value | ||
* @return {!proto.flow.entities.BlockHeader} returns this | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.setProposerSigData = function(value) { | ||
return jspb.Message.setProto3BytesField(this, 10, value); | ||
}; | ||
/** | ||
* optional string chain_id = 11; | ||
* @return {string} | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.getChainId = function() { | ||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, "")); | ||
}; | ||
/** | ||
* @param {string} value | ||
* @return {!proto.flow.entities.BlockHeader} returns this | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.setChainId = function(value) { | ||
return jspb.Message.setProto3StringField(this, 11, value); | ||
}; | ||
/** | ||
* optional bytes parent_voter_indices = 12; | ||
* @return {!(string|Uint8Array)} | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.getParentVoterIndices = function() { | ||
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 12, "")); | ||
}; | ||
/** | ||
* optional bytes parent_voter_indices = 12; | ||
* This is a type-conversion wrapper around `getParentVoterIndices()` | ||
* @return {string} | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.getParentVoterIndices_asB64 = function() { | ||
return /** @type {string} */ (jspb.Message.bytesAsB64( | ||
this.getParentVoterIndices())); | ||
}; | ||
/** | ||
* optional bytes parent_voter_indices = 12; | ||
* Note that Uint8Array is not supported on all browsers. | ||
* @see http://caniuse.com/Uint8Array | ||
* This is a type-conversion wrapper around `getParentVoterIndices()` | ||
* @return {!Uint8Array} | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.getParentVoterIndices_asU8 = function() { | ||
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( | ||
this.getParentVoterIndices())); | ||
}; | ||
/** | ||
* @param {!(string|Uint8Array)} value | ||
* @return {!proto.flow.entities.BlockHeader} returns this | ||
*/ | ||
proto.flow.entities.BlockHeader.prototype.setParentVoterIndices = function(value) { | ||
return jspb.Message.setProto3BytesField(this, 12, value); | ||
}; | ||
goog.object.extend(exports, proto.flow.entities); |
@@ -8,2 +8,4 @@ // package: flow.entities | ||
import * as flow_entities_block_seal_pb from "../../flow/entities/block_seal_pb"; | ||
import * as flow_entities_execution_result_pb from "../../flow/entities/execution_result_pb"; | ||
import * as flow_entities_block_header_pb from "../../flow/entities/block_header_pb"; | ||
@@ -46,2 +48,17 @@ export class Block extends jspb.Message { | ||
clearExecutionReceiptMetalistList(): void; | ||
getExecutionReceiptMetalistList(): Array<flow_entities_execution_result_pb.ExecutionReceiptMeta>; | ||
setExecutionReceiptMetalistList(value: Array<flow_entities_execution_result_pb.ExecutionReceiptMeta>): void; | ||
addExecutionReceiptMetalist(value?: flow_entities_execution_result_pb.ExecutionReceiptMeta, index?: number): flow_entities_execution_result_pb.ExecutionReceiptMeta; | ||
clearExecutionResultListList(): void; | ||
getExecutionResultListList(): Array<flow_entities_execution_result_pb.ExecutionResult>; | ||
setExecutionResultListList(value: Array<flow_entities_execution_result_pb.ExecutionResult>): void; | ||
addExecutionResultList(value?: flow_entities_execution_result_pb.ExecutionResult, index?: number): flow_entities_execution_result_pb.ExecutionResult; | ||
hasBlockHeader(): boolean; | ||
clearBlockHeader(): void; | ||
getBlockHeader(): flow_entities_block_header_pb.BlockHeader | undefined; | ||
setBlockHeader(value?: flow_entities_block_header_pb.BlockHeader): void; | ||
serializeBinary(): Uint8Array; | ||
@@ -66,4 +83,7 @@ toObject(includeInstance?: boolean): Block.AsObject; | ||
signaturesList: Array<Uint8Array | string>, | ||
executionReceiptMetalistList: Array<flow_entities_execution_result_pb.ExecutionReceiptMeta.AsObject>, | ||
executionResultListList: Array<flow_entities_execution_result_pb.ExecutionResult.AsObject>, | ||
blockHeader?: flow_entities_block_header_pb.BlockHeader.AsObject, | ||
} | ||
} | ||
@@ -5,2 +5,3 @@ // source: flow/entities/block.proto | ||
* @enhanceable | ||
* @suppress {missingRequire} reports error on implicit type usages. | ||
* @suppress {messageConventions} JS Compiler reports an error if a variable or | ||
@@ -11,6 +12,14 @@ * field starts with 'MSG_' and isn't a translatable message. | ||
// GENERATED CODE -- DO NOT EDIT! | ||
/* eslint-disable */ | ||
// @ts-nocheck | ||
var jspb = require('google-protobuf'); | ||
var goog = jspb; | ||
var global = Function('return this')(); | ||
var global = (function() { | ||
if (this) { return this; } | ||
if (typeof window !== 'undefined') { return window; } | ||
if (typeof global !== 'undefined') { return global; } | ||
if (typeof self !== 'undefined') { return self; } | ||
return Function('return this')(); | ||
}.call(null)); | ||
@@ -23,2 +32,6 @@ var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); | ||
goog.object.extend(proto, flow_entities_block_seal_pb); | ||
var flow_entities_execution_result_pb = require('../../flow/entities/execution_result_pb.js'); | ||
goog.object.extend(proto, flow_entities_execution_result_pb); | ||
var flow_entities_block_header_pb = require('../../flow/entities/block_header_pb.js'); | ||
goog.object.extend(proto, flow_entities_block_header_pb); | ||
goog.exportSymbol('proto.flow.entities.Block', null, global); | ||
@@ -52,3 +65,3 @@ /** | ||
*/ | ||
proto.flow.entities.Block.repeatedFields_ = [5,6,7]; | ||
proto.flow.entities.Block.repeatedFields_ = [5,6,7,8,9]; | ||
@@ -94,3 +107,8 @@ | ||
flow_entities_block_seal_pb.BlockSeal.toObject, includeInstance), | ||
signaturesList: msg.getSignaturesList_asB64() | ||
signaturesList: msg.getSignaturesList_asB64(), | ||
executionReceiptMetalistList: jspb.Message.toObjectList(msg.getExecutionReceiptMetalistList(), | ||
flow_entities_execution_result_pb.ExecutionReceiptMeta.toObject, includeInstance), | ||
executionResultListList: jspb.Message.toObjectList(msg.getExecutionResultListList(), | ||
flow_entities_execution_result_pb.ExecutionResult.toObject, includeInstance), | ||
blockHeader: (f = msg.getBlockHeader()) && flow_entities_block_header_pb.BlockHeader.toObject(includeInstance, f) | ||
}; | ||
@@ -163,2 +181,17 @@ | ||
break; | ||
case 8: | ||
var value = new flow_entities_execution_result_pb.ExecutionReceiptMeta; | ||
reader.readMessage(value,flow_entities_execution_result_pb.ExecutionReceiptMeta.deserializeBinaryFromReader); | ||
msg.addExecutionReceiptMetalist(value); | ||
break; | ||
case 9: | ||
var value = new flow_entities_execution_result_pb.ExecutionResult; | ||
reader.readMessage(value,flow_entities_execution_result_pb.ExecutionResult.deserializeBinaryFromReader); | ||
msg.addExecutionResultList(value); | ||
break; | ||
case 10: | ||
var value = new flow_entities_block_header_pb.BlockHeader; | ||
reader.readMessage(value,flow_entities_block_header_pb.BlockHeader.deserializeBinaryFromReader); | ||
msg.setBlockHeader(value); | ||
break; | ||
default: | ||
@@ -245,2 +278,26 @@ reader.skipField(); | ||
} | ||
f = message.getExecutionReceiptMetalistList(); | ||
if (f.length > 0) { | ||
writer.writeRepeatedMessage( | ||
8, | ||
f, | ||
flow_entities_execution_result_pb.ExecutionReceiptMeta.serializeBinaryToWriter | ||
); | ||
} | ||
f = message.getExecutionResultListList(); | ||
if (f.length > 0) { | ||
writer.writeRepeatedMessage( | ||
9, | ||
f, | ||
flow_entities_execution_result_pb.ExecutionResult.serializeBinaryToWriter | ||
); | ||
} | ||
f = message.getBlockHeader(); | ||
if (f != null) { | ||
writer.writeMessage( | ||
10, | ||
f, | ||
flow_entities_block_header_pb.BlockHeader.serializeBinaryToWriter | ||
); | ||
} | ||
}; | ||
@@ -525,2 +582,115 @@ | ||
/** | ||
* repeated ExecutionReceiptMeta execution_receipt_metaList = 8; | ||
* @return {!Array<!proto.flow.entities.ExecutionReceiptMeta>} | ||
*/ | ||
proto.flow.entities.Block.prototype.getExecutionReceiptMetalistList = function() { | ||
return /** @type{!Array<!proto.flow.entities.ExecutionReceiptMeta>} */ ( | ||
jspb.Message.getRepeatedWrapperField(this, flow_entities_execution_result_pb.ExecutionReceiptMeta, 8)); | ||
}; | ||
/** | ||
* @param {!Array<!proto.flow.entities.ExecutionReceiptMeta>} value | ||
* @return {!proto.flow.entities.Block} returns this | ||
*/ | ||
proto.flow.entities.Block.prototype.setExecutionReceiptMetalistList = function(value) { | ||
return jspb.Message.setRepeatedWrapperField(this, 8, value); | ||
}; | ||
/** | ||
* @param {!proto.flow.entities.ExecutionReceiptMeta=} opt_value | ||
* @param {number=} opt_index | ||
* @return {!proto.flow.entities.ExecutionReceiptMeta} | ||
*/ | ||
proto.flow.entities.Block.prototype.addExecutionReceiptMetalist = function(opt_value, opt_index) { | ||
return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.flow.entities.ExecutionReceiptMeta, opt_index); | ||
}; | ||
/** | ||
* Clears the list making it empty but non-null. | ||
* @return {!proto.flow.entities.Block} returns this | ||
*/ | ||
proto.flow.entities.Block.prototype.clearExecutionReceiptMetalistList = function() { | ||
return this.setExecutionReceiptMetalistList([]); | ||
}; | ||
/** | ||
* repeated ExecutionResult execution_result_list = 9; | ||
* @return {!Array<!proto.flow.entities.ExecutionResult>} | ||
*/ | ||
proto.flow.entities.Block.prototype.getExecutionResultListList = function() { | ||
return /** @type{!Array<!proto.flow.entities.ExecutionResult>} */ ( | ||
jspb.Message.getRepeatedWrapperField(this, flow_entities_execution_result_pb.ExecutionResult, 9)); | ||
}; | ||
/** | ||
* @param {!Array<!proto.flow.entities.ExecutionResult>} value | ||
* @return {!proto.flow.entities.Block} returns this | ||
*/ | ||
proto.flow.entities.Block.prototype.setExecutionResultListList = function(value) { | ||
return jspb.Message.setRepeatedWrapperField(this, 9, value); | ||
}; | ||
/** | ||
* @param {!proto.flow.entities.ExecutionResult=} opt_value | ||
* @param {number=} opt_index | ||
* @return {!proto.flow.entities.ExecutionResult} | ||
*/ | ||
proto.flow.entities.Block.prototype.addExecutionResultList = function(opt_value, opt_index) { | ||
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.flow.entities.ExecutionResult, opt_index); | ||
}; | ||
/** | ||
* Clears the list making it empty but non-null. | ||
* @return {!proto.flow.entities.Block} returns this | ||
*/ | ||
proto.flow.entities.Block.prototype.clearExecutionResultListList = function() { | ||
return this.setExecutionResultListList([]); | ||
}; | ||
/** | ||
* optional BlockHeader block_header = 10; | ||
* @return {?proto.flow.entities.BlockHeader} | ||
*/ | ||
proto.flow.entities.Block.prototype.getBlockHeader = function() { | ||
return /** @type{?proto.flow.entities.BlockHeader} */ ( | ||
jspb.Message.getWrapperField(this, flow_entities_block_header_pb.BlockHeader, 10)); | ||
}; | ||
/** | ||
* @param {?proto.flow.entities.BlockHeader|undefined} value | ||
* @return {!proto.flow.entities.Block} returns this | ||
*/ | ||
proto.flow.entities.Block.prototype.setBlockHeader = function(value) { | ||
return jspb.Message.setWrapperField(this, 10, value); | ||
}; | ||
/** | ||
* Clears the message field making it undefined. | ||
* @return {!proto.flow.entities.Block} returns this | ||
*/ | ||
proto.flow.entities.Block.prototype.clearBlockHeader = function() { | ||
return this.setBlockHeader(undefined); | ||
}; | ||
/** | ||
* Returns whether this field is set. | ||
* @return {boolean} | ||
*/ | ||
proto.flow.entities.Block.prototype.hasBlockHeader = function() { | ||
return jspb.Message.getField(this, 10) != null; | ||
}; | ||
goog.object.extend(exports, proto.flow.entities); |
@@ -31,2 +31,17 @@ // package: flow.entities | ||
getFinalState(): Uint8Array | string; | ||
getFinalState_asU8(): Uint8Array; | ||
getFinalState_asB64(): string; | ||
setFinalState(value: Uint8Array | string): void; | ||
getResultId(): Uint8Array | string; | ||
getResultId_asU8(): Uint8Array; | ||
getResultId_asB64(): string; | ||
setResultId(value: Uint8Array | string): void; | ||
clearAggregatedApprovalSigsList(): void; | ||
getAggregatedApprovalSigsList(): Array<AggregatedSignature>; | ||
setAggregatedApprovalSigsList(value: Array<AggregatedSignature>): void; | ||
addAggregatedApprovalSigs(value?: AggregatedSignature, index?: number): AggregatedSignature; | ||
serializeBinary(): Uint8Array; | ||
@@ -48,4 +63,39 @@ toObject(includeInstance?: boolean): BlockSeal.AsObject; | ||
resultApprovalSignaturesList: Array<Uint8Array | string>, | ||
finalState: Uint8Array | string, | ||
resultId: Uint8Array | string, | ||
aggregatedApprovalSigsList: Array<AggregatedSignature.AsObject>, | ||
} | ||
} | ||
export class AggregatedSignature extends jspb.Message { | ||
clearVerifierSignaturesList(): void; | ||
getVerifierSignaturesList(): Array<Uint8Array | string>; | ||
getVerifierSignaturesList_asU8(): Array<Uint8Array>; | ||
getVerifierSignaturesList_asB64(): Array<string>; | ||
setVerifierSignaturesList(value: Array<Uint8Array | string>): void; | ||
addVerifierSignatures(value: Uint8Array | string, index?: number): Uint8Array | string; | ||
clearSignerIdsList(): void; | ||
getSignerIdsList(): Array<Uint8Array | string>; | ||
getSignerIdsList_asU8(): Array<Uint8Array>; | ||
getSignerIdsList_asB64(): Array<string>; | ||
setSignerIdsList(value: Array<Uint8Array | string>): void; | ||
addSignerIds(value: Uint8Array | string, index?: number): Uint8Array | string; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): AggregatedSignature.AsObject; | ||
static toObject(includeInstance: boolean, msg: AggregatedSignature): AggregatedSignature.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: AggregatedSignature, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): AggregatedSignature; | ||
static deserializeBinaryFromReader(message: AggregatedSignature, reader: jspb.BinaryReader): AggregatedSignature; | ||
} | ||
export namespace AggregatedSignature { | ||
export type AsObject = { | ||
verifierSignaturesList: Array<Uint8Array | string>, | ||
signerIdsList: Array<Uint8Array | string>, | ||
} | ||
} | ||
@@ -5,2 +5,3 @@ // source: flow/entities/block_seal.proto | ||
* @enhanceable | ||
* @suppress {missingRequire} reports error on implicit type usages. | ||
* @suppress {messageConventions} JS Compiler reports an error if a variable or | ||
@@ -11,7 +12,16 @@ * field starts with 'MSG_' and isn't a translatable message. | ||
// GENERATED CODE -- DO NOT EDIT! | ||
/* eslint-disable */ | ||
// @ts-nocheck | ||
var jspb = require('google-protobuf'); | ||
var goog = jspb; | ||
var global = Function('return this')(); | ||
var global = (function() { | ||
if (this) { return this; } | ||
if (typeof window !== 'undefined') { return window; } | ||
if (typeof global !== 'undefined') { return global; } | ||
if (typeof self !== 'undefined') { return self; } | ||
return Function('return this')(); | ||
}.call(null)); | ||
goog.exportSymbol('proto.flow.entities.AggregatedSignature', null, global); | ||
goog.exportSymbol('proto.flow.entities.BlockSeal', null, global); | ||
@@ -39,2 +49,23 @@ /** | ||
} | ||
/** | ||
* Generated by JsPbCodeGenerator. | ||
* @param {Array=} opt_data Optional initial data array, typically from a | ||
* server response, or constructed directly in Javascript. The array is used | ||
* in place and becomes part of the constructed object. It is not cloned. | ||
* If no data is provided, the constructed object will be empty, but still | ||
* valid. | ||
* @extends {jspb.Message} | ||
* @constructor | ||
*/ | ||
proto.flow.entities.AggregatedSignature = function(opt_data) { | ||
jspb.Message.initialize(this, opt_data, 0, -1, proto.flow.entities.AggregatedSignature.repeatedFields_, null); | ||
}; | ||
goog.inherits(proto.flow.entities.AggregatedSignature, jspb.Message); | ||
if (goog.DEBUG && !COMPILED) { | ||
/** | ||
* @public | ||
* @override | ||
*/ | ||
proto.flow.entities.AggregatedSignature.displayName = 'proto.flow.entities.AggregatedSignature'; | ||
} | ||
@@ -46,3 +77,3 @@ /** | ||
*/ | ||
proto.flow.entities.BlockSeal.repeatedFields_ = [3,4]; | ||
proto.flow.entities.BlockSeal.repeatedFields_ = [3,4,7]; | ||
@@ -83,3 +114,7 @@ | ||
executionReceiptSignaturesList: msg.getExecutionReceiptSignaturesList_asB64(), | ||
resultApprovalSignaturesList: msg.getResultApprovalSignaturesList_asB64() | ||
resultApprovalSignaturesList: msg.getResultApprovalSignaturesList_asB64(), | ||
finalState: msg.getFinalState_asB64(), | ||
resultId: msg.getResultId_asB64(), | ||
aggregatedApprovalSigsList: jspb.Message.toObjectList(msg.getAggregatedApprovalSigsList(), | ||
proto.flow.entities.AggregatedSignature.toObject, includeInstance) | ||
}; | ||
@@ -137,2 +172,15 @@ | ||
break; | ||
case 5: | ||
var value = /** @type {!Uint8Array} */ (reader.readBytes()); | ||
msg.setFinalState(value); | ||
break; | ||
case 6: | ||
var value = /** @type {!Uint8Array} */ (reader.readBytes()); | ||
msg.setResultId(value); | ||
break; | ||
case 7: | ||
var value = new proto.flow.entities.AggregatedSignature; | ||
reader.readMessage(value,proto.flow.entities.AggregatedSignature.deserializeBinaryFromReader); | ||
msg.addAggregatedApprovalSigs(value); | ||
break; | ||
default: | ||
@@ -195,2 +243,24 @@ reader.skipField(); | ||
} | ||
f = message.getFinalState_asU8(); | ||
if (f.length > 0) { | ||
writer.writeBytes( | ||
5, | ||
f | ||
); | ||
} | ||
f = message.getResultId_asU8(); | ||
if (f.length > 0) { | ||
writer.writeBytes( | ||
6, | ||
f | ||
); | ||
} | ||
f = message.getAggregatedApprovalSigsList(); | ||
if (f.length > 0) { | ||
writer.writeRepeatedMessage( | ||
7, | ||
f, | ||
proto.flow.entities.AggregatedSignature.serializeBinaryToWriter | ||
); | ||
} | ||
}; | ||
@@ -405,2 +475,377 @@ | ||
/** | ||
* optional bytes final_state = 5; | ||
* @return {!(string|Uint8Array)} | ||
*/ | ||
proto.flow.entities.BlockSeal.prototype.getFinalState = function() { | ||
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 5, "")); | ||
}; | ||
/** | ||
* optional bytes final_state = 5; | ||
* This is a type-conversion wrapper around `getFinalState()` | ||
* @return {string} | ||
*/ | ||
proto.flow.entities.BlockSeal.prototype.getFinalState_asB64 = function() { | ||
return /** @type {string} */ (jspb.Message.bytesAsB64( | ||
this.getFinalState())); | ||
}; | ||
/** | ||
* optional bytes final_state = 5; | ||
* Note that Uint8Array is not supported on all browsers. | ||
* @see http://caniuse.com/Uint8Array | ||
* This is a type-conversion wrapper around `getFinalState()` | ||
* @return {!Uint8Array} | ||
*/ | ||
proto.flow.entities.BlockSeal.prototype.getFinalState_asU8 = function() { | ||
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( | ||
this.getFinalState())); | ||
}; | ||
/** | ||
* @param {!(string|Uint8Array)} value | ||
* @return {!proto.flow.entities.BlockSeal} returns this | ||
*/ | ||
proto.flow.entities.BlockSeal.prototype.setFinalState = function(value) { | ||
return jspb.Message.setProto3BytesField(this, 5, value); | ||
}; | ||
/** | ||
* optional bytes result_id = 6; | ||
* @return {!(string|Uint8Array)} | ||
*/ | ||
proto.flow.entities.BlockSeal.prototype.getResultId = function() { | ||
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 6, "")); | ||
}; | ||
/** | ||
* optional bytes result_id = 6; | ||
* This is a type-conversion wrapper around `getResultId()` | ||
* @return {string} | ||
*/ | ||
proto.flow.entities.BlockSeal.prototype.getResultId_asB64 = function() { | ||
return /** @type {string} */ (jspb.Message.bytesAsB64( | ||
this.getResultId())); | ||
}; | ||
/** | ||
* optional bytes result_id = 6; | ||
* Note that Uint8Array is not supported on all browsers. | ||
* @see http://caniuse.com/Uint8Array | ||
* This is a type-conversion wrapper around `getResultId()` | ||
* @return {!Uint8Array} | ||
*/ | ||
proto.flow.entities.BlockSeal.prototype.getResultId_asU8 = function() { | ||
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( | ||
this.getResultId())); | ||
}; | ||
/** | ||
* @param {!(string|Uint8Array)} value | ||
* @return {!proto.flow.entities.BlockSeal} returns this | ||
*/ | ||
proto.flow.entities.BlockSeal.prototype.setResultId = function(value) { | ||
return jspb.Message.setProto3BytesField(this, 6, value); | ||
}; | ||
/** | ||
* repeated AggregatedSignature aggregated_approval_sigs = 7; | ||
* @return {!Array<!proto.flow.entities.AggregatedSignature>} | ||
*/ | ||
proto.flow.entities.BlockSeal.prototype.getAggregatedApprovalSigsList = function() { | ||
return /** @type{!Array<!proto.flow.entities.AggregatedSignature>} */ ( | ||
jspb.Message.getRepeatedWrapperField(this, proto.flow.entities.AggregatedSignature, 7)); | ||
}; | ||
/** | ||
* @param {!Array<!proto.flow.entities.AggregatedSignature>} value | ||
* @return {!proto.flow.entities.BlockSeal} returns this | ||
*/ | ||
proto.flow.entities.BlockSeal.prototype.setAggregatedApprovalSigsList = function(value) { | ||
return jspb.Message.setRepeatedWrapperField(this, 7, value); | ||
}; | ||
/** | ||
* @param {!proto.flow.entities.AggregatedSignature=} opt_value | ||
* @param {number=} opt_index | ||
* @return {!proto.flow.entities.AggregatedSignature} | ||
*/ | ||
proto.flow.entities.BlockSeal.prototype.addAggregatedApprovalSigs = function(opt_value, opt_index) { | ||
return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.flow.entities.AggregatedSignature, opt_index); | ||
}; | ||
/** | ||
* Clears the list making it empty but non-null. | ||
* @return {!proto.flow.entities.BlockSeal} returns this | ||
*/ | ||
proto.flow.entities.BlockSeal.prototype.clearAggregatedApprovalSigsList = function() { | ||
return this.setAggregatedApprovalSigsList([]); | ||
}; | ||
/** | ||
* List of repeated fields within this message type. | ||
* @private {!Array<number>} | ||
* @const | ||
*/ | ||
proto.flow.entities.AggregatedSignature.repeatedFields_ = [1,2]; | ||
if (jspb.Message.GENERATE_TO_OBJECT) { | ||
/** | ||
* Creates an object representation of this proto. | ||
* Field names that are reserved in JavaScript and will be renamed to pb_name. | ||
* Optional fields that are not set will be set to undefined. | ||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default. | ||
* For the list of reserved names please see: | ||
* net/proto2/compiler/js/internal/generator.cc#kKeyword. | ||
* @param {boolean=} opt_includeInstance Deprecated. whether to include the | ||
* JSPB instance for transitional soy proto support: | ||
* http://goto/soy-param-migration | ||
* @return {!Object} | ||
*/ | ||
proto.flow.entities.AggregatedSignature.prototype.toObject = function(opt_includeInstance) { | ||
return proto.flow.entities.AggregatedSignature.toObject(opt_includeInstance, this); | ||
}; | ||
/** | ||
* Static version of the {@see toObject} method. | ||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include | ||
* the JSPB instance for transitional soy proto support: | ||
* http://goto/soy-param-migration | ||
* @param {!proto.flow.entities.AggregatedSignature} msg The msg instance to transform. | ||
* @return {!Object} | ||
* @suppress {unusedLocalVariables} f is only used for nested messages | ||
*/ | ||
proto.flow.entities.AggregatedSignature.toObject = function(includeInstance, msg) { | ||
var f, obj = { | ||
verifierSignaturesList: msg.getVerifierSignaturesList_asB64(), | ||
signerIdsList: msg.getSignerIdsList_asB64() | ||
}; | ||
if (includeInstance) { | ||
obj.$jspbMessageInstance = msg; | ||
} | ||
return obj; | ||
}; | ||
} | ||
/** | ||
* Deserializes binary data (in protobuf wire format). | ||
* @param {jspb.ByteSource} bytes The bytes to deserialize. | ||
* @return {!proto.flow.entities.AggregatedSignature} | ||
*/ | ||
proto.flow.entities.AggregatedSignature.deserializeBinary = function(bytes) { | ||
var reader = new jspb.BinaryReader(bytes); | ||
var msg = new proto.flow.entities.AggregatedSignature; | ||
return proto.flow.entities.AggregatedSignature.deserializeBinaryFromReader(msg, reader); | ||
}; | ||
/** | ||
* Deserializes binary data (in protobuf wire format) from the | ||
* given reader into the given message object. | ||
* @param {!proto.flow.entities.AggregatedSignature} msg The message object to deserialize into. | ||
* @param {!jspb.BinaryReader} reader The BinaryReader to use. | ||
* @return {!proto.flow.entities.AggregatedSignature} | ||
*/ | ||
proto.flow.entities.AggregatedSignature.deserializeBinaryFromReader = function(msg, reader) { | ||
while (reader.nextField()) { | ||
if (reader.isEndGroup()) { | ||
break; | ||
} | ||
var field = reader.getFieldNumber(); | ||
switch (field) { | ||
case 1: | ||
var value = /** @type {!Uint8Array} */ (reader.readBytes()); | ||
msg.addVerifierSignatures(value); | ||
break; | ||
case 2: | ||
var value = /** @type {!Uint8Array} */ (reader.readBytes()); | ||
msg.addSignerIds(value); | ||
break; | ||
default: | ||
reader.skipField(); | ||
break; | ||
} | ||
} | ||
return msg; | ||
}; | ||
/** | ||
* Serializes the message to binary data (in protobuf wire format). | ||
* @return {!Uint8Array} | ||
*/ | ||
proto.flow.entities.AggregatedSignature.prototype.serializeBinary = function() { | ||
var writer = new jspb.BinaryWriter(); | ||
proto.flow.entities.AggregatedSignature.serializeBinaryToWriter(this, writer); | ||
return writer.getResultBuffer(); | ||
}; | ||
/** | ||
* Serializes the given message to binary data (in protobuf wire | ||
* format), writing to the given BinaryWriter. | ||
* @param {!proto.flow.entities.AggregatedSignature} message | ||
* @param {!jspb.BinaryWriter} writer | ||
* @suppress {unusedLocalVariables} f is only used for nested messages | ||
*/ | ||
proto.flow.entities.AggregatedSignature.serializeBinaryToWriter = function(message, writer) { | ||
var f = undefined; | ||
f = message.getVerifierSignaturesList_asU8(); | ||
if (f.length > 0) { | ||
writer.writeRepeatedBytes( | ||
1, | ||
f | ||
); | ||
} | ||
f = message.getSignerIdsList_asU8(); | ||
if (f.length > 0) { | ||
writer.writeRepeatedBytes( | ||
2, | ||
f | ||
); | ||
} | ||
}; | ||
/** | ||
* repeated bytes verifier_signatures = 1; | ||
* @return {!(Array<!Uint8Array>|Array<string>)} | ||
*/ | ||
proto.flow.entities.AggregatedSignature.prototype.getVerifierSignaturesList = function() { | ||
return /** @type {!(Array<!Uint8Array>|Array<string>)} */ (jspb.Message.getRepeatedField(this, 1)); | ||
}; | ||
/** | ||
* repeated bytes verifier_signatures = 1; | ||
* This is a type-conversion wrapper around `getVerifierSignaturesList()` | ||
* @return {!Array<string>} | ||
*/ | ||
proto.flow.entities.AggregatedSignature.prototype.getVerifierSignaturesList_asB64 = function() { | ||
return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64( | ||
this.getVerifierSignaturesList())); | ||
}; | ||
/** | ||
* repeated bytes verifier_signatures = 1; | ||
* Note that Uint8Array is not supported on all browsers. | ||
* @see http://caniuse.com/Uint8Array | ||
* This is a type-conversion wrapper around `getVerifierSignaturesList()` | ||
* @return {!Array<!Uint8Array>} | ||
*/ | ||
proto.flow.entities.AggregatedSignature.prototype.getVerifierSignaturesList_asU8 = function() { | ||
return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8( | ||
this.getVerifierSignaturesList())); | ||
}; | ||
/** | ||
* @param {!(Array<!Uint8Array>|Array<string>)} value | ||
* @return {!proto.flow.entities.AggregatedSignature} returns this | ||
*/ | ||
proto.flow.entities.AggregatedSignature.prototype.setVerifierSignaturesList = function(value) { | ||
return jspb.Message.setField(this, 1, value || []); | ||
}; | ||
/** | ||
* @param {!(string|Uint8Array)} value | ||
* @param {number=} opt_index | ||
* @return {!proto.flow.entities.AggregatedSignature} returns this | ||
*/ | ||
proto.flow.entities.AggregatedSignature.prototype.addVerifierSignatures = function(value, opt_index) { | ||
return jspb.Message.addToRepeatedField(this, 1, value, opt_index); | ||
}; | ||
/** | ||
* Clears the list making it empty but non-null. | ||
* @return {!proto.flow.entities.AggregatedSignature} returns this | ||
*/ | ||
proto.flow.entities.AggregatedSignature.prototype.clearVerifierSignaturesList = function() { | ||
return this.setVerifierSignaturesList([]); | ||
}; | ||
/** | ||
* repeated bytes signer_ids = 2; | ||
* @return {!(Array<!Uint8Array>|Array<string>)} | ||
*/ | ||
proto.flow.entities.AggregatedSignature.prototype.getSignerIdsList = function() { | ||
return /** @type {!(Array<!Uint8Array>|Array<string>)} */ (jspb.Message.getRepeatedField(this, 2)); | ||
}; | ||
/** | ||
* repeated bytes signer_ids = 2; | ||
* This is a type-conversion wrapper around `getSignerIdsList()` | ||
* @return {!Array<string>} | ||
*/ | ||
proto.flow.entities.AggregatedSignature.prototype.getSignerIdsList_asB64 = function() { | ||
return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64( | ||
this.getSignerIdsList())); | ||
}; | ||
/** | ||
* repeated bytes signer_ids = 2; | ||
* Note that Uint8Array is not supported on all browsers. | ||
* @see http://caniuse.com/Uint8Array | ||
* This is a type-conversion wrapper around `getSignerIdsList()` | ||
* @return {!Array<!Uint8Array>} | ||
*/ | ||
proto.flow.entities.AggregatedSignature.prototype.getSignerIdsList_asU8 = function() { | ||
return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8( | ||
this.getSignerIdsList())); | ||
}; | ||
/** | ||
* @param {!(Array<!Uint8Array>|Array<string>)} value | ||
* @return {!proto.flow.entities.AggregatedSignature} returns this | ||
*/ | ||
proto.flow.entities.AggregatedSignature.prototype.setSignerIdsList = function(value) { | ||
return jspb.Message.setField(this, 2, value || []); | ||
}; | ||
/** | ||
* @param {!(string|Uint8Array)} value | ||
* @param {number=} opt_index | ||
* @return {!proto.flow.entities.AggregatedSignature} returns this | ||
*/ | ||
proto.flow.entities.AggregatedSignature.prototype.addSignerIds = function(value, opt_index) { | ||
return jspb.Message.addToRepeatedField(this, 2, value, opt_index); | ||
}; | ||
/** | ||
* Clears the list making it empty but non-null. | ||
* @return {!proto.flow.entities.AggregatedSignature} returns this | ||
*/ | ||
proto.flow.entities.AggregatedSignature.prototype.clearSignerIdsList = function() { | ||
return this.setSignerIdsList([]); | ||
}; | ||
goog.object.extend(exports, proto.flow.entities); |
@@ -49,2 +49,24 @@ // package: flow.entities | ||
getReferenceBlockId(): Uint8Array | string; | ||
getReferenceBlockId_asU8(): Uint8Array; | ||
getReferenceBlockId_asB64(): string; | ||
setReferenceBlockId(value: Uint8Array | string): void; | ||
getSignature(): Uint8Array | string; | ||
getSignature_asU8(): Uint8Array; | ||
getSignature_asB64(): string; | ||
setSignature(value: Uint8Array | string): void; | ||
clearSignerIdsList(): void; | ||
getSignerIdsList(): Array<Uint8Array | string>; | ||
getSignerIdsList_asU8(): Array<Uint8Array>; | ||
getSignerIdsList_asB64(): Array<string>; | ||
setSignerIdsList(value: Array<Uint8Array | string>): void; | ||
addSignerIds(value: Uint8Array | string, index?: number): Uint8Array | string; | ||
getSignerIndices(): Uint8Array | string; | ||
getSignerIndices_asU8(): Uint8Array; | ||
getSignerIndices_asB64(): string; | ||
setSignerIndices(value: Uint8Array | string): void; | ||
serializeBinary(): Uint8Array; | ||
@@ -64,4 +86,8 @@ toObject(includeInstance?: boolean): CollectionGuarantee.AsObject; | ||
signaturesList: Array<Uint8Array | string>, | ||
referenceBlockId: Uint8Array | string, | ||
signature: Uint8Array | string, | ||
signerIdsList: Array<Uint8Array | string>, | ||
signerIndices: Uint8Array | string, | ||
} | ||
} | ||
@@ -5,2 +5,3 @@ // source: flow/entities/collection.proto | ||
* @enhanceable | ||
* @suppress {missingRequire} reports error on implicit type usages. | ||
* @suppress {messageConventions} JS Compiler reports an error if a variable or | ||
@@ -11,6 +12,14 @@ * field starts with 'MSG_' and isn't a translatable message. | ||
// GENERATED CODE -- DO NOT EDIT! | ||
/* eslint-disable */ | ||
// @ts-nocheck | ||
var jspb = require('google-protobuf'); | ||
var goog = jspb; | ||
var global = Function('return this')(); | ||
var global = (function() { | ||
if (this) { return this; } | ||
if (typeof window !== 'undefined') { return window; } | ||
if (typeof global !== 'undefined') { return global; } | ||
if (typeof self !== 'undefined') { return self; } | ||
return Function('return this')(); | ||
}.call(null)); | ||
@@ -301,3 +310,3 @@ goog.exportSymbol('proto.flow.entities.Collection', null, global); | ||
*/ | ||
proto.flow.entities.CollectionGuarantee.repeatedFields_ = [2]; | ||
proto.flow.entities.CollectionGuarantee.repeatedFields_ = [2,5]; | ||
@@ -336,3 +345,7 @@ | ||
collectionId: msg.getCollectionId_asB64(), | ||
signaturesList: msg.getSignaturesList_asB64() | ||
signaturesList: msg.getSignaturesList_asB64(), | ||
referenceBlockId: msg.getReferenceBlockId_asB64(), | ||
signature: msg.getSignature_asB64(), | ||
signerIdsList: msg.getSignerIdsList_asB64(), | ||
signerIndices: msg.getSignerIndices_asB64() | ||
}; | ||
@@ -382,2 +395,18 @@ | ||
break; | ||
case 3: | ||
var value = /** @type {!Uint8Array} */ (reader.readBytes()); | ||
msg.setReferenceBlockId(value); | ||
break; | ||
case 4: | ||
var value = /** @type {!Uint8Array} */ (reader.readBytes()); | ||
msg.setSignature(value); | ||
break; | ||
case 5: | ||
var value = /** @type {!Uint8Array} */ (reader.readBytes()); | ||
msg.addSignerIds(value); | ||
break; | ||
case 6: | ||
var value = /** @type {!Uint8Array} */ (reader.readBytes()); | ||
msg.setSignerIndices(value); | ||
break; | ||
default: | ||
@@ -426,2 +455,30 @@ reader.skipField(); | ||
} | ||
f = message.getReferenceBlockId_asU8(); | ||
if (f.length > 0) { | ||
writer.writeBytes( | ||
3, | ||
f | ||
); | ||
} | ||
f = message.getSignature_asU8(); | ||
if (f.length > 0) { | ||
writer.writeBytes( | ||
4, | ||
f | ||
); | ||
} | ||
f = message.getSignerIdsList_asU8(); | ||
if (f.length > 0) { | ||
writer.writeRepeatedBytes( | ||
5, | ||
f | ||
); | ||
} | ||
f = message.getSignerIndices_asU8(); | ||
if (f.length > 0) { | ||
writer.writeBytes( | ||
6, | ||
f | ||
); | ||
} | ||
}; | ||
@@ -533,2 +590,189 @@ | ||
/** | ||
* optional bytes reference_block_id = 3; | ||
* @return {!(string|Uint8Array)} | ||
*/ | ||
proto.flow.entities.CollectionGuarantee.prototype.getReferenceBlockId = function() { | ||
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, "")); | ||
}; | ||
/** | ||
* optional bytes reference_block_id = 3; | ||
* This is a type-conversion wrapper around `getReferenceBlockId()` | ||
* @return {string} | ||
*/ | ||
proto.flow.entities.CollectionGuarantee.prototype.getReferenceBlockId_asB64 = function() { | ||
return /** @type {string} */ (jspb.Message.bytesAsB64( | ||
this.getReferenceBlockId())); | ||
}; | ||
/** | ||
* optional bytes reference_block_id = 3; | ||
* Note that Uint8Array is not supported on all browsers. | ||
* @see http://caniuse.com/Uint8Array | ||
* This is a type-conversion wrapper around `getReferenceBlockId()` | ||
* @return {!Uint8Array} | ||
*/ | ||
proto.flow.entities.CollectionGuarantee.prototype.getReferenceBlockId_asU8 = function() { | ||
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( | ||
this.getReferenceBlockId())); | ||
}; | ||
/** | ||
* @param {!(string|Uint8Array)} value | ||
* @return {!proto.flow.entities.CollectionGuarantee} returns this | ||
*/ | ||
proto.flow.entities.CollectionGuarantee.prototype.setReferenceBlockId = function(value) { | ||
return jspb.Message.setProto3BytesField(this, 3, value); | ||
}; | ||
/** | ||
* optional bytes signature = 4; | ||
* @return {!(string|Uint8Array)} | ||
*/ | ||
proto.flow.entities.CollectionGuarantee.prototype.getSignature = function() { | ||
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 4, "")); | ||
}; | ||
/** | ||
* optional bytes signature = 4; | ||
* This is a type-conversion wrapper around `getSignature()` | ||
* @return {string} | ||
*/ | ||
proto.flow.entities.CollectionGuarantee.prototype.getSignature_asB64 = function() { | ||
return /** @type {string} */ (jspb.Message.bytesAsB64( | ||
this.getSignature())); | ||
}; | ||
/** | ||
* optional bytes signature = 4; | ||
* Note that Uint8Array is not supported on all browsers. | ||
* @see http://caniuse.com/Uint8Array | ||
* This is a type-conversion wrapper around `getSignature()` | ||
* @return {!Uint8Array} | ||
*/ | ||
proto.flow.entities.CollectionGuarantee.prototype.getSignature_asU8 = function() { | ||
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( | ||
this.getSignature())); | ||
}; | ||
/** | ||
* @param {!(string|Uint8Array)} value | ||
* @return {!proto.flow.entities.CollectionGuarantee} returns this | ||
*/ | ||
proto.flow.entities.CollectionGuarantee.prototype.setSignature = function(value) { | ||
return jspb.Message.setProto3BytesField(this, 4, value); | ||
}; | ||
/** | ||
* repeated bytes signer_ids = 5; | ||
* @return {!(Array<!Uint8Array>|Array<string>)} | ||
*/ | ||
proto.flow.entities.CollectionGuarantee.prototype.getSignerIdsList = function() { | ||
return /** @type {!(Array<!Uint8Array>|Array<string>)} */ (jspb.Message.getRepeatedField(this, 5)); | ||
}; | ||
/** | ||
* repeated bytes signer_ids = 5; | ||
* This is a type-conversion wrapper around `getSignerIdsList()` | ||
* @return {!Array<string>} | ||
*/ | ||
proto.flow.entities.CollectionGuarantee.prototype.getSignerIdsList_asB64 = function() { | ||
return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64( | ||
this.getSignerIdsList())); | ||
}; | ||
/** | ||
* repeated bytes signer_ids = 5; | ||
* Note that Uint8Array is not supported on all browsers. | ||
* @see http://caniuse.com/Uint8Array | ||
* This is a type-conversion wrapper around `getSignerIdsList()` | ||
* @return {!Array<!Uint8Array>} | ||
*/ | ||
proto.flow.entities.CollectionGuarantee.prototype.getSignerIdsList_asU8 = function() { | ||
return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8( | ||
this.getSignerIdsList())); | ||
}; | ||
/** | ||
* @param {!(Array<!Uint8Array>|Array<string>)} value | ||
* @return {!proto.flow.entities.CollectionGuarantee} returns this | ||
*/ | ||
proto.flow.entities.CollectionGuarantee.prototype.setSignerIdsList = function(value) { | ||
return jspb.Message.setField(this, 5, value || []); | ||
}; | ||
/** | ||
* @param {!(string|Uint8Array)} value | ||
* @param {number=} opt_index | ||
* @return {!proto.flow.entities.CollectionGuarantee} returns this | ||
*/ | ||
proto.flow.entities.CollectionGuarantee.prototype.addSignerIds = function(value, opt_index) { | ||
return jspb.Message.addToRepeatedField(this, 5, value, opt_index); | ||
}; | ||
/** | ||
* Clears the list making it empty but non-null. | ||
* @return {!proto.flow.entities.CollectionGuarantee} returns this | ||
*/ | ||
proto.flow.entities.CollectionGuarantee.prototype.clearSignerIdsList = function() { | ||
return this.setSignerIdsList([]); | ||
}; | ||
/** | ||
* optional bytes signer_indices = 6; | ||
* @return {!(string|Uint8Array)} | ||
*/ | ||
proto.flow.entities.CollectionGuarantee.prototype.getSignerIndices = function() { | ||
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 6, "")); | ||
}; | ||
/** | ||
* optional bytes signer_indices = 6; | ||
* This is a type-conversion wrapper around `getSignerIndices()` | ||
* @return {string} | ||
*/ | ||
proto.flow.entities.CollectionGuarantee.prototype.getSignerIndices_asB64 = function() { | ||
return /** @type {string} */ (jspb.Message.bytesAsB64( | ||
this.getSignerIndices())); | ||
}; | ||
/** | ||
* optional bytes signer_indices = 6; | ||
* Note that Uint8Array is not supported on all browsers. | ||
* @see http://caniuse.com/Uint8Array | ||
* This is a type-conversion wrapper around `getSignerIndices()` | ||
* @return {!Uint8Array} | ||
*/ | ||
proto.flow.entities.CollectionGuarantee.prototype.getSignerIndices_asU8 = function() { | ||
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( | ||
this.getSignerIndices())); | ||
}; | ||
/** | ||
* @param {!(string|Uint8Array)} value | ||
* @return {!proto.flow.entities.CollectionGuarantee} returns this | ||
*/ | ||
proto.flow.entities.CollectionGuarantee.prototype.setSignerIndices = function(value) { | ||
return jspb.Message.setProto3BytesField(this, 6, value); | ||
}; | ||
goog.object.extend(exports, proto.flow.entities); |
@@ -5,2 +5,3 @@ // source: flow/entities/event.proto | ||
* @enhanceable | ||
* @suppress {missingRequire} reports error on implicit type usages. | ||
* @suppress {messageConventions} JS Compiler reports an error if a variable or | ||
@@ -11,6 +12,14 @@ * field starts with 'MSG_' and isn't a translatable message. | ||
// GENERATED CODE -- DO NOT EDIT! | ||
/* eslint-disable */ | ||
// @ts-nocheck | ||
var jspb = require('google-protobuf'); | ||
var goog = jspb; | ||
var global = Function('return this')(); | ||
var global = (function() { | ||
if (this) { return this; } | ||
if (typeof window !== 'undefined') { return window; } | ||
if (typeof global !== 'undefined') { return global; } | ||
if (typeof self !== 'undefined') { return self; } | ||
return Function('return this')(); | ||
}.call(null)); | ||
@@ -17,0 +26,0 @@ goog.exportSymbol('proto.flow.entities.Event', null, global); |
@@ -5,2 +5,3 @@ // package: flow.entities | ||
import * as jspb from "google-protobuf"; | ||
import * as flow_entities_event_pb from "../../flow/entities/event_pb"; | ||
@@ -7,0 +8,0 @@ export class Transaction extends jspb.Message { |
@@ -5,2 +5,3 @@ // source: flow/entities/transaction.proto | ||
* @enhanceable | ||
* @suppress {missingRequire} reports error on implicit type usages. | ||
* @suppress {messageConventions} JS Compiler reports an error if a variable or | ||
@@ -11,7 +12,17 @@ * field starts with 'MSG_' and isn't a translatable message. | ||
// GENERATED CODE -- DO NOT EDIT! | ||
/* eslint-disable */ | ||
// @ts-nocheck | ||
var jspb = require('google-protobuf'); | ||
var goog = jspb; | ||
var global = Function('return this')(); | ||
var global = (function() { | ||
if (this) { return this; } | ||
if (typeof window !== 'undefined') { return window; } | ||
if (typeof global !== 'undefined') { return global; } | ||
if (typeof self !== 'undefined') { return self; } | ||
return Function('return this')(); | ||
}.call(null)); | ||
var flow_entities_event_pb = require('../../flow/entities/event_pb.js'); | ||
goog.object.extend(proto, flow_entities_event_pb); | ||
goog.exportSymbol('proto.flow.entities.Transaction', null, global); | ||
@@ -18,0 +29,0 @@ goog.exportSymbol('proto.flow.entities.Transaction.ProposalKey', null, global); |
@@ -52,2 +52,47 @@ // package: flow.execution | ||
type ExecutionAPIGetTransactionResultByIndex = { | ||
readonly methodName: string; | ||
readonly service: typeof ExecutionAPI; | ||
readonly requestStream: false; | ||
readonly responseStream: false; | ||
readonly requestType: typeof flow_execution_execution_pb.GetTransactionByIndexRequest; | ||
readonly responseType: typeof flow_execution_execution_pb.GetTransactionResultResponse; | ||
}; | ||
type ExecutionAPIGetTransactionResultsByBlockID = { | ||
readonly methodName: string; | ||
readonly service: typeof ExecutionAPI; | ||
readonly requestStream: false; | ||
readonly responseStream: false; | ||
readonly requestType: typeof flow_execution_execution_pb.GetTransactionsByBlockIDRequest; | ||
readonly responseType: typeof flow_execution_execution_pb.GetTransactionResultsResponse; | ||
}; | ||
type ExecutionAPIGetRegisterAtBlockID = { | ||
readonly methodName: string; | ||
readonly service: typeof ExecutionAPI; | ||
readonly requestStream: false; | ||
readonly responseStream: false; | ||
readonly requestType: typeof flow_execution_execution_pb.GetRegisterAtBlockIDRequest; | ||
readonly responseType: typeof flow_execution_execution_pb.GetRegisterAtBlockIDResponse; | ||
}; | ||
type ExecutionAPIGetLatestBlockHeader = { | ||
readonly methodName: string; | ||
readonly service: typeof ExecutionAPI; | ||
readonly requestStream: false; | ||
readonly responseStream: false; | ||
readonly requestType: typeof flow_execution_execution_pb.GetLatestBlockHeaderRequest; | ||
readonly responseType: typeof flow_execution_execution_pb.BlockHeaderResponse; | ||
}; | ||
type ExecutionAPIGetBlockHeaderByID = { | ||
readonly methodName: string; | ||
readonly service: typeof ExecutionAPI; | ||
readonly requestStream: false; | ||
readonly responseStream: false; | ||
readonly requestType: typeof flow_execution_execution_pb.GetBlockHeaderByIDRequest; | ||
readonly responseType: typeof flow_execution_execution_pb.BlockHeaderResponse; | ||
}; | ||
export class ExecutionAPI { | ||
@@ -60,2 +105,7 @@ static readonly serviceName: string; | ||
static readonly GetTransactionResult: ExecutionAPIGetTransactionResult; | ||
static readonly GetTransactionResultByIndex: ExecutionAPIGetTransactionResultByIndex; | ||
static readonly GetTransactionResultsByBlockID: ExecutionAPIGetTransactionResultsByBlockID; | ||
static readonly GetRegisterAtBlockID: ExecutionAPIGetRegisterAtBlockID; | ||
static readonly GetLatestBlockHeader: ExecutionAPIGetLatestBlockHeader; | ||
static readonly GetBlockHeaderByID: ExecutionAPIGetBlockHeaderByID; | ||
} | ||
@@ -140,3 +190,48 @@ | ||
): UnaryResponse; | ||
getTransactionResultByIndex( | ||
requestMessage: flow_execution_execution_pb.GetTransactionByIndexRequest, | ||
metadata: grpc.Metadata, | ||
callback: (error: ServiceError|null, responseMessage: flow_execution_execution_pb.GetTransactionResultResponse|null) => void | ||
): UnaryResponse; | ||
getTransactionResultByIndex( | ||
requestMessage: flow_execution_execution_pb.GetTransactionByIndexRequest, | ||
callback: (error: ServiceError|null, responseMessage: flow_execution_execution_pb.GetTransactionResultResponse|null) => void | ||
): UnaryResponse; | ||
getTransactionResultsByBlockID( | ||
requestMessage: flow_execution_execution_pb.GetTransactionsByBlockIDRequest, | ||
metadata: grpc.Metadata, | ||
callback: (error: ServiceError|null, responseMessage: flow_execution_execution_pb.GetTransactionResultsResponse|null) => void | ||
): UnaryResponse; | ||
getTransactionResultsByBlockID( | ||
requestMessage: flow_execution_execution_pb.GetTransactionsByBlockIDRequest, | ||
callback: (error: ServiceError|null, responseMessage: flow_execution_execution_pb.GetTransactionResultsResponse|null) => void | ||
): UnaryResponse; | ||
getRegisterAtBlockID( | ||
requestMessage: flow_execution_execution_pb.GetRegisterAtBlockIDRequest, | ||
metadata: grpc.Metadata, | ||
callback: (error: ServiceError|null, responseMessage: flow_execution_execution_pb.GetRegisterAtBlockIDResponse|null) => void | ||
): UnaryResponse; | ||
getRegisterAtBlockID( | ||
requestMessage: flow_execution_execution_pb.GetRegisterAtBlockIDRequest, | ||
callback: (error: ServiceError|null, responseMessage: flow_execution_execution_pb.GetRegisterAtBlockIDResponse|null) => void | ||
): UnaryResponse; | ||
getLatestBlockHeader( | ||
requestMessage: flow_execution_execution_pb.GetLatestBlockHeaderRequest, | ||
metadata: grpc.Metadata, | ||
callback: (error: ServiceError|null, responseMessage: flow_execution_execution_pb.BlockHeaderResponse|null) => void | ||
): UnaryResponse; | ||
getLatestBlockHeader( | ||
requestMessage: flow_execution_execution_pb.GetLatestBlockHeaderRequest, | ||
callback: (error: ServiceError|null, responseMessage: flow_execution_execution_pb.BlockHeaderResponse|null) => void | ||
): UnaryResponse; | ||
getBlockHeaderByID( | ||
requestMessage: flow_execution_execution_pb.GetBlockHeaderByIDRequest, | ||
metadata: grpc.Metadata, | ||
callback: (error: ServiceError|null, responseMessage: flow_execution_execution_pb.BlockHeaderResponse|null) => void | ||
): UnaryResponse; | ||
getBlockHeaderByID( | ||
requestMessage: flow_execution_execution_pb.GetBlockHeaderByIDRequest, | ||
callback: (error: ServiceError|null, responseMessage: flow_execution_execution_pb.BlockHeaderResponse|null) => void | ||
): UnaryResponse; | ||
} | ||
@@ -58,2 +58,47 @@ // package: flow.execution | ||
ExecutionAPI.GetTransactionResultByIndex = { | ||
methodName: "GetTransactionResultByIndex", | ||
service: ExecutionAPI, | ||
requestStream: false, | ||
responseStream: false, | ||
requestType: flow_execution_execution_pb.GetTransactionByIndexRequest, | ||
responseType: flow_execution_execution_pb.GetTransactionResultResponse | ||
}; | ||
ExecutionAPI.GetTransactionResultsByBlockID = { | ||
methodName: "GetTransactionResultsByBlockID", | ||
service: ExecutionAPI, | ||
requestStream: false, | ||
responseStream: false, | ||
requestType: flow_execution_execution_pb.GetTransactionsByBlockIDRequest, | ||
responseType: flow_execution_execution_pb.GetTransactionResultsResponse | ||
}; | ||
ExecutionAPI.GetRegisterAtBlockID = { | ||
methodName: "GetRegisterAtBlockID", | ||
service: ExecutionAPI, | ||
requestStream: false, | ||
responseStream: false, | ||
requestType: flow_execution_execution_pb.GetRegisterAtBlockIDRequest, | ||
responseType: flow_execution_execution_pb.GetRegisterAtBlockIDResponse | ||
}; | ||
ExecutionAPI.GetLatestBlockHeader = { | ||
methodName: "GetLatestBlockHeader", | ||
service: ExecutionAPI, | ||
requestStream: false, | ||
responseStream: false, | ||
requestType: flow_execution_execution_pb.GetLatestBlockHeaderRequest, | ||
responseType: flow_execution_execution_pb.BlockHeaderResponse | ||
}; | ||
ExecutionAPI.GetBlockHeaderByID = { | ||
methodName: "GetBlockHeaderByID", | ||
service: ExecutionAPI, | ||
requestStream: false, | ||
responseStream: false, | ||
requestType: flow_execution_execution_pb.GetBlockHeaderByIDRequest, | ||
responseType: flow_execution_execution_pb.BlockHeaderResponse | ||
}; | ||
exports.ExecutionAPI = ExecutionAPI; | ||
@@ -221,3 +266,158 @@ | ||
ExecutionAPIClient.prototype.getTransactionResultByIndex = function getTransactionResultByIndex(requestMessage, metadata, callback) { | ||
if (arguments.length === 2) { | ||
callback = arguments[1]; | ||
} | ||
var client = grpc.unary(ExecutionAPI.GetTransactionResultByIndex, { | ||
request: requestMessage, | ||
host: this.serviceHost, | ||
metadata: metadata, | ||
transport: this.options.transport, | ||
debug: this.options.debug, | ||
onEnd: function (response) { | ||
if (callback) { | ||
if (response.status !== grpc.Code.OK) { | ||
var err = new Error(response.statusMessage); | ||
err.code = response.status; | ||
err.metadata = response.trailers; | ||
callback(err, null); | ||
} else { | ||
callback(null, response.message); | ||
} | ||
} | ||
} | ||
}); | ||
return { | ||
cancel: function () { | ||
callback = null; | ||
client.close(); | ||
} | ||
}; | ||
}; | ||
ExecutionAPIClient.prototype.getTransactionResultsByBlockID = function getTransactionResultsByBlockID(requestMessage, metadata, callback) { | ||
if (arguments.length === 2) { | ||
callback = arguments[1]; | ||
} | ||
var client = grpc.unary(ExecutionAPI.GetTransactionResultsByBlockID, { | ||
request: requestMessage, | ||
host: this.serviceHost, | ||
metadata: metadata, | ||
transport: this.options.transport, | ||
debug: this.options.debug, | ||
onEnd: function (response) { | ||
if (callback) { | ||
if (response.status !== grpc.Code.OK) { | ||
var err = new Error(response.statusMessage); | ||
err.code = response.status; | ||
err.metadata = response.trailers; | ||
callback(err, null); | ||
} else { | ||
callback(null, response.message); | ||
} | ||
} | ||
} | ||
}); | ||
return { | ||
cancel: function () { | ||
callback = null; | ||
client.close(); | ||
} | ||
}; | ||
}; | ||
ExecutionAPIClient.prototype.getRegisterAtBlockID = function getRegisterAtBlockID(requestMessage, metadata, callback) { | ||
if (arguments.length === 2) { | ||
callback = arguments[1]; | ||
} | ||
var client = grpc.unary(ExecutionAPI.GetRegisterAtBlockID, { | ||
request: requestMessage, | ||
host: this.serviceHost, | ||
metadata: metadata, | ||
transport: this.options.transport, | ||
debug: this.options.debug, | ||
onEnd: function (response) { | ||
if (callback) { | ||
if (response.status !== grpc.Code.OK) { | ||
var err = new Error(response.statusMessage); | ||
err.code = response.status; | ||
err.metadata = response.trailers; | ||
callback(err, null); | ||
} else { | ||
callback(null, response.message); | ||
} | ||
} | ||
} | ||
}); | ||
return { | ||
cancel: function () { | ||
callback = null; | ||
client.close(); | ||
} | ||
}; | ||
}; | ||
ExecutionAPIClient.prototype.getLatestBlockHeader = function getLatestBlockHeader(requestMessage, metadata, callback) { | ||
if (arguments.length === 2) { | ||
callback = arguments[1]; | ||
} | ||
var client = grpc.unary(ExecutionAPI.GetLatestBlockHeader, { | ||
request: requestMessage, | ||
host: this.serviceHost, | ||
metadata: metadata, | ||
transport: this.options.transport, | ||
debug: this.options.debug, | ||
onEnd: function (response) { | ||
if (callback) { | ||
if (response.status !== grpc.Code.OK) { | ||
var err = new Error(response.statusMessage); | ||
err.code = response.status; | ||
err.metadata = response.trailers; | ||
callback(err, null); | ||
} else { | ||
callback(null, response.message); | ||
} | ||
} | ||
} | ||
}); | ||
return { | ||
cancel: function () { | ||
callback = null; | ||
client.close(); | ||
} | ||
}; | ||
}; | ||
ExecutionAPIClient.prototype.getBlockHeaderByID = function getBlockHeaderByID(requestMessage, metadata, callback) { | ||
if (arguments.length === 2) { | ||
callback = arguments[1]; | ||
} | ||
var client = grpc.unary(ExecutionAPI.GetBlockHeaderByID, { | ||
request: requestMessage, | ||
host: this.serviceHost, | ||
metadata: metadata, | ||
transport: this.options.transport, | ||
debug: this.options.debug, | ||
onEnd: function (response) { | ||
if (callback) { | ||
if (response.status !== grpc.Code.OK) { | ||
var err = new Error(response.statusMessage); | ||
err.code = response.status; | ||
err.metadata = response.trailers; | ||
callback(err, null); | ||
} else { | ||
callback(null, response.message); | ||
} | ||
} | ||
} | ||
}); | ||
return { | ||
cancel: function () { | ||
callback = null; | ||
client.close(); | ||
} | ||
}; | ||
}; | ||
exports.ExecutionAPIClient = ExecutionAPIClient; | ||
@@ -6,3 +6,5 @@ // package: flow.execution | ||
import * as flow_entities_account_pb from "../../flow/entities/account_pb"; | ||
import * as flow_entities_block_header_pb from "../../flow/entities/block_header_pb"; | ||
import * as flow_entities_event_pb from "../../flow/entities/event_pb"; | ||
import * as flow_entities_transaction_pb from "../../flow/entities/transaction_pb"; | ||
@@ -259,2 +261,28 @@ export class PingRequest extends jspb.Message { | ||
export class GetTransactionByIndexRequest extends jspb.Message { | ||
getBlockId(): Uint8Array | string; | ||
getBlockId_asU8(): Uint8Array; | ||
getBlockId_asB64(): string; | ||
setBlockId(value: Uint8Array | string): void; | ||
getIndex(): number; | ||
setIndex(value: number): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): GetTransactionByIndexRequest.AsObject; | ||
static toObject(includeInstance: boolean, msg: GetTransactionByIndexRequest): GetTransactionByIndexRequest.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: GetTransactionByIndexRequest, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): GetTransactionByIndexRequest; | ||
static deserializeBinaryFromReader(message: GetTransactionByIndexRequest, reader: jspb.BinaryReader): GetTransactionByIndexRequest; | ||
} | ||
export namespace GetTransactionByIndexRequest { | ||
export type AsObject = { | ||
blockId: Uint8Array | string, | ||
index: number, | ||
} | ||
} | ||
export class GetTransactionResultResponse extends jspb.Message { | ||
@@ -290,1 +318,171 @@ getStatusCode(): number; | ||
export class GetTransactionsByBlockIDRequest extends jspb.Message { | ||
getBlockId(): Uint8Array | string; | ||
getBlockId_asU8(): Uint8Array; | ||
getBlockId_asB64(): string; | ||
setBlockId(value: Uint8Array | string): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): GetTransactionsByBlockIDRequest.AsObject; | ||
static toObject(includeInstance: boolean, msg: GetTransactionsByBlockIDRequest): GetTransactionsByBlockIDRequest.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: GetTransactionsByBlockIDRequest, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): GetTransactionsByBlockIDRequest; | ||
static deserializeBinaryFromReader(message: GetTransactionsByBlockIDRequest, reader: jspb.BinaryReader): GetTransactionsByBlockIDRequest; | ||
} | ||
export namespace GetTransactionsByBlockIDRequest { | ||
export type AsObject = { | ||
blockId: Uint8Array | string, | ||
} | ||
} | ||
export class GetTransactionResultsResponse extends jspb.Message { | ||
clearTransactionResultsList(): void; | ||
getTransactionResultsList(): Array<GetTransactionResultResponse>; | ||
setTransactionResultsList(value: Array<GetTransactionResultResponse>): void; | ||
addTransactionResults(value?: GetTransactionResultResponse, index?: number): GetTransactionResultResponse; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): GetTransactionResultsResponse.AsObject; | ||
static toObject(includeInstance: boolean, msg: GetTransactionResultsResponse): GetTransactionResultsResponse.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: GetTransactionResultsResponse, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): GetTransactionResultsResponse; | ||
static deserializeBinaryFromReader(message: GetTransactionResultsResponse, reader: jspb.BinaryReader): GetTransactionResultsResponse; | ||
} | ||
export namespace GetTransactionResultsResponse { | ||
export type AsObject = { | ||
transactionResultsList: Array<GetTransactionResultResponse.AsObject>, | ||
} | ||
} | ||
export class GetRegisterAtBlockIDRequest extends jspb.Message { | ||
getBlockId(): Uint8Array | string; | ||
getBlockId_asU8(): Uint8Array; | ||
getBlockId_asB64(): string; | ||
setBlockId(value: Uint8Array | string): void; | ||
getRegisterOwner(): Uint8Array | string; | ||
getRegisterOwner_asU8(): Uint8Array; | ||
getRegisterOwner_asB64(): string; | ||
setRegisterOwner(value: Uint8Array | string): void; | ||
getRegisterController(): Uint8Array | string; | ||
getRegisterController_asU8(): Uint8Array; | ||
getRegisterController_asB64(): string; | ||
setRegisterController(value: Uint8Array | string): void; | ||
getRegisterKey(): Uint8Array | string; | ||
getRegisterKey_asU8(): Uint8Array; | ||
getRegisterKey_asB64(): string; | ||
setRegisterKey(value: Uint8Array | string): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): GetRegisterAtBlockIDRequest.AsObject; | ||
static toObject(includeInstance: boolean, msg: GetRegisterAtBlockIDRequest): GetRegisterAtBlockIDRequest.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: GetRegisterAtBlockIDRequest, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): GetRegisterAtBlockIDRequest; | ||
static deserializeBinaryFromReader(message: GetRegisterAtBlockIDRequest, reader: jspb.BinaryReader): GetRegisterAtBlockIDRequest; | ||
} | ||
export namespace GetRegisterAtBlockIDRequest { | ||
export type AsObject = { | ||
blockId: Uint8Array | string, | ||
registerOwner: Uint8Array | string, | ||
registerController: Uint8Array | string, | ||
registerKey: Uint8Array | string, | ||
} | ||
} | ||
export class GetRegisterAtBlockIDResponse extends jspb.Message { | ||
getValue(): Uint8Array | string; | ||
getValue_asU8(): Uint8Array; | ||
getValue_asB64(): string; | ||
setValue(value: Uint8Array | string): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): GetRegisterAtBlockIDResponse.AsObject; | ||
static toObject(includeInstance: boolean, msg: GetRegisterAtBlockIDResponse): GetRegisterAtBlockIDResponse.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: GetRegisterAtBlockIDResponse, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): GetRegisterAtBlockIDResponse; | ||
static deserializeBinaryFromReader(message: GetRegisterAtBlockIDResponse, reader: jspb.BinaryReader): GetRegisterAtBlockIDResponse; | ||
} | ||
export namespace GetRegisterAtBlockIDResponse { | ||
export type AsObject = { | ||
value: Uint8Array | string, | ||
} | ||
} | ||
export class GetLatestBlockHeaderRequest extends jspb.Message { | ||
getIsSealed(): boolean; | ||
setIsSealed(value: boolean): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): GetLatestBlockHeaderRequest.AsObject; | ||
static toObject(includeInstance: boolean, msg: GetLatestBlockHeaderRequest): GetLatestBlockHeaderRequest.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: GetLatestBlockHeaderRequest, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): GetLatestBlockHeaderRequest; | ||
static deserializeBinaryFromReader(message: GetLatestBlockHeaderRequest, reader: jspb.BinaryReader): GetLatestBlockHeaderRequest; | ||
} | ||
export namespace GetLatestBlockHeaderRequest { | ||
export type AsObject = { | ||
isSealed: boolean, | ||
} | ||
} | ||
export class GetBlockHeaderByIDRequest extends jspb.Message { | ||
getId(): Uint8Array | string; | ||
getId_asU8(): Uint8Array; | ||
getId_asB64(): string; | ||
setId(value: Uint8Array | string): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): GetBlockHeaderByIDRequest.AsObject; | ||
static toObject(includeInstance: boolean, msg: GetBlockHeaderByIDRequest): GetBlockHeaderByIDRequest.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: GetBlockHeaderByIDRequest, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): GetBlockHeaderByIDRequest; | ||
static deserializeBinaryFromReader(message: GetBlockHeaderByIDRequest, reader: jspb.BinaryReader): GetBlockHeaderByIDRequest; | ||
} | ||
export namespace GetBlockHeaderByIDRequest { | ||
export type AsObject = { | ||
id: Uint8Array | string, | ||
} | ||
} | ||
export class BlockHeaderResponse extends jspb.Message { | ||
hasBlock(): boolean; | ||
clearBlock(): void; | ||
getBlock(): flow_entities_block_header_pb.BlockHeader | undefined; | ||
setBlock(value?: flow_entities_block_header_pb.BlockHeader): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): BlockHeaderResponse.AsObject; | ||
static toObject(includeInstance: boolean, msg: BlockHeaderResponse): BlockHeaderResponse.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: BlockHeaderResponse, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): BlockHeaderResponse; | ||
static deserializeBinaryFromReader(message: BlockHeaderResponse, reader: jspb.BinaryReader): BlockHeaderResponse; | ||
} | ||
export namespace BlockHeaderResponse { | ||
export type AsObject = { | ||
block?: flow_entities_block_header_pb.BlockHeader.AsObject, | ||
} | ||
} | ||
@@ -20,2 +20,2 @@ export * from "./generated/flow/access/access_pb_service.js" | ||
export * from "./generated/flow/execution/execution_pb_service.js" | ||
export * from "./generated/flow/execution/execution_pb.js" | ||
export * from "./generated/flow/execution/execution_pb.js" |
test("placeholder", () => { | ||
expect(1).toBe(1) | ||
}) | ||
expect(1).toBe(1) | ||
}) |
@@ -1,13 +0,13 @@ | ||
const path = require('path'); | ||
const path = require("path") | ||
module.exports = { | ||
entry: './src/index.js', | ||
target: 'node', | ||
devtool: 'source-map', | ||
entry: "./src/index.js", | ||
target: "node", | ||
devtool: "source-map", | ||
output: { | ||
path: path.resolve(__dirname, 'dist'), | ||
filename: 'index.js', | ||
library: '', | ||
libraryTarget: 'commonjs-module' | ||
} | ||
} | ||
path: path.resolve(__dirname, "dist"), | ||
filename: "index.js", | ||
library: "", | ||
libraryTarget: "commonjs-module", | ||
}, | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2727297
21865
67
1
11
+ Addedgoogle-protobuf@3.11.4(transitive)
- Removedgoogle-protobuf@3.21.4(transitive)
Updatedgoogle-protobuf@3.11.4