@funfab/sdk 0.3.0 → 0.3.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 +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -90,6 +90,8 @@ starts per minute per IP. Otherwise, login starts share one flood limit of 200 p
|
|
|
90
90
|
|
|
91
91
|
## Hub and hand-off clients (`hub/1`)
|
|
92
92
|
|
|
93
|
+
Hosted hub and hand-off clients require the platform’s `hub/1` services, which aren’t live yet. Use `@funfab/sdk/stub` for local development.
|
|
94
|
+
|
|
93
95
|
Use `createHubClient(gameConfig)` for a hub and `createHandoffClient(gameConfig)` for a member
|
|
94
96
|
game. Import both from `@funfab/sdk/server`. Hosted games pass the configuration returned by
|
|
95
97
|
`signInTicketConfig()`, which requires an HTTPS platform origin.
|