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

@accessprotocol/js

Package Overview
Dependencies
Maintainers
3
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@accessprotocol/js - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

4

dist/cjs/secondary_bindings.js

@@ -494,3 +494,3 @@ "use strict";

*/
const fullUserRewardClaim = (connection, user, feePayer, feePayerCompensation = 0, programId = state_js_1.ACCESS_PROGRAM_ID, poolOffsets = undefined) => __awaiter(void 0, void 0, void 0, function* () {
const fullUserRewardClaim = (connection, user, feePayer, feePayerCompensation = 0, programId = state_js_1.ACCESS_PROGRAM_ID, poolOffsets = undefined, tokenAccountFeepayer = feePayer) => __awaiter(void 0, void 0, void 0, function* () {
const filters = [

@@ -564,3 +564,3 @@ {

if (!userATAInfo) {
preClaimIxs.push((0, spl_token_1.createAssociatedTokenAccountInstruction)(feePayer, userATA, user, centralState.tokenMint));
preClaimIxs.push((0, spl_token_1.createAssociatedTokenAccountInstruction)(tokenAccountFeepayer, userATA, user, centralState.tokenMint));
if (feePayerCompensation > 0) {

@@ -567,0 +567,0 @@ const from = user;

@@ -130,3 +130,3 @@ import { Connection, PublicKey, TransactionInstruction } from "@solana/web3.js";

*/
export declare const fullUserRewardClaim: (connection: Connection, user: PublicKey, feePayer: PublicKey, feePayerCompensation?: number, programId?: PublicKey, poolOffsets?: Map<string, number> | undefined) => Promise<[TransactionInstruction[], TransactionInstruction[]]>;
export declare const fullUserRewardClaim: (connection: Connection, user: PublicKey, feePayer: PublicKey, feePayerCompensation?: number, programId?: PublicKey, poolOffsets?: Map<string, number> | undefined, tokenAccountFeepayer?: PublicKey) => Promise<[TransactionInstruction[], TransactionInstruction[]]>;
//# sourceMappingURL=secondary_bindings.d.ts.map

@@ -455,3 +455,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

*/
export const fullUserRewardClaim = (connection, user, feePayer, feePayerCompensation = 0, programId = ACCESS_PROGRAM_ID, poolOffsets = undefined) => __awaiter(void 0, void 0, void 0, function* () {
export const fullUserRewardClaim = (connection, user, feePayer, feePayerCompensation = 0, programId = ACCESS_PROGRAM_ID, poolOffsets = undefined, tokenAccountFeepayer = feePayer) => __awaiter(void 0, void 0, void 0, function* () {
const filters = [

@@ -525,3 +525,3 @@ {

if (!userATAInfo) {
preClaimIxs.push(createAssociatedTokenAccountInstruction(feePayer, userATA, user, centralState.tokenMint));
preClaimIxs.push(createAssociatedTokenAccountInstruction(tokenAccountFeepayer, userATA, user, centralState.tokenMint));
if (feePayerCompensation > 0) {

@@ -528,0 +528,0 @@ const from = user;

@@ -130,3 +130,3 @@ import { Connection, PublicKey, TransactionInstruction } from "@solana/web3.js";

*/
export declare const fullUserRewardClaim: (connection: Connection, user: PublicKey, feePayer: PublicKey, feePayerCompensation?: number, programId?: PublicKey, poolOffsets?: Map<string, number> | undefined) => Promise<[TransactionInstruction[], TransactionInstruction[]]>;
export declare const fullUserRewardClaim: (connection: Connection, user: PublicKey, feePayer: PublicKey, feePayerCompensation?: number, programId?: PublicKey, poolOffsets?: Map<string, number> | undefined, tokenAccountFeepayer?: PublicKey) => Promise<[TransactionInstruction[], TransactionInstruction[]]>;
//# sourceMappingURL=secondary_bindings.d.ts.map
{
"name": "@accessprotocol/js",
"version": "2.1.0",
"version": "2.1.1",
"license": "MIT",

@@ -5,0 +5,0 @@ "type": "module",

Sorry, the diff of this file is not supported yet

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