Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dynamic-labs/solana

Package Overview
Dependencies
Maintainers
1
Versions
567
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dynamic-labs/solana - npm Package Compare versions

Comparing version 0.17.0-RC.16 to 0.17.0-RC.17

10

package.json
{
"name": "@dynamic-labs/solana",
"version": "0.17.0-RC.16",
"version": "0.17.0-RC.17",
"repository": {

@@ -30,8 +30,8 @@ "type": "git",

"@solana/web3.js": "1.70.1",
"@dynamic-labs/rpc-providers": "0.17.0-RC.16",
"@dynamic-labs/types": "0.17.0-RC.16",
"@dynamic-labs/utils": "0.17.0-RC.16",
"@dynamic-labs/wallet-connector-core": "0.17.0-RC.16"
"@dynamic-labs/rpc-providers": "0.17.0-RC.17",
"@dynamic-labs/types": "0.17.0-RC.17",
"@dynamic-labs/utils": "0.17.0-RC.17",
"@dynamic-labs/wallet-connector-core": "0.17.0-RC.17"
},
"peerDependencies": {}
}

@@ -0,1 +1,2 @@

import { WalletEventListeners } from '@dynamic-labs/wallet-connector-core';
import { SolWalletConnector } from './solWalletConnector';

@@ -11,2 +12,4 @@ import { ISolana } from './types';

getConnectedAccounts(): Promise<string[]>;
setupEventListeners(listeners: WalletEventListeners): void;
teardownEventListeners(): void;
}

@@ -60,4 +60,10 @@ import { __awaiter } from '../_virtual/_tslib.js';

}
setupEventListeners(listeners) {
SolProviderHelper._setupEventListeners(listeners, SolProviderHelper.findProvider(this.name));
}
teardownEventListeners() {
SolProviderHelper._teardownEventListeners(this.name);
}
}
export { Solflare };

@@ -104,2 +104,3 @@ import { __awaiter } from '../_virtual/_tslib.js';

static getConnectedAccountsWithName(name) {
var _b, _c;
return __awaiter(this, void 0, void 0, function* () {

@@ -119,3 +120,5 @@ const provider = this.findProvider(name);

}
const { address, publicKey } = connectionResult !== null && connectionResult !== void 0 ? connectionResult : {};
const address = connectionResult === null || connectionResult === void 0 ? void 0 : connectionResult.address;
// Solflare does not return the address or public key on connect
const publicKey = (_b = connectionResult === null || connectionResult === void 0 ? void 0 : connectionResult.publicKey) !== null && _b !== void 0 ? _b : (_c = provider.publicKey) === null || _c === void 0 ? void 0 : _c.toString();
if (address) {

@@ -122,0 +125,0 @@ return [address];

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc