@blockfrost/blockfrost-js
Advanced tools
Comparing version 0.9.0 to 0.9.1
{ | ||
"name": "@blockfrost/blockfrost-js", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"description": "A JavaScript/TypeScript SDK for interacting with the https://blockfrost.io API", | ||
@@ -28,3 +28,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@blockfrost/openapi": "^0.1.23", | ||
"@blockfrost/openapi": "0.1.24", | ||
"@emurgo/cardano-serialization-lib-nodejs": "^7.1.0", | ||
@@ -38,11 +38,11 @@ "axios": "^0.21.1", | ||
"@swc-node/jest": "^1.3.1", | ||
"@types/jest": "^26.0.23", | ||
"@types/node": "^15.12.4", | ||
"@types/url-join": "^4.0.0", | ||
"@typescript-eslint/eslint-plugin": "^4.28.0", | ||
"@typescript-eslint/parser": "4.28.0", | ||
"@types/jest": "^26.0.24", | ||
"@types/node": "^16.3.2", | ||
"@types/url-join": "^4.0.1", | ||
"@typescript-eslint/eslint-plugin": "^4.28.3", | ||
"@typescript-eslint/parser": "4.28.3", | ||
"axios-mock-adapter": "^1.19.0", | ||
"babel-plugin-module-resolver": "^4.1.0", | ||
"dotenv": "^10.0.0", | ||
"eslint": "7.29.0", | ||
"eslint": "7.30.0", | ||
"eslint-config-prettier": "8.3.0", | ||
@@ -53,12 +53,12 @@ "eslint-plugin-import": "2.23.4", | ||
"jest-extended": "^0.11.5", | ||
"openapi-typescript": "^4.0.1", | ||
"prettier": "2.3.1", | ||
"openapi-typescript": "^4.0.2", | ||
"prettier": "2.3.2", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^27.0.3", | ||
"ts-node": "10.0.0", | ||
"ts-node-dev": "^1.1.6", | ||
"ts-node": "10.1.0", | ||
"ts-node-dev": "^1.1.8", | ||
"tsc-watch": "^4.4.0", | ||
"tsconfig-paths": "^3.9.0", | ||
"typedoc": "^0.21.0", | ||
"typescript": "4.3.4" | ||
"tsconfig-paths": "^3.10.1", | ||
"typedoc": "^0.21.4", | ||
"typescript": "4.3.5" | ||
}, | ||
@@ -65,0 +65,0 @@ "engines": { |
@@ -31,3 +31,3 @@ <img src="https://blockfrost.io/images/logo.svg" width="250"> | ||
const API = new BlockFrostAPI({ | ||
projectId: 'YOUR API KEY HERE', | ||
projectId: 'YOUR API KEY HERE', // see: https://blockfrost.io | ||
}); | ||
@@ -37,3 +37,3 @@ | ||
const latestBlock = await API.blocksLatest(); | ||
const assets = await API.assets(); | ||
const latestEpoch = await API.epochsLatest(); | ||
const health = await API.health(); | ||
@@ -44,5 +44,8 @@ const address = await API.addresses( | ||
console.log(address, assets, latestBlock, health); | ||
console.log('address', address); | ||
console.log('latestEpoch', latestEpoch); | ||
console.log('latestBlock', latestBlock); | ||
console.log('health', health); | ||
} catch (err) { | ||
console.log(err); | ||
console.log('error', err); | ||
} | ||
@@ -55,5 +58,6 @@ ``` | ||
import { BlockfrostIPFS } from '@blockfrost/blockfrost-js'; | ||
import fs from 'fs'; | ||
const IPFS = new BlockFrostIPFS({ | ||
projectId: 'YOUR API KEY HERE', // see: https://blockfrost.io | ||
projectId: 'YOUR IPFS KEY HERE', // see: https://blockfrost.io | ||
}); | ||
@@ -60,0 +64,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
258758
6823
74
+ Added@blockfrost/openapi@0.1.24(transitive)
- Removed@blockfrost/openapi@0.1.69(transitive)
- Removed@isaacs/cliui@8.0.2(transitive)
- Removedajv@8.17.1(transitive)
- Removedansi-regex@5.0.16.1.0(transitive)
- Removedansi-styles@4.3.06.2.1(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@2.0.1(transitive)
- Removedcbor@9.0.2(transitive)
- Removedcolor-convert@2.0.1(transitive)
- Removedcolor-name@1.1.4(transitive)
- Removedcross-spawn@7.0.6(transitive)
- Removedeastasianwidth@0.2.0(transitive)
- Removedemoji-regex@8.0.09.2.2(transitive)
- Removedfast-deep-equal@3.1.3(transitive)
- Removedfast-uri@3.0.3(transitive)
- Removedforeground-child@3.3.0(transitive)
- Removedglob@11.0.0(transitive)
- Removedis-fullwidth-code-point@3.0.0(transitive)
- Removedisexe@2.0.0(transitive)
- Removedjackspeak@4.0.2(transitive)
- Removedjson-schema-traverse@1.0.0(transitive)
- Removedlru-cache@11.0.2(transitive)
- Removedminimatch@10.0.1(transitive)
- Removedminipass@7.1.2(transitive)
- Removednofilter@3.1.0(transitive)
- Removedpackage-json-from-dist@1.0.1(transitive)
- Removedpath-key@3.1.1(transitive)
- Removedpath-scurry@2.0.0(transitive)
- Removedrequire-from-string@2.0.2(transitive)
- Removedrimraf@6.0.1(transitive)
- Removedshebang-command@2.0.0(transitive)
- Removedshebang-regex@3.0.0(transitive)
- Removedsignal-exit@4.1.0(transitive)
- Removedstring-width@4.2.35.1.2(transitive)
- Removedstrip-ansi@6.0.17.1.0(transitive)
- Removedwhich@2.0.2(transitive)
- Removedwrap-ansi@7.0.08.1.0(transitive)
- Removedyaml@2.6.1(transitive)
Updated@blockfrost/openapi@0.1.24