Skip to content

Commit 54ea89a

Browse files
authored
Merge pull request #2024 from DiamondLightSource/expose-more-functions
Expose createArrayFromView and getAxisOffsets
2 parents a8cceed + 091448b commit 54ea89a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/lib/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,15 @@ export type { VisCanvasContextValue } from './vis/shared/VisCanvasProvider';
112112
export type { InteractionsContextValue } from './interactions/InteractionsProvider';
113113

114114
// Utilities
115-
export { toTypedNdArray } from '@h5web/shared/vis-utils';
115+
export { toTypedNdArray, createArrayFromView } from '@h5web/shared/vis-utils';
116116

117117
export {
118118
getDomain,
119119
getDomains,
120120
getCombinedDomain,
121121
extendDomain,
122122
getAxisDomain,
123+
getAxisOffsets,
123124
getValueToIndexScale,
124125
createBufferAttr,
125126
createIndex,

0 commit comments

Comments
 (0)