Skip to content

Commit 571d625

Browse files
committed
Re-export DataverseApiAuthMechanism from public core surface
Adds DataverseApiAuthMechanism to the existing core/index.ts re-export alongside ApiConfig so consumers don't have to deep-import it from `@iqss/dataverse-client-javascript/dist/core/infra/repositories/ApiConfig`. This is the SDK side of a small two-line change agreed with the dataverse-frontend reusable-components track: once a prerelease ships this export, the standalone uploader can import the enum from the package's public surface. Until then, consumers can keep the deep import. Non-breaking additive change.
1 parent 07bf082 commit 571d625

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export { ReadError } from './domain/repositories/ReadError'
22
export { WriteError } from './domain/repositories/WriteError'
3-
export { ApiConfig } from './infra/repositories/ApiConfig'
3+
export { ApiConfig, DataverseApiAuthMechanism } from './infra/repositories/ApiConfig'
44
export { DvObjectOwnerNode, DvObjectType } from './domain/models/DvObjectOwnerNode'
55
export { PublicationStatus } from './domain/models/PublicationStatus'

0 commit comments

Comments
 (0)