Skip to content

Commit

Permalink
Fix list_characters related types + bump dependencies (#128)
Browse files Browse the repository at this point in the history
* fix: types associated with list_characters

* chore: bump dependencies

* fix: es build using module node16

* chore: removed some dead code
  • Loading branch information
microwavekonijn authored Jan 28, 2024
1 parent db7adb2 commit a9130bc
Show file tree
Hide file tree
Showing 8 changed files with 1,007 additions and 1,007 deletions.
5 changes: 5 additions & 0 deletions .changeset/nice-kangaroos-swim.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ps2census": patch
---

Bump dependencies
5 changes: 5 additions & 0 deletions .changeset/stupid-chairs-chew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ps2census': minor
---

Fix subscription message and command related dto list_characters
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@
"prepare": "husky install"
},
"dependencies": {
"axios": "1.4.0",
"axios": "1.6.7",
"eventemitter3": "5.0.1",
"isomorphic-ws": "5.0.0",
"ws": "8.13.0"
"ws": "8.16.0"
},
"peerDependencies": {
"bufferutil": "^4.0.7",
Expand All @@ -85,21 +85,21 @@
}
},
"devDependencies": {
"@changesets/changelog-github": "^0.4.8",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.26.2",
"@commitlint/cli": "^17.6.6",
"@commitlint/config-angular": "^17.6.6",
"@commitlint/cli": "^18.6.0",
"@commitlint/config-angular": "^18.6.0",
"@tsconfig/node14": "^14.1.0",
"@types/node": "^14.18.53",
"@types/ws": "^8.5.5",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"concurrently": "^8.2.0",
"dotenv": "^16.3.1",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"husky": "^8.0.2",
"lint-staged": "^13.2.3",
"eslint-config-prettier": "^9.1.0",
"husky": "^9.0.6",
"lint-staged": "^15.2.0",
"prettier": "^3.0.0",
"rimraf": "^5.0.1",
"ts-node": "^10.9.1",
Expand Down
1 change: 1 addition & 0 deletions src/stream/types/command.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export namespace CensusCommands {
)[];
worlds?: string[];
logicalAndCharactersWithWorlds?: boolean;
list_characters?: boolean;
};

export type ClearSubscribe =
Expand Down
2 changes: 1 addition & 1 deletion src/stream/types/messages.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export namespace CensusMessages {
export type Subscription = {
subscription:
| {
characters: ['all'];
characters: ['all'] | string[];
eventNames: (
| 'all'
| PS2EventNames
Expand Down
51 changes: 0 additions & 51 deletions src/utils/events.ts

This file was deleted.

2 changes: 1 addition & 1 deletion tsconfig.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"lib": [
"dom"
],
"module": "esnext",
"module": "Node16",
"outDir": "./dist/es"
}
}
Loading

0 comments on commit a9130bc

Please sign in to comment.