From 5e32e6fd395ba7d64f7e68c927558ac88b2b3c88 Mon Sep 17 00:00:00 2001 From: Bret Ambrose Date: Thu, 29 Aug 2024 13:59:27 -0700 Subject: [PATCH] Re-Export ICrtError (#500) * Export ICrtError --------- Co-authored-by: Bret Ambrose --- lib/browser.ts | 6 ++++-- lib/index.ts | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/browser.ts b/lib/browser.ts index 9202f206..0c958165 100644 --- a/lib/browser.ts +++ b/lib/browser.ts @@ -22,7 +22,8 @@ import { iot, mqtt, mqtt5, - CrtError + CrtError, + ICrtError } from 'aws-crt/dist.browser/browser'; export { @@ -36,5 +37,6 @@ export { iotshadow, mqtt, mqtt5, - CrtError + CrtError, + ICrtError } diff --git a/lib/index.ts b/lib/index.ts index db51661a..a94306e3 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -28,7 +28,8 @@ import { iot, mqtt, mqtt5, - CrtError + CrtError, + ICrtError } from 'aws-crt'; export { @@ -44,5 +45,6 @@ export { iotshadow, mqtt, mqtt5, - CrtError + CrtError, + ICrtError }