@moneypot/hub 1.14.7 → 1.15.0-dev.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.
- package/README.md +6 -0
- package/dist/dashboard/assets/{index-BXG4SGJn.js → index-CrY0xaa9.js} +35 -34
- package/dist/dashboard/index.html +1 -1
- package/dist/src/db/index.d.ts +4 -1
- package/dist/src/db/index.js +6 -4
- package/dist/src/db/types.d.ts +1 -0
- package/dist/src/express.d.ts +1 -0
- package/dist/src/pg-versions/001-schema.sql +1 -0
- package/dist/src/pg-versions/012-playground.sql +40 -0
- package/dist/src/plugins/hub-authenticate.js +15 -10
- package/dist/src/plugins/hub-create-playground-session.d.ts +1 -0
- package/dist/src/plugins/hub-create-playground-session.js +181 -0
- package/dist/src/plugins/hub-make-outcome-bet.js +6 -1
- package/dist/src/plugins/hub-withdraw.js +19 -7
- package/dist/src/process-transfers/index.js +3 -2
- package/dist/src/server/graphile.config.d.ts +1 -0
- package/dist/src/server/graphile.config.js +4 -0
- package/dist/src/server/middleware/authentication.js +1 -0
- package/dist/src/smart-tags.js +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -76,6 +76,12 @@ insert into hub.api_key default values returning key;
|
|
|
76
76
|
|
|
77
77
|
## Changelog
|
|
78
78
|
|
|
79
|
+
### 1.15.x
|
|
80
|
+
|
|
81
|
+
- Added a "playground" casino (`hub.casino.is_playground = true`) that lets skin devs create ephemeral sessions for testing.
|
|
82
|
+
- Added `hubCreatePlaygroundSession` mutation to create a playground session.
|
|
83
|
+
- 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).
|
|
84
|
+
|
|
79
85
|
### 1.14.x
|
|
80
86
|
|
|
81
87
|
- Added `preimageHash` field to `HubHashChain` to expose the preimage hash for a hash chain if it's revealed.
|