4267c1ccf7
* apiCall: add option to not send the auth header ## Why Want an option to make un-authenticated `resolve` calls where appropriate, to improve caching. ## How All `apiCall`s are authenticated by default, but when clients add NO_AUTH to the params, `apiCall` will exclude the X_LBRY_AUTH_TOKEN. It will also strip NO_AUTH from the param object before sending it out. * Add hook for 'resolve' and 'claim_search' to check and skip auth... ... if the params does not contain anything that requires the wallet. * doResolveUri, doClaimSearch: let clients decide when to include_my_output - No more hardcoding 'include_purchase_receipt' and 'include_is_my_output' - doResolveUri: include these params when opening a file page. This was the only place that was doing that prior to this PR. * is_my_output: use the signing_channel as alternative ## Notes `is_my_output` is more expensive to resolve, so it is not being requested all the time. ## Change Looking at the signing channel as the additional fallback, on top of `myClaimIds`. ## Aside I think using `myClaimIds` here is redundant, as it is usually populated from `is_my_ouput`. But leaving as is for now... |
||
---|---|---|
.. | ||
abandon_states.js | ||
action_types.js | ||
claim.js | ||
claim_search.js | ||
classnames.js | ||
collections.js | ||
comment.js | ||
daemon_settings.js | ||
email.js | ||
emotes.js | ||
errors.js | ||
file_render_modes.js | ||
form-field.js | ||
icons.js | ||
keycodes.js | ||
language-migrations.js | ||
languages.js | ||
licenses.js | ||
livestream.js | ||
modal_types.js | ||
moonpay.js | ||
navigation.js | ||
notifications.js | ||
pages.js | ||
pageTitles.js | ||
publish_types.js | ||
reactions.js | ||
report_content.js | ||
search.js | ||
searchable_languages.js | ||
settings.js | ||
shape_shift.js | ||
shared_preferences.js | ||
sort_options.js | ||
speech_urls.js | ||
stickers.js | ||
stripe.js | ||
subscriptions.js | ||
supported_browser_languages.js | ||
supported_languages.js | ||
supported_sub_languages.js | ||
tags.js | ||
themes.js | ||
thumbnail_upload_statuses.js | ||
token.js | ||
transaction_list.js | ||
transaction_types.js | ||
txo_list.js | ||
user.js | ||
youtube.js |