From 2a46de892cc87db103a37781ecfd2f9ccd773af2 Mon Sep 17 00:00:00 2001 From: Ryan Goulding Date: Mon, 4 Nov 2024 14:03:48 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=B2=20call=20configureOAppDelegates=20?= =?UTF-8?q?configurator=20last=20(#971)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ryan Goulding --- .changeset/good-islands-divide.md | 5 +++++ packages/ua-devtools/src/oapp/config.ts | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/good-islands-divide.md diff --git a/.changeset/good-islands-divide.md b/.changeset/good-islands-divide.md new file mode 100644 index 000000000..e6fe856d8 --- /dev/null +++ b/.changeset/good-islands-divide.md @@ -0,0 +1,5 @@ +--- +"@layerzerolabs/ua-devtools": patch +--- + +Fixes configureOAppDelegates configurator ordering diff --git a/packages/ua-devtools/src/oapp/config.ts b/packages/ua-devtools/src/oapp/config.ts index 85d028b01..89ff29f02 100644 --- a/packages/ua-devtools/src/oapp/config.ts +++ b/packages/ua-devtools/src/oapp/config.ts @@ -618,7 +618,6 @@ const enforcedOptionsReducer = ( export const configureOApp: OAppConfigurator = withOAppLogger( createConfigureMultiple( - configureOAppDelegates, configureOAppPeers, configureSendLibraries, configureReceiveLibraries, @@ -626,7 +625,8 @@ export const configureOApp: OAppConfigurator = withOAppLogger( configureSendConfig, configureReceiveConfig, configureEnforcedOptions, - configureCallerBpsCap + configureCallerBpsCap, + configureOAppDelegates ), { onStart: (logger) => logger.info(`Checking OApp configuration`),