Skip to content

Commit

Permalink
fix: missing constants in promise.js
Browse files Browse the repository at this point in the history
  • Loading branch information
wellwelwel committed Jun 24, 2023
1 parent 297d34d commit 4ce2c70
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions promise.js
Original file line number Diff line number Diff line change
Expand Up @@ -563,3 +563,13 @@ exports.raw = core.raw;
exports.PromisePool = PromisePool;
exports.PromiseConnection = PromiseConnection;
exports.PromisePoolConnection = PromisePoolConnection;

exports.__defineGetter__('Types', () => require('./lib/constants/types.js'));

exports.__defineGetter__('Charsets', () =>
require('./lib/constants/charsets.js')
);

exports.__defineGetter__('CharsetToEncoding', () =>
require('./lib/constants/charset_encodings.js')
);

0 comments on commit 4ce2c70

Please sign in to comment.