diff --git a/intents/intent.gen.go b/intents/intent.gen.go index 580be88..b821f26 100644 --- a/intents/intent.gen.go +++ b/intents/intent.gen.go @@ -1,4 +1,4 @@ -// sequence-waas-intents v0.1.0 c195b3f52c9d014675fe81ced6947c2303a522ee +// sequence-waas-intents v0.1.0 545d0161c3608e5974b882f7aec533ac9d39ebaa // -- // Code generated by webrpc-gen@v0.14.0-dev with golang generator. DO NOT EDIT. // @@ -25,7 +25,7 @@ func WebRPCSchemaVersion() string { // Schema hash generated from your RIDL schema func WebRPCSchemaHash() string { - return "c195b3f52c9d014675fe81ced6947c2303a522ee" + return "545d0161c3608e5974b882f7aec533ac9d39ebaa" } // @@ -42,28 +42,28 @@ type Intent struct { } type Signature struct { - SessionID string `json:"sessionID"` + SessionID string `json:"sessionId"` Signature string `json:"signature"` } type IntentDataOpenSession struct { - SessionID string `json:"sessionID"` + SessionID string `json:"sessionId"` Email *string `json:"omitempty"` IdToken *string `json:"omitempty"` } type IntentDataCloseSession struct { - SessionID string `json:"sessionID"` + SessionID string `json:"sessionId"` } type IntentDataValidateSession struct { - SessionID string `json:"sessionID"` + SessionID string `json:"sessionId"` Wallet string `json:"wallet"` DeviceMetadata string `json:"deviceMetadata"` } type IntentDataFinishValidateSession struct { - SessionID string `json:"sessionID"` + SessionID string `json:"sessionId"` Wallet string `json:"wallet"` Salt string `json:"salt"` Challenge string `json:"challenge"` @@ -74,7 +74,7 @@ type IntentDataListSessions struct { } type IntentDataGetSession struct { - SessionID string `json:"sessionID"` + SessionID string `json:"sessionId"` Wallet string `json:"wallet"` } @@ -140,7 +140,7 @@ type IntentResponse struct { } type IntentResponseSessionOpened struct { - SessionID string `json:"sessionID"` + SessionID string `json:"sessionId"` Wallet string `json:"wallet"` } @@ -151,7 +151,7 @@ type IntentResponseValidateSession struct { } type IntentResponseValidationRequired struct { - SessionID string `json:"sessionID"` + SessionID string `json:"sessionId"` } type IntentResponseValidationStarted struct { @@ -167,7 +167,7 @@ type IntentResponseListSessions struct { } type IntentResponseGetSession struct { - SessionID string `json:"sessionID"` + SessionID string `json:"sessionId"` Wallet string `json:"wallet"` Validated bool `json:"validated"` } diff --git a/intents/intent.gen.ts b/intents/intent.gen.ts index 8594622..16e8130 100644 --- a/intents/intent.gen.ts +++ b/intents/intent.gen.ts @@ -1,5 +1,5 @@ /* eslint-disable */ -// sequence-waas-intents v0.1.0 c195b3f52c9d014675fe81ced6947c2303a522ee +// sequence-waas-intents v0.1.0 545d0161c3608e5974b882f7aec533ac9d39ebaa // -- // Code generated by webrpc-gen@v0.14.0-dev with typescript generator. DO NOT EDIT. // @@ -12,7 +12,7 @@ export const WebRPCVersion = "v1" export const WebRPCSchemaVersion = "v0.1.0" // Schema hash generated from your RIDL schema -export const WebRPCSchemaHash = "c195b3f52c9d014675fe81ced6947c2303a522ee" +export const WebRPCSchemaHash = "545d0161c3608e5974b882f7aec533ac9d39ebaa" // // Types @@ -29,28 +29,28 @@ export interface Intent { } export interface Signature { - sessionID: string + sessionId: string signature: string } export interface IntentDataOpenSession { - sessionID: string + sessionId: string email?: string idToken?: string } export interface IntentDataCloseSession { - sessionID: string + sessionId: string } export interface IntentDataValidateSession { - sessionID: string + sessionId: string wallet: string deviceMetadata: string } export interface IntentDataFinishValidateSession { - sessionID: string + sessionId: string wallet: string salt: string challenge: string @@ -61,7 +61,7 @@ export interface IntentDataListSessions { } export interface IntentDataGetSession { - sessionID: string + sessionId: string wallet: string } @@ -127,7 +127,7 @@ export interface IntentResponse { } export interface IntentResponseSessionOpened { - sessionID: string + sessionId: string wallet: string } @@ -138,7 +138,7 @@ export interface IntentResponseValidateSession { } export interface IntentResponseValidationRequired { - sessionID: string + sessionId: string } export interface IntentResponseValidationStarted { @@ -154,7 +154,7 @@ export interface IntentResponseListSessions { } export interface IntentResponseGetSession { - sessionID: string + sessionId: string wallet: string validated: boolean } diff --git a/intents/intent.ridl b/intents/intent.ridl index d780777..200543e 100644 --- a/intents/intent.ridl +++ b/intents/intent.ridl @@ -13,7 +13,8 @@ struct Intent + go.tag.json = omitempty struct Signature - - sessionID: string + - sessionId: string + + go.field.name = SessionID - signature: string # no way to generate string enums @@ -28,7 +29,7 @@ struct Signature # - sendTransaction struct IntentDataOpenSession - - sessionID: string + - sessionId: string + go.field.name = SessionID - email?: string + go.tag.json = omitempty @@ -36,16 +37,17 @@ struct IntentDataOpenSession + go.tag.json = omitempty struct IntentDataCloseSession - - sessionID: string + - sessionId: string + go.field.name = SessionID struct IntentDataValidateSession - - sessionID: string + - sessionId: string + + go.field.name = SessionID - wallet: string - deviceMetadata: string struct IntentDataFinishValidateSession - - sessionID: string + - sessionId: string + go.field.name = SessionID - wallet: string - salt: string @@ -56,7 +58,7 @@ struct IntentDataListSessions struct IntentDataGetSession - - sessionID: string + - sessionId: string + go.field.name = SessionID - wallet: string @@ -135,7 +137,7 @@ struct IntentResponse # - getSessionResponse struct IntentResponseSessionOpened - - sessionID: string + - sessionId: string + go.field.name = SessionID - wallet: string @@ -144,7 +146,7 @@ struct IntentResponseSessionClosed struct IntentResponseValidateSession struct IntentResponseValidationRequired - - sessionID: string + - sessionId: string + go.field.name = SessionID struct IntentResponseValidationStarted @@ -157,7 +159,7 @@ struct IntentResponseListSessions - sessions: []string struct IntentResponseGetSession - - sessionID: string + - sessionId: string + go.field.name = SessionID - wallet: string - validated: bool