@colyseus/schema
Advanced tools
Comparing version 2.0.35 to 2.0.36
@@ -10,3 +10,3 @@ import { ChangeTree } from "../changes/ChangeTree"; | ||
protected $refId: number; | ||
[n: number]: V; | ||
[n: number]: V | undefined; | ||
$callbacks: { | ||
@@ -27,3 +27,3 @@ [operation: number]: Array<(item: V, key: number) => void>; | ||
pop(): V | undefined; | ||
at(index: number): V; | ||
at(index: number): V | undefined; | ||
setAt(index: number, value: V): void; | ||
@@ -30,0 +30,0 @@ deleteAt(index: number): boolean; |
{ | ||
"name": "@colyseus/schema", | ||
"version": "2.0.35", | ||
"version": "2.0.36", | ||
"description": "Binary state serializer with delta encoding for games", | ||
@@ -5,0 +5,0 @@ "bin": { |
@@ -91,3 +91,3 @@ import { ChangeTree } from "../changes/ChangeTree"; | ||
[n: number]: V; | ||
[n: number]: V | undefined; | ||
@@ -167,3 +167,3 @@ // | ||
at(index: number) { | ||
at(index: number): V | undefined { | ||
// | ||
@@ -170,0 +170,0 @@ // FIXME: this should be O(1) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1654882