import GboxSDK from "gbox-sdk";
const gboxSDK = new GboxSDK({
apiKey: process.env["GBOX_API_KEY"] // This is the default and can be omitted
});
async function main() {
const box = await gboxSDK.create({ type: "linux" });
// Set box resolution
const newResolution = await box.resolution.set({ width: 1024, height: 768 });
console.log("New resolution:", newResolution);
}
main();