@haven-fi/solauto-sdk 1.0.136 → 1.0.137
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.
@@ -123,10 +123,10 @@ class SolautoClient extends txHandler_1.TxHandler {
|
|
123
123
|
lutAccountsToAdd() {
|
124
124
|
return [
|
125
125
|
this.authority,
|
126
|
-
...(this.signer.publicKey.
|
126
|
+
...((0, umi_web3js_adapters_1.toWeb3JsPublicKey)(this.signer.publicKey).equals(this.authority)
|
127
127
|
? [this.signerSupplyTa]
|
128
128
|
: []),
|
129
|
-
...(this.signer.publicKey.
|
129
|
+
...((0, umi_web3js_adapters_1.toWeb3JsPublicKey)(this.signer.publicKey).equals(this.authority)
|
130
130
|
? [this.signerDebtTa]
|
131
131
|
: []),
|
132
132
|
this.solautoPosition,
|
package/package.json
CHANGED
@@ -260,10 +260,10 @@ export abstract class SolautoClient extends TxHandler {
|
|
260
260
|
lutAccountsToAdd(): PublicKey[] {
|
261
261
|
return [
|
262
262
|
this.authority,
|
263
|
-
...(this.signer.publicKey.
|
263
|
+
...(toWeb3JsPublicKey(this.signer.publicKey).equals(this.authority)
|
264
264
|
? [this.signerSupplyTa]
|
265
265
|
: []),
|
266
|
-
...(this.signer.publicKey.
|
266
|
+
...(toWeb3JsPublicKey(this.signer.publicKey).equals(this.authority)
|
267
267
|
? [this.signerDebtTa]
|
268
268
|
: []),
|
269
269
|
this.solautoPosition,
|