@pyron-finance/pyron-client 2.9.0 → 2.9.2
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.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -26306,7 +26306,7 @@ var LendrAccountWrapper = class _LendrAccountWrapper {
|
|
|
26306
26306
|
"[lendr:lendr-account:borrowWithSession] Borrowing from lendr account"
|
|
26307
26307
|
);
|
|
26308
26308
|
const { instructions: instructions2 } = await this.makeBorrowWithSessionIx(amount, bankAddress, session, borrowOpts);
|
|
26309
|
-
const txResult = await session.sendTransaction(instructions2
|
|
26309
|
+
const txResult = await session.sendTransaction(instructions2);
|
|
26310
26310
|
this.client.logger.debug(
|
|
26311
26311
|
{ address: this.address.toBase58(), txResult },
|
|
26312
26312
|
"[lendr:lendr-account:borrowWithSession] Borrowing successful"
|
|
@@ -27724,7 +27724,7 @@ var LendrClient = class _LendrClient {
|
|
|
27724
27724
|
*/
|
|
27725
27725
|
async createLendrAccountWithSession(session, commitment, accountIndex = 0, thirdPartyId) {
|
|
27726
27726
|
const { instructions: instructions2 } = await this.makeCreateLendrAccountWithSessionIx(session, accountIndex, thirdPartyId);
|
|
27727
|
-
const txResult = await session.sendTransaction(instructions2
|
|
27727
|
+
const txResult = await session.sendTransaction(instructions2);
|
|
27728
27728
|
this.logger.debug({ txResult }, "Created Lendr account (using session)");
|
|
27729
27729
|
const thirdPartyIdValue = thirdPartyId ?? 0;
|
|
27730
27730
|
const [accountPublicKey] = import_web332.PublicKey.findProgramAddressSync(
|
package/dist/index.js
CHANGED
|
@@ -26146,7 +26146,7 @@ var LendrAccountWrapper = class _LendrAccountWrapper {
|
|
|
26146
26146
|
"[lendr:lendr-account:borrowWithSession] Borrowing from lendr account"
|
|
26147
26147
|
);
|
|
26148
26148
|
const { instructions: instructions2 } = await this.makeBorrowWithSessionIx(amount, bankAddress, session, borrowOpts);
|
|
26149
|
-
const txResult = await session.sendTransaction(instructions2
|
|
26149
|
+
const txResult = await session.sendTransaction(instructions2);
|
|
26150
26150
|
this.client.logger.debug(
|
|
26151
26151
|
{ address: this.address.toBase58(), txResult },
|
|
26152
26152
|
"[lendr:lendr-account:borrowWithSession] Borrowing successful"
|
|
@@ -27564,7 +27564,7 @@ var LendrClient = class _LendrClient {
|
|
|
27564
27564
|
*/
|
|
27565
27565
|
async createLendrAccountWithSession(session, commitment, accountIndex = 0, thirdPartyId) {
|
|
27566
27566
|
const { instructions: instructions2 } = await this.makeCreateLendrAccountWithSessionIx(session, accountIndex, thirdPartyId);
|
|
27567
|
-
const txResult = await session.sendTransaction(instructions2
|
|
27567
|
+
const txResult = await session.sendTransaction(instructions2);
|
|
27568
27568
|
this.logger.debug({ txResult }, "Created Lendr account (using session)");
|
|
27569
27569
|
const thirdPartyIdValue = thirdPartyId ?? 0;
|
|
27570
27570
|
const [accountPublicKey] = PublicKey29.findProgramAddressSync(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pyron-finance/pyron-client",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.2",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@coral-xyz/anchor": "^0.30.1",
|
|
50
50
|
"@coral-xyz/borsh": "^0.30.1",
|
|
51
|
-
"@fogo/sessions-sdk": "^0.1.
|
|
51
|
+
"@fogo/sessions-sdk": "^0.1.4",
|
|
52
52
|
"@metaplex-foundation/mpl-token-metadata": "^3.4.0",
|
|
53
53
|
"@metaplex-foundation/umi": "^1.4.1",
|
|
54
54
|
"@metaplex-foundation/umi-bundle-defaults": "^1.4.1",
|