prividium 0.12.0 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import { sessionSchema } from '../../../../server/server.js';
2
2
  import { authenticateInBrowser } from '../../clients/browser-auth.js';
3
3
  import { fetchAuthenticatedJson } from '../../clients/http.js';
4
- import { DEFAULT_DOCTOR_CALLBACK_PORT } from '../../constants';
4
+ import { DEFAULT_DOCTOR_CALLBACK_PORT } from '../../constants.js';
5
5
  import { profileSchema } from '../../profile.js';
6
6
  export async function runBrowserAuthProbe(context) {
7
7
  const token = await authenticateInBrowser(context.targets.userPanelBaseUrl, DEFAULT_DOCTOR_CALLBACK_PORT);
@@ -1,4 +1,4 @@
1
- import { DEFAULT_DOCTOR_CALLBACK_PORT } from '../constants';
1
+ import { DEFAULT_DOCTOR_CALLBACK_PORT } from '../constants.js';
2
2
  import { passed } from '../utils.js';
3
3
  import { runBrowserAuthProbe, runProfileFetchProbe, runSessionValidationProbe } from './authentication/authentication.js';
4
4
  import { runWalletPreconditionsProbe } from './authentication/wallet-preconditions.js';
@@ -1,6 +1,6 @@
1
- import { requireRpcResult } from '../clients/rpc';
2
- import { fetchWalletRpcToken } from '../clients/wallet-api';
3
- import { formatHexQuantity, passed } from '../utils';
1
+ import { requireRpcResult } from '../clients/rpc.js';
2
+ import { fetchWalletRpcToken } from '../clients/wallet-api.js';
3
+ import { formatHexQuantity, passed } from '../utils.js';
4
4
  export const walletApiStage = {
5
5
  id: 'wallet-api',
6
6
  title: 'Wallet API',
@@ -1,4 +1,4 @@
1
- import { passed, shortenAddress } from '../utils';
1
+ import { passed, shortenAddress } from '../utils.js';
2
2
  import { runAuthBalanceProbe, runAuthNonceProbe } from './wallet/authenticated-rpc.js';
3
3
  import { runTransactionAuthorizationProbe, runWalletBalanceProbe, runWalletEthCallRestrictionProbe, runWalletTxCountRestrictionProbe } from './wallet/authorization-and-wallet-rpc.js';
4
4
  export function createWalletStage(walletAddress, index, total) {
@@ -7,7 +7,7 @@ import { walletApiStage } from './doctor/probes/wallet-api.js';
7
7
  import { buildDoctorReport } from './doctor/report/build.js';
8
8
  import { printReport } from './doctor/report/render.js';
9
9
  import { executeDoctorStages } from './doctor/stages.js';
10
- import { showPrividiumHeader } from './utils/show-prividium-header';
10
+ import { showPrividiumHeader } from './utils/show-prividium-header.js';
11
11
  import { gatherUrlConfig } from './utils/url-config.js';
12
12
  async function runDoctor(opts) {
13
13
  showPrividiumHeader();
@@ -2,7 +2,7 @@ import { setTimeout } from 'node:timers/promises';
2
2
  import { intro, log, tasks } from '@clack/prompts';
3
3
  import color from 'kleur';
4
4
  import open from 'open';
5
- import { showPrividiumHeader } from '../commands/utils/show-prividium-header';
5
+ import { showPrividiumHeader } from '../commands/utils/show-prividium-header.js';
6
6
  export class CreationWorkflow {
7
7
  submitCallback;
8
8
  host;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prividium",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "prividium": "bin/cli.js"