From cee3dd3d31fba0e907f76dd8277f798c074cad5e Mon Sep 17 00:00:00 2001 From: owenpearson Date: Wed, 17 Apr 2024 10:02:06 +0100 Subject: [PATCH] fix: export ErrorInfo as named export in web entrypoint this allows the ErrorInfo export to be accessed as a named export in ESM and when using commonjs interop --- src/platform/web/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/web/index.ts b/src/platform/web/index.ts index 23058f188..f262373c8 100644 --- a/src/platform/web/index.ts +++ b/src/platform/web/index.ts @@ -45,7 +45,7 @@ if (Platform.Config.agent) { Platform.Defaults.agent += ' ' + Platform.Config.agent; } -export { DefaultRest as Rest, DefaultRealtime as Realtime, msgpack, protocolMessageFromDeserialized }; +export { DefaultRest as Rest, DefaultRealtime as Realtime, msgpack, protocolMessageFromDeserialized, ErrorInfo }; export default { ErrorInfo,