@particle-network/solana-wallet
Advanced tools
Comparing version 0.7.7-alpha.0 to 0.7.7-alpha.1
@@ -217,4 +217,5 @@ "use strict"; | ||
SolanaWallet.prototype.getConnection = function (config) { | ||
var url = this.rpcUrl ? this.rpcUrl + "/solana/rpc" : "https://api.particle.network/solana-chain/rpc"; | ||
return new web3_js_1.Connection("".concat(url, "?chainId=").concat(this.auth.chainId()), { | ||
var _a; | ||
var url = (_a = this.rpcUrl) !== null && _a !== void 0 ? _a : "https://api.particle.network/solana-chain/rpc"; | ||
return new web3_js_1.Connection("".concat(url, "?chainId=").concat(this.auth.chainId(), "&projectId=").concat(this.auth.config.projectId, "&projectKey=").concat(this.auth.config.clientKey), { | ||
commitment: config === null || config === void 0 ? void 0 : config.commitment, | ||
@@ -221,0 +222,0 @@ wsEndpoint: config === null || config === void 0 ? void 0 : config.wsEndpoint, |
{ | ||
"name": "@particle-network/solana-wallet", | ||
"version": "0.7.7-alpha.0", | ||
"version": "0.7.7-alpha.1", | ||
"files": [ | ||
@@ -33,3 +33,3 @@ "lib", | ||
}, | ||
"gitHead": "5355e589290c24e5f73e19b534e12befb6e4e936" | ||
"gitHead": "b5c8e7bb0b1cd9f104c642e3227fb1cc714af2d9" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32436
318