@moneypot/hub 1.2.6 → 1.3.0-dev.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.
- package/README.md +4 -0
- package/dist/dashboard/assets/index-DuFZbLfp.js +360 -0
- package/dist/dashboard/assets/index-LZVcTrKv.css +5 -0
- package/dist/dashboard/index.html +2 -2
- package/dist/src/db/index.d.ts +15 -15
- package/dist/src/db/index.js +46 -47
- package/dist/src/db/internal.d.ts +5 -4
- package/dist/src/db/internal.js +12 -9
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +4 -0
- package/dist/src/pg-versions/005-outcome-bet.sql +56 -0
- package/dist/src/plugins/hub-claim-faucet.js +3 -1
- package/dist/src/plugins/hub-make-outcome-bet.d.ts +57 -0
- package/dist/src/plugins/hub-make-outcome-bet.js +325 -0
- package/package.json +2 -2
- package/dist/dashboard/assets/index-BhzBHOZb.js +0 -360
- package/dist/dashboard/assets/index-tK7EUtyc.css +0 -5
package/README.md
CHANGED
|
@@ -28,6 +28,7 @@ import {
|
|
|
28
28
|
type ServerOptions,
|
|
29
29
|
defaultPlugins,
|
|
30
30
|
startAndListen,
|
|
31
|
+
MakeOutcomeBetPlugin,
|
|
31
32
|
} from "@moneypot/hub";
|
|
32
33
|
import path from "path";
|
|
33
34
|
|
|
@@ -40,6 +41,9 @@ const options: ServerOptions = {
|
|
|
40
41
|
// These are required for the hub server to function
|
|
41
42
|
...defaultPlugins,
|
|
42
43
|
// Add your custom plugins here to extend server functionality
|
|
44
|
+
MakeOutcomeBetPlugin({
|
|
45
|
+
houseEdge: 0.01,
|
|
46
|
+
}),
|
|
43
47
|
],
|
|
44
48
|
|
|
45
49
|
// File path where the generated GraphQL schema definition will be saved
|