@yuneta/gobj-js 7.12.0 → 7.13.3

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.
@@ -2878,14 +2878,14 @@ function gobj_publish_event(publisher, event, kw) {
2878
2878
  let topublish = 1;
2879
2879
  if (publisher.gclass.gmt.mt_publication_filter) topublish = publisher.gclass.gmt.mt_publication_filter(publisher, event, kw2publish, subscriber);
2880
2880
  else if (json_size(__filter__) > 0) {
2881
- topublish = kw_match_simple(kw2publish, __filter__);
2881
+ topublish = kw_match_simple(kw2publish, __filter__) ? 1 : 0;
2882
2882
  if (tracea) {
2883
2883
  trace_machine(sprintf("💜💜🔄%s publishing with filter, event '%s', subscriber'%s', publisher %s", topublish ? "👍" : "👎", event ? event : "", gobj_short_name(subscriber), gobj_short_name(publisher)));
2884
2884
  trace_json(__filter__);
2885
2885
  }
2886
2886
  }
2887
2887
  if (topublish < 0) break;
2888
- else if (topublish === 0) continue;
2888
+ else if (!topublish) continue;
2889
2889
  let ev_ = gobj_event_type(subscriber, event, true);
2890
2890
  if (ev_) {
2891
2891
  if (ev_.event_flag & event_flag_t.EVF_SYSTEM_EVENT) {
@@ -5353,6 +5353,7 @@ var treedb_field_types = [
5353
5353
  "template",
5354
5354
  "uuid",
5355
5355
  "rowid",
5356
+ "qualified",
5356
5357
  "password",
5357
5358
  "email",
5358
5359
  "url",