11/* eslint-disable */ 
2- // sequence-api v0.4.0 e4239870ee5f32736b2f3cc35ad37abb59d7fe85  
2+ // sequence-api v0.4.0 1bfcfbfaf0d9cbc4cb88e71af967670e1c5506aa  
33// -- 
44// Code generated by [email protected]  with typescript generator. DO NOT EDIT. 55// 
@@ -16,7 +16,7 @@ export const WebRPCVersion = 'v1'
1616export  const  WebRPCSchemaVersion  =  'v0.4.0' 
1717
1818// Schema hash generated from your RIDL schema 
19- export  const  WebRPCSchemaHash  =  "e4239870ee5f32736b2f3cc35ad37abb59d7fe85" 
19+ export  const  WebRPCSchemaHash  =  '1bfcfbfaf0d9cbc4cb88e71af967670e1c5506aa' 
2020
2121type  WebrpcGenVersions  =  { 
2222  webrpcGenVersion : string 
@@ -1026,9 +1026,22 @@ export interface API {
10261026  getPack ( args : GetPackArgs ,  headers ?: object ,  signal ?: AbortSignal ) : Promise < GetPackReturn > 
10271027  deletePack ( args : DeletePackArgs ,  headers ?: object ,  signal ?: AbortSignal ) : Promise < DeletePackReturn > 
10281028  updatePackContent ( args : UpdatePackContentArgs ,  headers ?: object ,  signal ?: AbortSignal ) : Promise < UpdatePackContentReturn > 
1029-   checkoutOptionsPrimary ( args : CheckoutOptionsPrimaryArgs ,  headers ?: object ,  signal ?: AbortSignal ) : Promise < CheckoutOptionsPrimaryReturn > 
1030-   checkoutOptionsSecondary ( args : CheckoutOptionsSecondaryArgs ,  headers ?: object ,  signal ?: AbortSignal ) : Promise < CheckoutOptionsSecondaryReturn > 
1031-   checkoutOptionsGetTransakContractID ( args : CheckoutOptionsGetTransakContractIDArgs ,  headers ?: object ,  signal ?: AbortSignal ) : Promise < CheckoutOptionsGetTransakContractIDReturn > 
1029+   getRevealTxData ( args : GetRevealTxDataArgs ,  headers ?: object ,  signal ?: AbortSignal ) : Promise < GetRevealTxDataReturn > 
1030+   checkoutOptionsPrimary ( 
1031+     args : CheckoutOptionsPrimaryArgs , 
1032+     headers ?: object , 
1033+     signal ?: AbortSignal 
1034+   ) : Promise < CheckoutOptionsPrimaryReturn > 
1035+   checkoutOptionsSecondary ( 
1036+     args : CheckoutOptionsSecondaryArgs , 
1037+     headers ?: object , 
1038+     signal ?: AbortSignal 
1039+   ) : Promise < CheckoutOptionsSecondaryReturn > 
1040+   checkoutOptionsGetTransakContractID ( 
1041+     args : CheckoutOptionsGetTransakContractIDArgs , 
1042+     headers ?: object , 
1043+     signal ?: AbortSignal 
1044+   ) : Promise < CheckoutOptionsGetTransakContractIDReturn > 
10321045} 
10331046
10341047export  interface  PingArgs  { } 
@@ -1620,16 +1633,14 @@ export interface UpdatePackContentArgs {
16201633export  interface  UpdatePackContentReturn  { 
16211634  merkleRoot : string 
16221635} 
1623- export  interface  CheckoutOptionsPrimaryArgs  { 
1624-   chainId : number 
1625-   wallet : string 
1636+ export  interface  GetRevealTxDataArgs  { 
16261637  contractAddress : string 
1627-   collectionAddress :  string 
1628-   params :  Array < CheckoutOptionsPrimaryParams > 
1638+   chainId :  number 
1639+   userAddress :  string 
16291640} 
16301641
1631- export  interface  CheckoutOptionsPrimaryReturn  { 
1632-   options :  CheckoutOptions 
1642+ export  interface  GetRevealTxDataReturn  { 
1643+   txData :  string 
16331644} 
16341645export  interface  CheckoutOptionsPrimaryArgs  { 
16351646  chainId : number 
@@ -1640,7 +1651,7 @@ export interface CheckoutOptionsPrimaryArgs {
16401651} 
16411652
16421653export  interface  CheckoutOptionsPrimaryReturn  { 
1643-   options : CheckoutOptions    
1654+   options : CheckoutOptions 
16441655} 
16451656export  interface  CheckoutOptionsSecondaryArgs  { 
16461657  chainId : number 
@@ -2995,33 +3006,39 @@ export class API implements API {
29953006      } 
29963007    ) 
29973008  } 
2998-   
2999-   checkoutOptionsPrimary  =  ( args : CheckoutOptionsPrimaryArgs ,  headers ?: object ,  signal ?: AbortSignal ) : Promise < CheckoutOptionsPrimaryReturn >  =>  { 
3000-     return  this . fetch ( 
3001-       this . url ( 'CheckoutOptionsPrimary' ) , 
3002-       createHTTPRequest ( args ,  headers ,  signal ) ) . then ( ( res )  =>  { 
3003-       return  buildResponse ( res ) . then ( _data  =>  { 
3004-         return  { 
3005-           options : < CheckoutOptions > ( _data . options ) , 
3006-         } 
3007-       } ) 
3008-     } ,  ( error )  =>  { 
3009-       throw  WebrpcRequestFailedError . new ( {  cause : `fetch(): ${ error . message  ||  '' }   } ) 
3010-     } ) 
3011-   } 
3012-   
3013-   checkoutOptionsSecondary  =  ( args : CheckoutOptionsSecondaryArgs ,  headers ?: object ,  signal ?: AbortSignal ) : Promise < CheckoutOptionsSecondaryReturn >  =>  { 
3014-     return  this . fetch ( 
3015-       this . url ( 'CheckoutOptionsSecondary' ) , 
3016-       createHTTPRequest ( args ,  headers ,  signal ) ) . then ( ( res )  =>  { 
3017-       return  buildResponse ( res ) . then ( _data  =>  { 
3018-         return  { 
3019-           options : < CheckoutOptions > ( _data . options ) , 
3020-         } 
3021-       } ) 
3022-     } ,  ( error )  =>  { 
3023-       throw  WebrpcRequestFailedError . new ( {  cause : `fetch(): ${ error . message  ||  '' }   } ) 
3024-     } ) 
3009+ 
3010+   getRevealTxData  =  ( args : GetRevealTxDataArgs ,  headers ?: object ,  signal ?: AbortSignal ) : Promise < GetRevealTxDataReturn >  =>  { 
3011+     return  this . fetch ( this . url ( 'GetRevealTxData' ) ,  createHTTPRequest ( args ,  headers ,  signal ) ) . then ( 
3012+       res  =>  { 
3013+         return  buildResponse ( res ) . then ( _data  =>  { 
3014+           return  { 
3015+             txData : < string > _data . txData 
3016+           } 
3017+         } ) 
3018+       } , 
3019+       error  =>  { 
3020+         throw  WebrpcRequestFailedError . new ( {  cause : `fetch(): ${ error . message  ||  '' }   } ) 
3021+       } 
3022+     ) 
3023+   } 
3024+ 
3025+   checkoutOptionsPrimary  =  ( 
3026+     args : CheckoutOptionsPrimaryArgs , 
3027+     headers ?: object , 
3028+     signal ?: AbortSignal 
3029+   ) : Promise < CheckoutOptionsPrimaryReturn >  =>  { 
3030+     return  this . fetch ( this . url ( 'CheckoutOptionsPrimary' ) ,  createHTTPRequest ( args ,  headers ,  signal ) ) . then ( 
3031+       res  =>  { 
3032+         return  buildResponse ( res ) . then ( _data  =>  { 
3033+           return  { 
3034+             options : < CheckoutOptions > _data . options 
3035+           } 
3036+         } ) 
3037+       } , 
3038+       error  =>  { 
3039+         throw  WebrpcRequestFailedError . new ( {  cause : `fetch(): ${ error . message  ||  '' }   } ) 
3040+       } 
3041+     ) 
30253042  } 
30263043
30273044  checkoutOptionsSecondary  =  ( 
0 commit comments