From 7913a487f540a049ff0532fc315db4614ff27604 Mon Sep 17 00:00:00 2001 From: MorganDream Date: Mon, 2 Dec 2019 15:23:27 +0800 Subject: [PATCH] for neo-unified-dapi --- src/index.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 8f09db2..31865bc 100644 --- a/src/index.ts +++ b/src/index.ts @@ -11,7 +11,7 @@ const { setNodeJSOverrides, } = o3dapi; -export default { +const neoDapiInstantance = { ...o3dapi.NEO, utils, openO3, @@ -19,3 +19,11 @@ export default { setReactNativeOverrides, setNodeJSOverrides, }; + +export default { + ...neoDapiInstantance, + NEO: { + ...neoDapiInstantance, + EVENT: neoDapiInstantance.Constants.EventName + } +} \ No newline at end of file