@bloque/sdk-compliance 0.4.0 → 0.4.1

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.
@@ -3,8 +3,14 @@ export type { StartGateResult } from '../tos-gate/types';
3
3
  export interface StartVerificationGateParams {
4
4
  /**
5
5
  * Where the hosted verification gate page redirects back to after
6
- * submission. Must be present in the backend's
7
- * `VERIFICATION_GATE_RETURN_URL_ALLOWLIST` (enforced fail-closed).
6
+ * submission. Validated fail-closed against the union of two
7
+ * allowlists: the calling origin's own
8
+ * `metadata.verification_gate_return_url_allowlist` (if configured)
9
+ * and the deployment-wide `VERIFICATION_GATE_RETURN_URL_ALLOWLIST` env
10
+ * var. Either one being satisfied is enough — an origin with its own
11
+ * list configured doesn't need every value re-registered centrally,
12
+ * and one without its own list still falls back to the env var exactly
13
+ * as before.
8
14
  */
9
15
  returnUrl: string;
10
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bloque/sdk-compliance",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "type": "module",
5
5
  "keywords": [
6
6
  "bloque",
@@ -34,6 +34,6 @@
34
34
  "node": ">=22"
35
35
  },
36
36
  "dependencies": {
37
- "@bloque/sdk-core": "0.4.0"
37
+ "@bloque/sdk-core": "0.4.1"
38
38
  }
39
39
  }