chore: upgrade to ESM #685
Annotations
10 errors and 1 warning
build (16.x):
src/methods/get-account-info.ts#L1
Argument of type 'void | { asset: string; policy_id: string; asset_name: string | null; fingerprint: string; quantity: string; initial_mint_tx_hash: string; mint_or_burn_count: number; onchain_metadata: { ...; } | null; onchain_metadata_standard?: "CIP25v1" | ... 3 more ... | undefined; onchain_metadata_extra?: string | ... 1 more .....' is not assignable to parameter of type '{ asset: string; policy_id: string; asset_name: string | null; fingerprint: string; quantity: string; initial_mint_tx_hash: string; mint_or_burn_count: number; onchain_metadata: { [key: string]: unknown; } | null; onchain_metadata_standard?: "CIP25v1" | ... 3 more ... | undefined; onchain_metadata_extra?: string | ....'.
|
build (16.x):
src/utils/address.ts#L1
Type 'Promise<void | { address: string; amount: { unit: string; quantity: string; }[]; stake_address: string | null; type: "byron" | "shelley"; script: boolean; }>' is not assignable to type 'Promise<{ address: string; amount: { unit: string; quantity: string; }[]; stake_address: string | null; type: "byron" | "shelley"; script: boolean; }>'.
|
build (16.x):
src/utils/address.ts#L1
Type 'void | never[] | { address: string; tx_hash: string; tx_index: number; output_index: number; amount: { unit: string; quantity: string; }[]; block: string; data_hash: string | null; inline_datum: string | null; reference_script_hash: string | null; }[]' must have a '[Symbol.iterator]()' method that returns an iterator.
|
build (16.x):
src/utils/address.ts#L1
Property 'map' does not exist on type 'void | never[] | { address: string; tx_hash: string; tx_index: number; output_index: number; amount: { unit: string; quantity: string; }[]; block: string; data_hash: string | null; inline_datum: string | null; reference_script_hash: string | null; }[]'.
|
build (16.x):
src/utils/address.ts#L1
Parameter 'utxo' implicitly has an 'any' type.
|
build (16.x):
src/utils/address.ts#L1
Parameter 'asset' implicitly has an 'any' type.
|
build (16.x):
src/utils/address.ts#L1
Argument of type 'void | { asset: string; policy_id: string; asset_name: string | null; fingerprint: string; quantity: string; initial_mint_tx_hash: string; mint_or_burn_count: number; onchain_metadata: { ...; } | null; onchain_metadata_standard?: "CIP25v1" | ... 3 more ... | undefined; onchain_metadata_extra?: string | ... 1 more .....' is not assignable to parameter of type '{ asset: string; policy_id: string; asset_name: string | null; fingerprint: string; quantity: string; initial_mint_tx_hash: string; mint_or_burn_count: number; onchain_metadata: { [key: string]: unknown; } | null; onchain_metadata_standard?: "CIP25v1" | ... 3 more ... | undefined; onchain_metadata_extra?: string | ....'.
|
build (16.x):
src/utils/address.ts#L1
Argument of type 'Promise<void | { address: string; path: string; utxoData: TransformedUtxo; blockInfo: { time: number; height: number | null; hash: string; slot: number | null; epoch: number | null; ... 11 more ...; confirmations: number; }; }>' is not assignable to parameter of type 'Promise<UtxosWithBlockResponse>'.
|
build (16.x):
src/utils/address.ts#L1
Argument of type 'Promise<void | { address: string; data: { tx_hash: string; tx_index: number; block_height: number; block_time: number; }[]; } | { address: string; data: never[]; }>' is not assignable to parameter of type 'Promise<{ address: string; data: { tx_hash: string; tx_index: number; block_height: number; block_time: number; }[]; }>'.
|
build (16.x):
src/utils/address.ts#L1
Property 'address' does not exist on type 'void | { address: string; received_sum: { unit: string; quantity: string; }[]; sent_sum: { unit: string; quantity: string; }[]; tx_count: number; } | { address: string; path: string; tx_count: number; received_sum: { ...; }[]; sent_sum: { ...; }[]; }'.
|
build (16.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|