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.8 to 2.0.0-alpha.9

10

dist/cjs/secondary_bindings.js

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

const BN = __importStar(require("bn.js"));
const bindings_1 = require("./bindings");
const bindings_js_1 = require("./bindings.js");
const spl_token_1 = require("@solana/spl-token");

@@ -336,3 +336,3 @@ /**

Date.now() / 1000) {
ixs.push((0, bindings_1.crank)(pool, programId));
ixs.push((0, bindings_js_1.crank)(pool, programId));
hasCranked = true;

@@ -354,3 +354,3 @@ }

// Create stake account
ixs.push((0, bindings_1.createStakeAccount)(new web3_js_1.PublicKey(pool), user, feePayer, programId));
ixs.push((0, bindings_js_1.createStakeAccount)(new web3_js_1.PublicKey(pool), user, feePayer, programId));
}

@@ -361,7 +361,7 @@ if (stakeAccount &&

hasCranked)) {
ixs.push(yield (0, bindings_1.claimRewards)(connection, user, pool, programId));
ixs.push(yield (0, bindings_js_1.claimRewards)(connection, user, pool, programId));
}
ixs.push(yield (0, bindings_1.stake)(connection, user, pool, amount * Math.pow(10, 6), programId));
ixs.push(yield (0, bindings_js_1.stake)(connection, user, pool, amount * Math.pow(10, 6), programId));
return ixs;
});
exports.fullLock = fullLock;

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

import * as BN from "bn.js";
import { claimRewards, crank, createStakeAccount, stake } from "./bindings";
import { claimRewards, crank, createStakeAccount, stake } from "./bindings.js";
import { createTransferInstruction, getAssociatedTokenAddressSync } from "@solana/spl-token";

@@ -16,0 +16,0 @@ /**

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

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

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