@solana/client 0.1.2 → 0.1.3

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.
@@ -2653,7 +2653,8 @@ var base58Decoder = codecsStrings.getBase58Decoder();
2653
2653
  var transactionDecoder = transactions.getTransactionDecoder();
2654
2654
  var transactionEncoder = transactions.getTransactionEncoder();
2655
2655
  function deriveConnectorId(wallet) {
2656
- return wallet.name.toLowerCase().replace(/[^a-z0-9]+/g, "-");
2656
+ const kebab = wallet.name.toLowerCase().replace(/[^a-z0-9]+/g, "-");
2657
+ return `wallet-standard:${kebab}`;
2657
2658
  }
2658
2659
  __name(deriveConnectorId, "deriveConnectorId");
2659
2660
  function getPrimaryAccount(accounts) {
@@ -2696,6 +2697,7 @@ function createWalletStandardConnector(wallet, options = {}) {
2696
2697
  canAutoConnect: options.canAutoConnect ?? Boolean(wallet.features[features.StandardConnect]),
2697
2698
  icon: options.icon ?? wallet.icon,
2698
2699
  id: options.id ?? deriveConnectorId(wallet),
2700
+ kind: options.kind ?? "wallet-standard",
2699
2701
  name: options.name ?? wallet.name,
2700
2702
  ready: typeof window !== "undefined"
2701
2703
  };