Skip to content

Commit 31028bb

Browse files
committed
Bump to 1.0.0
1 parent 74f8c7d commit 31028bb

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

src/viser/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@
6262
from ._viser import ClientHandle as ClientHandle
6363
from ._viser import ViserServer as ViserServer
6464

65-
__version__ = "0.2.23"
65+
__version__ = "1.0.0"

src/viser/client/src/VersionInfo.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Automatically generated file - do not edit manually.
22
// This is synchronized with the Python package version in viser/__init__.py.
3-
export const VISER_VERSION = "0.2.23";
3+
export const VISER_VERSION = "1.0.0";
44

55
// GitHub contributors for the viser project.
66
export interface Contributor {
@@ -13,14 +13,14 @@ export const GITHUB_CONTRIBUTORS: Contributor[] = [
1313
login: "brentyi",
1414
html_url: "https://github.com/brentyi",
1515
},
16-
{
17-
login: "kerrj",
18-
html_url: "https://github.com/kerrj",
19-
},
2016
{
2117
login: "chungmin99",
2218
html_url: "https://github.com/chungmin99",
2319
},
20+
{
21+
login: "kerrj",
22+
html_url: "https://github.com/kerrj",
23+
},
2424
{
2525
login: "tancik",
2626
html_url: "https://github.com/tancik",

src/viser/client/src/WebsocketServerWorker.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,13 +174,12 @@ function collectArrayBuffers(obj: any, buffers: Set<ArrayBufferLike>) {
174174

175175
if (timeUntilIdealJsMs > 3) {
176176
// We're early! This means the previous message was processed late...
177-
// which is normal, because we also consider deserialization time.
178177
const dampingFactor = 0.95;
179178
setTimeout(sendFn, timeUntilIdealJsMs * dampingFactor);
180179
state.lastIdealJsMs =
181180
state.lastIdealJsMs + pythonTimeDeltaMs * dampingFactor;
182181
} else {
183-
// Message is late: send immediately.
182+
// Message is on-time or late: send immediately.
184183
sendFn();
185184
state.lastIdealJsMs = jsNowMs;
186185
}

0 commit comments

Comments
 (0)