@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.
- package/lib/index.browser.cjs.js +6 -0
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +6 -0
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +6 -0
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.esm.js +6 -0
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +6 -0
- package/lib/index.iife.js.map +1 -1
- package/lib/index.iife.min.js +1 -1
- package/lib/index.iife.min.js.map +1 -1
- package/lib/index.native.js +6 -0
- package/lib/index.native.js.map +1 -1
- package/package.json +1 -1
- package/src/publickey.ts +4 -0
package/lib/index.native.js
CHANGED
|
@@ -126,6 +126,7 @@ class Enum extends Struct {
|
|
|
126
126
|
}
|
|
127
127
|
const SOLANA_SCHEMA = new Map();
|
|
128
128
|
|
|
129
|
+
let _Symbol$toStringTag;
|
|
129
130
|
/**
|
|
130
131
|
* Maximum length of derived pubkey seed
|
|
131
132
|
*/
|
|
@@ -150,6 +151,7 @@ let uniquePublicKeyCounter = 1;
|
|
|
150
151
|
* A public key
|
|
151
152
|
*/
|
|
152
153
|
|
|
154
|
+
_Symbol$toStringTag = Symbol.toStringTag;
|
|
153
155
|
class PublicKey extends Struct {
|
|
154
156
|
/** @internal */
|
|
155
157
|
|
|
@@ -240,6 +242,10 @@ class PublicKey extends Struct {
|
|
|
240
242
|
b.copy(zeroPad, 32 - b.length);
|
|
241
243
|
return zeroPad;
|
|
242
244
|
}
|
|
245
|
+
|
|
246
|
+
get [_Symbol$toStringTag]() {
|
|
247
|
+
return `PublicKey(${this.toString()})`;
|
|
248
|
+
}
|
|
243
249
|
/**
|
|
244
250
|
* Return the base-58 representation of the public key
|
|
245
251
|
*/
|