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.15 to 2.0.0-alpha.16

6

dist/cjs/secondary_bindings.js

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

// stake account
case 4:
case state_js_1.Tag.StakeAccount:
const stakeAccount = state_js_1.StakeAccount.deserialize(account.account.data);

@@ -491,3 +491,3 @@ if (stakeAccount.lastClaimedOffset < currentOffset) {

// bond account
case 6:
case state_js_1.Tag.BondAccount:
const bondAccount = state_js_1.BondAccount.deserialize(account.account.data);

@@ -503,3 +503,3 @@ if (bondAccount.lastClaimedOffset < currentOffset) {

// bondV2 account
case 12:
case state_js_1.Tag.BondV2Account:
const bondV2Account = state_js_1.BondV2Account.deserialize(account.account.data);

@@ -506,0 +506,0 @@ if (bondV2Account.lastClaimedOffset < currentOffset) {

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

import { PublicKey } from "@solana/web3.js";
import { ACCESS_MINT, ACCESS_PROGRAM_ID, BondAccount, BondV2Account, CentralStateV2, StakeAccount, StakePool } from "./state.js";
import { ACCESS_MINT, ACCESS_PROGRAM_ID, BondAccount, BondV2Account, CentralStateV2, StakeAccount, StakePool, Tag } from "./state.js";
import * as BN from "bn.js";

@@ -440,3 +440,3 @@ import { addToBondV2, claimBondV2Rewards, claimRewards, crank, createBondV2, createStakeAccount, stake, unstake } from "./bindings.js";

// stake account
case 4:
case Tag.StakeAccount:
const stakeAccount = StakeAccount.deserialize(account.account.data);

@@ -454,3 +454,3 @@ if (stakeAccount.lastClaimedOffset < currentOffset) {

// bond account
case 6:
case Tag.BondAccount:
const bondAccount = BondAccount.deserialize(account.account.data);

@@ -466,3 +466,3 @@ if (bondAccount.lastClaimedOffset < currentOffset) {

// bondV2 account
case 12:
case Tag.BondV2Account:
const bondV2Account = BondV2Account.deserialize(account.account.data);

@@ -469,0 +469,0 @@ if (bondV2Account.lastClaimedOffset < currentOffset) {

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