update imports

This commit is contained in:
tresabhi committed 2026-05-15 22:52:25 -05:00
1 parent f550386fd9
commit a834d48a38
5 files changed
+4 -18

No files matched your search

+1 -2
View File
@@ -13,8 +13,7 @@
"build:catalogitemaccesssor": "cd packages/scripts && bun run build:catalogitemaccesssor",
"build:protos": "cd packages/scripts && bun run build:protos",
"lint": "tsc",
"lint:website": "cd packages/website-ue && bun run lint",
"download:protos": "cd packages/scripts && bun run download:protos"
"lint:website": "cd packages/website-ue && bun run lint"
},
"type": "module",
"workspaces": [
+1 -2
View File
@@ -47,8 +47,7 @@
"build:proxyclient": "bun src/buildProxyClient.ts",
"build:catalogitemaccesssor": "bun src/buildCatalogItemAccessor.ts",
"build:protos": "bun src/protos.ts",
"patchnotes": "bun src/patchNotes.ts",
"download:protos": "bun src/downloadProtos.ts"
"patchnotes": "bun src/patchNotes.ts"
},
"type": "module"
}
@@ -1,6 +1,6 @@
import { readdir, readFile, writeFile } from "fs/promises";
const SOURCES = "../../packages/closed/protos/game/proto/legacy";
const SOURCES = "../../packages/closed/protos/blitz";
const TARGET = "../../packages/closed/src/unreal/catalogItemAccessor.ts";
const componentPattern = /^message (\w+)Component {/gm;
-12
View File
@@ -1,12 +0,0 @@
import { ProxyClient } from "@blitzkit/closed";
import { assertSecret } from "@blitzkit/core";
const proxyClient = await new ProxyClient(
assertSecret(import.meta.env.WOTB_SERVER),
).handshake(assertSecret(import.meta.env.WOTB_VERSION));
const hashes = await proxyClient.GetProtoHashes({});
console.log(hashes);
proxyClient.close();