@remix-gg/sdk 0.4.2 → 0.4.3
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 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,11 +21,10 @@ When you upload game code to Remix, a script tag to reference the SDK will autom
|
|
|
21
21
|
## Example Implementation
|
|
22
22
|
|
|
23
23
|
```typescript
|
|
24
|
-
import {
|
|
25
|
-
import type { GameState, Player } from '@remix-gg/sdk'
|
|
24
|
+
import type { RemixSDK, GameState, Player } from '@remix-gg/sdk'
|
|
26
25
|
|
|
27
26
|
class MyGame {
|
|
28
|
-
sdk
|
|
27
|
+
sdk: RemixSDK
|
|
29
28
|
player: Player
|
|
30
29
|
gameState: GameState | null = null
|
|
31
30
|
isMuted: boolean = true
|