Skip to content

Commit

Permalink
chore: bump version to v2.0.0
Browse files Browse the repository at this point in the history
chore: update deps
feat: migrate to coral-xyz/anchor
  • Loading branch information
devDesu committed Aug 14, 2023
1 parent 35a775d commit ebf6010
Show file tree
Hide file tree
Showing 22 changed files with 236 additions and 180 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## v2.0.0

- Update packages
- Migrate from @project-serum/anchor -> @coral-xyz/anchor

### Breaking changes
- Token instruction `setAuthority`, arg `authorityType` changed from `@solana/spl-token AuthorityType` to IDL enum
- Token instruction `initializeAccount3`, arg `authority` renamed to `owner`
- Token instruction `initializeAccount2`, arg `authority` renamed to `owner`
4 changes: 2 additions & 2 deletions dist/browser/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cjs/helpers.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cjs/helpers.js.map

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion dist/cjs/interfaces.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/// <reference types="bn.js" />
import { BN, Idl, IdlTypes } from "@project-serum/anchor";
import { splTokenProgram } from "@coral-xyz/spl-token";
import { BN, Idl, IdlTypes } from "@coral-xyz/anchor";
import { AccountMeta, PublicKey, Transaction, TransactionInstruction } from "@solana/web3.js";
export type SplToken = ReturnType<typeof splTokenProgram>["idl"];
/**
* Context of logs for specific instruction
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/interfaces.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cjs/parsers.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/// <reference types="node" />
import { Buffer } from "buffer";
import { PublicKey, TransactionInstruction, Connection, Message, ParsedMessage, Finality, VersionedMessage, LoadedAddresses } from "@solana/web3.js";
import { Idl } from "@project-serum/anchor";
import { Idl } from "@coral-xyz/anchor";
import { InstructionNames, InstructionParserInfo, ParsedInstruction, ParserFunction, ProgramInfoType } from "./interfaces";
/**
* Class for parsing arbitrary solana transactions in various formats
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/parsers.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ebf6010

Please sign in to comment.