Skip to content

Commit d36f5d7

Browse files
committed
[AUTOMATED] Update: proto/clients/guard.gen.ts
1 parent e397ebe commit d36f5d7

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

packages/guard/src/guard.gen.ts

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable */
2-
// sequence-guard v0.4.0 776b307c2145ac7a994eec63240acae042c96067
2+
// sequence-guard v0.4.0 a465c693f2fdb46b87f61056f04c784acfcd4944
33
// --
44
// Code generated by [email protected] with typescript generator. DO NOT EDIT.
55
//
@@ -16,7 +16,7 @@ export const WebRPCVersion = 'v1'
1616
export const WebRPCSchemaVersion = 'v0.4.0'
1717

1818
// Schema hash generated from your RIDL schema
19-
export const WebRPCSchemaHash = '776b307c2145ac7a994eec63240acae042c96067'
19+
export const WebRPCSchemaHash = 'a465c693f2fdb46b87f61056f04c784acfcd4944'
2020

2121
type WebrpcGenVersions = {
2222
webrpcGenVersion: string
@@ -70,6 +70,20 @@ function parseWebrpcGenVersions(header: string): WebrpcGenVersions {
7070
// Types
7171
//
7272

73+
export enum PayloadType {
74+
Calls = 'Calls',
75+
Message = 'Message',
76+
ConfigUpdate = 'ConfigUpdate',
77+
SessionImplicitAuthorize = 'SessionImplicitAuthorize'
78+
}
79+
80+
export enum SignatureType {
81+
Hash = 'Hash',
82+
Sapient = 'Sapient',
83+
EthSign = 'EthSign',
84+
Erc1271 = 'Erc1271'
85+
}
86+
7387
export interface Version {
7488
webrpcVersion: string
7589
schemaVersion: string
@@ -99,7 +113,11 @@ export interface WalletSigner {
99113
export interface SignRequest {
100114
chainId: number
101115
msg: string
102-
auxData: string
116+
auxData?: string
117+
wallet?: string
118+
payloadType?: PayloadType
119+
payloadData?: string
120+
signatures?: Array<Signature>
103121
}
104122

105123
export interface OwnershipProof {
@@ -119,6 +137,13 @@ export interface RecoveryCode {
119137
used: boolean
120138
}
121139

140+
export interface Signature {
141+
address: string
142+
type: SignatureType
143+
imageHash?: string
144+
data: string
145+
}
146+
122147
export interface Guard {
123148
ping(headers?: object, signal?: AbortSignal): Promise<PingReturn>
124149
version(headers?: object, signal?: AbortSignal): Promise<VersionReturn>

0 commit comments

Comments
 (0)