fix: state

This commit is contained in:
Nova
2024-06-06 09:24:25 -04:00
parent 3cbc10d91e
commit f770357010
2 changed files with 3 additions and 3 deletions

4
Cargo.lock generated
View File

@@ -2501,7 +2501,7 @@ checksum = "2f2b15926089e5526bb2dd738a2eb0e59034356e06eb71e1cd912358c0e62c4d"
[[package]]
name = "stardust-xr"
version = "0.45.0"
source = "git+https://github.com/StardustXR/core.git?branch=dev#7ddbcb9be74df67efcde057f2b68ba8592507b13"
source = "git+https://github.com/StardustXR/core.git?branch=dev#214e265655982e9db509f38f20e8392114f721f4"
dependencies = [
"cluFlock",
"color-rs",
@@ -2521,7 +2521,7 @@ dependencies = [
[[package]]
name = "stardust-xr-schemas"
version = "1.5.3"
source = "git+https://github.com/StardustXR/core.git?branch=dev#7ddbcb9be74df67efcde057f2b68ba8592507b13"
source = "git+https://github.com/StardustXR/core.git?branch=dev#214e265655982e9db509f38f20e8392114f721f4"
dependencies = [
"flatbuffers",
"flexbuffers",

View File

@@ -89,7 +89,7 @@ impl RootAspect for Root {
}
#[doc = "Generate a client state token and return it back.\n\n When launching a new client, set the environment variable `STARDUST_STARTUP_TOKEN` to the returned string.\n Make sure the environment variable shows in `/proc/{pid}/environ` as that's the only reliable way to pass the value to the server (suggestions welcome).\n"]
async fn client_state_token(
async fn generate_state_token(
_node: Arc<Node>,
calling_client: Arc<Client>,
state: ClientState,