-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for compressed NFTs (#480)
* Support for compressed NFTs * Adding findByAssetId, finishing `createNft` * Resolving circular dependnecies, exporting ReadApiConnection * fix: missing and/or incorrect type * feat: added ReadApiError for rpc response * refactor: read api types * feat: added support for getAssetsByGroup * refactor: moved all ReadAPI types to type file * feat: transferring * chore: update spl-compression package to the latest * feat: added transfer support * refactor: ReadApi types * feat: added getAssetsByOwner rpc method * Update pnpm-lock.yaml * Fix linting * Apply some suggestions from code review Co-authored-by: Loris Leiva <loris.leiva@gmail.com> * fix: added remaining operations * fix: removed unused type * build: removed unused dependancy * Extract _removeDoubleDefault helper function * fix: esm import by updating compression package * Update PNPM and Turbo * Update packages/js/src/plugins/nftModule/NftClient.ts Co-authored-by: Loris Leiva <loris.leiva@gmail.com> * Create rude-countries-tap.md --------- Co-authored-by: nickfrosty <nick.frostbutter@solana.org> Co-authored-by: Loris Leiva <loris.leiva@gmail.com> Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>
- Loading branch information
1 parent
61a864a
commit 16a3875
Showing
26 changed files
with
3,330 additions
and
1,654 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@metaplex-foundation/js": minor | ||
--- | ||
|
||
Add support for compressed NFTs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { MetaplexError } from './MetaplexError'; | ||
|
||
/** @group Errors */ | ||
export class ReadApiError extends MetaplexError { | ||
readonly name: string = 'ReadApiError'; | ||
constructor(message: string, cause?: Error) { | ||
super(message, 'rpc', undefined, cause); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.