Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@everlend/general-pool

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@everlend/general-pool - npm Package Compare versions

Comparing version 0.0.21 to 0.0.22

5

dist/actions.js

@@ -93,2 +93,7 @@ "use strict";

destination = destination !== null && destination !== void 0 ? destination : (yield (0, common_1.findAssociatedTokenAccount)(payerPublicKey, poolMint));
!(yield connection.getAccountInfo(destination)) &&
tx.add(new common_1.CreateAssociatedTokenAccount({ feePayer: payerPublicKey }, {
associatedTokenAddress: destination,
tokenMint: poolMint,
}));
tx.add(new transactions_1.DepositTx({ feePayer: payerPublicKey }, {

@@ -95,0 +100,0 @@ registryPoolConfig,

2

package.json
{
"name": "@everlend/general-pool",
"version": "0.0.21",
"version": "0.0.22",
"license": "MIT",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -210,2 +210,12 @@ import { AccountLayout, MintLayout, TOKEN_PROGRAM_ID, NATIVE_MINT, Token } from '@solana/spl-token'

destination = destination ?? (await findAssociatedTokenAccount(payerPublicKey, poolMint))
!(await connection.getAccountInfo(destination)) &&
tx.add(
new CreateAssociatedTokenAccount(
{ feePayer: payerPublicKey },
{
associatedTokenAddress: destination,
tokenMint: poolMint,
},
),
)

@@ -212,0 +222,0 @@ tx.add(

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc