Skip to content

Commit 5790f21

Browse files
committed
Import fix for umi-uploader-irys involving PromisePool
1 parent 3722027 commit 5790f21

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/early-chairs-hunt.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@metaplex-foundation/umi-uploader-irys': patch
3+
---
4+
5+
Updated PromisePool import method for umi-uploader-irys which would error out on default import. Changing to a named import as per the docs seems to fix this issue.

packages/umi-uploader-irys/src/createIrysUploader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import {
3535
} from '@solana/web3.js';
3636
import BigNumber from 'bignumber.js';
3737
import { Buffer } from 'buffer';
38-
import PromisePool from '@supercharge/promise-pool';
38+
import { PromisePool } from '@supercharge/promise-pool';
3939
import {
4040
AssetUploadFailedError,
4141
IrysWithdrawError,

0 commit comments

Comments
 (0)