aboutsummaryrefslogtreecommitdiff
path: root/src/api/schema.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/schema.js')
-rw-r--r--src/api/schema.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/api/schema.js b/src/api/schema.js
index 6fb4b1d8d..38f30156b 100644
--- a/src/api/schema.js
+++ b/src/api/schema.js
@@ -3038,6 +3038,10 @@ function decodeBunInstall(bb) {
result["exact"] = !!bb.readByte();
break;
+ case 21:
+ result["use_github_api"] = !!bb.readByte();
+ break;
+
default:
throw new Error("Attempted to parse invalid message");
}
@@ -3170,6 +3174,12 @@ function encodeBunInstall(message, bb) {
bb.writeByte(20);
bb.writeByte(value);
}
+
+ var value = message["use_github_api"];
+ if (value != null) {
+ bb.writeByte(21);
+ bb.writeByte(value);
+ }
bb.writeByte(0);
}