ergo-lib-wasm 0.28.0

WASM bindings for ergo-lib
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
const fs = require('fs');

const argSuffix = process.argv.slice(2)[0];
const argBuildVer = process.argv.slice(2)[1];

const oldPkg = require(`../pkg${argSuffix}/package.json`);

// based on https://raw.githubusercontent.com/Emurgo/cardano-serialization-lib/master/scripts/publish-helper.js

oldPkg.version = oldPkg.version + `-alpha-${argBuildVer}`;

console.log(oldPkg);
fs.writeFileSync('./package.json', JSON.stringify(oldPkg, null, 2));