Skip to content

Commit

Permalink
Fix node exports
Browse files Browse the repository at this point in the history
Signed-off-by: James Xin <[email protected]>
  • Loading branch information
jamesx-improving committed Sep 21, 2024
1 parent 3846ac3 commit f0b2d44
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions node/npm/glide/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,19 +185,18 @@ function initialize() {
SignedEncoding,
UnsignedEncoding,
UpdateByScore,
createLeakedArray,
createLeakedAttribute,
createLeakedBigint,
createLeakedDouble,
createLeakedMap,
createLeakedString,
parseInfoResponse,
Script,
ObjectType,
ClusterScanCursor,
BaseClientConfiguration,
GlideClusterClientConfiguration,
LevelOptions,
ReturnTypeRecord,
ReturnTypeMap,
WritePromiseOptions,
ClusterResponse,
ReturnTypeAttribute,
PubSubSubscriptions,
} = nativeBinding;

module.exports = {
Expand Down Expand Up @@ -304,19 +303,18 @@ function initialize() {
SignedEncoding,
UnsignedEncoding,
UpdateByScore,
createLeakedArray,
createLeakedAttribute,
createLeakedBigint,
createLeakedDouble,
createLeakedMap,
createLeakedString,
parseInfoResponse,
Script,
ObjectType,
ClusterScanCursor,
BaseClientConfiguration,
GlideClusterClientConfiguration,
LevelOptions,
ReturnTypeRecord,
ReturnTypeMap,
WritePromiseOptions,
ClusterResponse,
ReturnTypeAttribute,
PubSubSubscriptions,
};

globalObject = Object.assign(global, nativeBinding);
Expand Down

0 comments on commit f0b2d44

Please sign in to comment.