@player-ui/async-node-plugin 1.1.0 → 1.1.1--canary.923.41155

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.
@@ -2655,7 +2655,7 @@ var AsyncNodePlugin = function() {
2655
2655
  value: function set(match, value) {
2656
2656
  var matcher = (typeof match === "undefined" ? "undefined" : _type_of(match)) === "object" ? createObjectMatcher(match) : createBasicMatcher(match);
2657
2657
  var existingIndex = this.store.findIndex(function(entry) {
2658
- return entry.matcher.count === matcher.count && entry.matcher(match) && matcher(entry.key);
2658
+ return entry.matcher(match) && matcher(entry.key);
2659
2659
  });
2660
2660
  if (existingIndex !== -1) {
2661
2661
  var _this_logger_debug, _this_logger;
@@ -8072,8 +8072,8 @@ var AsyncNodePlugin = function() {
8072
8072
  ref: Symbol("not-started"),
8073
8073
  status: "not-started"
8074
8074
  };
8075
- var PLAYER_VERSION = true ? "1.1.0" : "unknown";
8076
- var COMMIT = true ? "c938fcbdebeef8a3e04cd2b84014cfc82bf33591" : "unknown";
8075
+ var PLAYER_VERSION = true ? "1.1.1--canary.923.41155" : "unknown";
8076
+ var COMMIT = true ? "336ab87479993c790acba80372481a5d05d6f14c" : "unknown";
8077
8077
  var _Player = /*#__PURE__*/ function() {
8078
8078
  function _Player2(config) {
8079
8079
  var _this = this;
@@ -9003,7 +9003,7 @@ var AsyncNodePlugin = function() {
9003
9003
  key: "runAsyncNode",
9004
9004
  value: function runAsyncNode(node, context, options) {
9005
9005
  return _async_to_generator(function() {
9006
- var _this, _this_basePlugin, deliveredViaCallback, result, e, _this_basePlugin_getPlayerInstance, _this_basePlugin1, cause, playerState, _options_logger, error;
9006
+ var _this, _this_basePlugin, result, e, _this_basePlugin_getPlayerInstance, _this_basePlugin1, cause, playerState, _options_logger, error;
9007
9007
  return _ts_generator(this, function(_state) {
9008
9008
  switch(_state.label){
9009
9009
  case 0:
@@ -9016,20 +9016,16 @@ var AsyncNodePlugin = function() {
9016
9016
  ,
9017
9017
  4
9018
9018
  ]);
9019
- deliveredViaCallback = false;
9020
9019
  return [
9021
9020
  4,
9022
- (_this_basePlugin = this.basePlugin) === null || _this_basePlugin === void 0 ? void 0 : _this_basePlugin.hooks.onAsyncNode.call(node, function(streamedResult) {
9023
- deliveredViaCallback = true;
9024
- _this.parseNodeAndUpdate(node, context, streamedResult, options.parseNode);
9021
+ (_this_basePlugin = this.basePlugin) === null || _this_basePlugin === void 0 ? void 0 : _this_basePlugin.hooks.onAsyncNode.call(node, function(result2) {
9022
+ _this.parseNodeAndUpdate(node, context, result2, options.parseNode);
9025
9023
  })
9026
9024
  ];
9027
9025
  case 2:
9028
9026
  result = _state.sent();
9029
9027
  context.inProgressNodes.delete(node.id);
9030
- if (!deliveredViaCallback && result != null) {
9031
- this.parseNodeAndUpdate(node, context, result, options.parseNode);
9032
- }
9028
+ this.parseNodeAndUpdate(node, context, result, options.parseNode);
9033
9029
  return [
9034
9030
  3,
9035
9031
  4