@gearbox-protocol/sdk 3.0.0-vfour.163 → 3.0.0-vfour.164
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/cjs/dev/index.cjs +1 -0
- package/dist/esm/dev/index.mjs +1 -0
- package/package.json +1 -1
package/dist/cjs/dev/index.cjs
CHANGED
|
@@ -84,6 +84,7 @@ var AccountOpener = class {
|
|
|
84
84
|
const cm = this.sdk.marketRegister.findCreditManager(c.creditManager);
|
|
85
85
|
const toApproveOnCM = toApprove.get(c.creditManager) ?? /* @__PURE__ */ new Set();
|
|
86
86
|
toApproveOnCM.add(cm.underlying);
|
|
87
|
+
toApprove.upsert(c.creditManager, toApproveOnCM);
|
|
87
88
|
}
|
|
88
89
|
for (const [cmAddr, tokens] of toApprove.entries()) {
|
|
89
90
|
const cm = this.sdk.marketRegister.findCreditManager(cmAddr);
|
package/dist/esm/dev/index.mjs
CHANGED
|
@@ -82,6 +82,7 @@ var AccountOpener = class {
|
|
|
82
82
|
const cm = this.sdk.marketRegister.findCreditManager(c.creditManager);
|
|
83
83
|
const toApproveOnCM = toApprove.get(c.creditManager) ?? /* @__PURE__ */ new Set();
|
|
84
84
|
toApproveOnCM.add(cm.underlying);
|
|
85
|
+
toApprove.upsert(c.creditManager, toApproveOnCM);
|
|
85
86
|
}
|
|
86
87
|
for (const [cmAddr, tokens] of toApprove.entries()) {
|
|
87
88
|
const cm = this.sdk.marketRegister.findCreditManager(cmAddr);
|