@moneypot/hub 1.3.0-dev.7 → 1.3.0-dev.9

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.
@@ -138,3 +138,7 @@ export type DbHash = {
138
138
  digest: Uint8Array;
139
139
  metadata: Record<string, unknown>;
140
140
  };
141
+ export type DbHubOutcome = {
142
+ weight: number;
143
+ profit: number;
144
+ };
@@ -292,7 +292,7 @@ export function MakeOutcomeBetPlugin({ betConfigs }) {
292
292
  user_id: session.user_id,
293
293
  casino_id: session.casino_id,
294
294
  experience_id: session.experience_id,
295
- metadata: finalizedMetadata,
295
+ metadata: finalizedMetadata || {},
296
296
  ...(betConfig.saveOutcomes
297
297
  ? {
298
298
  outcomes: input.outcomes,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moneypot/hub",
3
- "version": "1.3.0-dev.7",
3
+ "version": "1.3.0-dev.9",
4
4
  "author": "moneypot.com",
5
5
  "homepage": "https://moneypot.com/hub",
6
6
  "keywords": [