@orderly.network/hooks 1.0.23 → 1.0.25-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -550,7 +550,8 @@ var OrderlyConfigProvider = (props) => {
|
|
|
550
550
|
getWalletAdapter,
|
|
551
551
|
brokerId,
|
|
552
552
|
networkId,
|
|
553
|
-
enableSwapDeposit
|
|
553
|
+
enableSwapDeposit,
|
|
554
|
+
contracts
|
|
554
555
|
} = props;
|
|
555
556
|
if (!brokerId && typeof configStore === "undefined") {
|
|
556
557
|
console.error("[OrderlyConfigProvider]: brokerId is required");
|
|
@@ -570,7 +571,10 @@ var OrderlyConfigProvider = (props) => {
|
|
|
570
571
|
account6 = new Account(
|
|
571
572
|
innerConfigStore,
|
|
572
573
|
innerKeyStore,
|
|
573
|
-
innerGetWalletAdapter
|
|
574
|
+
innerGetWalletAdapter,
|
|
575
|
+
{
|
|
576
|
+
contracts
|
|
577
|
+
}
|
|
574
578
|
);
|
|
575
579
|
SimpleDI.registerByName(Account.instanceName, account6);
|
|
576
580
|
}
|