mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 19:19:52 +02:00
update imports
This commit is contained in:
1 parent
f550386fd9
commit
a834d48a38
5 files changed
+4
-18
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
Reference in new issue
Block a user