New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@solana/wallet-adapter-krystal

Package Overview
Dependencies
Maintainers
14
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/wallet-adapter-krystal - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

lib/esm/adapter.js

3

lib/cjs/adapter.js

@@ -65,3 +65,4 @@ "use strict";

try {
[account] = yield wallet.connect();
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
account = (yield wallet.connect())[0];
}

@@ -68,0 +69,0 @@ catch (error) {

@@ -27,1 +27,2 @@ import type { WalletName } from '@solana/wallet-adapter-base';

}
//# sourceMappingURL=adapter.d.ts.map
export * from './adapter';
//# sourceMappingURL=index.d.ts.map
{
"name": "@solana/wallet-adapter-krystal",
"version": "0.1.2",
"author": "Solana Maintainers <maintainers@solana.foundation>",
"repository": "https://github.com/solana-labs/wallet-adapter",
"license": "Apache-2.0",
"type": "module",
"sideEffects": false,
"main": "lib/cjs/index.js",
"module": "lib/esm/index.mjs",
"types": "lib/types/index.d.ts",
"exports": {
"require": "./lib/cjs/index.js",
"import": "./lib/esm/index.mjs",
"types": "./lib/types/index.d.ts"
},
"files": [
"lib",
"src",
"LICENSE"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"clean": "shx rm -rf lib",
"build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
"postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
},
"peerDependencies": {
"@solana/web3.js": "^1.50.1"
},
"dependencies": {
"@solana/wallet-adapter-base": "^0.9.12"
},
"devDependencies": {
"@solana/web3.js": "^1.50.1"
},
"gitHead": "723e197f5bda4661b7bede354858948ce5d889c8"
}
"name": "@solana/wallet-adapter-krystal",
"version": "0.1.3",
"author": "Solana Maintainers <maintainers@solana.foundation>",
"repository": "https://github.com/solana-labs/wallet-adapter",
"license": "Apache-2.0",
"type": "module",
"sideEffects": false,
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/types/index.d.ts",
"exports": {
"require": "./lib/cjs/index.js",
"import": "./lib/esm/index.js",
"types": "./lib/types/index.d.ts"
},
"files": [
"lib",
"src",
"LICENSE"
],
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"@solana/web3.js": "^1.50.1"
},
"dependencies": {
"@solana/wallet-adapter-base": "^0.9.14"
},
"devDependencies": {
"@solana/web3.js": "^1.50.1",
"shx": "^0.3.4"
},
"scripts": {
"clean": "shx mkdir -p lib && shx rm -rf lib"
}
}

@@ -98,3 +98,4 @@ import type { WalletName } from '@solana/wallet-adapter-base';

try {
[account] = await wallet.connect();
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
account = (await wallet.connect())[0]!;
} catch (error: any) {

@@ -101,0 +102,0 @@ throw new WalletAccountError(error?.message, error);

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