From 4f4abe581c73441c1bd833ffbd48a74a2084d457 Mon Sep 17 00:00:00 2001 From: Matthew Callens Date: Mon, 21 Mar 2022 14:27:29 -0400 Subject: [PATCH 1/4] spl: re-export the `spl_token::AuthorityType` enum --- spl/src/token.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/spl/src/token.rs b/spl/src/token.rs index 669a195b65..b47670e7df 100644 --- a/spl/src/token.rs +++ b/spl/src/token.rs @@ -6,6 +6,7 @@ use anchor_lang::{context::CpiContext, Accounts}; use anchor_lang::{solana_program, Result}; use std::ops::Deref; +pub use spl_token::instruction::AuthorityType; pub use spl_token::ID; pub fn transfer<'a, 'b, 'c, 'info>( From 30be3821d3d43619ea0738785b7999c99b334dde Mon Sep 17 00:00:00 2001 From: Matthew Callens Date: Mon, 21 Mar 2022 14:28:50 -0400 Subject: [PATCH 2/4] update changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b8581d85c5..f8f24d0273 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ incremented for features. ## [Unreleased] +### Features + +* spl: Re-exports the `spl_token::instruction::AuthorityType` enum ([#1665](https://github.com/project-serum/anchor/pull/1665)). + ## [0.23.0] - 2022-03-20 ### Features From 27cecc15904f99a15ddf19b0dfc2da3b699061e1 Mon Sep 17 00:00:00 2001 From: Matthew Callens Date: Tue, 22 Mar 2022 22:38:51 -0400 Subject: [PATCH 3/4] re-export all spl_token --- spl/src/token.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spl/src/token.rs b/spl/src/token.rs index b47670e7df..c89b581cf0 100644 --- a/spl/src/token.rs +++ b/spl/src/token.rs @@ -6,7 +6,7 @@ use anchor_lang::{context::CpiContext, Accounts}; use anchor_lang::{solana_program, Result}; use std::ops::Deref; -pub use spl_token::instruction::AuthorityType; +pub use spl_token; pub use spl_token::ID; pub fn transfer<'a, 'b, 'c, 'info>( From 949fc234972a9e9897b6f35f8645a3385d0e7190 Mon Sep 17 00:00:00 2001 From: Paul Date: Tue, 22 Mar 2022 23:32:41 -0400 Subject: [PATCH 4/4] update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f8f24d0273..4f84f7ca50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ incremented for features. ### Features -* spl: Re-exports the `spl_token::instruction::AuthorityType` enum ([#1665](https://github.com/project-serum/anchor/pull/1665)). +* spl: Re-export the `spl_token` crate ([#1665](https://github.com/project-serum/anchor/pull/1665)). ## [0.23.0] - 2022-03-20