1
1
/* eslint-disable */
2
- // sequence-guard v0.4.0 776b307c2145ac7a994eec63240acae042c96067
2
+ // sequence-guard v0.4.0 a465c693f2fdb46b87f61056f04c784acfcd4944
3
3
// --
4
4
// Code generated by [email protected] with typescript generator. DO NOT EDIT.
5
5
//
@@ -16,7 +16,7 @@ export const WebRPCVersion = 'v1'
16
16
export const WebRPCSchemaVersion = 'v0.4.0'
17
17
18
18
// Schema hash generated from your RIDL schema
19
- export const WebRPCSchemaHash = '776b307c2145ac7a994eec63240acae042c96067 '
19
+ export const WebRPCSchemaHash = 'a465c693f2fdb46b87f61056f04c784acfcd4944 '
20
20
21
21
type WebrpcGenVersions = {
22
22
webrpcGenVersion : string
@@ -70,6 +70,20 @@ function parseWebrpcGenVersions(header: string): WebrpcGenVersions {
70
70
// Types
71
71
//
72
72
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
+
73
87
export interface Version {
74
88
webrpcVersion : string
75
89
schemaVersion : string
@@ -99,7 +113,11 @@ export interface WalletSigner {
99
113
export interface SignRequest {
100
114
chainId : number
101
115
msg : string
102
- auxData : string
116
+ auxData ?: string
117
+ wallet ?: string
118
+ payloadType ?: PayloadType
119
+ payloadData ?: string
120
+ signatures ?: Array < Signature >
103
121
}
104
122
105
123
export interface OwnershipProof {
@@ -119,6 +137,13 @@ export interface RecoveryCode {
119
137
used : boolean
120
138
}
121
139
140
+ export interface Signature {
141
+ address : string
142
+ type : SignatureType
143
+ imageHash ?: string
144
+ data : string
145
+ }
146
+
122
147
export interface Guard {
123
148
ping ( headers ?: object , signal ?: AbortSignal ) : Promise < PingReturn >
124
149
version ( headers ?: object , signal ?: AbortSignal ) : Promise < VersionReturn >
0 commit comments