@narrative.io/data-collaboration-sdk-ts 0.0.10 → 0.0.11

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/build/index.d.ts CHANGED
@@ -2,8 +2,12 @@ import { BaseApi } from './base-api';
2
2
  import { DatasetApi } from './datasets';
3
3
  import { HealthCheckApi } from './health';
4
4
  import { RosettaStoneApi } from './rosetta-stone';
5
+ import { type Environment, type Config, type ApiRecords } from './types';
6
+ import { type Dataset } from './datasets/types';
7
+ import { type HealthCheckResult } from './health/types';
8
+ import { type SampleRecords } from './rosetta-stone/types';
5
9
  declare class NarrativeApi extends BaseApi {
6
10
  }
7
11
  interface NarrativeApi extends BaseApi, HealthCheckApi, DatasetApi, RosettaStoneApi {
8
12
  }
9
- export default NarrativeApi;
13
+ export { NarrativeApi, type Environment, type Config, type ApiRecords, type Dataset, type HealthCheckResult, type SampleRecords };
package/build/index.js CHANGED
@@ -6,4 +6,4 @@ import { applyMixins } from './utils';
6
6
  class NarrativeApi extends BaseApi {
7
7
  }
8
8
  applyMixins(NarrativeApi, [BaseApi, HealthCheckApi, DatasetApi, RosettaStoneApi]);
9
- export default NarrativeApi;
9
+ export { NarrativeApi };
package/package.json CHANGED
@@ -1,13 +1,10 @@
1
1
  {
2
2
  "name": "@narrative.io/data-collaboration-sdk-ts",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "main": "build/index.js",
5
5
  "repository": "github:narrative-io/data-collaboration-sdk-ts",
6
6
  "source": "src/index.ts",
7
7
  "types": "build/index.d.ts",
8
- "exports": {
9
- "types": "./build/index.d.ts"
10
- },
11
8
  "description": "",
12
9
  "scripts": {
13
10
  "build": "tsc",