@uploadcare/blocks
Advanced tools
Comparing version 0.50.0-alpha.1 to 0.50.0-alpha.2
@@ -18,2 +18,3 @@ // @ts-check | ||
const TAG_PREFIX = 'uc-'; | ||
const LEGACY_TAG_PREFIX = 'lr-'; | ||
@@ -336,3 +337,9 @@ // @ts-ignore TODO: fix this | ||
} | ||
super.reg(name.startsWith(TAG_PREFIX) ? name : TAG_PREFIX + name); | ||
if (name.startsWith(TAG_PREFIX)) { | ||
super.reg(name.startsWith(TAG_PREFIX) ? name : TAG_PREFIX + name); | ||
} | ||
if (name.startsWith(LEGACY_TAG_PREFIX)) { | ||
super.reg(name.startsWith(LEGACY_TAG_PREFIX) ? name : LEGACY_TAG_PREFIX + name); | ||
} | ||
} | ||
@@ -339,0 +346,0 @@ } |
{ | ||
"name": "@uploadcare/blocks", | ||
"version": "0.50.0-alpha.1", | ||
"version": "0.50.0-alpha.2", | ||
"description": "Building blocks for Uploadcare products integration", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
3719723
31337