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.0.0-alpha.35 to 2.0.0-alpha.36

2

dist/cjs/state.js

@@ -604,2 +604,2 @@ "use strict";

exports.ACCESS_PROGRAM_ID = new web3_js_1.PublicKey("6HW8dXjtiTGkD4jzXs7igdFmZExPpmwUrRN5195xGup");
exports.ACCESS_NFT_PROGRAM_SIGNER = new web3_js_1.PublicKey("AF7bqw2GjPPX25nWNRYtDpNALMp9B4D9FEaFekur2LEr");
exports.ACCESS_NFT_PROGRAM_SIGNER = new web3_js_1.PublicKey("97VhuEes8ExokBvG7hxyexpFPGzZu18SZERVKseqVV9");

@@ -0,1 +1,2 @@

/// <reference types="node" />
import { Connection, PublicKey, TransactionInstruction } from "@solana/web3.js";

@@ -11,3 +12,6 @@ import { CentralStateV2, RoyaltyAccount, StakeAccount, StakePool } from "./state.js";

*/
export declare const getStakeAccounts: (connection: Connection, owner: PublicKey, programId: PublicKey) => Promise<import("@solana/web3.js").GetProgramAccountsResponse>;
export declare const getStakeAccounts: (connection: Connection, owner: PublicKey, programId: PublicKey) => Promise<{
pubkey: PublicKey;
account: import("@solana/web3.js").AccountInfo<Buffer>;
}[]>;
/**

@@ -20,3 +24,6 @@ * This function can be used to find all stake pools of a user

*/
export declare const getStakePools: (connection: Connection, owner: PublicKey, programId: PublicKey) => Promise<import("@solana/web3.js").GetProgramAccountsResponse>;
export declare const getStakePools: (connection: Connection, owner: PublicKey, programId: PublicKey) => Promise<{
pubkey: PublicKey;
account: import("@solana/web3.js").AccountInfo<Buffer>;
}[]>;
/**

@@ -29,3 +36,6 @@ * This function can be used to find all bonds of a user

*/
export declare const getBondAccounts: (connection: Connection, owner: PublicKey, programId: PublicKey) => Promise<import("@solana/web3.js").GetProgramAccountsResponse>;
export declare const getBondAccounts: (connection: Connection, owner: PublicKey, programId: PublicKey) => Promise<{
pubkey: PublicKey;
account: import("@solana/web3.js").AccountInfo<Buffer>;
}[]>;
/**

@@ -38,3 +48,6 @@ * This function can be used to find all bondV2s of a user

*/
export declare const getBondV2Accounts: (connection: Connection, owner: PublicKey, programId: PublicKey) => Promise<import("@solana/web3.js").GetProgramAccountsResponse>;
export declare const getBondV2Accounts: (connection: Connection, owner: PublicKey, programId: PublicKey) => Promise<{
pubkey: PublicKey;
account: import("@solana/web3.js").AccountInfo<Buffer>;
}[]>;
/**

@@ -46,3 +59,6 @@ * This function can be used to retrieve all the stake pools

*/
export declare const getAllStakePools: (connection: Connection, programId: PublicKey) => Promise<import("@solana/web3.js").GetProgramAccountsResponse>;
export declare const getAllStakePools: (connection: Connection, programId: PublicKey) => Promise<{
pubkey: PublicKey;
account: import("@solana/web3.js").AccountInfo<Buffer>;
}[]>;
/**

@@ -54,3 +70,6 @@ * This function can be used to retrieve all the inactive stake pools

*/
export declare const getAllInactiveStakePools: (connection: Connection, programId: PublicKey) => Promise<import("@solana/web3.js").GetProgramAccountsResponse>;
export declare const getAllInactiveStakePools: (connection: Connection, programId: PublicKey) => Promise<{
pubkey: PublicKey;
account: import("@solana/web3.js").AccountInfo<Buffer>;
}[]>;
/**

@@ -71,3 +90,6 @@ * This function can be used to retrieve the Royalty accounts of all people paying royalties to the recipient

*/
export declare const getAllInactiveBonds: (connection: Connection, programId: PublicKey) => Promise<import("@solana/web3.js").GetProgramAccountsResponse>;
export declare const getAllInactiveBonds: (connection: Connection, programId: PublicKey) => Promise<{
pubkey: PublicKey;
account: import("@solana/web3.js").AccountInfo<Buffer>;
}[]>;
/**

@@ -79,3 +101,6 @@ * This function can be used to retrieve all the active bonds

*/
export declare const getAllActiveBonds: (connection: Connection, programId: PublicKey) => Promise<import("@solana/web3.js").GetProgramAccountsResponse>;
export declare const getAllActiveBonds: (connection: Connection, programId: PublicKey) => Promise<{
pubkey: PublicKey;
account: import("@solana/web3.js").AccountInfo<Buffer>;
}[]>;
/**

@@ -82,0 +107,0 @@ * This function can be used to get locked amount for specific pool (stake + bonds)

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

export const ACCESS_PROGRAM_ID = new PublicKey("6HW8dXjtiTGkD4jzXs7igdFmZExPpmwUrRN5195xGup");
export const ACCESS_NFT_PROGRAM_SIGNER = new PublicKey("AF7bqw2GjPPX25nWNRYtDpNALMp9B4D9FEaFekur2LEr");
export const ACCESS_NFT_PROGRAM_SIGNER = new PublicKey("97VhuEes8ExokBvG7hxyexpFPGzZu18SZERVKseqVV9");

@@ -0,1 +1,2 @@

/// <reference types="node" />
import { Connection, PublicKey, TransactionInstruction } from "@solana/web3.js";

@@ -11,3 +12,6 @@ import { CentralStateV2, RoyaltyAccount, StakeAccount, StakePool } from "./state.js";

*/
export declare const getStakeAccounts: (connection: Connection, owner: PublicKey, programId: PublicKey) => Promise<import("@solana/web3.js").GetProgramAccountsResponse>;
export declare const getStakeAccounts: (connection: Connection, owner: PublicKey, programId: PublicKey) => Promise<{
pubkey: PublicKey;
account: import("@solana/web3.js").AccountInfo<Buffer>;
}[]>;
/**

@@ -20,3 +24,6 @@ * This function can be used to find all stake pools of a user

*/
export declare const getStakePools: (connection: Connection, owner: PublicKey, programId: PublicKey) => Promise<import("@solana/web3.js").GetProgramAccountsResponse>;
export declare const getStakePools: (connection: Connection, owner: PublicKey, programId: PublicKey) => Promise<{
pubkey: PublicKey;
account: import("@solana/web3.js").AccountInfo<Buffer>;
}[]>;
/**

@@ -29,3 +36,6 @@ * This function can be used to find all bonds of a user

*/
export declare const getBondAccounts: (connection: Connection, owner: PublicKey, programId: PublicKey) => Promise<import("@solana/web3.js").GetProgramAccountsResponse>;
export declare const getBondAccounts: (connection: Connection, owner: PublicKey, programId: PublicKey) => Promise<{
pubkey: PublicKey;
account: import("@solana/web3.js").AccountInfo<Buffer>;
}[]>;
/**

@@ -38,3 +48,6 @@ * This function can be used to find all bondV2s of a user

*/
export declare const getBondV2Accounts: (connection: Connection, owner: PublicKey, programId: PublicKey) => Promise<import("@solana/web3.js").GetProgramAccountsResponse>;
export declare const getBondV2Accounts: (connection: Connection, owner: PublicKey, programId: PublicKey) => Promise<{
pubkey: PublicKey;
account: import("@solana/web3.js").AccountInfo<Buffer>;
}[]>;
/**

@@ -46,3 +59,6 @@ * This function can be used to retrieve all the stake pools

*/
export declare const getAllStakePools: (connection: Connection, programId: PublicKey) => Promise<import("@solana/web3.js").GetProgramAccountsResponse>;
export declare const getAllStakePools: (connection: Connection, programId: PublicKey) => Promise<{
pubkey: PublicKey;
account: import("@solana/web3.js").AccountInfo<Buffer>;
}[]>;
/**

@@ -54,3 +70,6 @@ * This function can be used to retrieve all the inactive stake pools

*/
export declare const getAllInactiveStakePools: (connection: Connection, programId: PublicKey) => Promise<import("@solana/web3.js").GetProgramAccountsResponse>;
export declare const getAllInactiveStakePools: (connection: Connection, programId: PublicKey) => Promise<{
pubkey: PublicKey;
account: import("@solana/web3.js").AccountInfo<Buffer>;
}[]>;
/**

@@ -71,3 +90,6 @@ * This function can be used to retrieve the Royalty accounts of all people paying royalties to the recipient

*/
export declare const getAllInactiveBonds: (connection: Connection, programId: PublicKey) => Promise<import("@solana/web3.js").GetProgramAccountsResponse>;
export declare const getAllInactiveBonds: (connection: Connection, programId: PublicKey) => Promise<{
pubkey: PublicKey;
account: import("@solana/web3.js").AccountInfo<Buffer>;
}[]>;
/**

@@ -79,3 +101,6 @@ * This function can be used to retrieve all the active bonds

*/
export declare const getAllActiveBonds: (connection: Connection, programId: PublicKey) => Promise<import("@solana/web3.js").GetProgramAccountsResponse>;
export declare const getAllActiveBonds: (connection: Connection, programId: PublicKey) => Promise<{
pubkey: PublicKey;
account: import("@solana/web3.js").AccountInfo<Buffer>;
}[]>;
/**

@@ -82,0 +107,0 @@ * This function can be used to get locked amount for specific pool (stake + bonds)

{
"name": "@accessprotocol/js",
"version": "2.0.0-alpha.35",
"version": "2.0.0-alpha.36",
"license": "MIT",

@@ -19,3 +19,2 @@ "type": "module",

"build:cjs": "tsc -p ./tsconfig.cjs.json",
"rename-mjs": "yarn renamer --find \"/\\.js/i\" --replace \".mjs\" --force \"./dist/esm/*\"",
"prepack": "yarn build",

@@ -22,0 +21,0 @@ "lint": "yarn pretty && eslint .",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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