Skip to content

Commit

Permalink
7.5.0 - fix import of the chalk library
Browse files Browse the repository at this point in the history
  • Loading branch information
Linas Išganaitis committed Oct 9, 2024
1 parent b8e46ec commit be98fde
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@meeco/cryppo": "2.0.2",
"@meeco/file-storage-node": "5.0.4",
"@meeco/keystore-api-sdk": "10.1.1-develop.20230816154849.c7c2018",
"@meeco/sdk": "^7.4.0",
"@meeco/sdk": "^7.5.0",
"@meeco/vault-api-sdk": "39.6.1-develop.20231213134427.3dde2fcb3",
"oclif": "^3.1.0",
"@oclif/core": "^1.9.9",
Expand Down
2 changes: 1 addition & 1 deletion packages/file-storage-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"stream-browserify": "^3.0.0"
},
"devDependencies": {
"@meeco/sdk": "^7.4.0",
"@meeco/sdk": "^7.5.0",
"bili": "^5.0.5",
"typedoc": "^0.23.2",
"typescript": "^4.7.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"lint": "tslint -p . -t stylish -c ../../tslint.json"
},
"dependencies": {
"@meeco/sdk": "^7.4.0",
"@meeco/sdk": "^7.5.0",
"@meeco/style-kit": "^2.0.1",
"crypto-browserify": "^3.12.0",
"json-formatter-js": "^2.3.4",
Expand Down
6 changes: 6 additions & 0 deletions packages/sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project (loosely) adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 7.5.0

### Fixed

- Fix `import` of `chalk` dependency that makes library to crash

## 7.4.0

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@meeco/sdk",
"description": "A wrapper library around Meeco's various API SDK's and encryption libraries",
"version": "7.4.0",
"version": "7.5.0",
"author": "Meeco",
"bugs": "https://github.com/Meeco/cli/issues",
"source": "src/index.ts",
Expand Down
7 changes: 1 addition & 6 deletions packages/sdk/src/util/api-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,12 @@ import * as Keystore from '@meeco/keystore-api-sdk';
import * as Vault from '@meeco/vault-api-sdk';
import { Configuration } from '@meeco/vault-api-sdk';
import * as VC from '@meeco/vc-api-sdk';
import chalk from 'chalk';
import { debug } from 'debug';
import { Environment } from '../models/environment';
import { IIdentityNetworkToken, IKeystoreToken, IVaultToken, IVCToken } from '../services/service';
import SDKFormData from './sdk-form-data';

/**
* INFO: using 'import' statement causes typescript errors either in tests or in built version of the package
*/
/* tslint:disable no-var-requires */
const chalk = require('chalk');

let fetchLib = fetch;

/**
Expand Down

0 comments on commit be98fde

Please sign in to comment.