Armani Ferrante 3 gadi atpakaļ
vecāks
revīzija
ef1a58d665
53 mainītis faili ar 92 papildinājumiem un 89 dzēšanām
  1. 6 3
      CHANGELOG.md
  2. 14 14
      Cargo.lock
  3. 1 1
      VERSION
  4. 1 1
      avm/Cargo.toml
  5. 1 1
      cli/Cargo.toml
  6. 1 1
      cli/npm-package/package.json
  7. 2 2
      client/Cargo.toml
  8. 1 1
      docs/src/getting-started/installation.md
  9. 1 1
      docs/src/getting-started/publishing.md
  10. 2 2
      docs/src/getting-started/verification.md
  11. 1 1
      examples/tutorial/basic-0/package.json
  12. 1 1
      examples/tutorial/basic-1/package.json
  13. 1 1
      examples/tutorial/basic-2/package.json
  14. 1 1
      examples/tutorial/basic-3/package.json
  15. 1 1
      examples/tutorial/basic-4/package.json
  16. 1 1
      examples/tutorial/package.json
  17. 10 10
      lang/Cargo.toml
  18. 2 2
      lang/attribute/access-control/Cargo.toml
  19. 2 2
      lang/attribute/account/Cargo.toml
  20. 2 2
      lang/attribute/constant/Cargo.toml
  21. 2 2
      lang/attribute/error/Cargo.toml
  22. 2 2
      lang/attribute/event/Cargo.toml
  23. 2 2
      lang/attribute/interface/Cargo.toml
  24. 2 2
      lang/attribute/program/Cargo.toml
  25. 2 2
      lang/attribute/state/Cargo.toml
  26. 2 2
      lang/derive/accounts/Cargo.toml
  27. 1 1
      lang/syn/Cargo.toml
  28. 2 2
      spl/Cargo.toml
  29. 1 1
      tests/bpf-upgradeable-state/package.json
  30. 1 1
      tests/cashiers-check/package.json
  31. 1 1
      tests/cfo/package.json
  32. 1 1
      tests/cfo/programs/cfo/src/lib.rs
  33. 1 1
      tests/chat/package.json
  34. 1 1
      tests/composite/package.json
  35. 1 1
      tests/errors/package.json
  36. 1 1
      tests/escrow/package.json
  37. 1 1
      tests/events/package.json
  38. 1 1
      tests/ido-pool/package.json
  39. 1 1
      tests/interface/package.json
  40. 1 1
      tests/lockup/package.json
  41. 1 1
      tests/misc/package.json
  42. 1 1
      tests/multisig/package.json
  43. 1 1
      tests/package.json
  44. 1 1
      tests/pda-derivation/package.json
  45. 1 1
      tests/pyth/package.json
  46. 1 1
      tests/spl/token-proxy/package.json
  47. 1 1
      tests/swap/package.json
  48. 1 1
      tests/system-accounts/package.json
  49. 1 1
      tests/sysvars/package.json
  50. 1 1
      tests/tictactoe/package.json
  51. 1 1
      tests/typescript/package.json
  52. 1 1
      tests/zero-copy/package.json
  53. 1 1
      ts/package.json

+ 6 - 3
CHANGELOG.md

@@ -11,15 +11,18 @@ incremented for features.
 
 ## [Unreleased]
 
+## [0.21.1] - 2022-02-07
+
 ### Fixes
 
