chore: coverage badge and CI
fix: remove logs fix: examples fix: exmaples fix: examples fix: exmaples
fix: remove logs fix: examples fix: exmaples fix: examples fix: exmaples
name: blockfrost-js
name: blockfrost-js-CIcko
on: [push]
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn run lint
- run: yarn run type-check
- run: PROJECT_ID=${{ secrets.PROJECT_ID }} PROJECT_ID_IPFS=${{ secrets.PROJECT_ID_IPFS }} yarn run test
- run: yarn run build
- run: yarn lint
- run: yarn type-check
- run: yarn test
- run: yarn build
- run: yarn coverage-ci
 [](https://badge.fury.io/js/%40blockfrost%2Fblockfrost-js)  <img src="https://github.com/blockfrost/blockfrost-js/blob/master/packages/blockfrost-js/docs/badge-coverage.svg" /> <a href="https://fivebinaries.com/"><img src="https://img.shields.io/badge/made%20by-Five%20Binaries-darkviolet.svg?style=flat-square" /></a>
 [](https://badge.fury.io/js/%40blockfrost%2Fblockfrost-js)  <img src="https://github.com/blockfrost/blockfrost-js/blob/master/packages/blockfrost-js/coverage-badge.svg" /> <a href="https://fivebinaries.com/"><img src="https://img.shields.io/badge/made%20by-Five%20Binaries-darkviolet.svg?style=flat-square" /></a>
<img src="https://blockfrost.io/images/logo.svg" width="250" align="right" height="90">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="116" height="20" role="img" aria-label="Coverage: 91.84%"><title>Coverage: 91.84%</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="116" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="63" height="20" fill="#555"/><rect x="63" width="53" height="20" fill="#4c1"/><rect width="116" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="325" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="530">Coverage</text><text x="325" y="140" transform="scale(.1)" fill="#fff" textLength="530">Coverage</text><text aria-hidden="true" x="885" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="430">91.84%</text><text x="885" y="140" transform="scale(.1)" fill="#fff" textLength="430">91.84%</text></g></svg>
\ No newline at end of file
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="116" height="20" role="img" aria-label="Coverage: 92.34%"><title>Coverage: 92.34%</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="116" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="63" height="20" fill="#555"/><rect x="63" width="53" height="20" fill="#4c1"/><rect width="116" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="325" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="530">Coverage</text><text x="325" y="140" transform="scale(.1)" fill="#fff" textLength="530">Coverage</text><text aria-hidden="true" x="885" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="430">92.34%</text><text x="885" y="140" transform="scale(.1)" fill="#fff" textLength="430">92.34%</text></g></svg>
\ No newline at end of file
"declaration": true,
"importHelpers": true,
"module": "commonjs",
"outDir": "lib",
"outDir": "dist",
"rootDir": "src",
"strict": true,
"target": "es2017"
"target": "es2017",
"skipLibCheck": true,
},
"include": ["src/**/*"]
}
"outDir": "dist",
"rootDir": "src",
"strict": true,
"target": "es2017"
"target": "es2017",
"skipLibCheck": true,
},
"include": ["src/**/*"]
}
"outDir": "dist",
"rootDir": "src",
"strict": true,
"esModuleInterop": true,
"target": "es2017"
"target": "es2017",
"skipLibCheck": true,
},
"include": ["src/**/*"]
}
"outDir": "dist",
"rootDir": "src",
"strict": true,
"esModuleInterop": true,
"target": "es2017"
"target": "es2017",
"skipLibCheck": true,
},
"include": ["src/**/*"]
}
"docs": "yarn typedoc ./src/index.ts --theme ./node_modules/typedoc-github-wiki-theme/dist",
"lint": "eslint ./src/**/*.ts",
"prepublishOnly": "yarn build",
"test": "vitest",
"test": "vitest --silent",
"type-check": "tsc --project ./tsconfig.types.json",
"coverage": "vitest run --coverage"
"make-badge": "make-coverage-badge --output-path='./coverage-badge.svg'",
"coverage": "vitest run --coverage --silent && make-badge",
"coverage-ci": "vitest run --coverage --silent"
},
"dependencies": {
"@blockfrost/blockfrost-utils": "2.0.0",
afterEach(() => server.resetHandlers());
test('IPFS flow', async () => {
console.log('bbbbbbb');
console.log('aaa', `${__dirname}/../../fixtures/ipfs/img.svg`);
const addedObject = await IPFS.add(
`${__dirname}/../../fixtures/ipfs/img.svg`,
);
testTimeout: 5000,
mockReset: true,
coverage: {
reporter: ['json-summary'],
include: ['src'],
},
include: ['./test/tests/**/*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
SCP-4880 GetTransaction Query
* Moved the JSON serialization of the types of the UtxoIndexer in `marconi-chain-index` instead of `marconi-mamba` * Updated README of `marconi-mamba` Co-authored-by: koslambrou <[email protected]>
3993: PLT-106: Add encoder and decoder for `LedgerState` r=zliu41 a=zliu41 One use case is for `foldBlocks` to checkpoint the ledger state to avoid having to start from Genisys. cc `@JaredCorduan` Co-authored-by: Ziyang Liu <[email protected]>
Co-authored-by: koslambrou <[email protected]>
This should get ahold of all the applied plutus scripts in a transaction to profile them externally. For now, this is a just a frankenstein evaluateTx.
Add links to ledger CDDL specs, and warn about lack of information about HFC.
- Renamed the module names from Marconi.JsonRpc to Network.JsonRpc - Renamed `marconi` to `marconi-chain-index` - Renamed `rewindable-index` package to `marconi-core` and changed corresponding module names accordingly - Renamed marconi-mamba module names to match those of corresponding package name Co-authored-by: koslambrou <[email protected]>
- Renamed the module names from Marconi.JsonRpc to Network.JsonRpc - Renamed `marconi` to `marconi-chain-index` - Renamed `rewindable-index` package to `marconi-core` and changed corresponding module names accordingly - Renamed marconi-mamba module names to match those of corresponding package name Co-authored-by: koslambrou <[email protected]>
Co-authored-by: Jamie Bertram <[email protected]>