@motherduck/wasm-client 0.4.1 → 0.6.0
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.
- package/README.md +6 -0
- package/index.js +1 -1
- package/index_with_arrow.js +8 -8
- package/package.json +1 -1
- package/types/arrow/DuckDBRecordBatch.d.ts +1 -1
- package/types/arrow/duckDBTypeFromArrowType.d.ts +1 -1
- package/types/duckdb/DuckDBData.d.ts +1 -1
- package/types/duckdb/DuckDBDataReader.d.ts +1 -1
- package/types/duckdb/worker_factory.d.ts +1 -0
- package/types/index.d.ts +2 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { DuckDBType } from '@motherduck/duckdb-types';
|
|
1
2
|
import { RecordBatch } from 'apache-arrow';
|
|
2
3
|
import { DuckDBData } from '../duckdb/DuckDBData';
|
|
3
|
-
import { DuckDBType } from '../duckdb/types';
|
|
4
4
|
import { DuckDBValue } from '../duckdb/values';
|
|
5
5
|
import { TypedTypeMap } from './TypedTypeMap';
|
|
6
6
|
export declare class DuckDBRecordBatch extends DuckDBData {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { DuckDBType } from '@motherduck/duckdb-types';
|
|
1
2
|
import { DataType, Type } from 'apache-arrow';
|
|
2
|
-
import { DuckDBType } from '../duckdb/types';
|
|
3
3
|
import { TypedTypeMap } from './TypedTypeMap';
|
|
4
4
|
export declare function duckDBTypeFromArrowType(type: DataType<Type, TypedTypeMap>): DuckDBType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { DuckDBType } from '@motherduck/duckdb-types';
|
|
1
2
|
import { AsyncDuckDBDataBatchIterator } from './AsyncDuckDBDataBatchIterator';
|
|
2
3
|
import { DuckDBData } from './DuckDBData';
|
|
3
|
-
import { DuckDBType } from './types';
|
|
4
4
|
import { DuckDBValue } from './values';
|
|
5
5
|
/**
|
|
6
6
|
* A result set that can be read incrementally.
|
|
@@ -10,5 +10,6 @@ export interface MDConnectionParams {
|
|
|
10
10
|
version?: string;
|
|
11
11
|
enableDebugLogging?: boolean;
|
|
12
12
|
}
|
|
13
|
+
export declare const CATALOG_CHANGE_EVENT = "CatalogChangeEvent";
|
|
13
14
|
export declare function createDuckDbConnection(params: MDConnectionParams): Promise<AsyncDuckDBConnection>;
|
|
14
15
|
export declare function getAsyncDuckDb(params: MDConnectionParams): Promise<AsyncDuckDB>;
|
package/types/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from '@motherduck/duckdb-types';
|
|
1
2
|
export * from './QueryTypes';
|
|
2
3
|
export * from './api';
|
|
3
4
|
export * from './arrow/TypedTypeMap';
|
|
@@ -6,7 +7,5 @@ export * from './duckdb/DuckDBData';
|
|
|
6
7
|
export * from './duckdb/DuckDBDataReader';
|
|
7
8
|
export * from './duckdb/DuckDBRow';
|
|
8
9
|
export * from './duckdb/files';
|
|
9
|
-
export * from './duckdb/types';
|
|
10
10
|
export * from './duckdb/values';
|
|
11
|
-
export { MDConnectionParams, getAsyncDuckDb } from './duckdb/worker_factory';
|
|
12
|
-
export * from './observability';
|
|
11
|
+
export { CATALOG_CHANGE_EVENT, MDConnectionParams, getAsyncDuckDb } from './duckdb/worker_factory';
|