@player-ui/reference-assets-plugin 0.14.1-next.6 → 0.14.1-next.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ReferenceAssetsPlugin.native.js +2 -2
- package/dist/ReferenceAssetsPlugin.native.js.map +1 -1
- package/dist/xlr/ActionAsset.json +2 -2
- package/dist/xlr/ChatMessageAsset.json +1 -1
- package/dist/xlr/ChoiceAsset.json +5 -5
- package/dist/xlr/CollectionAsset.json +1 -1
- package/dist/xlr/ImageAsset.json +2 -2
- package/dist/xlr/InfoAsset.json +1 -1
- package/dist/xlr/InputAsset.json +2 -2
- package/dist/xlr/TextAsset.json +4 -4
- package/dist/xlr/send.json +1 -1
- package/package.json +7 -7
|
@@ -391,7 +391,7 @@ var ReferenceAssetsPlugin = function() {
|
|
|
391
391
|
for(e = e.split ? e.split(".") : e, n = 0; n < e.length; n++)t2 = t2 ? t2[e[n]] : r;
|
|
392
392
|
return t2 === r ? l : t2;
|
|
393
393
|
};
|
|
394
|
-
var
|
|
394
|
+
var createObjectMatcher = function createObjectMatcher(partialObj) {
|
|
395
395
|
var pairs = traverseObj(partialObj);
|
|
396
396
|
var matchFunction = function(searchObj) {
|
|
397
397
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
@@ -2277,7 +2277,7 @@ var ReferenceAssetsPlugin = function() {
|
|
|
2277
2277
|
{
|
|
2278
2278
|
/** Add match -> value mapping to the registry */ key: "set",
|
|
2279
2279
|
value: function set(match, value) {
|
|
2280
|
-
var matcher = (typeof match === "undefined" ? "undefined" : _type_of(match)) === "object" ?
|
|
2280
|
+
var matcher = (typeof match === "undefined" ? "undefined" : _type_of(match)) === "object" ? createObjectMatcher(match) : createBasicMatcher(match);
|
|
2281
2281
|
this.store.insert({
|
|
2282
2282
|
key: match,
|
|
2283
2283
|
value: value,
|