@solana-mobile/dapp-store-cli 0.5.2 → 0.6.0
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.
- package/lib/CliUtils.js +5 -3
- package/lib/package.json +2 -2
- package/package.json +2 -2
- package/src/CliUtils.ts +5 -3
package/lib/CliUtils.js
CHANGED
|
@@ -159,7 +159,7 @@ export var Constants = function Constants() {
|
|
|
159
159
|
"use strict";
|
|
160
160
|
_class_call_check(this, Constants);
|
|
161
161
|
};
|
|
162
|
-
_define_property(Constants, "CLI_VERSION", "0.
|
|
162
|
+
_define_property(Constants, "CLI_VERSION", "0.6.0");
|
|
163
163
|
_define_property(Constants, "CONFIG_FILE_NAME", "config.yaml");
|
|
164
164
|
_define_property(Constants, "DEFAULT_RPC_DEVNET", "https://api.devnet.solana.com");
|
|
165
165
|
_define_property(Constants, "getConfigFilePath", function() {
|
|
@@ -297,9 +297,11 @@ export var getMetaplexInstance = function(connection, keypair) {
|
|
|
297
297
|
metaplex.use(bucketPlugin);
|
|
298
298
|
} else {
|
|
299
299
|
var bundlrStorageDriver = isDevnet ? new BundlrStorageDriver(metaplex, {
|
|
300
|
-
address: "https://
|
|
300
|
+
address: "https://turbo.ardrive.dev",
|
|
301
301
|
providerUrl: Constants.DEFAULT_RPC_DEVNET
|
|
302
|
-
}) : new BundlrStorageDriver(metaplex
|
|
302
|
+
}) : new BundlrStorageDriver(metaplex, {
|
|
303
|
+
address: "https://up.arweave.net"
|
|
304
|
+
});
|
|
303
305
|
metaplex.storage().setDriver(bundlrStorageDriver);
|
|
304
306
|
}
|
|
305
307
|
metaplex.storage().setDriver(new CachedStorageDriver(metaplex.storage().driver(), {
|
package/lib/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solana-mobile/dapp-store-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@aws-sdk/client-s3": "^3.321.1",
|
|
55
55
|
"@metaplex-foundation/js-plugin-aws": "^0.18.3",
|
|
56
|
-
"@solana-mobile/dapp-store-publishing-tools": "workspace:0.
|
|
56
|
+
"@solana-mobile/dapp-store-publishing-tools": "workspace:0.6.0",
|
|
57
57
|
"@solana/web3.js": "1.68.0",
|
|
58
58
|
"@types/semver": "^7.3.13",
|
|
59
59
|
"ajv": "^8.11.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solana-mobile/dapp-store-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@aws-sdk/client-s3": "^3.321.1",
|
|
48
48
|
"@metaplex-foundation/js-plugin-aws": "^0.18.3",
|
|
49
|
-
"@solana-mobile/dapp-store-publishing-tools": "0.
|
|
49
|
+
"@solana-mobile/dapp-store-publishing-tools": "0.6.0",
|
|
50
50
|
"@solana/web3.js": "1.68.0",
|
|
51
51
|
"@types/semver": "^7.3.13",
|
|
52
52
|
"ajv": "^8.11.0",
|
package/src/CliUtils.ts
CHANGED
|
@@ -18,7 +18,7 @@ import { awsStorage } from "@metaplex-foundation/js-plugin-aws";
|
|
|
18
18
|
import { S3StorageManager } from "./config/index.js";
|
|
19
19
|
|
|
20
20
|
export class Constants {
|
|
21
|
-
static CLI_VERSION = "0.
|
|
21
|
+
static CLI_VERSION = "0.6.0";
|
|
22
22
|
static CONFIG_FILE_NAME = "config.yaml";
|
|
23
23
|
static DEFAULT_RPC_DEVNET = "https://api.devnet.solana.com";
|
|
24
24
|
|
|
@@ -164,10 +164,12 @@ export const getMetaplexInstance = (
|
|
|
164
164
|
} else {
|
|
165
165
|
const bundlrStorageDriver = isDevnet
|
|
166
166
|
? new BundlrStorageDriver(metaplex, {
|
|
167
|
-
address: "https://
|
|
167
|
+
address: "https://turbo.ardrive.dev",
|
|
168
168
|
providerUrl: Constants.DEFAULT_RPC_DEVNET,
|
|
169
169
|
})
|
|
170
|
-
: new BundlrStorageDriver(metaplex
|
|
170
|
+
: new BundlrStorageDriver(metaplex, {
|
|
171
|
+
address: "https://up.arweave.net",
|
|
172
|
+
});
|
|
171
173
|
|
|
172
174
|
metaplex.storage().setDriver(bundlrStorageDriver);
|
|
173
175
|
}
|