From 9ce6a712310d6b225e54ea9db4d732ede972e556 Mon Sep 17 00:00:00 2001 From: Peter Johanson Date: Fri, 28 Jun 2024 15:34:05 -0600 Subject: [PATCH] feat: Updated messages and bytes support. --- package.json | 4 ++-- zmk-studio-messages | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 720d4be..ca42498 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "lib/**/*" ], "scripts": { - "generate": "protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=./src/ --proto_path=./zmk-studio-messages/proto/zmk/ ./zmk-studio-messages/proto/zmk/*.proto", + "generate": "protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=./src/ --ts_proto_opt=env=browser --proto_path=./zmk-studio-messages/proto/zmk/ ./zmk-studio-messages/proto/zmk/*.proto", "postinstall": "ls . ; if [ -e src/ ]; then echo 'UPDATE'; git submodule update --init; ls .; npm run generate; npm run build; fi", "build": "tsc --project tsconfig.build.json", "clean": "rm -rf ./lib/", @@ -76,7 +76,7 @@ "ts-jest": "^29.0.0", "ts-node": "^10.2.1", "typescript": "^4.2.4", - "ts-proto": "^1.174.0", + "ts-proto": "^1.180.0", "web-streams-polyfill": "4.0.0" }, "config": { diff --git a/zmk-studio-messages b/zmk-studio-messages index 78594a3..9e67581 160000 --- a/zmk-studio-messages +++ b/zmk-studio-messages @@ -1 +1 @@ -Subproject commit 78594a3500f37495cc6be42cc739c043f1b2533b +Subproject commit 9e67581faede460dbb38410ccb7644ea32472901