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

Upgrade metaplex js dependency #267

Merged
merged 1 commit into from
Apr 26, 2024
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
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
},
"devDependencies": {
"@metaplex-foundation/js": "0.18.3",
"@metaplex-foundation/js": "0.20.0",
"@jest/globals": "^29.5.0",
"@jest/types": "^29.5.0",
"@swc/jest": "^0.2.26",
Expand All @@ -52,7 +52,7 @@
},
"dependencies": {
"@aws-sdk/client-s3": "^3.321.1",
"@metaplex-foundation/js-plugin-aws": "^0.18.3",
"@metaplex-foundation/js-plugin-aws": "^0.20.0",
"@solana-mobile/dapp-store-publishing-tools": "workspace:0.8.2",
"@solana/web3.js": "1.68.0",
"@types/semver": "^7.3.13",
Expand Down
10 changes: 5 additions & 5 deletions packages/cli/src/CliUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { Connection } from "@solana/web3.js";
import { Keypair, PublicKey } from "@solana/web3.js";
import debugModule from "debug";
import {
BundlrStorageDriver,
IrysStorageDriver,
keypairIdentity,
Metaplex,
} from "@metaplex-foundation/js";
Expand Down Expand Up @@ -175,16 +175,16 @@ export const getMetaplexInstance = (
const bucketPlugin = awsStorage(awsClient, s3Mgr.s3Config.bucketName);
metaplex.use(bucketPlugin);
} else {
const bundlrStorageDriver = isDevnet
? new BundlrStorageDriver(metaplex, {
const irysStorageDriver = isDevnet
? new IrysStorageDriver(metaplex, {
address: "https://turbo.ardrive.dev",
providerUrl: Constants.DEFAULT_RPC_DEVNET,
})
: new BundlrStorageDriver(metaplex, {
: new IrysStorageDriver(metaplex, {
address: "https://turbo.ardrive.io",
});

metaplex.storage().setDriver(bundlrStorageDriver);
metaplex.storage().setDriver(irysStorageDriver);
}

metaplex.storage().setDriver(
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"shx": "^0.3.4"
},
"dependencies": {
"@metaplex-foundation/js": "0.18.3",
"@metaplex-foundation/js": "0.20.0",
"@solana/web3.js": "1.68.0",
"ajv": "^8.11.0",
"axios": "1.1.3",
Expand Down
Loading
Loading