File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
packages/@dcl/sdk-commands/src/commands/deploy Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,16 @@ export async function getAddressAndSignature(
125125 wallet . address ,
126126 ethSign ( hexToBytes ( wallet . privateKey ) , messageToSign )
127127 )
128- const linkerResponse : LinkerResponse = { authChain, address : wallet . address }
128+ let deleteSignature : string | undefined
129+ if ( deleteScenesFromWorldPayload ) {
130+ const deleteAuthChain = Authenticator . createSimpleAuthChain (
131+ deleteScenesFromWorldPayload ,
132+ wallet . address ,
133+ ethSign ( hexToBytes ( wallet . privateKey ) , deleteScenesFromWorldPayload )
134+ )
135+ deleteSignature = JSON . stringify ( deleteAuthChain )
136+ }
137+ const linkerResponse : LinkerResponse = { authChain, address : wallet . address , deleteSignature }
129138 await deployCallback ( linkerResponse )
130139 awaitResponse . resolve ( )
131140 return { }
You can’t perform that action at this time.
0 commit comments