ci(changesets): version packages #102
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@evolution-sdk/[email protected]
Patch Changes
#101
aaf0882Thanks @solidsnakedev! - ### Core Module EnhancementsMint Module
Mint.getByHex()andMint.getAssetsByPolicyHex()utilities for hex-based lookupsMint.insert,removePolicy,removeAsset, andgetto use content-based equality (Equal.equals) instead of reference equality for PolicyId/AssetName lookupsFee Calculation
calculateFeeIterativelyto include mint field in fee calculation via TxContext accessTransaction Builder
.mint()method to TransactionBuilder for native token minting/burning.attachScript()now accepts{ script: CoreScript }parameter formatDevnet Package
Test Infrastructure
TxBuilder.Mint.test.tswith devnet submit tests for minting and burningTxBuilder.Scripts.test.tsto use Core types (PlutusV2.PlutusV2) instead of SDK formatcreateCoreTestUtxohelper to accept CoreScripttypes directlycreateTestUtxo(SDK format) helperGenesis.calculateUtxosFromConfig()for retrieving initial UTxOs from genesis configBuffer.from().toString("hex")withText.toHex()in testsBreaking Changes
attachScript()now requires{ script: ... }object format instead of passing script directly#103
65b7259Thanks @solidsnakedev! - ### Remove Buffer Usage from Source CodeReplaced all
Buffer.from()usage withBytes.fromHex()andBytes.toHex()from the core module for better cross-platform compatibility.Files Updated:
TxBuilderImpl.ts- UseBytes.toHex()for key hash hex conversion inbuildFakeWitnessSetAssets/index.ts- UseBytes.fromHex()for policy ID and asset name decodingMaestroEffect.ts- UseBytes.fromHex()for transaction CBOR conversionOgmios.ts- UseBytes.toHex()for datum hash hex conversionKupmiosEffects.ts- UseBytes.fromHex()for datum hash and script bytes decoding#104
c26391aThanks @solidsnakedev! - ### PlutusV3 Minting SupportmintAssetsbuilder method for Plutus script-based minting policiesattachScriptbuilder method for attaching Plutus scripts to transactionsRedeemer API Improvements
redeemerparameter type fromstring(CBOR hex) toData.DatacollectFrom()andmintAssets()builder methodsredeemer: Data.constr(0n, [Data.int(1n)])instead of hex stringsCore Module Additions
Redeemersmodule with Conway CDDL-compliant encoding (array format)hashScriptDatato use proper module encoders for redeemers and datumsRedeemers.toCBORBytes()for script data hash computationInternal Improvements
PlutusData.Datadirectly in builder state instead of CBOR hex strings@evolution-sdk/[email protected]
Patch Changes
#101
aaf0882Thanks @solidsnakedev! - ### Core Module EnhancementsMint Module
Mint.getByHex()andMint.getAssetsByPolicyHex()utilities for hex-based lookupsMint.insert,removePolicy,removeAsset, andgetto use content-based equality (Equal.equals) instead of reference equality for PolicyId/AssetName lookupsFee Calculation
calculateFeeIterativelyto include mint field in fee calculation via TxContext accessTransaction Builder
.mint()method to TransactionBuilder for native token minting/burning.attachScript()now accepts{ script: CoreScript }parameter formatDevnet Package
Test Infrastructure
TxBuilder.Mint.test.tswith devnet submit tests for minting and burningTxBuilder.Scripts.test.tsto use Core types (PlutusV2.PlutusV2) instead of SDK formatcreateCoreTestUtxohelper to accept CoreScripttypes directlycreateTestUtxo(SDK format) helperGenesis.calculateUtxosFromConfig()for retrieving initial UTxOs from genesis configBuffer.from().toString("hex")withText.toHex()in testsBreaking Changes
attachScript()now requires{ script: ... }object format instead of passing script directly#104
c26391aThanks @solidsnakedev! - ### PlutusV3 Minting SupportmintAssetsbuilder method for Plutus script-based minting policiesattachScriptbuilder method for attaching Plutus scripts to transactionsRedeemer API Improvements
redeemerparameter type fromstring(CBOR hex) toData.DatacollectFrom()andmintAssets()builder methodsredeemer: Data.constr(0n, [Data.int(1n)])instead of hex stringsCore Module Additions
Redeemersmodule with Conway CDDL-compliant encoding (array format)hashScriptDatato use proper module encoders for redeemers and datumsRedeemers.toCBORBytes()for script data hash computationInternal Improvements
PlutusData.Datadirectly in builder state instead of CBOR hex stringsUpdated dependencies [
aaf0882,65b7259,c26391a]:[email protected]
Patch Changes
aaf0882,65b7259,c26391a]: