From b08e9738cb34c52b501a8b69115f9e7de4b92d4e Mon Sep 17 00:00:00 2001 From: David Boreham Date: Mon, 10 Oct 2022 16:19:11 -0600 Subject: [PATCH] Changes to suit repo renaming --- README.md | 10 +++++----- package.json | 6 +++--- src/cmds/cns-cmds/account-cmds/get.ts | 2 +- src/cmds/cns-cmds/auction-cmds/bid-cmds/commit.ts | 2 +- src/cmds/cns-cmds/auction-cmds/bid-cmds/reveal.ts | 2 +- src/cmds/cns-cmds/auction-cmds/get.ts | 2 +- src/cmds/cns-cmds/authority-cmds/bond-cmds/set.ts | 2 +- src/cmds/cns-cmds/authority-cmds/reserve.ts | 2 +- src/cmds/cns-cmds/authority-cmds/whois.ts | 2 +- src/cmds/cns-cmds/bond-cmds/associate.ts | 2 +- src/cmds/cns-cmds/bond-cmds/cancel.ts | 2 +- src/cmds/cns-cmds/bond-cmds/create.ts | 2 +- src/cmds/cns-cmds/bond-cmds/dissociate.ts | 2 +- src/cmds/cns-cmds/bond-cmds/get.ts | 2 +- src/cmds/cns-cmds/bond-cmds/list.ts | 2 +- src/cmds/cns-cmds/bond-cmds/records-cmds/dissociate.ts | 2 +- .../cns-cmds/bond-cmds/records-cmds/reassociate.ts | 2 +- src/cmds/cns-cmds/bond-cmds/refill.ts | 2 +- src/cmds/cns-cmds/bond-cmds/withdraw.ts | 2 +- src/cmds/cns-cmds/name-cmds/delete.ts | 2 +- src/cmds/cns-cmds/name-cmds/lookup.ts | 2 +- src/cmds/cns-cmds/name-cmds/resolve.ts | 2 +- src/cmds/cns-cmds/name-cmds/set.ts | 2 +- src/cmds/cns-cmds/record-cmds/get.ts | 2 +- src/cmds/cns-cmds/record-cmds/list.ts | 2 +- src/cmds/cns-cmds/record-cmds/publish.ts | 2 +- src/cmds/cns-cmds/status.ts | 2 +- src/cmds/cns-cmds/tokens-cmds/send.ts | 2 +- 28 files changed, 34 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index a2fda5a..c4ff82f 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ -# laconic-sdk +# laconic-cns-client ## Setup * Run `yarn` to install all dependencies. -* This repo uses laconic-client. We will need to use this locally. +* This repo uses laconic-sdk. We will need to use this locally. - * Run the following in [laconic-client repo](https://github.com/vulcanize/laconic-client): + * Run the following in [laconic-sdk repo](https://github.com/vulcanize/laconic-sdk): ```bash $ yarn @@ -16,10 +16,10 @@ $ yarn link ``` - * In laconic-sdk repo run: + * In laconic-cns-cli repo run: ```bash - $ yarn link laconic-client + $ yarn link laconic-sdk ``` * Create a `config.yml` file from [config.example.yml](./config.example.yml) file. diff --git a/package.json b/package.json index a3dbce6..a2dd352 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { - "name": "laconic-sdk", + "name": "laconic-cns-cli", "version": "0.1.0", "main": "index.js", - "repository": "git@github.com:cerc-io/laconic-sdk.git", + "repository": "git@github.com:cerc-io/laconic-cns-cli.git", "author": "", "license": "UNLICENSED", "devDependencies": { @@ -15,7 +15,7 @@ }, "dependencies": { "fs-extra": "^10.1.0", - "laconic-client": "https://github.com/cerc-io/laconic-client.git#dboreham/release", + "laconic-sdk": "https://github.com/cerc-io/laconic-sdk.git#dboreham/release", "js-yaml": "^3.14.1", "lodash": "^4.17.21", "lodash-clean": "^2.2.3", diff --git a/src/cmds/cns-cmds/account-cmds/get.ts b/src/cmds/cns-cmds/account-cmds/get.ts index aa8e9c6..a77fd78 100644 --- a/src/cmds/cns-cmds/account-cmds/get.ts +++ b/src/cmds/cns-cmds/account-cmds/get.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Account, Registry } from 'laconic-client'; +import { Account, Registry } from 'laconic-sdk'; import { getConfig, getConnectionInfo } from '../../../util'; diff --git a/src/cmds/cns-cmds/auction-cmds/bid-cmds/commit.ts b/src/cmds/cns-cmds/auction-cmds/bid-cmds/commit.ts index 8b98d99..3b79101 100644 --- a/src/cmds/cns-cmds/auction-cmds/bid-cmds/commit.ts +++ b/src/cmds/cns-cmds/auction-cmds/bid-cmds/commit.ts @@ -1,7 +1,7 @@ import { Arguments } from 'yargs'; import assert from 'assert'; import path from 'path'; -import { Account, createBid, Registry } from 'laconic-client'; +import { Account, createBid, Registry } from 'laconic-sdk'; import { ensureDir } from 'fs-extra'; import fs from 'fs'; diff --git a/src/cmds/cns-cmds/auction-cmds/bid-cmds/reveal.ts b/src/cmds/cns-cmds/auction-cmds/bid-cmds/reveal.ts index 323862f..7eafe10 100644 --- a/src/cmds/cns-cmds/auction-cmds/bid-cmds/reveal.ts +++ b/src/cmds/cns-cmds/auction-cmds/bid-cmds/reveal.ts @@ -1,7 +1,7 @@ import { Arguments } from 'yargs'; import assert from 'assert'; import path from 'path'; -import { Registry } from 'laconic-client'; +import { Registry } from 'laconic-sdk'; import fs from 'fs'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../../util'; diff --git a/src/cmds/cns-cmds/auction-cmds/get.ts b/src/cmds/cns-cmds/auction-cmds/get.ts index 7b8fa0f..9ce1ac5 100644 --- a/src/cmds/cns-cmds/auction-cmds/get.ts +++ b/src/cmds/cns-cmds/auction-cmds/get.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'laconic-client'; +import { Registry } from 'laconic-sdk'; import { getConfig, getConnectionInfo } from '../../../util'; diff --git a/src/cmds/cns-cmds/authority-cmds/bond-cmds/set.ts b/src/cmds/cns-cmds/authority-cmds/bond-cmds/set.ts index 8a67c7a..879e098 100644 --- a/src/cmds/cns-cmds/authority-cmds/bond-cmds/set.ts +++ b/src/cmds/cns-cmds/authority-cmds/bond-cmds/set.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'laconic-client'; +import { Registry } from 'laconic-sdk'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../../util'; diff --git a/src/cmds/cns-cmds/authority-cmds/reserve.ts b/src/cmds/cns-cmds/authority-cmds/reserve.ts index fd0fcde..1b47821 100644 --- a/src/cmds/cns-cmds/authority-cmds/reserve.ts +++ b/src/cmds/cns-cmds/authority-cmds/reserve.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'laconic-client'; +import { Registry } from 'laconic-sdk'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util'; diff --git a/src/cmds/cns-cmds/authority-cmds/whois.ts b/src/cmds/cns-cmds/authority-cmds/whois.ts index 8172a04..30ae975 100644 --- a/src/cmds/cns-cmds/authority-cmds/whois.ts +++ b/src/cmds/cns-cmds/authority-cmds/whois.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'laconic-client'; +import { Registry } from 'laconic-sdk'; import { getConfig, getConnectionInfo } from '../../../util'; diff --git a/src/cmds/cns-cmds/bond-cmds/associate.ts b/src/cmds/cns-cmds/bond-cmds/associate.ts index 190af67..5f3f144 100644 --- a/src/cmds/cns-cmds/bond-cmds/associate.ts +++ b/src/cmds/cns-cmds/bond-cmds/associate.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'laconic-client'; +import { Registry } from 'laconic-sdk'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util'; diff --git a/src/cmds/cns-cmds/bond-cmds/cancel.ts b/src/cmds/cns-cmds/bond-cmds/cancel.ts index 0f0e399..2bc50ee 100644 --- a/src/cmds/cns-cmds/bond-cmds/cancel.ts +++ b/src/cmds/cns-cmds/bond-cmds/cancel.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'laconic-client'; +import { Registry } from 'laconic-sdk'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util'; diff --git a/src/cmds/cns-cmds/bond-cmds/create.ts b/src/cmds/cns-cmds/bond-cmds/create.ts index 5cac327..b41878d 100644 --- a/src/cmds/cns-cmds/bond-cmds/create.ts +++ b/src/cmds/cns-cmds/bond-cmds/create.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'laconic-client'; +import { Registry } from 'laconic-sdk'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util'; diff --git a/src/cmds/cns-cmds/bond-cmds/dissociate.ts b/src/cmds/cns-cmds/bond-cmds/dissociate.ts index 9018cac..d9da0b6 100644 --- a/src/cmds/cns-cmds/bond-cmds/dissociate.ts +++ b/src/cmds/cns-cmds/bond-cmds/dissociate.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'laconic-client'; +import { Registry } from 'laconic-sdk'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util'; diff --git a/src/cmds/cns-cmds/bond-cmds/get.ts b/src/cmds/cns-cmds/bond-cmds/get.ts index 3412eb0..bf53182 100644 --- a/src/cmds/cns-cmds/bond-cmds/get.ts +++ b/src/cmds/cns-cmds/bond-cmds/get.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'laconic-client'; +import { Registry } from 'laconic-sdk'; import { getConfig, getConnectionInfo } from '../../../util'; diff --git a/src/cmds/cns-cmds/bond-cmds/list.ts b/src/cmds/cns-cmds/bond-cmds/list.ts index 4f5aab8..90eb46d 100644 --- a/src/cmds/cns-cmds/bond-cmds/list.ts +++ b/src/cmds/cns-cmds/bond-cmds/list.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'laconic-client'; +import { Registry } from 'laconic-sdk'; import { getConfig, getConnectionInfo } from '../../../util'; diff --git a/src/cmds/cns-cmds/bond-cmds/records-cmds/dissociate.ts b/src/cmds/cns-cmds/bond-cmds/records-cmds/dissociate.ts index 0e9b806..85da6a5 100644 --- a/src/cmds/cns-cmds/bond-cmds/records-cmds/dissociate.ts +++ b/src/cmds/cns-cmds/bond-cmds/records-cmds/dissociate.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'laconic-client'; +import { Registry } from 'laconic-sdk'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../../util'; diff --git a/src/cmds/cns-cmds/bond-cmds/records-cmds/reassociate.ts b/src/cmds/cns-cmds/bond-cmds/records-cmds/reassociate.ts index 3ec3c7c..9fdb5b0 100644 --- a/src/cmds/cns-cmds/bond-cmds/records-cmds/reassociate.ts +++ b/src/cmds/cns-cmds/bond-cmds/records-cmds/reassociate.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'laconic-client'; +import { Registry } from 'laconic-sdk'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../../util'; diff --git a/src/cmds/cns-cmds/bond-cmds/refill.ts b/src/cmds/cns-cmds/bond-cmds/refill.ts index 72ecdb0..322282b 100644 --- a/src/cmds/cns-cmds/bond-cmds/refill.ts +++ b/src/cmds/cns-cmds/bond-cmds/refill.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'laconic-client'; +import { Registry } from 'laconic-sdk'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util'; diff --git a/src/cmds/cns-cmds/bond-cmds/withdraw.ts b/src/cmds/cns-cmds/bond-cmds/withdraw.ts index babe5e5..1b6be0e 100644 --- a/src/cmds/cns-cmds/bond-cmds/withdraw.ts +++ b/src/cmds/cns-cmds/bond-cmds/withdraw.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'laconic-client'; +import { Registry } from 'laconic-sdk'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util'; diff --git a/src/cmds/cns-cmds/name-cmds/delete.ts b/src/cmds/cns-cmds/name-cmds/delete.ts index b0df278..eea3867 100644 --- a/src/cmds/cns-cmds/name-cmds/delete.ts +++ b/src/cmds/cns-cmds/name-cmds/delete.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'laconic-client'; +import { Registry } from 'laconic-sdk'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util'; diff --git a/src/cmds/cns-cmds/name-cmds/lookup.ts b/src/cmds/cns-cmds/name-cmds/lookup.ts index b62364d..ef496ce 100644 --- a/src/cmds/cns-cmds/name-cmds/lookup.ts +++ b/src/cmds/cns-cmds/name-cmds/lookup.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'laconic-client'; +import { Registry } from 'laconic-sdk'; import { getConfig, getConnectionInfo } from '../../../util'; diff --git a/src/cmds/cns-cmds/name-cmds/resolve.ts b/src/cmds/cns-cmds/name-cmds/resolve.ts index 7b417cb..584df13 100644 --- a/src/cmds/cns-cmds/name-cmds/resolve.ts +++ b/src/cmds/cns-cmds/name-cmds/resolve.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'laconic-client'; +import { Registry } from 'laconic-sdk'; import { getConfig, getConnectionInfo } from '../../../util'; diff --git a/src/cmds/cns-cmds/name-cmds/set.ts b/src/cmds/cns-cmds/name-cmds/set.ts index 80dae49..8c2ce88 100644 --- a/src/cmds/cns-cmds/name-cmds/set.ts +++ b/src/cmds/cns-cmds/name-cmds/set.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'laconic-client'; +import { Registry } from 'laconic-sdk'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util'; diff --git a/src/cmds/cns-cmds/record-cmds/get.ts b/src/cmds/cns-cmds/record-cmds/get.ts index 0fec5e4..1b6d27e 100644 --- a/src/cmds/cns-cmds/record-cmds/get.ts +++ b/src/cmds/cns-cmds/record-cmds/get.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'laconic-client'; +import { Registry } from 'laconic-sdk'; import { getConfig, getConnectionInfo } from '../../../util'; diff --git a/src/cmds/cns-cmds/record-cmds/list.ts b/src/cmds/cns-cmds/record-cmds/list.ts index 22c23aa..d0a9834 100644 --- a/src/cmds/cns-cmds/record-cmds/list.ts +++ b/src/cmds/cns-cmds/record-cmds/list.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'laconic-client'; +import { Registry } from 'laconic-sdk'; import { getConfig, getConnectionInfo } from '../../../util'; diff --git a/src/cmds/cns-cmds/record-cmds/publish.ts b/src/cmds/cns-cmds/record-cmds/publish.ts index b8ff3ae..59bf4af 100644 --- a/src/cmds/cns-cmds/record-cmds/publish.ts +++ b/src/cmds/cns-cmds/record-cmds/publish.ts @@ -3,7 +3,7 @@ import assert from 'assert'; import path from 'path'; import yaml from 'js-yaml'; import fs from 'fs'; -import { Registry } from 'laconic-client'; +import { Registry } from 'laconic-sdk'; import { getConfig, getGasAndFees, getConnectionInfo } from '../../../util'; diff --git a/src/cmds/cns-cmds/status.ts b/src/cmds/cns-cmds/status.ts index a794ac6..4b05d8f 100644 --- a/src/cmds/cns-cmds/status.ts +++ b/src/cmds/cns-cmds/status.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Registry } from 'laconic-client'; +import { Registry } from 'laconic-sdk'; import { getConfig, getConnectionInfo } from '../../util'; diff --git a/src/cmds/cns-cmds/tokens-cmds/send.ts b/src/cmds/cns-cmds/tokens-cmds/send.ts index 2706320..079224f 100644 --- a/src/cmds/cns-cmds/tokens-cmds/send.ts +++ b/src/cmds/cns-cmds/tokens-cmds/send.ts @@ -1,6 +1,6 @@ import { Arguments } from 'yargs'; import assert from 'assert'; -import { Account, Registry } from 'laconic-client'; +import { Account, Registry } from 'laconic-sdk'; import { getConfig, getConnectionInfo, getGasAndFees } from '../../../util'; -- 2.45.2