diff --git a/schemas-ts/deploy-v1.ts b/schemas-ts/deploy-v1.ts index 1f7cd93..8f7fdd0 100644 --- a/schemas-ts/deploy-v1.ts +++ b/schemas-ts/deploy-v1.ts @@ -98,7 +98,7 @@ static addOwner(builder:flatbuffers.Builder, ownerOffset:flatbuffers.Offset) { builder.addFieldOffset(0, ownerOffset, 0); } -static createOwnerVector(builder:flatbuffers.Builder, data:number[]|Uint8Array):flatbuffers.Offset { +static createOwnerVector(builder:flatbuffers.Builder, data:number[]|ReadonlyUint8Array):flatbuffers.Offset { builder.startVector(1, data.length, 1); for (let i = data.length - 1; i >= 0; i--) { builder.addInt8(data[i]!); diff --git a/schemas-ts/dist/deploy-v1.d.ts b/schemas-ts/dist/deploy-v1.d.ts index 6e0a088..b425ed2 100644 --- a/schemas-ts/dist/deploy-v1.d.ts +++ b/schemas-ts/dist/deploy-v1.d.ts @@ -22,7 +22,7 @@ export declare class DeployV1 { inputsArray(): Uint8Array | null; static startDeployV1(builder: flatbuffers.Builder): void; static addOwner(builder: flatbuffers.Builder, ownerOffset: flatbuffers.Offset): void; - static createOwnerVector(builder: flatbuffers.Builder, data: number[] | Uint8Array): flatbuffers.Offset; + static createOwnerVector(builder: flatbuffers.Builder, data: number[] | ReadonlyUint8Array): flatbuffers.Offset; static startOwnerVector(builder: flatbuffers.Builder, numElems: number): void; static addImageId(builder: flatbuffers.Builder, imageIdOffset: flatbuffers.Offset): void; static addProgramName(builder: flatbuffers.Builder, programNameOffset: flatbuffers.Offset): void;