@helyx/module-account-gate 1.0.10 → 1.0.11

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/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.11
4
+
5
+ ### Patch Changes
6
+
7
+ - Harden dashboard authentication, privacy execution, control routing, database transactions, and self-host configuration.
8
+
9
+ Add bounded multi-value record reads and use them to batch Polls and Reaction Roles dashboard queries. Improve dashboard presentation, Forms workflows, release safety, and operational tooling across hosted and self-hosted deployments.
10
+
11
+ - Updated dependencies
12
+ - @helyx/sdk@0.7.0
13
+
3
14
  ## 1.0.10
4
15
 
5
16
  ### Patch Changes
@@ -2,7 +2,7 @@ export declare const ACCOUNT_GATE_IDENTITY: {
2
2
  readonly packageName: "@helyx/module-account-gate";
3
3
  readonly moduleId: "helyx.account-gate";
4
4
  readonly name: "Access Control";
5
- readonly version: "1.0.10";
5
+ readonly version: "1.0.11";
6
6
  readonly releaseStatus: "live";
7
7
  readonly category: "safety";
8
8
  readonly icon: "shield-check";
package/dist/contracts.js CHANGED
@@ -2,7 +2,7 @@ export const ACCOUNT_GATE_IDENTITY = {
2
2
  packageName: "@helyx/module-account-gate",
3
3
  moduleId: "helyx.account-gate",
4
4
  name: "Access Control",
5
- version: "1.0.10",
5
+ version: "1.0.11",
6
6
  releaseStatus: "live",
7
7
  category: "safety",
8
8
  icon: "shield-check",
package/manifest.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "releaseStatus": "live",
4
4
  "id": "helyx.account-gate",
5
5
  "name": "Access Control",
6
- "version": "1.0.10",
6
+ "version": "1.0.11",
7
7
  "description": "Require new members to complete configurable Discord interaction checks before gaining access.",
8
8
  "entry": "./dist/index.js",
9
9
  "framework": "^0.1.0",
@@ -0,0 +1,32 @@
1
+ -- Privacy erasure deletes Account Gate subject rows through a deliberately
2
+ -- column-scoped executor role. The deletion triggers must still be able to
3
+ -- write the suppression tombstone that prevents erased data being recreated.
4
+ CREATE OR REPLACE FUNCTION public.account_gate_install_privacy_suppression()
5
+ RETURNS trigger
6
+ LANGUAGE plpgsql
7
+ SECURITY DEFINER
8
+ SET search_path = pg_catalog, public
9
+ AS $$
10
+ BEGIN
11
+ INSERT INTO public.account_gate_privacy_suppressions (
12
+ suppression_id,
13
+ guild_id,
14
+ member_user_id,
15
+ suppressed_at,
16
+ created_at
17
+ )
18
+ VALUES (
19
+ OLD.guild_id || ':' || OLD.member_user_id,
20
+ OLD.guild_id,
21
+ OLD.member_user_id,
22
+ clock_timestamp(),
23
+ clock_timestamp()
24
+ )
25
+ ON CONFLICT (guild_id, member_user_id)
26
+ DO UPDATE SET suppressed_at = GREATEST(
27
+ public.account_gate_privacy_suppressions.suppressed_at,
28
+ EXCLUDED.suppressed_at
29
+ );
30
+ RETURN OLD;
31
+ END;
32
+ $$;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@helyx/module-account-gate",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "Require configurable Discord interaction checks before new members gain access.",
5
5
  "keywords": [
6
6
  "helyx",
@@ -49,6 +49,6 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "@helyx/module-manifest": ">=0.6.0 <0.7.0",
52
- "@helyx/sdk": ">=0.6.0 <0.7.0"
52
+ "@helyx/sdk": ">=0.7.0 <0.8.0"
53
53
  }
54
54
  }