Skip to content

Commit 2341b21

Browse files
authored
fix(scw): export Decimal class (#1363)
1 parent 21d0735 commit 2341b21

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

packages/clients/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export {
2323
withUserAgentSuffix,
2424
} from './scw/client-ini-factory'
2525
export type { ClientConfig } from './scw/client-ini-factory'
26+
export { Decimal } from './scw/custom-types'
2627
export type { Money, ScwFile, TimeSeries } from './scw/custom-types'
2728
/* eslint-disable import/export,no-restricted-syntax */
2829
export * as Errors from './scw/errors/standard'

packages/clients/src/internals.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ export { authenticateWithSessionToken } from './scw/auth'
1111
/* eslint-enable deprecation/deprecation */
1212
export type { DefaultValues } from './scw/client-settings'
1313
export {
14+
marshalDecimal,
1415
marshalScwFile,
1516
marshalMoney,
1617
marshalTimeSeries,
18+
unmarshalDecimal,
1719
unmarshalMoney,
1820
unmarshalScwFile,
1921
unmarshalServiceInfo,

0 commit comments

Comments
 (0)