From 55008b575ce58e7c29d8e89eb75d95afc651eb2d Mon Sep 17 00:00:00 2001 From: DitFranXX <45893338+DitFranXX@users.noreply.github.com> Date: Wed, 28 Apr 2021 13:27:58 +0900 Subject: [PATCH 1/2] Fix TS2737 on SDVX plugin TS2737: BigInt literals are not available when targeting lower than ES2020. --- sdvx@asphyxia/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdvx@asphyxia/index.ts b/sdvx@asphyxia/index.ts index 0e23872..dabea66 100644 --- a/sdvx@asphyxia/index.ts +++ b/sdvx@asphyxia/index.ts @@ -67,7 +67,7 @@ export function register() { MultiRoute('entry_e', true); MultiRoute('exception', true); R.Route('eventlog.write', (_, __, send) => send.object({ - gamesession: K.ITEM('s64', 1n), + gamesession: K.ITEM('s64', BigInt(1)), logsendflg: K.ITEM('s32', 0), logerrlevel: K.ITEM('s32', 0), evtidnosendflg: K.ITEM('s32', 0) From 18b82eb86ed211629cb459810b8e047ae33b2ca2 Mon Sep 17 00:00:00 2001 From: Freddie Wang Date: Sun, 2 May 2021 19:54:02 +0800 Subject: [PATCH 2/2] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 8c17513..299e483 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ I don't actually follow any coding rules for this jank so neither should you. Th I'll do my best to merge PR, but please make sure you are submitting code targeted for "public" releases. (Unless it is some ancient rare stuff and you feel generous enough to provide support for it) - For new plugins: please use `@asphyxia` identifier for your plugin since you are submitting code as the community. + - This way we prevent third-party plugins (e.g. `popn` or `popn@someoneelse`) from conflicting with our database. - For existing plugins: please inlude a changelog in your PR so it is easier for me to tell what it is for. ## How do I make plugins?