Skip to content

Commit

Permalink
chore(deps): update dependency typescript to ^5.7.2
Browse files Browse the repository at this point in the history
Signed-off-by: Max <[email protected]>
  • Loading branch information
renovate[bot] authored and max-nextcloud committed Dec 17, 2024
1 parent 10521df commit b3980ff
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
"raw-loader": "^4.0.2",
"rollup-plugin-webpack-stats": "^1.1.1",
"ts-jest": "^29.2.5",
"typescript": "^5.6.3",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"vite-plugin-commonjs": "^0.10.4",
"vue-demi": "^0.14.10",
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/base64.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ export function encodeArrayBuffer(data: ArrayBuffer): string {
*
* @param {string} encoded - base64 encoded string to decode
*/
export function decodeArrayBuffer(encoded: string): ArrayBuffer {
export function decodeArrayBuffer(encoded: string): Uint8Array {
return fromBase64(encoded)
}
2 changes: 1 addition & 1 deletion src/services/Outbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default class Outbox {
#syncUpdate = ''
#syncQuery = ''

storeStep(step: Uint8Array) {
storeStep(step: ArrayBuffer) {
const encoded = encodeArrayBuffer(step)
if (encoded < 'AAA' || encoded > 'Ag') {
logger.warn('Unexpected step type:', { step, encoded })
Expand Down

0 comments on commit b3980ff

Please sign in to comment.