Skip to content
This repository was archived by the owner on Aug 30, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion etc/sdk.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ export enum ChainId {
// Warning: (ae-internal-missing-underscore) The name "ChainOrRpc" should be prefixed with an underscore because the declaration is marked as @internal
//
// @internal (undocumented)
export type ChainOrRpc = "mumbai" | "polygon" | "matic" | "rinkeby" | "goerli" | "mainnet" | "ethereum" | "fantom" | "fantom-testnet" | "avalanche" | "avalanche-testnet" | "optimism" | "optimism-testnet" | "arbitrum" | "arbitrum-testnet" | (string & {});
export type ChainOrRpc = "mumbai" | "polygon" | "matic" | "rinkeby" | "goerli" | "mainnet" | "ethereum" | "fantom" | "fantom-testnet" | "avalanche" | "avalanche-testnet" | "avalanche-fuji" | "optimism" | "optimism-testnet" | "arbitrum" | "arbitrum-testnet" | (string & {});

// Warning: (ae-internal-missing-underscore) The name "CidWithFileName" should be prefixed with an underscore because the declaration is marked as @internal
//
Expand Down
4 changes: 3 additions & 1 deletion src/core/classes/contract-publisher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ export class ContractPublisher extends RPCConnectionHandler {
);
}
return await Promise.all(
publishedMetadataUri.map((uri) => this.fetchPublishedMetadata(uri)),
publishedMetadataUri
.filter((uri) => uri.length > 0)
.map((uri) => this.fetchPublishedMetadata(uri)),
);
}

Expand Down