chore!: rename __vendettaVersion
constant to __revengeVersion
This commit is contained in:
parent
e5d834fdbc
commit
094ff7c879
4 changed files with 4 additions and 5 deletions
|
@ -44,8 +44,7 @@ try {
|
||||||
alias(aliases),
|
alias(aliases),
|
||||||
],
|
],
|
||||||
define: {
|
define: {
|
||||||
// TODO: Rename this property
|
__revengeVersion: `"${commit}"`,
|
||||||
__vendettaVersion: `"${commit}"`,
|
|
||||||
},
|
},
|
||||||
footer: {
|
footer: {
|
||||||
js: "//# sourceURL=Revenge",
|
js: "//# sourceURL=Revenge",
|
||||||
|
|
2
src/def.d.ts
vendored
2
src/def.d.ts
vendored
|
@ -511,7 +511,7 @@ interface VendettaPluginObject {
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
type React = typeof _React;
|
type React = typeof _React;
|
||||||
const __vendettaVersion: string;
|
const __revengeVersion: string;
|
||||||
|
|
||||||
interface Window {
|
interface Window {
|
||||||
[key: Exclude<PropertyKey, number>]: any;
|
[key: Exclude<PropertyKey, number>]: any;
|
||||||
|
|
|
@ -13,7 +13,7 @@ import(".").then((m) => m.default()).catch((e) => {
|
||||||
"Failed to load Revenge!\n",
|
"Failed to load Revenge!\n",
|
||||||
`Build Number: ${ClientInfoManager.Build}`,
|
`Build Number: ${ClientInfoManager.Build}`,
|
||||||
// TODO: Rename this
|
// TODO: Rename this
|
||||||
`Revenge: ${__vendettaVersion}`,
|
`Revenge: ${__revengeVersion}`,
|
||||||
e?.stack || e.toString(),
|
e?.stack || e.toString(),
|
||||||
].join("\n"));
|
].join("\n"));
|
||||||
});
|
});
|
||||||
|
|
|
@ -59,7 +59,7 @@ export function patchLogHook() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export const versionHash: string = __vendettaVersion;
|
export const versionHash: string = __revengeVersion;
|
||||||
|
|
||||||
export function getDebugInfo() {
|
export function getDebugInfo() {
|
||||||
// Hermes
|
// Hermes
|
||||||
|
|
Loading…
Reference in a new issue