File tree Expand file tree Collapse file tree 1 file changed +10
-16
lines changed
packages/web-bot-auth/src Expand file tree Collapse file tree 1 file changed +10
-16
lines changed Original file line number Diff line number Diff line change @@ -110,14 +110,11 @@ export function signatureHeaders<
110110 signer : httpsig . Signer ,
111111 params : SignatureParams
112112) : Promise < httpsig . SignatureHeaders > {
113- return httpsig . signatureHeaders (
114- message ,
115- {
116- signer,
117- keyid : signer . keyid ,
118- ...getSigningOptions ( message , params )
119- }
120- ) ;
113+ return httpsig . signatureHeaders ( message , {
114+ signer,
115+ keyid : signer . keyid ,
116+ ...getSigningOptions ( message , params ) ,
117+ } ) ;
121118}
122119
123120export function signatureHeadersSync <
@@ -127,14 +124,11 @@ export function signatureHeadersSync<
127124 signer : httpsig . SignerSync ,
128125 params : SignatureParams
129126) : httpsig . SignatureHeaders {
130- return httpsig . signatureHeadersSync (
131- message ,
132- {
133- signer,
134- keyid : signer . keyid ,
135- ...getSigningOptions ( message , params )
136- }
137- ) ;
127+ return httpsig . signatureHeadersSync ( message , {
128+ signer,
129+ keyid : signer . keyid ,
130+ ...getSigningOptions ( message , params ) ,
131+ } ) ;
138132}
139133
140134export type Verify < T > = (
You can’t perform that action at this time.
0 commit comments