node_modules: update (#362)

Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com>
This commit is contained in:
Dawid Dziurlaanddawidd6 authored and GitHub committed 2026-11-11 07:38:40 +01:00
1 parent 4a48500d96
commit aefdaa6a6c
49 files changed
+1316 -295

No files matched your search

+9
View File
@@ -26,6 +26,7 @@ export const ERROR_CODES = {
EMESSAGE: 'Message delivery error',
EOTP: 'Invalid one-time passcode data (otp option)',
ESTREAM: 'Stream processing error',
EABORT: 'Message sending aborted',
// Authentication errors
EAUTH: 'Authentication failed',
ENOAUTH: 'Authentication credentials not provided',
@@ -55,6 +56,7 @@ export const EENVELOPE = 'EENVELOPE';
export const EMESSAGE = 'EMESSAGE';
export const EOTP = 'EOTP';
export const ESTREAM = 'ESTREAM';
export const EABORT = 'EABORT';
export const EAUTH = 'EAUTH';
export const ENOAUTH = 'ENOAUTH';
export const EOAUTH2 = 'EOAUTH2';
@@ -67,6 +69,13 @@ export const EPROXY = 'EPROXY';
export const EFILEACCESS = 'EFILEACCESS';
export const EURLACCESS = 'EURLACCESS';
export const EFETCH = 'EFETCH';
/** Creates the error reported when a caller cancels an individual send. @internal */
export const createAbortError = (signal) => {
const err = new Error('Message sending aborted', { cause: signal.reason });
err.name = 'AbortError';
err.code = EABORT;
return err;
};
/**
* Tells whether the error ended the connection rather than rejected what was sent over it
*/