@wopr-network/platform-core 1.49.1 → 1.49.2

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,7 @@
1
+ -- Fix: derivation_index unique constraint was global, not per-chain.
2
+ -- DOGE index 1 collided with BTC index 1. Must be (chain, derivation_index).
3
+
4
+ DROP INDEX IF EXISTS "uq_crypto_charges_derivation_index";
5
+ --> statement-breakpoint
6
+
7
+ CREATE UNIQUE INDEX IF NOT EXISTS "uq_crypto_charges_chain_derivation" ON "crypto_charges" ("chain", "derivation_index") WHERE "chain" IS NOT NULL AND "derivation_index" IS NOT NULL;
@@ -120,6 +120,13 @@
120
120
  "when": 1743004800000,
121
121
  "tag": "0016_charge_progress_columns",
122
122
  "breakpoints": true
123
+ },
124
+ {
125
+ "idx": 17,
126
+ "version": "7",
127
+ "when": 1743091200000,
128
+ "tag": "0017_fix_derivation_index_constraint",
129
+ "breakpoints": true
123
130
  }
124
131
  ]
125
132
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wopr-network/platform-core",
3
- "version": "1.49.1",
3
+ "version": "1.49.2",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",