Releases: ACTA-Team/acta-credentials
Releases · ACTA-Team/acta-credentials
Release list
v1.1.2: align with vc-vault-factory v0.4.0 + did:stellar
Aligns the SDK (@acta-team/credentials) with the v0.4.0 API (factory + single-tenant vaults) and did:stellar issuance. The SDK is a thin client and the API derives each owner's vault, so the surface changes are focused.
Added
- Issuer deny-list (deny-by-exception; issuance is open by default):
client.vaultDenyIssuer(...)forPOST /contracts/vault/deny-issuerclient.vaultAllowIssuer(...)forPOST /contracts/vault/allow-issueruseVault().denyIssuer(...)/allowIssuer(...)
- Optional
userSaltoncreateVault,issue,revoke, and the deny/allow helpers (selects which deterministic vault to target). getContractVersion({ owner })for a per-vault version.ConfigResponsenow surfacesfactoryContractId,networkType,vaultWasmHash,didStellarRegistryId(actaContractIdkept as an alias).
Fixed
useCredential().revoke(...)now sendsowner. The v0.4.0 API needs it to derive the single-tenant vault; without it, revocation could not resolve a vault.
Changed
useVault().authorizeIssuer/revokeIssuerkeep working but now map to the API'sallow-issuer/deny-issueraliases. PreferallowIssuer/denyIssuer.- Issuance requires a resolvable
did:stellarissuer whose controller matches the signer (enforced by the API).useCredential().issueauto-resolves the issuer DID viagetOrCreateIssuerIdentitywhen omitted.
Removed (breaking)
client.vcIssueLinkedanduseCredential().issueLinked(linked credentials).client.vaultGetVcParentanduseVaultRead().getVcParent.
Compatibility
- Requires
acta-apiv1.1.1.
Verification
npm run build(tsup ESM/CJS + DTS/typecheck) passes.
v1.1.1
Changelog
All notable changes to @acta-team/credentials are documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
1.1.1 - 2026-05-07
First release under the new package name. Previously published as
@acta-team/acta-sdk,
which is now deprecated.
Migration: replace
@acta-team/acta-sdkwith@acta-team/credentialsin
yourpackage.json. The public hooks (useVault,useVaultRead,
useCredential) and provider (ActaConfig) keep the same names and import
paths.
Highlights
- New package name
@acta-team/credentials. The old package is deprecated. - API alignment with the latest ACTA backend:
vcIssueno longer acceptsholder. The holder is expressed inside
vcData(typicallycredentialSubject.id) following W3C VC 2.0.sourcePublicKeyis optional for vault owners that are smart accounts
(C...) — the backend uses the relayer automatically.
- Linked credentials:
- New client method
vcIssueLinkedand hookuseCredential().issueLinked
forPOST /contracts/vc/issue-linked. - New client method
vaultGetVcParentand hook
useVaultRead().getVcParentforPOST /contracts/vault/get-vc-parent.
- New client method
- Types: added
VcIssueLinkedResponse,VaultGetVcParentResponse,
VaultVcParentInfo. - CI: the package is now published from GitHub Actions with
npm provenance.
Breaking changes
vcIssue({ ..., holder })is no longer supported. Move the holder into
vcData(typicallycredentialSubject.id).
Install
npm install @acta-team/credentials