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.31 to 2.0.0-alpha.32

5

dist/cjs/secondary_bindings.js

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

*/
const getActiveRoyaltyPayers = (connection, recipient, programId) => __awaiter(void 0, void 0, void 0, function* () {
const getActiveRoyaltyPayers = (connection, recipient, currentTimestamp, programId) => __awaiter(void 0, void 0, void 0, function* () {
let tokenMint = state_js_1.ACCESS_MINT;

@@ -222,3 +222,4 @@ if (programId !== state_js_1.ACCESS_PROGRAM_ID) {

filters,
})).map(e => state_js_1.RoyaltyAccount.deserialize(e.account.data));
})).map(e => state_js_1.RoyaltyAccount.deserialize(e.account.data))
.filter(e => e.expirationDate.toNumber() > currentTimestamp);
});

@@ -225,0 +226,0 @@ exports.getActiveRoyaltyPayers = getActiveRoyaltyPayers;

2

dist/cjs/types/secondary_bindings.d.ts

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

*/
export declare const getActiveRoyaltyPayers: (connection: Connection, recipient: PublicKey, programId: PublicKey) => Promise<RoyaltyAccount[]>;
export declare const getActiveRoyaltyPayers: (connection: Connection, recipient: PublicKey, currentTimestamp: number, programId: PublicKey) => Promise<RoyaltyAccount[]>;
/**

@@ -60,0 +60,0 @@ * This function can be used to retrieve all the inactive bonds

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

*/
export const getActiveRoyaltyPayers = (connection, recipient, programId) => __awaiter(void 0, void 0, void 0, function* () {
export const getActiveRoyaltyPayers = (connection, recipient, currentTimestamp, programId) => __awaiter(void 0, void 0, void 0, function* () {
let tokenMint = ACCESS_MINT;

@@ -190,3 +190,4 @@ if (programId !== ACCESS_PROGRAM_ID) {

filters,
})).map(e => RoyaltyAccount.deserialize(e.account.data));
})).map(e => RoyaltyAccount.deserialize(e.account.data))
.filter(e => e.expirationDate.toNumber() > currentTimestamp);
});

@@ -193,0 +194,0 @@ /**

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

*/
export declare const getActiveRoyaltyPayers: (connection: Connection, recipient: PublicKey, programId: PublicKey) => Promise<RoyaltyAccount[]>;
export declare const getActiveRoyaltyPayers: (connection: Connection, recipient: PublicKey, currentTimestamp: number, programId: PublicKey) => Promise<RoyaltyAccount[]>;
/**

@@ -60,0 +60,0 @@ * This function can be used to retrieve all the inactive bonds

{
"name": "@accessprotocol/js",
"version": "2.0.0-alpha.31",
"version": "2.0.0-alpha.32",
"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