Skip to content

Commit

Permalink
fix: npm dist
Browse files Browse the repository at this point in the history
  • Loading branch information
slowbackspace committed Jun 22, 2021
1 parent 250cc5e commit b4160d9
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
Binary file modified .yarn/install-state.gz
Binary file not shown.
6 changes: 6 additions & 0 deletions 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 adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.5.3] - 2021-06-22

### Fixed

- build

## [0.5.2] - 2021-06-21

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@blockfrost/blockfrost-js",
"version": "0.5.2",
"version": "0.5.3",
"description": "A JavaScript/TypeScript SDK for interacting with the https://blockfrost.io API",
"files": [
"lib/**/*.js",
Expand All @@ -13,7 +13,7 @@
],
"license": "Apache-2.0",
"author": "blockfrost.io",
"main": "lib/src/index.js",
"main": "lib/index.js",
"scripts": {
"build": "yarn clean && tsc",
"prepublishOnly": "yarn build",
Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ import {
import { Options } from './types';
import join from 'url-join';
import { validateOptions } from './utils';
import * as packageJson from '../package.json';
// eslint-disable-next-line @typescript-eslint/no-var-requires
const packageJson = require('../package.json');

class BlockFrostAPI {
apiUrl: string;
Expand Down
3 changes: 2 additions & 1 deletion test/tests/utils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { BlockFrostAPI } from '../../src/index';
import * as utils from '../../src/utils';
import * as packageJson from '../../package.json';
// eslint-disable-next-line @typescript-eslint/no-var-requires
const packageJson = require('../../package.json');

describe('utils', () => {
test('no options', () => {
Expand Down
2 changes: 0 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@
"noFallthroughCasesInSwitch": true,
"esModuleInterop": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"forceConsistentCasingInFileNames": true
},
"include": ["src/**/*"],
"exclude": ["./src/types/OpenApi.ts"],
"outDir": "lib"
}

0 comments on commit b4160d9

Please sign in to comment.