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),
|
||||
],
|
||||
define: {
|
||||
// TODO: Rename this property
|
||||
__vendettaVersion: `"${commit}"`,
|
||||
__revengeVersion: `"${commit}"`,
|
||||
},
|
||||
footer: {
|
||||
js: "//# sourceURL=Revenge",
|
||||
|
|
2
src/def.d.ts
vendored
2
src/def.d.ts
vendored
|
@ -511,7 +511,7 @@ interface VendettaPluginObject {
|
|||
|
||||
declare global {
|
||||
type React = typeof _React;
|
||||
const __vendettaVersion: string;
|
||||
const __revengeVersion: string;
|
||||
|
||||
interface Window {
|
||||
[key: Exclude<PropertyKey, number>]: any;
|
||||
|
|
|
@ -13,7 +13,7 @@ import(".").then((m) => m.default()).catch((e) => {
|
|||
"Failed to load Revenge!\n",
|
||||
`Build Number: ${ClientInfoManager.Build}`,
|
||||
// TODO: Rename this
|
||||
`Revenge: ${__vendettaVersion}`,
|
||||
`Revenge: ${__revengeVersion}`,
|
||||
e?.stack || e.toString(),
|
||||
].join("\n"));
|
||||
});
|
||||
|
|
|
@ -59,7 +59,7 @@ export function patchLogHook() {
|
|||
}
|
||||
}
|
||||
|
||||
export const versionHash: string = __vendettaVersion;
|
||||
export const versionHash: string = __revengeVersion;
|
||||
|
||||
export function getDebugInfo() {
|
||||
// Hermes
|
||||
|
|
Loading…
Reference in a new issue