nl_tokens: default_headers Generate default headers
pl_tokens: function default_headers ( class_context ) { class_context = class_context || { } ; let headers = { } ; if ( class_context . token ) { headers . Token = class_context . token ; } if ( ! isBrowser ) { headers [ 'User-Agent' ] = ` ${ pkg . <mask> } ` ; } return headers ; }