yarn build
This commit is contained in:
parent
4b4217879c
commit
e8602bdf5e
1 changed files with 0 additions and 12 deletions
12
dist/bundle.es.js
vendored
12
dist/bundle.es.js
vendored
|
@ -1252,18 +1252,6 @@ function buildURI(UrlObj, includeProto = true, protoDefault = 'lbry://') {
|
||||||
deprecatedParts = _objectWithoutProperties(UrlObj, ['streamName', 'streamClaimId', 'channelName', 'channelClaimId', 'primaryClaimSequence', 'primaryBidPosition', 'secondaryClaimSequence', 'secondaryBidPosition']);
|
deprecatedParts = _objectWithoutProperties(UrlObj, ['streamName', 'streamClaimId', 'channelName', 'channelClaimId', 'primaryClaimSequence', 'primaryBidPosition', 'secondaryClaimSequence', 'secondaryBidPosition']);
|
||||||
const { claimId, claimName, contentName } = deprecatedParts;
|
const { claimId, claimName, contentName } = deprecatedParts;
|
||||||
|
|
||||||
{
|
|
||||||
if (claimId) {
|
|
||||||
console.error(__("'claimId' should no longer be used. Use 'streamClaimId' or 'channelClaimId' instead"));
|
|
||||||
}
|
|
||||||
if (claimName) {
|
|
||||||
console.error(__("'claimName' should no longer be used. Use 'streamClaimName' or 'channelClaimName' instead"));
|
|
||||||
}
|
|
||||||
if (contentName) {
|
|
||||||
console.error(__("'contentName' should no longer be used. Use 'streamName' instead"));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!claimName && !channelName && !streamName) {
|
if (!claimName && !channelName && !streamName) {
|
||||||
console.error(__("'claimName', 'channelName', and 'streamName' are all empty. One must be present to build a url."));
|
console.error(__("'claimName', 'channelName', and 'streamName' are all empty. One must be present to build a url."));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue