@solana/web3.js 1.70.0 → 1.70.1

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.
@@ -96,6 +96,7 @@ class Enum extends Struct {
96
96
  }
97
97
  const SOLANA_SCHEMA = new Map();
98
98
 
99
+ let _Symbol$toStringTag;
99
100
  /**
100
101
  * Maximum length of derived pubkey seed
101
102
  */
@@ -120,6 +121,7 @@ let uniquePublicKeyCounter = 1;
120
121
  * A public key
121
122
  */
122
123
 
124
+ _Symbol$toStringTag = Symbol.toStringTag;
123
125
  class PublicKey extends Struct {
124
126
  /** @internal */
125
127
 
@@ -210,6 +212,10 @@ class PublicKey extends Struct {
210
212
  b.copy(zeroPad, 32 - b.length);
211
213
  return zeroPad;
212
214
  }
215
+
216
+ get [_Symbol$toStringTag]() {
217
+ return `PublicKey(${this.toString()})`;
218
+ }
213
219
  /**
214
220
  * Return the base-58 representation of the public key
215
221
  */