mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +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
-2
@@ -13,8 +13,7 @@
|
|||||||
"build:catalogitemaccesssor": "cd packages/scripts && bun run build:catalogitemaccesssor",
|
"build:catalogitemaccesssor": "cd packages/scripts && bun run build:catalogitemaccesssor",
|
||||||
"build:protos": "cd packages/scripts && bun run build:protos",
|
"build:protos": "cd packages/scripts && bun run build:protos",
|
||||||
"lint": "tsc",
|
"lint": "tsc",
|
||||||
"lint:website": "cd packages/website-ue && bun run lint",
|
"lint:website": "cd packages/website-ue && bun run lint"
|
||||||
"download:protos": "cd packages/scripts && bun run download:protos"
|
|
||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
|
|||||||
+1
-1
Submodule packages/closed updated: 03da56e300...ea13d6f193.
@@ -47,8 +47,7 @@
|
|||||||
"build:proxyclient": "bun src/buildProxyClient.ts",
|
"build:proxyclient": "bun src/buildProxyClient.ts",
|
||||||
"build:catalogitemaccesssor": "bun src/buildCatalogItemAccessor.ts",
|
"build:catalogitemaccesssor": "bun src/buildCatalogItemAccessor.ts",
|
||||||
"build:protos": "bun src/protos.ts",
|
"build:protos": "bun src/protos.ts",
|
||||||
"patchnotes": "bun src/patchNotes.ts",
|
"patchnotes": "bun src/patchNotes.ts"
|
||||||
"download:protos": "bun src/downloadProtos.ts"
|
|
||||||
},
|
},
|
||||||
"type": "module"
|
"type": "module"
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
import { readdir, readFile, writeFile } from "fs/promises";
|
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 TARGET = "../../packages/closed/src/unreal/catalogItemAccessor.ts";
|
||||||
|
|
||||||
const componentPattern = /^message (\w+)Component {/gm;
|
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