-* ts: Fix the root type declaration of the `Wallet` / `NodeWallet` class. ([#1363](https://github.com/project-serum/anchor/pull/1363))
-* ts: Improve type mapping of Account fields into Typescript with additional support for `Option<T>` and `Vec<String>` types. ([#1393](https://github.com/project-serum/anchor/pull/1393))
+* ts: Fix the root type declaration of the `Wallet` / `NodeWallet` class ([#1363](https://github.com/project-serum/anchor/pull/1363)).
+* ts: Improve type mapping of Account fields into Typescript with additional support for `Option<T>` and `Vec<String>` types ([#1393](https://github.com/project-serum/anchor/pull/1393)).
 
 ### Features
 
-* lang: Add `seeds::program` constraint for specifying which program_id to use when deriving PDAs.([#1197](https://github.com/project-serum/anchor/pull/1197))
+* lang: Add `seeds::program` constraint for specifying which program_id to use when deriving PDAs ([#1197](https://github.com/project-serum/anchor/pull/1197)).
 * lang: `Context` now has a new `bumps: BTree<String, u8>` argument, mapping account name to bump seed "found" by the accounts context. This allows one to access bump seeds without having to pass them in from the client or recalculate them in the handler ([#1367](https://github.com/project-serum/anchor/pull/1367)).
+* lang, ts: Automatically infer PDA addresses ([#1331](https://github.com/project-serum/anchor/pull/1331)).
 * ts: Remove error logging in the event parser when log websocket encounters a program error ([#1313](https://github.com/project-serum/anchor/pull/1313)).
 * ts: Add new `methods` namespace to the program client, introducing a more ergonomic builder API ([#1324](https://github.com/project-serum/anchor/pull/1324)).
 * ts: Add registry utility for fetching the latest verified build ([#1371](https://github.com/project-serum/anchor/pull/1371)).

+ 14 - 14
Cargo.lock

@@ -56,7 +56,7 @@ checksum = "6b2d54853319fd101b8dd81de382bcbf3e03410a64d8928bbee85a3e7dcde483"
 
 [[package]]
 name = "anchor-attribute-access-control"
-version = "0.20.1"
+version = "0.21.0"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -68,7 +68,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-account"
-version = "0.20.1"
+version = "0.21.0"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -81,7 +81,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-constant"
-version = "0.20.1"
+version = "0.21.0"
 dependencies = [
  "anchor-syn",
  "proc-macro2 1.0.32",
@@ -90,7 +90,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-error"
-version = "0.20.1"
+version = "0.21.0"
 dependencies = [
  "anchor-syn",
  "proc-macro2 1.0.32",
@@ -100,7 +100,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-event"
-version = "0.20.1"
+version = "0.21.0"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -111,7 +111,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-interface"
-version = "0.20.1"
+version = "0.21.0"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -123,7 +123,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-program"
-version = "0.20.1"
+version = "0.21.0"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -134,7 +134,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-state"
-version = "0.20.1"
+version = "0.21.0"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -145,7 +145,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-cli"
-version = "0.20.1"
+version = "0.21.0"
 dependencies = [
  "anchor-client",
  "anchor-lang",
@@ -177,7 +177,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-client"
-version = "0.20.1"
+version = "0.21.0"
 dependencies = [
  "anchor-lang",
  "anyhow",
@@ -192,7 +192,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-derive-accounts"
-version = "0.20.1"
+version = "0.21.0"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -203,7 +203,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-lang"
-version = "0.20.1"
+version = "0.21.0"
 dependencies = [
  "anchor-attribute-access-control",
  "anchor-attribute-account",
@@ -225,7 +225,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-spl"
-version = "0.20.1"
+version = "0.21.0"
 dependencies = [
  "anchor-lang",
  "serum_dex",
@@ -236,7 +236,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-syn"
-version = "0.20.1"
+version = "0.21.0"
 dependencies = [
  "anyhow",
  "bs58 0.3.1",

+ 1 - 1
VERSION

@@ -1 +1 @@
-0.20.1
+0.21.0

+ 1 - 1
avm/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "avm"
-version = "0.20.1"
+version = "0.21.0"
 edition = "2018"
 
 [[bin]]

+ 1 - 1
cli/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-cli"
-version = "0.20.1"
+version = "0.21.0"
 authors = ["armaniferrante <armaniferrante@gmail.com>"]
 edition = "2018"
 

+ 1 - 1
cli/npm-package/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@project-serum/anchor-cli",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "description": "Anchor CLI tool",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 2 - 2
client/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-client"
-version = "0.20.1"
+version = "0.21.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 edition = "2018"
 license = "Apache-2.0"
@@ -10,7 +10,7 @@ description = "Rust client for Anchor programs"
 debug = []
 
 [dependencies]
-anchor-lang = { path = "../lang", version = "0.20.1" }
+anchor-lang = { path = "../lang", version = "0.21.0" }
 anyhow = "1.0.32"
 regex = "1.4.5"
 serde = { version = "1.0.122", features = ["derive"] }

+ 1 - 1
docs/src/getting-started/installation.md

@@ -44,7 +44,7 @@ npm i -g @project-serum/anchor-cli
 For now, we can use Cargo to install the CLI.
 
 ```bash
-cargo install --git https://github.com/project-serum/anchor --tag v0.20.1 anchor-cli --locked
+cargo install --git https://github.com/project-serum/anchor --tag v0.21.0 anchor-cli --locked
 ```
 
 On Linux systems you may need to install additional dependencies if `cargo install` fails. On Ubuntu,

+ 1 - 1
docs/src/getting-started/publishing.md

@@ -30,7 +30,7 @@ have an `Anchor.toml` to define the build.
 An example `Anchor.toml` config looks as follows,
 
 ```toml
-anchor_version = "0.20.1"
+anchor_version = "0.21.0"
 
 [workspace]
 members = ["programs/multisig"]

+ 2 - 2
docs/src/getting-started/verification.md

@@ -32,10 +32,10 @@ If the program has an IDL, it will also check the IDL deployed on chain matches.
 
 ## Images
 
-A docker image for each version of Anchor is published on [Docker Hub](https://hub.docker.com/r/projectserum/build). They are tagged in the form `projectserum/build:<version>`. For example, to get the image for Anchor `v0.20.1` one can run
+A docker image for each version of Anchor is published on [Docker Hub](https://hub.docker.com/r/projectserum/build). They are tagged in the form `projectserum/build:<version>`. For example, to get the image for Anchor `v0.21.0` one can run
 
 ```
-docker pull projectserum/build:v0.20.1
+docker pull projectserum/build:v0.21.0
 ```
 
 ## Removing an Image

+ 1 - 1
examples/tutorial/basic-0/package.json

@@ -1,6 +1,6 @@
 {
   "name": "basic-0",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
examples/tutorial/basic-1/package.json

@@ -1,6 +1,6 @@
 {
   "name": "basic-1",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
examples/tutorial/basic-2/package.json

@@ -1,6 +1,6 @@
 {
   "name": "basic-2",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
examples/tutorial/basic-3/package.json

@@ -1,6 +1,6 @@
 {
   "name": "basic-3",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
examples/tutorial/basic-4/package.json

@@ -1,6 +1,6 @@
 {
   "name": "basic-4",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
examples/tutorial/package.json

@@ -13,7 +13,7 @@
     "basic-4"
   ],
   "dependencies": {
-    "@project-serum/anchor": "^0.20.1"
+    "@project-serum/anchor": "^0.21.0"
   },
   "devDependencies": {
     "mocha": "^9.1.3",

+ 10 - 10
lang/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-lang"
-version = "0.20.1"
+version = "0.21.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 repository = "https://github.com/project-serum/anchor"
 edition = "2018"
@@ -25,15 +25,15 @@ anchor-debug = [
 ]
 
 [dependencies]
-anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.20.1" }
-anchor-attribute-account = { path = "./attribute/account", version = "0.20.1" }
-anchor-attribute-constant = { path = "./attribute/constant", version = "0.20.1" }
-anchor-attribute-error = { path = "./attribute/error", version = "0.20.1" }
-anchor-attribute-program = { path = "./attribute/program", version = "0.20.1" }
-anchor-attribute-state = { path = "./attribute/state", version = "0.20.1" }
-anchor-attribute-interface = { path = "./attribute/interface", version = "0.20.1" }
-anchor-attribute-event = { path = "./attribute/event", version = "0.20.1" }
-anchor-derive-accounts = { path = "./derive/accounts", version = "0.20.1" }
+anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.21.0" }
+anchor-attribute-account = { path = "./attribute/account", version = "0.21.0" }
+anchor-attribute-constant = { path = "./attribute/constant", version = "0.21.0" }
+anchor-attribute-error = { path = "./attribute/error", version = "0.21.0" }
+anchor-attribute-program = { path = "./attribute/program", version = "0.21.0" }
+anchor-attribute-state = { path = "./attribute/state", version = "0.21.0" }
+anchor-attribute-interface = { path = "./attribute/interface", version = "0.21.0" }
+anchor-attribute-event = { path = "./attribute/event", version = "0.21.0" }
+anchor-derive-accounts = { path = "./derive/accounts", version = "0.21.0" }
 arrayref = "0.3.6"
 base64 = "0.13.0"
 borsh = "0.9"

+ 2 - 2
lang/attribute/access-control/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-access-control"
-version = "0.20.1"
+version = "0.21.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 repository = "https://github.com/project-serum/anchor"
 license = "Apache-2.0"
@@ -18,5 +18,5 @@ proc-macro2 = "1.0"
 quote = "1.0"
 syn = { version = "1.0.60", features = ["full"] }
 anyhow = "1.0.32"
-anchor-syn = { path = "../../syn", version = "0.20.1" }
+anchor-syn = { path = "../../syn", version = "0.21.0" }
 regex = "1.0"

+ 2 - 2
lang/attribute/account/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-account"
-version = "0.20.1"
+version = "0.21.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 repository = "https://github.com/project-serum/anchor"
 license = "Apache-2.0"
@@ -18,6 +18,6 @@ proc-macro2 = "1.0"
 quote = "1.0"
 syn = { version = "1.0.60", features = ["full"] }
 anyhow = "1.0.32"
-anchor-syn = { path = "../../syn", version = "0.20.1", features = ["hash"] }
+anchor-syn = { path = "../../syn", version = "0.21.0", features = ["hash"] }
 rustversion = "1.0.3"
 bs58 = "0.4.0"

+ 2 - 2
lang/attribute/constant/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-constant"
-version = "0.20.1"
+version = "0.21.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 repository = "https://github.com/project-serum/anchor"
 license = "Apache-2.0"
@@ -16,4 +16,4 @@ anchor-debug = ["anchor-syn/anchor-debug"]
 [dependencies]
 proc-macro2 = "1.0"
 syn = { version = "1.0.60", features = ["full"] }
-anchor-syn = { path = "../../syn", version = "0.20.1" }
+anchor-syn = { path = "../../syn", version = "0.21.0" }

+ 2 - 2
lang/attribute/error/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-error"
-version = "0.20.1"
+version = "0.21.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 repository = "https://github.com/project-serum/anchor"
 license = "Apache-2.0"
@@ -17,4 +17,4 @@ anchor-debug = ["anchor-syn/anchor-debug"]
 proc-macro2 = "1.0"
 quote = "1.0"
 syn = { version = "1.0.60", features = ["full"] }
-anchor-syn = { path = "../../syn", version = "0.20.1" }
+anchor-syn = { path = "../../syn", version = "0.21.0" }

+ 2 - 2
lang/attribute/event/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-event"
-version = "0.20.1"
+version = "0.21.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 repository = "https://github.com/project-serum/anchor"
 license = "Apache-2.0"
@@ -18,4 +18,4 @@ proc-macro2 = "1.0"
 quote = "1.0"
 syn = { version = "1.0.60", features = ["full"] }
 anyhow = "1.0.32"
-anchor-syn = { path = "../../syn", version = "0.20.1", features = ["hash"] }
+anchor-syn = { path = "../../syn", version = "0.21.0", features = ["hash"] }

+ 2 - 2
lang/attribute/interface/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-interface"
-version = "0.20.1"
+version = "0.21.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 repository = "https://github.com/project-serum/anchor"
 license = "Apache-2.0"
@@ -18,5 +18,5 @@ proc-macro2 = "1.0"
 quote = "1.0"
 syn = { version = "1.0.60", features = ["full"] }
 anyhow = "1.0.32"
-anchor-syn = { path = "../../syn", version = "0.20.1" }
+anchor-syn = { path = "../../syn", version = "0.21.0" }
 heck = "0.3.2"

+ 2 - 2
lang/attribute/program/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-program"
-version = "0.20.1"
+version = "0.21.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 repository = "https://github.com/project-serum/anchor"
 license = "Apache-2.0"
@@ -18,4 +18,4 @@ proc-macro2 = "1.0"
 quote = "1.0"
 syn = { version = "1.0.60", features = ["full"] }
 anyhow = "1.0.32"
-anchor-syn = { path = "../../syn", version = "0.20.1" }
+anchor-syn = { path = "../../syn", version = "0.21.0" }

+ 2 - 2
lang/attribute/state/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-state"
-version = "0.20.1"
+version = "0.21.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 repository = "https://github.com/project-serum/anchor"
 license = "Apache-2.0"
@@ -18,4 +18,4 @@ proc-macro2 = "1.0"
 quote = "1.0"
 syn = { version = "1.0.60", features = ["full"] }
 anyhow = "1.0.32"
-anchor-syn = { path = "../../syn", version = "0.20.1" }
+anchor-syn = { path = "../../syn", version = "0.21.0" }

+ 2 - 2
lang/derive/accounts/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-derive-accounts"
-version = "0.20.1"
+version = "0.21.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 repository = "https://github.com/project-serum/anchor"
 license = "Apache-2.0"
@@ -20,4 +20,4 @@ proc-macro2 = "1.0"
 quote = "1.0"
 syn = { version = "1.0.60", features = ["full"] }
 anyhow = "1.0.32"
-anchor-syn = { path = "../../syn", version = "0.20.1" }
+anchor-syn = { path = "../../syn", version = "0.21.0" }

+ 1 - 1
lang/syn/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-syn"
-version = "0.20.1"
+version = "0.21.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 repository = "https://github.com/project-serum/anchor"
 license = "Apache-2.0"

+ 2 - 2
spl/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-spl"
-version = "0.20.1"
+version = "0.21.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 edition = "2018"
 license = "Apache-2.0"
@@ -17,7 +17,7 @@ devnet = []
 dex = ["serum_dex"]
 
 [dependencies]
-anchor-lang = { path = "../lang", version = "0.20.1", features = ["derive"] }
+anchor-lang = { path = "../lang", version = "0.21.0", features = ["derive"] }
 serum_dex = { git = "https://github.com/project-serum/serum-dex", rev = "1be91f2", version = "0.4.0", features = ["no-entrypoint"], optional = true }
 solana-program = "1.8.5"
 spl-token = { version = "3.1.1", features = ["no-entrypoint"], optional = true }

+ 1 - 1
tests/bpf-upgradeable-state/package.json

@@ -1,6 +1,6 @@
 {
     "dependencies": {
-        "@project-serum/anchor": "^0.20.1"
+        "@project-serum/anchor": "^0.21.0"
     },
     "devDependencies": {
         "chai": "^4.3.4",

+ 1 - 1
tests/cashiers-check/package.json

@@ -1,6 +1,6 @@
 {
   "name": "cashiers-check",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
tests/cfo/package.json

@@ -1,6 +1,6 @@
 {
   "name": "cfo",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
tests/cfo/programs/cfo/src/lib.rs

@@ -195,7 +195,7 @@ pub mod cfo {
         let expiry_ts = 1853942400; // 9/30/2028.
         let expiry_receiver = *ctx.accounts.officer.to_account_info().key;
         let locked_kind = {
-            let start_ts = 1633017600; // 9/30/2021.
+            let start_ts = 1633017600; // 9/30.21.0.
             let end_ts = 1822320000; // 9/30/2027.
             let period_count = 2191;
             RewardVendorKind::Locked {

+ 1 - 1
tests/chat/package.json

@@ -1,6 +1,6 @@
 {
   "name": "chat",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
tests/composite/package.json

@@ -1,6 +1,6 @@
 {
   "name": "composite",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
tests/errors/package.json

@@ -1,6 +1,6 @@
 {
   "name": "errors",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
tests/escrow/package.json

@@ -1,6 +1,6 @@
 {
   "name": "escrow",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
tests/events/package.json

@@ -1,6 +1,6 @@
 {
   "name": "events",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
tests/ido-pool/package.json

@@ -1,6 +1,6 @@
 {
   "name": "ido-pool",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
tests/interface/package.json

@@ -1,6 +1,6 @@
 {
   "name": "interface",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
tests/lockup/package.json

@@ -1,6 +1,6 @@
 {
   "name": "lockup",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
tests/misc/package.json

@@ -1,6 +1,6 @@
 {
   "name": "misc",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
tests/multisig/package.json

@@ -1,6 +1,6 @@
 {
   "name": "multisig",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
tests/package.json

@@ -31,7 +31,7 @@
     "zero-copy"
   ],
   "dependencies": {
-    "@project-serum/anchor": "^0.20.1",
+    "@project-serum/anchor": "^0.21.0",
     "@project-serum/common": "^0.0.1-beta.3",
     "@project-serum/serum": "^0.13.60",
     "@solana/spl-token": "^0.1.8"

+ 1 - 1
tests/pda-derivation/package.json

@@ -1,6 +1,6 @@
 {
   "name": "pda-derivation",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
tests/pyth/package.json

@@ -1,6 +1,6 @@
 {
   "name": "pyth",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
tests/spl/token-proxy/package.json

@@ -1,6 +1,6 @@
 {
   "name": "token-proxy",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
tests/swap/package.json

@@ -1,6 +1,6 @@
 {
   "name": "swap",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
tests/system-accounts/package.json

@@ -1,6 +1,6 @@
 {
   "name": "system-accounts",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
tests/sysvars/package.json

@@ -1,6 +1,6 @@
 {
   "name": "sysvars",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
tests/tictactoe/package.json

@@ -1,6 +1,6 @@
 {
   "name": "tictactoe",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
tests/typescript/package.json

@@ -1,6 +1,6 @@
 {
   "name": "typescript-example",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
tests/zero-copy/package.json

@@ -1,6 +1,6 @@
 {
   "name": "zero-copy",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "license": "(MIT OR Apache-2.0)",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 1 - 1
ts/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@project-serum/anchor",
-  "version": "0.20.1",
+  "version": "0.21.0",
   "description": "Anchor client",
   "module": "./dist/esm/index.js",
   "main": "./dist/cjs/index.js",