UNPKG

@cosmwasm/ts-codegen

Version:

@cosmwasm/ts-codegen converts your CosmWasm smart contracts into dev-friendly TypeScript classes so you can focus on shipping code.

13 lines (12 loc) 507 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.header = void 0; const package_1 = require("./package"); const pkg = (0, package_1.readAndParsePackageJson)(); const version = process.env.NODE_ENV === 'test' ? 'latest' : pkg.version; exports.header = `/** * This file was automatically generated by ${pkg.name}@${version}. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run the ${pkg.name} generate command to regenerate this file. */ \n`;