From e8fed5e2b20285efa6be056d5ca78f2d83dd208b Mon Sep 17 00:00:00 2001 From: Lee <31384409+zygopleural@users.noreply.github.com> Date: Fri, 13 Jun 2025 11:08:49 +0100 Subject: [PATCH 1/2] Change _makeQuery from private to protected --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 2c06c5a..e669c01 100644 --- a/src/index.ts +++ b/src/index.ts @@ -285,7 +285,7 @@ class LoopsClient { * @param {Object} params.payload Payload for PUT and POST requests * @param {Object} params.params URL query parameters */ - private async _makeQuery({ + protected async _makeQuery({ path, method = "GET", headers, From 1ae883b900eb90d9d2d37ce0ad60cdf50e3662d3 Mon Sep 17 00:00:00 2001 From: Lee <31384409+zygopleural@users.noreply.github.com> Date: Fri, 13 Jun 2025 11:38:28 +0100 Subject: [PATCH 2/2] Export QueryOptions --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index e669c01..7a1979b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -685,4 +685,5 @@ export { TransactionalEmail, ListTransactionalsResponse, MailingLists, + QueryOptions, };