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