@bluecopa/core 0.1.5 → 0.1.7

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 CHANGED
@@ -4,22 +4,27 @@ The core package provides essential API utilities and functions for data managem
4
4
 
5
5
  ## Table of Contents
6
6
 
7
- - [Version](#version)
8
- - [Installation](#installation)
9
- - [Requirements](#requirements)
10
- - [Configuration](#configuration)
11
- - [API Reference](#api-reference)
12
- - [Dataset Module](#dataset-module)
13
- - [Definition Module](#definition-module)
14
- - [File Module](#file-module)
15
- - [InputTable Module](#inputtable-module)
16
- - [Metric Module](#metric-module)
17
- - [User Module](#user-module)
18
- - [Workbook Module](#workbook-module)
19
- - [Workflow Module](#workflow-module)
20
- - [Worksheet Module](#worksheet-module)
21
- - [Development](#development)
22
- - [Related Packages](#related-packages)
7
+ - [@bluecopa/core](#bluecopacore)
8
+ - [Table of Contents](#table-of-contents)
9
+ - [Version](#version)
10
+ - [Installation](#installation)
11
+ - [Requirements](#requirements)
12
+ - [Configuration](#configuration)
13
+ - [API Reference](#api-reference)
14
+ - [Dataset Module](#dataset-module)
15
+ - [Definition Module](#definition-module)
16
+ - [File Module](#file-module)
17
+ - [InputTable Module](#inputtable-module)
18
+ - [Metric Module](#metric-module)
19
+ - [User Module](#user-module)
20
+ - [Workbook Module](#workbook-module)
21
+ - [Workflow Module](#workflow-module)
22
+ - [Worksheet Module](#worksheet-module)
23
+ - [Examples](#examples)
24
+ - [1. Get Input Tables](#1-get-input-tables)
25
+ - [2. Get Workbooks by Type](#2-get-workbooks-by-type)
26
+ - [Development](#development)
27
+ - [Related Packages](#related-packages)
23
28
 
24
29
  ## Version
25
30
 
@@ -35,7 +40,7 @@ npm install @bluecopa/core
35
40
 
36
41
  - Node.js >= 18.0.0
37
42
  - Dependencies:
38
- - axios (1.11.0) - For HTTP requests
43
+ - axios (1.12.0) - For HTTP requests
39
44
  - lodash (4.17.21) - For utility functions
40
45
 
41
46
 
@@ -49,7 +54,7 @@ Import and set the config:
49
54
  import { copaSetConfig } from '@bluecopa/core';
50
55
 
51
56
  copaSetConfig({
52
- apiBaseUrl: 'https://api.bluecopa.com', // Base URL for API endpoints
57
+ apiBaseUrl: 'https://develop.bluecopa.com', // Base URL for API endpoints
53
58
  accessToken: 'your-access-token', // Authentication token
54
59
  workspaceId: 'your-workspace-id' // Current workspace identifier
55
60
  });
@@ -6,4 +6,4 @@ export declare const runDefinition: (props: {
6
6
  variable: string;
7
7
  source?: CancelTokenSource;
8
8
  limit?: number;
9
- }) => Promise<import('axios').AxiosResponse<any, any>>;
9
+ }) => Promise<import('axios').AxiosResponse<any, any, {}>>;
@@ -8,4 +8,4 @@ export declare const runPublishedDefinition: (props: {
8
8
  variable: string;
9
9
  inputs: object;
10
10
  source?: CancelTokenSource;
11
- }) => Promise<import('axios').AxiosResponse<any, any>>;
11
+ }) => Promise<import('axios').AxiosResponse<any, any, {}>>;
@@ -3,4 +3,4 @@ export declare const runSampleDefinition: (props: {
3
3
  dataFilter: "valid_data" | "invalid_data" | "all_data";
4
4
  duplicateColGroups?: string[];
5
5
  datasetType?: string;
6
- }) => Promise<import('axios').AxiosResponse<any, any>>;
6
+ }) => Promise<import('axios').AxiosResponse<any, any, {}>>;
@@ -28,7 +28,7 @@ export declare const getPivotGridData: (props: {
28
28
  definitionModel: Definition;
29
29
  variableName: string;
30
30
  valueCols?: ValueColsType[];
31
- }) => Promise<import('axios').AxiosResponse<any, any>>;
31
+ }) => Promise<import('axios').AxiosResponse<any, any, {}>>;
32
32
  export declare const replaceFilterColumn: (props: {
33
33
  fr: FilterSelectOptionsType[];
34
34
  column: SelectOptionType<ColumnSetting>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bluecopa/core",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "type": "module",
5
5
  "main": "dist/index.es.js",
6
6
  "module": "dist/index.es.js",
@@ -33,7 +33,7 @@
33
33
  "node": ">=18.0.0"
34
34
  },
35
35
  "dependencies": {
36
- "axios": "1.11.0",
36
+ "axios": "1.12.0",
37
37
  "lodash": "4.17.21"
38
38
  }
39
39
  }