@kubun/plugin-p2p 0.16.1 → 0.17.0

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.
@@ -88,6 +88,10 @@ async function handleAuthoredMutation(event, params) {
88
88
  for (const catalogID of circle.catalog_ids ?? []){
89
89
  const catalog = catalogsByID.get(catalogID);
90
90
  if (catalog == null) continue;
91
+ // Only a locally-activated catalog scopes outbound push, mirroring the
92
+ // pull-side gate in `catalog-scope.ts`. `deactivateCatalogSync` is a local
93
+ // on/off for BOTH directions — a deactivated catalog selects nothing new.
94
+ if (catalog.active !== 1) continue;
91
95
  matchInputs.push({
92
96
  groupID: circle.group_id,
93
97
  criteria: catalog.filter_criteria
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubun/plugin-p2p",
3
- "version": "0.16.1",
3
+ "version": "0.17.0",
4
4
  "license": "see LICENSE.md",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -23,29 +23,29 @@
23
23
  "@kokuin/capability": "^0.3.0",
24
24
  "@kokuin/controller": "^0.1.0",
25
25
  "@kokuin/token": "^0.5.0",
26
- "@kubun/credential": "^0.16.0",
27
- "@kubun/db": "^0.16.0",
28
- "@kubun/db-adapter": "^0.16.0",
29
- "@kubun/engine": "^0.16.0",
30
- "@kubun/graphql": "^0.16.0",
31
- "@kubun/hlc": "^0.16.0",
32
- "@kubun/http-util": "^0.16.0",
33
- "@kubun/id": "^0.16.0",
34
- "@kubun/logger": "^0.16.0",
35
- "@kubun/mutation": "^0.16.0",
36
- "@kubun/plugin-blob-api": "^0.16.0",
37
- "@kubun/plugin-http": "^0.16.0",
38
- "@kubun/plugin-http-api": "^0.16.0",
39
- "@kubun/plugin-p2p-api": "^0.16.0",
40
- "@kubun/plugin-service-api": "^0.16.0",
41
- "@kubun/plugin-workflow-api": "^0.16.0",
42
- "@kubun/protocol": "^0.16.0",
43
- "@kubun/store-blob": "^0.16.0",
44
- "@kubun/store-controller": "^0.16.0",
45
- "@kubun/store-credential": "^0.16.0",
46
- "@kubun/store-delegation": "^0.16.0",
47
- "@kubun/store-graph": "^0.16.0",
48
- "@kubun/store-p2p": "^0.16.0",
26
+ "@kubun/credential": "^0.17.0",
27
+ "@kubun/db": "^0.17.0",
28
+ "@kubun/db-adapter": "^0.17.0",
29
+ "@kubun/engine": "^0.17.0",
30
+ "@kubun/graphql": "^0.17.0",
31
+ "@kubun/hlc": "^0.17.0",
32
+ "@kubun/http-util": "^0.17.0",
33
+ "@kubun/id": "^0.17.0",
34
+ "@kubun/logger": "^0.17.0",
35
+ "@kubun/mutation": "^0.17.0",
36
+ "@kubun/plugin-blob-api": "^0.17.0",
37
+ "@kubun/plugin-http": "^0.17.0",
38
+ "@kubun/plugin-http-api": "^0.17.0",
39
+ "@kubun/plugin-p2p-api": "^0.17.0",
40
+ "@kubun/plugin-service-api": "^0.17.0",
41
+ "@kubun/plugin-workflow-api": "^0.17.0",
42
+ "@kubun/protocol": "^0.17.0",
43
+ "@kubun/store-blob": "^0.17.0",
44
+ "@kubun/store-controller": "^0.17.0",
45
+ "@kubun/store-credential": "^0.17.0",
46
+ "@kubun/store-delegation": "^0.17.0",
47
+ "@kubun/store-graph": "^0.17.0",
48
+ "@kubun/store-p2p": "^0.17.0",
49
49
  "@kumiai/broadcast": "^0.9.0",
50
50
  "@kumiai/hub-protocol": "^0.9.0",
51
51
  "@kumiai/hub-server": "^0.9.0",
@@ -67,18 +67,18 @@
67
67
  "ts-mls": "2.0.0-rc.13"
68
68
  },
69
69
  "devDependencies": {
70
- "@kubun/blob-backend": "^0.16.0",
71
- "@kubun/client": "^0.16.0",
72
- "@kubun/db-better-sqlite": "^0.16.0",
73
- "@kubun/db-node-sqlite": "^0.16.0",
74
- "@kubun/db-postgres": "^0.16.0",
75
- "@kubun/hub": "^0.16.0",
76
- "@kubun/plugin-blob": "^0.16.0",
77
- "@kubun/plugin-connector": "^0.16.0",
78
- "@kubun/plugin-service-server": "^0.16.0",
79
- "@kubun/plugin-workflow": "^0.16.0",
80
- "@kubun/service-graph-api": "^0.16.0",
81
- "@kubun/store-workflow": "^0.16.0",
70
+ "@kubun/blob-backend": "^0.17.0",
71
+ "@kubun/client": "^0.17.0",
72
+ "@kubun/db-better-sqlite": "^0.17.0",
73
+ "@kubun/db-node-sqlite": "^0.17.0",
74
+ "@kubun/db-postgres": "^0.17.0",
75
+ "@kubun/hub": "^0.17.0",
76
+ "@kubun/plugin-blob": "^0.17.0",
77
+ "@kubun/plugin-connector": "^0.17.0",
78
+ "@kubun/plugin-service-server": "^0.17.0",
79
+ "@kubun/plugin-workflow": "^0.17.0",
80
+ "@kubun/service-graph-api": "^0.17.0",
81
+ "@kubun/store-workflow": "^0.17.0",
82
82
  "@kubun/test-utils": "^0.0.0",
83
83
  "@kumiai/hub-conformance": "^0.9.0",
84
84
  "@kumiai/rpc-conformance": "^0.9.0",