@player-ui/reference-assets-plugin 0.10.5--canary.611.20992 → 0.10.5--canary.609.21086
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 +5 -3
- 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/package.json +5 -5
|
@@ -4692,8 +4692,8 @@ var ReferenceAssetsPlugin = function() {
|
|
|
4692
4692
|
return Parser;
|
|
4693
4693
|
}();
|
|
4694
4694
|
function unpackAndPush(item, initial) {
|
|
4695
|
-
if (
|
|
4696
|
-
item.
|
|
4695
|
+
if (Array.isArray(item)) {
|
|
4696
|
+
item.forEach(function(i) {
|
|
4697
4697
|
unpackAndPush(i, initial);
|
|
4698
4698
|
});
|
|
4699
4699
|
} else {
|
|
@@ -4921,7 +4921,9 @@ var ReferenceAssetsPlugin = function() {
|
|
|
4921
4921
|
var mTree = _this.computeTree(mValue, rawParentToPassIn, dataChanges, cacheUpdate, resolveOptions, resolvedAST, prevASTMap);
|
|
4922
4922
|
if (mTree.value !== void 0 && mTree.value !== null) {
|
|
4923
4923
|
if (mValue.type === "async" && mValue.flatten && mTree.value.asset && Array.isArray(mTree.value.asset.values)) {
|
|
4924
|
-
|
|
4924
|
+
mTree.value.asset.values.forEach(function(v) {
|
|
4925
|
+
unpackAndPush(v, childValue);
|
|
4926
|
+
});
|
|
4925
4927
|
} else {
|
|
4926
4928
|
childValue.push(mTree.value);
|
|
4927
4929
|
}
|