Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .changeset/.last_bumped_modules
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
http
sdk-types
4 changes: 0 additions & 4 deletions .changeset/activity-errors.yml

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/approval-polling.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/authenticators-needed-error.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/codegen-bump-2026-10.yml

This file was deleted.

22 changes: 22 additions & 0 deletions packages/http/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Changelog

## 0.2.0 — 2026-10-19

### Minor Changes
- Added MFA and consensus handling for activities.
- Authenticators-needed stops polling and raises `TurnkeyActivityAuthenticatorsNeededError`.
- Added `mfa_polling` and `consensus_polling`.
- `mfa_polling` keeps polling an authenticators-needed activity until the status changes or the timeout is reached. The interval doubles on each attempt, up to 5 seconds. Omit it to raise `TurnkeyActivityAuthenticatorsNeededError` immediately.
- `consensus_polling` keeps polling a consensus-needed activity until the status changes or the timeout is reached. The interval stays fixed. Omit it to raise `TurnkeyActivityConsensusNeededError` immediately.
- Regenerate the SDK from the current public API schema. Main additions: send transaction V2 (eth_send_transaction and sol_send_transaction now use the V2 intents), swaps, earn, secrets, and transaction history. The default polling budget is now 10 retries at 1 second (was 3), and send_signed_request flattens versioned result keys such as ethSendTransactionResultV2.

Breaking changes:
- EthSendTransactionBody uses the V2 intent: `to`, `value`, and `data` are gone; `calls: List[v1EthCallParams]` is required.
- SolSendTransactionBody uses the V2 intent: `signWith` is gone; `signWiths: List[str]` is required.
- CreateOauthProvidersBody.oauthProviders is `List[v1OauthProviderParamsV2]`, and the method sends V2.
- Oauth2AuthenticateBody.nonce is required.
- v1User.mfaPolicies is a required response field.
- v1FiatOnRampBlockchainNetwork no longer has FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BITCOIN.
- v1CreateTvcDeploymentIntent drops pivotBindAddresses and requires healthCheckType, healthCheckPort, and publicIngressPort.

### Patch Changes
- Typed activity methods now raise `TurnkeyActivityError` or `TurnkeyActivityConsensusNeededError` when an activity does not complete, instead of a pydantic validation error. The errors carry the activity id, status, type, and failure message. `send_signed_request` now unpacks versioned result keys such as `createSubOrganizationResultV7` correctly.

## 0.1.0 — 2026-03-09

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/http/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "turnkey-http"
version = "0.1.0"
version = "0.2.0"
description = "HTTP client for Turnkey API"
readme = "README.md"
requires-python = ">=3.8"
Expand Down
2 changes: 1 addition & 1 deletion packages/http/src/turnkey_http/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Auto-generated version file. Do not edit manually."""

VERSION = "turnkey-python/0.1.0"
VERSION = "turnkey-python/0.2.0"
20 changes: 20 additions & 0 deletions packages/sdk-types/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

## 0.2.0 — 2026-10-19

### Minor Changes
- Added an error for activities that need authenticator approval.
- `TurnkeyActivityAuthenticatorsNeededError` is the exception raised when an activity is waiting on authenticator approval.
- `ACTIVITY_AUTHENTICATORS_NEEDED` is the `TurnkeyErrorCodes` value set on that exception
- Regenerate the SDK from the current public API schema. Main additions: send transaction V2 (eth_send_transaction and sol_send_transaction now use the V2 intents), swaps, earn, secrets, and transaction history. The default polling budget is now 10 retries at 1 second (was 3), and send_signed_request flattens versioned result keys such as ethSendTransactionResultV2.

Breaking changes:
- EthSendTransactionBody uses the V2 intent: `to`, `value`, and `data` are gone; `calls: List[v1EthCallParams]` is required.
- SolSendTransactionBody uses the V2 intent: `signWith` is gone; `signWiths: List[str]` is required.
- CreateOauthProvidersBody.oauthProviders is `List[v1OauthProviderParamsV2]`, and the method sends V2.
- Oauth2AuthenticateBody.nonce is required.
- v1User.mfaPolicies is a required response field.
- v1FiatOnRampBlockchainNetwork no longer has FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BITCOIN.
- v1CreateTvcDeploymentIntent drops pivotBindAddresses and requires healthCheckType, healthCheckPort, and publicIngressPort.

### Patch Changes
- Typed activity methods now raise `TurnkeyActivityError` or `TurnkeyActivityConsensusNeededError` when an activity does not complete, instead of a pydantic validation error. The errors carry the activity id, status, type, and failure message. `send_signed_request` now unpacks versioned result keys such as `createSubOrganizationResultV7` correctly.

## 0.1.0 — 2026-03-09

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-types/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "turnkey-sdk-types"
version = "0.1.0"
version = "0.2.0"
description = "Type definitions for Turnkey API"
readme = "README.md"
requires-python = ">=3.8"
Expand Down
Loading