@solana/spl-token
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -909,3 +909,3 @@ 'use strict'; | ||
option: freezeAuthority === null ? 0 : 1, | ||
freezeAuthority: pubkeyToBuffer(freezeAuthority || new web3_js.PublicKey()) | ||
freezeAuthority: pubkeyToBuffer(freezeAuthority || new web3_js.PublicKey(0)) | ||
}, data); | ||
@@ -1139,3 +1139,3 @@ data = data.slice(0, encodeLength); | ||
option: newAuthority === null ? 0 : 1, | ||
newAuthority: pubkeyToBuffer(newAuthority || new web3_js.PublicKey()) | ||
newAuthority: pubkeyToBuffer(newAuthority || new web3_js.PublicKey(0)) | ||
}, data); | ||
@@ -1142,0 +1142,0 @@ data = data.slice(0, encodeLength); |
@@ -899,3 +899,3 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty'; | ||
option: freezeAuthority === null ? 0 : 1, | ||
freezeAuthority: pubkeyToBuffer(freezeAuthority || new PublicKey()) | ||
freezeAuthority: pubkeyToBuffer(freezeAuthority || new PublicKey(0)) | ||
}, data); | ||
@@ -1129,3 +1129,3 @@ data = data.slice(0, encodeLength); | ||
option: newAuthority === null ? 0 : 1, | ||
newAuthority: pubkeyToBuffer(newAuthority || new PublicKey()) | ||
newAuthority: pubkeyToBuffer(newAuthority || new PublicKey(0)) | ||
}, data); | ||
@@ -1132,0 +1132,0 @@ data = data.slice(0, encodeLength); |
{ | ||
"name": "@solana/spl-token", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "SPL Token JavaScript API", | ||
@@ -59,3 +59,3 @@ "license": "MIT", | ||
"@babel/runtime": "^7.10.5", | ||
"@solana/web3.js": "^0.93.0", | ||
"@solana/web3.js": "^1.2.2", | ||
"bn.js": "^5.1.0", | ||
@@ -62,0 +62,0 @@ "buffer": "6.0.3", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5499552
33382
+ Added@noble/curves@1.6.0(transitive)
+ Added@noble/hashes@1.5.0(transitive)
+ Added@solana/buffer-layout@4.0.1(transitive)
+ Added@solana/web3.js@1.95.3(transitive)
+ Added@swc/helpers@0.5.13(transitive)
+ Added@types/uuid@8.3.4(transitive)
+ Added@types/ws@8.5.12(transitive)
+ Addedagentkeepalive@4.5.0(transitive)
+ Addedbigint-buffer@1.1.5(transitive)
+ Addedbindings@1.5.0(transitive)
+ Addedborsh@0.7.0(transitive)
+ Addedeventemitter3@5.0.1(transitive)
+ Addedfast-stable-stringify@1.0.0(transitive)
+ Addedfile-uri-to-path@1.0.0(transitive)
+ Addedhumanize-ms@1.2.1(transitive)
+ Addedjayson@4.1.2(transitive)
+ Addedms@2.1.3(transitive)
+ Addedrpc-websockets@9.0.2(transitive)
+ Addedsuperstruct@2.0.2(transitive)
+ Addedtext-encoding-utf-8@1.0.2(transitive)
+ Addedtslib@2.7.0(transitive)
- Removed@solana/web3.js@0.93.0(transitive)
- Removedbn.js@4.12.0(transitive)
- Removedbrorand@1.1.0(transitive)
- Removedbuffer@6.0.1(transitive)
- Removedcrypto-hash@1.3.0(transitive)
- Removedelliptic@6.5.7(transitive)
- Removedeventemitter3@4.0.7(transitive)
- Removedhash.js@1.1.7(transitive)
- Removedhmac-drbg@1.0.1(transitive)
- Removedinherits@2.0.4(transitive)
- Removedjayson@3.7.0(transitive)
- Removedjs-sha3@0.8.0(transitive)
- Removedlodash@4.17.21(transitive)
- Removedminimalistic-assert@1.0.1(transitive)
- Removedminimalistic-crypto-utils@1.0.1(transitive)
- Removednode-addon-api@2.0.2(transitive)
- Removedrpc-websockets@7.11.2(transitive)
- Removedsecp256k1@4.0.3(transitive)
- Removedsuperstruct@0.14.2(transitive)
- Removedtweetnacl@1.0.3(transitive)
Updated@solana/web3.js@^1.2.2