diff --git a/package.json b/package.json index 65b26ab..f19e5ca 100644 --- a/package.json +++ b/package.json @@ -9,9 +9,9 @@ "@material-ui/lab": "^4.0.0-alpha.58", "@project-serum/anchor": "^0.7.0", "@project-serum/serum": "^0.13.33", - "@project-serum/swap-ui": "^0.1.8", + "@project-serum/swap-ui": "^0.1.10", "@solana/spl-token-registry": "^0.2.102", - "@solana/web3.js": "^1.10.1", + "@solana/web3.js": "^1.17.0", "@testing-library/jest-dom": "^5.11.6", "@testing-library/react": "^11.2.2", "@testing-library/user-event": "^12.6.0", diff --git a/yarn.lock b/yarn.lock index 57eb52e..48592b7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1938,20 +1938,20 @@ bn.js "^5.1.2" buffer-layout "^1.2.0" -"@project-serum/swap-ui@^0.1.8": - version "0.1.8" - resolved "https://registry.yarnpkg.com/@project-serum/swap-ui/-/swap-ui-0.1.8.tgz#529f438b54a9868671e4047786f745494be4c829" - integrity sha512-UQo0kGUyIgf8gmQcvCibZOFUJkLvovUjYeoBCfclCQxim9TmR1UUfwDoipbDm2eKCvokKRMtge8Y0n4uX1Un3w== +"@project-serum/swap-ui@^0.1.10": + version "0.1.10" + resolved "https://registry.yarnpkg.com/@project-serum/swap-ui/-/swap-ui-0.1.10.tgz#b75525bfc10b35e45d00a076dd7f7119cffd4d95" + integrity sha512-2cF4NAifhLOU4iAO76YhI6jgIKwRXYfT6siEWCbNQhFqHyHUGmvdEBOmqcDMUwT2l5Vr5di+Bdgsaq3zQdDj1g== dependencies: "@fontsource/roboto" "^4.3.0" "@project-serum/serum" "^0.13.34" - "@project-serum/swap" "^0.1.0-alpha.28" + "@project-serum/swap" "^0.1.0-alpha.31" "@solana/spl-token" "^0.1.4" -"@project-serum/swap@^0.1.0-alpha.28": - version "0.1.0-alpha.28" - resolved "https://registry.yarnpkg.com/@project-serum/swap/-/swap-0.1.0-alpha.28.tgz#523bb161c2d0011f4df0317ed31b77107f72ed06" - integrity sha512-LJ6roKiK43JyAjjDNejXxyFurngXI+YVNdliTnedKp8MgJm6QFj2S8606xiD0Col3aXI6jq7Y6xw6CczHc1j4g== +"@project-serum/swap@^0.1.0-alpha.31": + version "0.1.0-alpha.31" + resolved "https://registry.yarnpkg.com/@project-serum/swap/-/swap-0.1.0-alpha.31.tgz#0656c9959f7be18248731c6ec8025d7619d58b74" + integrity sha512-LiepwTqC9+1PYF+Oce2VQJmiia8Li9ysRwbvbaW5+0B4ZmcXS1rc3fqrn8Xyi36XL4NGRbsT7xZa/XoyP5S7fg== dependencies: "@project-serum/serum" "^0.13.34" "@solana/spl-token" "^0.1.3" @@ -2047,7 +2047,7 @@ tweetnacl "^1.0.0" ws "^7.0.0" -"@solana/web3.js@^1.10.1", "@solana/web3.js@^1.11.0", "@solana/web3.js@^1.9.1": +"@solana/web3.js@^1.11.0", "@solana/web3.js@^1.9.1": version "1.11.0" resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.11.0.tgz#1cc9a25381687c82e444ad0633f028e050a06753" integrity sha512-kmngWxntzp0HNhWInd7/3g2uqxdOrahvaHOyjilcRe+WCiC777gERz3+eIAbxIYx2zAZPjy02MZzLgoRHccZoQ== @@ -2066,6 +2066,26 @@ superstruct "^0.14.2" tweetnacl "^1.0.0" +"@solana/web3.js@^1.17.0": + version "1.19.0" + resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.19.0.tgz#b4f0153844a137d03a23b03e478138c1deada232" + integrity sha512-tZ+Bk0sD6xvyHas13eRTl0fOtWGHoKithNjIHHYeUbZWwdxOKdutfv14SuD1eqkBdoiQs3KFJvVUkj3M7zTVDg== + dependencies: + "@babel/runtime" "^7.12.5" + bn.js "^5.0.0" + borsh "^0.4.0" + bs58 "^4.0.1" + buffer "6.0.1" + buffer-layout "^1.2.0" + crypto-hash "^1.2.2" + jayson "^3.4.4" + js-sha3 "^0.8.0" + node-fetch "^2.6.1" + rpc-websockets "^7.4.2" + secp256k1 "^4.0.2" + superstruct "^0.14.2" + tweetnacl "^1.0.0" + "@surma/rollup-plugin-off-main-thread@^1.1.1": version "1.4.2" resolved "https://registry.yarnpkg.com/@surma/rollup-plugin-off-main-thread/-/rollup-plugin-off-main-thread-1.4.2.tgz#e6786b6af5799f82f7ab3a82e53f6182d2b91a58" @@ -3610,6 +3630,16 @@ boolbase@^1.0.0, boolbase@~1.0.0: resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24= +borsh@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/borsh/-/borsh-0.4.0.tgz#9dd6defe741627f1315eac2a73df61421f6ddb9f" + integrity sha512-aX6qtLya3K0AkT66CmYWCCDr77qsE9arV05OmdFpmat9qu8Pg9J5tBUPDztAW5fNh/d/MyVG/OYziP52Ndzx1g== + dependencies: + "@types/bn.js" "^4.11.5" + bn.js "^5.0.0" + bs58 "^4.0.0" + text-encoding-utf-8 "^1.0.2" + brace-expansion@^1.1.7: version "1.1.11" resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" @@ -12755,6 +12785,11 @@ test-exclude@^6.0.0: glob "^7.1.4" minimatch "^3.0.4" +text-encoding-utf-8@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/text-encoding-utf-8/-/text-encoding-utf-8-1.0.2.tgz#585b62197b0ae437e3c7b5d0af27ac1021e10d13" + integrity sha512-8bw4MY9WjdsD2aMtO0OzOCY3pXGYNx2d2FfHRVUKkiCPDWjKuOlhLVASS+pD7VkLTVjW268LYJHwsnPFlBpbAg== + text-table@0.2.0, text-table@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"