Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
chore:update @dcl/protocol (#494)
Browse files Browse the repository at this point in the history
  • Loading branch information
menduz authored Sep 11, 2022
1 parent 30002bc commit 534295e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"@dcl/hashing": "^1.1.0",
"@dcl/kernel-interface": "^2.0.0-20210922153939.commit-017905d",
"@dcl/legacy-ecs": "^6.10.1-2191620277.commit-7b74643",
"@dcl/protocol": "^1.0.0-2825359340.commit-a339b67",
"@dcl/protocol": "^1.0.0-3015628754.commit-7713e2e",
"@dcl/rpc": "^1.0.1-20220608232056.commit-741737c",
"@dcl/schemas": "^5.8.1",
"@dcl/urn-resolver": "^1.4.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/shared/apis/host/ExperimentalAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export function registerExperimentalAPIServiceServerImplementation(port: RpcServ
codegen.registerService(port, ExperimentalAPIServiceDefinition, async () => ({
async sendToRenderer(req, ctx) {
const protocol = await rendererProtocol
return protocol.crdtService.sendCrdt({ sceneId: ctx.sceneData.id, payload: req.data })
return protocol.crdtService.sendCrdt({ sceneId: ctx.sceneData.id, payload: req.data, sceneNumber: 0xffffffff })
},

async messageFromRenderer(_, ctx) {
const protocol = await rendererProtocol
const response = await protocol.crdtService.pullCrdt({ sceneId: ctx.sceneData.id })
const response = await protocol.crdtService.pullCrdt({ sceneId: ctx.sceneData.id, sceneNumber: 0xffffffff })
return { data: [response.payload] }
}
}))
Expand Down

0 comments on commit 534295e

Please sign in to comment.