Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tech debt #1391

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from
1 change: 0 additions & 1 deletion demos/client-example-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"@polkadot/util": "12.6.2",
"@polkadot/util-crypto": "12.6.2",
"@prosopo/common": "2.1.0",
"@prosopo/contract": "2.1.0",
"@prosopo/dotenv": "2.1.0",
"@prosopo/server": "2.1.0",
"@prosopo/types": "2.1.0",
Expand Down
2 changes: 1 addition & 1 deletion demos/client-example-server/src/controllers/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { blake2b } from "@noble/hashes/blake2b";
import { u8aToHex } from "@polkadot/util";
import { randomAsHex } from "@polkadot/util-crypto";
import { ProsopoEnvError } from "@prosopo/common";
import { getPairAsync } from "@prosopo/contract";
import { getPairAsync } from "@prosopo/account";
import { ProsopoServer } from "@prosopo/server";
import {
ApiParams,
Expand Down
3 changes: 0 additions & 3 deletions demos/client-example-server/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
{
"path": "../../packages/cli"
},
{
"path": "../../packages/contract"
},
{
"path": "../../packages/procaptcha"
},
Expand Down
2 changes: 0 additions & 2 deletions dev/config/src/projectInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ export const getCliPkgDir = () => `${getPackagesDir()}/cli`;

export const getCommonPkgDir = () => `${getPackagesDir()}/common`;

export const getContractPkgDir = () => `${getPackagesDir()}/contract`;

export const getDatabasePkgDir = () => `${getPackagesDir()}/database`;

export const getDatasetsPkgDir = () => `${getPackagesDir()}/datasets`;
Expand Down
1 change: 0 additions & 1 deletion dev/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"@prosopo/cli": "2.1.0",
"@prosopo/common": "2.1.0",
"@prosopo/config": "2.1.0",
"@prosopo/contract": "2.1.0",
"@prosopo/datasets": "2.1.0",
"@prosopo/dotenv": "2.1.0",
"@prosopo/env": "2.1.0",
Expand Down
2 changes: 1 addition & 1 deletion dev/scripts/src/scripts/generateMnemonic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.

import { LogLevel, getLogger } from "@prosopo/common";
import { generateMnemonic } from "@prosopo/contract";
import { generateMnemonic } from "@prosopo/account";
import { loadEnv } from "@prosopo/dotenv";
import { updateEnvFile } from "../setup/index.js";

Expand Down
2 changes: 1 addition & 1 deletion dev/scripts/src/scripts/sign.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { stringToU8a, u8aToHex } from "@polkadot/util";
// See the License for the specific language governing permissions and
// limitations under the License.
import type { KeypairType } from "@polkadot/util-crypto/types";
import { getPairAsync } from "@prosopo/contract";
import { getPairAsync } from "@prosopo/account";
import yargs from "yargs";
import { hideBin } from "yargs/helpers";

Expand Down
2 changes: 1 addition & 1 deletion dev/scripts/src/setup/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { BN } from "@polkadot/util";
import { isAddress } from "@polkadot/util-crypto";
import { defaultConfig, getSecret } from "@prosopo/cli";
import { LogLevel, ProsopoEnvError, getLogger } from "@prosopo/common";
import { generateMnemonic, getPairAsync } from "@prosopo/contract";
import { generateMnemonic, getPairAsync } from "@prosopo/account";
import { getEnvFile } from "@prosopo/dotenv";
import { ProviderEnvironment } from "@prosopo/env";
import {
Expand Down
3 changes: 0 additions & 3 deletions dev/scripts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
{
"path": "../config"
},
{
"path": "../../packages/contract"
},
{
"path": "../../packages/database"
},
Expand Down
Loading
Loading