baja-lite 1.4.7 → 1.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/boot.js +2 -2
  2. package/package.json +1 -1
  3. package/sql.d.ts +345 -346
  4. package/sql.js +381 -763
package/boot.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { _Hump, DBType, getEnums } from 'baja-lite-field';
2
2
  import events from 'events';
3
- import { _dao, _dataConvert, _defOption, _enum, _EventBus, _fs, _GlobalSqlOption, _path, _primaryDB, _sqlCache, ColumnMode, logger, Mysql, Postgresql, SqlCache, Sqlite, SqliteRemote } from './sql.js';
3
+ import { _dao, _DataConvert, _defOption, _enum, _EventBus, _fs, _GlobalSqlOption, _path, _primaryDB, _sqlCache, ColumnMode, logger, Mysql, Postgresql, SqlCache, Sqlite, SqliteRemote } from './sql.js';
4
4
  export const Boot = async function (options) {
5
5
  globalThis[_GlobalSqlOption] = Object.assign({}, _defOption);
6
6
  if (options.skipEmptyString !== undefined) {
@@ -37,7 +37,7 @@ export const Boot = async function (options) {
37
37
  globalThis[_enum] = getEnums(options.enums);
38
38
  }
39
39
  if (options.dataConvert) {
40
- globalThis[_dataConvert] = options.dataConvert;
40
+ globalThis[_DataConvert] = options.dataConvert;
41
41
  }
42
42
  if (options.Mysql) {
43
43
  const { createPool } = await import('mysql2/promise');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "baja-lite",
3
- "version": "1.4.7",
3
+ "version": "1.4.8",
4
4
  "description": "some util for self",
5
5
  "homepage": "https://github.com/void-soul/baja-lite",
6
6
  "repository": {