@moneypot/hub 1.19.12 → 1.19.14

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.
@@ -0,0 +1,3 @@
1
+
2
+ ALTER TABLE hub.hash DROP CONSTRAINT IF EXISTS client_seed_length;
3
+ ALTER TABLE hub.hash ADD CONSTRAINT client_seed_length CHECK (length(client_seed) <= 36);
@@ -0,0 +1,7 @@
1
+ ALTER TABLE hub.hash DROP CONSTRAINT IF EXISTS hash_iteration_kind_check;
2
+
3
+ ALTER TABLE hub.hash
4
+ ADD CONSTRAINT hash_iteration_kind_check CHECK (
5
+ (iteration = 0 AND kind = 'PREIMAGE') OR
6
+ (iteration > 0 AND kind IN ('INTERMEDIATE', 'TERMINAL'))
7
+ );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moneypot/hub",
3
- "version": "1.19.12",
3
+ "version": "1.19.14",
4
4
  "author": "moneypot.com",
5
5
  "homepage": "https://moneypot.com/hub",
6
6
  "keywords": [