hytopia 0.6.21 → 0.6.23

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.
@@ -9,15 +9,15 @@ Get the persisted data for the player.
9
9
  **Signature:**
10
10
 
11
11
  ```typescript
12
- getPersistedData(): Promise<Record<string, unknown> | void>;
12
+ getPersistedData(): Record<string, unknown> | undefined;
13
13
  ```
14
14
  **Returns:**
15
15
 
16
- Promise&lt;Record&lt;string, unknown&gt; \| void&gt;
16
+ Record&lt;string, unknown&gt; \| undefined
17
17
 
18
18
  The persisted data for the player.
19
19
 
20
20
  ## Remarks
21
21
 
22
- This method is asynchronous and returns a promise that resolves to the player data.
22
+ This method returns the player persisted data.
23
23
 
@@ -9,7 +9,7 @@ Set the persisted data for the player. This data can later be retrieved using [P
9
9
  **Signature:**
10
10
 
11
11
  ```typescript
12
- setPersistedData(data: Record<string, unknown>): Promise<Record<string, unknown> | void>;
12
+ setPersistedData(data: Record<string, unknown>): Record<string, unknown>;
13
13
  ```
14
14
 
15
15
  ## Parameters
@@ -49,7 +49,7 @@ The data to set.
49
49
  </tbody></table>
50
50
  **Returns:**
51
51
 
52
- Promise&lt;Record&lt;string, unknown&gt; \| void&gt;
52
+ Record&lt;string, unknown&gt;
53
53
 
54
54
  The persisted data for the player.
55
55