-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update web3.js and use new codec type inferrences (#160)
* Update dependencies and remove generated type parameters * Update resolvers.ts * Generate return type instead of satisfies constraint * Add changeset
- Loading branch information
1 parent
f649333
commit c5cca5f
Showing
131 changed files
with
891 additions
and
1,405 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/kinobi': patch | ||
--- | ||
|
||
Update web3.js and use new codec type inferrences |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{% import "templates/macros.njk" as macros %} | ||
|
||
{{ macros.docblock(docs) }} | ||
export function {{ decoderFunction }}() { | ||
return {{ manifest.decoder.render }} satisfies Decoder<{{ strictName }}>; | ||
export function {{ decoderFunction }}(): Decoder<{{ strictName }}> { | ||
return {{ manifest.decoder.render }}; | ||
} |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{% import "templates/macros.njk" as macros %} | ||
|
||
{{ macros.docblock(docs) }} | ||
export function {{ encoderFunction }}() { | ||
return {{ manifest.encoder.render }} satisfies Encoder<{{ looseName }}>; | ||
export function {{ encoderFunction }}(): Encoder<{{ looseName }}> { | ||
return {{ manifest.encoder.render }}; | ||
} |
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.