Skip to content

Commit 2221acf

Browse files
Merge pull request #111 from IntersectMBO/changeset-release/main
ci(changesets): version packages
2 parents f4f6ac3 + 6afd864 commit 2221acf

File tree

9 files changed

+134
-82
lines changed

9 files changed

+134
-82
lines changed

.changeset/cold-clubs-doubt.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

.changeset/common-ways-occur.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

.changeset/long-deer-roll.md

Lines changed: 0 additions & 50 deletions
This file was deleted.

docs/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# docs
22

3+
## 0.0.14
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`c59507e`](https://github.com/IntersectMBO/evolution-sdk/commit/c59507eafd942cd5bce1d3608c9c3e9c99a4cac8), [`9ddc79d`](https://github.com/IntersectMBO/evolution-sdk/commit/9ddc79dbc9b6667b3f2981dd06875878d9ad14f5), [`0730f23`](https://github.com/IntersectMBO/evolution-sdk/commit/0730f2353490ff1fa75743cccc0d05b33cff1b23)]:
8+
- @evolution-sdk/evolution@0.3.7
9+
- @evolution-sdk/devnet@1.1.7
10+
311
## 0.0.13
412

513
### Patch Changes

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "docs",
3-
"version": "0.0.13",
3+
"version": "0.0.14",
44
"private": true,
55
"type": "module",
66
"scripts": {

packages/evolution-devnet/CHANGELOG.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,58 @@
11
# @evolution-sdk/devnet
22

3+
## 1.1.7
4+
5+
### Patch Changes
6+
7+
- [#109](https://github.com/IntersectMBO/evolution-sdk/pull/109) [`0730f23`](https://github.com/IntersectMBO/evolution-sdk/commit/0730f2353490ff1fa75743cccc0d05b33cff1b23) Thanks [@solidsnakedev](https://github.com/solidsnakedev)! - ### TxBuilder setValidity API
8+
9+
Add `setValidity()` method to TxBuilder for setting transaction validity intervals:
10+
11+
```ts
12+
client.newTx()
13+
.setValidity({
14+
from: Date.now(), // Valid after this Unix time (optional)
15+
to: Date.now() + 300_000 // Expires after this Unix time (optional)
16+
})
17+
.payToAddress({ ... })
18+
.build()
19+
```
20+
21+
- Times are provided as Unix milliseconds and converted to slots during transaction assembly
22+
- At least one of `from` or `to` must be specified
23+
- Validates that `from < to` when both are provided
24+
25+
### slotConfig support for devnets
26+
27+
Add `slotConfig` parameter to `createClient()` for custom slot configurations:
28+
29+
```ts
30+
const slotConfig = Cluster.getSlotConfig(devnetCluster)
31+
const client = createClient({
32+
network: 0,
33+
slotConfig, // Custom slot config for devnet
34+
provider: { ... },
35+
wallet: { ... }
36+
})
37+
```
38+
39+
Priority chain for slot config resolution:
40+
1. `BuildOptions.slotConfig` (per-transaction override)
41+
2. `TxBuilderConfig.slotConfig` (client default)
42+
3. `SLOT_CONFIG_NETWORK[network]` (hardcoded fallback)
43+
44+
### Cluster.getSlotConfig helper
45+
46+
Add `getSlotConfig()` helper to derive slot configuration from devnet cluster genesis:
47+
48+
```ts
49+
const slotConfig = Cluster.getSlotConfig(cluster)
50+
// Returns: { zeroTime, zeroSlot, slotLength }
51+
```
52+
53+
- Updated dependencies [[`c59507e`](https://github.com/IntersectMBO/evolution-sdk/commit/c59507eafd942cd5bce1d3608c9c3e9c99a4cac8), [`9ddc79d`](https://github.com/IntersectMBO/evolution-sdk/commit/9ddc79dbc9b6667b3f2981dd06875878d9ad14f5), [`0730f23`](https://github.com/IntersectMBO/evolution-sdk/commit/0730f2353490ff1fa75743cccc0d05b33cff1b23)]:
54+
- @evolution-sdk/evolution@0.3.7
55+
356
## 1.1.6
457

558
### Patch Changes

packages/evolution-devnet/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@evolution-sdk/devnet",
3-
"version": "1.1.6",
3+
"version": "1.1.7",
44
"description": "Local Cardano devnet for testing and development with Docker",
55
"type": "module",
66
"main": "./dist/index.js",

packages/evolution/CHANGELOG.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,75 @@
11
# @evolution-sdk/evolution
22

3+
## 0.3.7
4+
5+
### Patch Changes
6+
7+
- [#112](https://github.com/IntersectMBO/evolution-sdk/pull/112) [`c59507e`](https://github.com/IntersectMBO/evolution-sdk/commit/c59507eafd942cd5bce1d3608c9c3e9c99a4cac8) Thanks [@solidsnakedev](https://github.com/solidsnakedev)! - Add transaction chaining support via `SignBuilder.chainResult()`
8+
- Add `chainResult()` method to `SignBuilder` for building dependent transactions
9+
- Returns `ChainResult` with `consumed`, `available` UTxOs and pre-computed `txHash`
10+
- Lazy evaluation with memoization - computed on first call, cached for subsequent calls
11+
- Add `signAndSubmit()` convenience method combining sign and submit in one call
12+
- Remove redundant `chain()`, `chainEffect()`, `chainEither()` methods from TransactionBuilder
13+
14+
- [#110](https://github.com/IntersectMBO/evolution-sdk/pull/110) [`9ddc79d`](https://github.com/IntersectMBO/evolution-sdk/commit/9ddc79dbc9b6667b3f2981dd06875878d9ad14f5) Thanks [@solidsnakedev](https://github.com/solidsnakedev)! - ### Native Scripts & Multi-Sig Support
15+
- **`addSigner` operation**: Add required signers to transactions for multi-sig and script validation
16+
- **Native script minting**: Full support for `ScriptAll`, `ScriptAny`, `ScriptNOfK`, `InvalidBefore`, `InvalidHereafter`
17+
- **Reference scripts**: Use native scripts via `readFrom` instead of attaching them to transactions
18+
- **Multi-sig spending**: Spend from native script addresses with multi-party signing
19+
- **Improved fee calculation**: Accurate fee estimation for transactions with native scripts and reference scripts
20+
21+
### API Changes
22+
- `UTxO.scriptRef` type changed from `ScriptRef` to `Script` for better type safety
23+
- `PayToAddressParams.scriptRef` renamed to `script` for consistency
24+
- Wallet `signTx` now accepts `referenceUtxos` context for native script signer detection
25+
- Client `signTx` auto-fetches reference UTxOs when signing transactions with reference inputs
26+
27+
- [#109](https://github.com/IntersectMBO/evolution-sdk/pull/109) [`0730f23`](https://github.com/IntersectMBO/evolution-sdk/commit/0730f2353490ff1fa75743cccc0d05b33cff1b23) Thanks [@solidsnakedev](https://github.com/solidsnakedev)! - ### TxBuilder setValidity API
28+
29+
Add `setValidity()` method to TxBuilder for setting transaction validity intervals:
30+
31+
```ts
32+
client.newTx()
33+
.setValidity({
34+
from: Date.now(), // Valid after this Unix time (optional)
35+
to: Date.now() + 300_000 // Expires after this Unix time (optional)
36+
})
37+
.payToAddress({ ... })
38+
.build()
39+
```
40+
41+
- Times are provided as Unix milliseconds and converted to slots during transaction assembly
42+
- At least one of `from` or `to` must be specified
43+
- Validates that `from < to` when both are provided
44+
45+
### slotConfig support for devnets
46+
47+
Add `slotConfig` parameter to `createClient()` for custom slot configurations:
48+
49+
```ts
50+
const slotConfig = Cluster.getSlotConfig(devnetCluster)
51+
const client = createClient({
52+
network: 0,
53+
slotConfig, // Custom slot config for devnet
54+
provider: { ... },
55+
wallet: { ... }
56+
})
57+
```
58+
59+
Priority chain for slot config resolution:
60+
1. `BuildOptions.slotConfig` (per-transaction override)
61+
2. `TxBuilderConfig.slotConfig` (client default)
62+
3. `SLOT_CONFIG_NETWORK[network]` (hardcoded fallback)
63+
64+
### Cluster.getSlotConfig helper
65+
66+
Add `getSlotConfig()` helper to derive slot configuration from devnet cluster genesis:
67+
68+
```ts
69+
const slotConfig = Cluster.getSlotConfig(cluster)
70+
// Returns: { zeroTime, zeroSlot, slotLength }
71+
```
72+
373
## 0.3.6
474

575
### Patch Changes

packages/evolution/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@evolution-sdk/evolution",
3-
"version": "0.3.6",
3+
"version": "0.3.7",
44
"description": "A modern TypeScript SDK for Cardano blockchain development",
55
"type": "module",
66
"main": "./dist/index.js",

0 commit comments

Comments
 (0)