@moneypot/hub 1.16.0-dev.5 → 1.16.0-dev.7
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 +9 -2
- package/dist/dashboard/assets/{index-CrY0xaa9.js → index-D7SlWXgD.js} +62 -40
- package/dist/dashboard/index.html +1 -1
- package/dist/src/pg-advisory-lock.d.ts +5 -1
- package/dist/src/pg-advisory-lock.js +7 -3
- package/dist/src/plugins/chat/hub-chat-create-user-message.js +1 -1
- package/dist/src/plugins/chat/hub-chat-mod-management.d.ts +1 -0
- package/dist/src/plugins/chat/hub-chat-mod-management.js +227 -0
- package/dist/src/plugins/chat/hub-chat-mute-user.js +1 -1
- package/dist/src/plugins/chat/hub-chat-unmute-user.js +1 -1
- package/dist/src/server/graphile.config.js +2 -1
- package/dist/src/util.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,8 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
Example implementations:
|
|
10
10
|
|
|
11
|
-
1. <https://github.com/moneypot/
|
|
12
|
-
2. <https://github.com/moneypot/dice-controller/>: A dice game ([frontend](https://github.com/moneypot/dice-experience/))
|
|
11
|
+
1. <https://github.com/moneypot/controller-template/>: An template hub server that comes with an example of a custom game implementation.
|
|
13
12
|
|
|
14
13
|
## Manual
|
|
15
14
|
|
|
@@ -76,11 +75,19 @@ insert into hub.api_key default values returning key;
|
|
|
76
75
|
|
|
77
76
|
## Changelog
|
|
78
77
|
|
|
78
|
+
You should always keep your hub server up to date as soon as possible.
|
|
79
|
+
|
|
80
|
+
### 1.16.x
|
|
81
|
+
|
|
82
|
+
- Added a simple built-in chat system.
|
|
83
|
+
- You can opt-out of the chat system by passing `startAndListen({ ..., enableChat: false })`.
|
|
84
|
+
|
|
79
85
|
### 1.15.x
|
|
80
86
|
|
|
81
87
|
- Added a "playground" casino (`hub.casino.is_playground = true`) that lets skin devs create ephemeral sessions for testing.
|
|
82
88
|
- Added `hubCreatePlaygroundSession` mutation to create a playground session.
|
|
83
89
|
- It's a drop-in replacement for `hubAuthenticate({ userToken, baseCasinoUrl })` when you're testing your experience outside of the MoneyPot.com iframe (thus you don't have a userToken).
|
|
90
|
+
- You can opt-out of allowing playground sessions by passing `startAndListen({ ..., enablePlayground: false })`, but remember that the objective of this system is to make it easier for developers to build experience frontends that bet against your server.
|
|
84
91
|
|
|
85
92
|
### 1.14.x
|
|
86
93
|
|