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