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

@project-serum/anchor

Package Overview
Dependencies
Maintainers
6
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@project-serum/anchor - npm Package Versions

1
8

0.6.0-beta.1

Diff

armaniferrante
published 0.5.1-beta.2 •

armaniferrante
published 0.5.1-beta.1 •

armaniferrante
published 0.5.0 •

Changelog

Source

[0.5.0] - 2021-05-07

Features

  • client: Adds support for state instructions (#248).
  • lang: Add anchor-debug feature flag for logging (#253).
  • ts: Add support for u16 (#255).

Breaking Changes

  • client: Renames RequestBuilder::new to RequestBuilder::from (#248).
  • lang: Renames the generated instruction::state::Ctor struct to instruction::state::New (#248).
armaniferrante
published 0.4.5 •

Changelog

Source

[0.4.5] - 2021-04-29

  • spl: Add serum DEX CPI client (#224).
armaniferrante
published 0.4.4 •

Changelog

Source

[0.4.4] - 2021-04-18

Features

  • lang: Allows one to specify multiple with targets when creating associated accounts (#197).
  • lang, ts: Add array support (#202).
  • lang: Zero copy deserialization for accounts (#202, #206).
  • lang, spl, cli, client: Upgrade solana toolchain to 1.6.6 (#210).
armaniferrante
published 0.4.3 •

Changelog

Source

[0.4.3] - 2021-04-13

Features

  • lang: CPI clients for program state instructions (#43).
  • lang: Add #[account(owner = <program>)] constraint (#178).
  • lang, cli, ts: Add #[account(associated = <target>)] and #[associated] attributes for creating associated program accounts within programs. The TypeScript package can fetch these accounts with a new <program>.account.<account-name>.associated (and associatedAddress) method (#186).

Fixes

  • lang: Unused #[account]s are now parsed into the IDL correctly (#177).
armaniferrante
published 0.4.2 •

Changelog

Source

[0.4.2] - 2021-04-10

Features

  • cli: Fund Anchor.toml configured wallet when testing (#164).
  • spl: Add initialize_account instruction for spl tokens (#166).
armaniferrante
published 0.4.1 •

Changelog

Source

[0.4.1] - 2021-04-06

  • cli: Version verifiable docker builder (#145).
armaniferrante
published 0.4.0 •

Changelog

Source

[0.4.0] - 2021-04-04

Features

  • cli: Specify test files to run (#118).
  • lang: Allow overriding the #[state] account's size (#121).
  • lang, client, ts: Add event emission and subscriptions (#89).
  • lang/account: Allow namespacing account discriminators (#128).
  • cli: TypeScript migrations (#132).
  • lang: Add #[account(executable)] attribute (#140).

Breaking Changes

  • client: Replace url str with Cluster struct when constructing clients (#89).
  • lang: Changes the account discriminator of IdlAccount to be namespaced by "internal" (#128).
  • lang, spl, cli: Upgrade solana toolchain to 1.6.3, a major version upgrade even though only the minor version is incremented. This allows for the removal of -#![feature(proc_macro_hygiene)]. (#139).
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