From 9b8148787d9baae98e542c258088076048555cde Mon Sep 17 00:00:00 2001 From: Dylan Jeffers Date: Mon, 5 Jun 2023 14:00:54 -0700 Subject: [PATCH] Upgrade sdk to 2.0.3-beta.36 (#3512) --- packages/common/package-lock.json | 12 +- packages/common/package.json | 2 +- packages/mobile/package-lock.json | 12 +- packages/mobile/package.json | 2 +- packages/web/package-lock.json | 210 +++++++++++++++++++++++++----- packages/web/package.json | 2 +- 6 files changed, 189 insertions(+), 51 deletions(-) diff --git a/packages/common/package-lock.json b/packages/common/package-lock.json index ace897d97f6..cf27d2708b5 100644 --- a/packages/common/package-lock.json +++ b/packages/common/package-lock.json @@ -33,9 +33,9 @@ } }, "@audius/sdk": { - "version": "2.0.3-beta.33", - "resolved": "https://registry.npmjs.org/@audius/sdk/-/sdk-2.0.3-beta.33.tgz", - "integrity": "sha512-cCTZlQG9Tvq+GdizycULeYK6QczU5ozKBeL19ek0IOSg9YWqS1brJCd7MlW1YC/FCmkAQ3Rm05LYWvRoeounww==", + "version": "2.0.3-beta.36", + "resolved": "https://registry.npmjs.org/@audius/sdk/-/sdk-2.0.3-beta.36.tgz", + "integrity": "sha512-3Dtn4gLa4X4lgfNXYOgunY9c65gov4ENlH8mXT2YiSdkO+2EDy0uo1yroZ72YfB6PbdZQ0sRzZwg/MD6Kj/baQ==", "requires": { "@audius/hedgehog": "2.1.0", "@babel/runtime": "7.18.3", @@ -101,9 +101,9 @@ } }, "@noble/hashes": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.0.tgz", - "integrity": "sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg==" + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.1.tgz", + "integrity": "sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA==" }, "ajv": { "version": "6.12.2", diff --git a/packages/common/package.json b/packages/common/package.json index c8d5606998c..903ecd27502 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -28,7 +28,7 @@ "url": "https://github.com/AudiusProject/audius-client/issues" }, "dependencies": { - "@audius/sdk": "2.0.3-beta.33", + "@audius/sdk": "2.0.3-beta.36", "@fingerprintjs/fingerprintjs-pro": "3.5.6", "@metaplex-foundation/mpl-token-metadata": "2.5.2", "@optimizely/optimizely-sdk": "4.0.0", diff --git a/packages/mobile/package-lock.json b/packages/mobile/package-lock.json index e17bc18505f..9a1a21fd07e 100644 --- a/packages/mobile/package-lock.json +++ b/packages/mobile/package-lock.json @@ -73,9 +73,9 @@ } }, "@audius/sdk": { - "version": "2.0.3-beta.33", - "resolved": "https://registry.npmjs.org/@audius/sdk/-/sdk-2.0.3-beta.33.tgz", - "integrity": "sha512-cCTZlQG9Tvq+GdizycULeYK6QczU5ozKBeL19ek0IOSg9YWqS1brJCd7MlW1YC/FCmkAQ3Rm05LYWvRoeounww==", + "version": "2.0.3-beta.36", + "resolved": "https://registry.npmjs.org/@audius/sdk/-/sdk-2.0.3-beta.36.tgz", + "integrity": "sha512-3Dtn4gLa4X4lgfNXYOgunY9c65gov4ENlH8mXT2YiSdkO+2EDy0uo1yroZ72YfB6PbdZQ0sRzZwg/MD6Kj/baQ==", "requires": { "@audius/hedgehog": "2.1.0", "@babel/runtime": "7.18.3", @@ -141,9 +141,9 @@ } }, "@noble/hashes": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.0.tgz", - "integrity": "sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg==" + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.1.tgz", + "integrity": "sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA==" }, "ajv": { "version": "6.12.2", diff --git a/packages/mobile/package.json b/packages/mobile/package.json index de12085a684..3d04234c2b5 100644 --- a/packages/mobile/package.json +++ b/packages/mobile/package.json @@ -44,7 +44,7 @@ "dependencies": { "@amplitude/react-native": "2.6.0", "@audius/common": "1.5.27", - "@audius/sdk": "2.0.3-beta.33", + "@audius/sdk": "2.0.3-beta.36", "@fingerprintjs/fingerprintjs-pro-react-native": "2.0.0-test.2", "@gorhom/portal": "1.0.9", "@hcaptcha/react-native-hcaptcha": "1.3.4", diff --git a/packages/web/package-lock.json b/packages/web/package-lock.json index e01771e1c21..7e37e3bc2af 100644 --- a/packages/web/package-lock.json +++ b/packages/web/package-lock.json @@ -121,9 +121,9 @@ } }, "@audius/sdk": { - "version": "2.0.3-beta.33", - "resolved": "https://registry.npmjs.org/@audius/sdk/-/sdk-2.0.3-beta.33.tgz", - "integrity": "sha512-cCTZlQG9Tvq+GdizycULeYK6QczU5ozKBeL19ek0IOSg9YWqS1brJCd7MlW1YC/FCmkAQ3Rm05LYWvRoeounww==", + "version": "2.0.3-beta.36", + "resolved": "https://registry.npmjs.org/@audius/sdk/-/sdk-2.0.3-beta.36.tgz", + "integrity": "sha512-3Dtn4gLa4X4lgfNXYOgunY9c65gov4ENlH8mXT2YiSdkO+2EDy0uo1yroZ72YfB6PbdZQ0sRzZwg/MD6Kj/baQ==", "requires": { "@audius/hedgehog": "2.1.0", "@babel/runtime": "7.18.3", @@ -189,9 +189,9 @@ } }, "@noble/hashes": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.0.tgz", - "integrity": "sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg==" + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.1.tgz", + "integrity": "sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA==" }, "@solana/web3.js": { "version": "1.37.1", @@ -2578,6 +2578,88 @@ "resolved": "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz", "integrity": "sha512-ej5oVy6lykXsvieQtqZxCOaLT+xD4+QNarq78cIYISHmZXshCvROLudpQN3lfL8G0NL7plMSSK+zlyvCaIJ4Iw==" }, + "@cykura/sdk-core": { + "version": "npm:@jup-ag/cykura-sdk-core@0.1.8", + "resolved": "https://registry.npmjs.org/@jup-ag/cykura-sdk-core/-/cykura-sdk-core-0.1.8.tgz", + "integrity": "sha512-bVtDA4oEuzj/amuTPVlk1OFpdlYKK6H9nKWg6Tv6mn6MydS/ArC2EY2zuMHtWP+1YJ5CAwxHL/7Kl1k+7XBSoQ==", + "requires": { + "@project-serum/anchor": "^0.22.0", + "big.js": "^5.2.2", + "decimal.js": "^10.3.1", + "jsbi": "^4.1.0", + "tiny-invariant": "^1.1.0", + "toformat": "^2.0.0" + }, + "dependencies": { + "@project-serum/anchor": { + "version": "0.22.1", + "resolved": "https://registry.npmjs.org/@project-serum/anchor/-/anchor-0.22.1.tgz", + "integrity": "sha512-5pHeyvQhzLahIQ8aZymmDMZJAJFklN0joZdI+YIqFkK2uU/mlKr6rBLQjxysf/j1mLLiNG00tdyLfUtTAdQz7w==", + "requires": { + "@project-serum/borsh": "^0.2.5", + "@solana/web3.js": "^1.17.0", + "base64-js": "^1.5.1", + "bn.js": "^5.1.2", + "bs58": "^4.0.1", + "buffer-layout": "^1.2.2", + "camelcase": "^5.3.1", + "cross-fetch": "^3.1.5", + "crypto-hash": "^1.3.0", + "eventemitter3": "^4.0.7", + "find": "^0.3.0", + "js-sha256": "^0.9.0", + "pako": "^2.0.3", + "snake-case": "^3.0.4", + "toml": "^3.0.0" + } + }, + "bn.js": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", + "integrity": "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==" + }, + "cross-fetch": { + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.6.tgz", + "integrity": "sha512-riRvo06crlE8HiqOwIpQhxwdOk4fOeR7FVM/wXoxchFEqMNUjvbs3bfo4OTgMEMHzppd4DxFBDbyySj8Cv781g==", + "requires": { + "node-fetch": "^2.6.11" + } + }, + "node-fetch": { + "version": "2.6.11", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.11.tgz", + "integrity": "sha512-4I6pdBY1EthSqDmJkiNk3JIT8cswwR9nfeW/cPdUagJYEQG7R95WRH74wpz7ma8Gh/9dI9FP+OU+0E4FvtA55w==", + "requires": { + "whatwg-url": "^5.0.0" + } + }, + "pako": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/pako/-/pako-2.1.0.tgz", + "integrity": "sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==" + }, + "tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + }, + "webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + }, + "whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "requires": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + } + } + }, "@develar/schema-utils": { "version": "2.6.5", "resolved": "https://registry.npmjs.org/@develar/schema-utils/-/schema-utils-2.6.5.tgz", @@ -4557,19 +4639,6 @@ "tiny-invariant": "^1.1.0" }, "dependencies": { - "@cykura/sdk-core": { - "version": "npm:@jup-ag/cykura-sdk-core@0.1.8", - "resolved": "https://registry.npmjs.org/@jup-ag/cykura-sdk-core/-/cykura-sdk-core-0.1.8.tgz", - "integrity": "sha512-bVtDA4oEuzj/amuTPVlk1OFpdlYKK6H9nKWg6Tv6mn6MydS/ArC2EY2zuMHtWP+1YJ5CAwxHL/7Kl1k+7XBSoQ==", - "requires": { - "@project-serum/anchor": "^0.22.0", - "big.js": "^5.2.2", - "decimal.js": "^10.3.1", - "jsbi": "^4.1.0", - "tiny-invariant": "^1.1.0", - "toformat": "^2.0.0" - } - }, "@project-serum/anchor": { "version": "0.22.1", "resolved": "https://registry.npmjs.org/@project-serum/anchor/-/anchor-0.22.1.tgz", @@ -4875,18 +4944,6 @@ "tiny-invariant": "~1.2.0" }, "dependencies": { - "@orca-so/whirlpool-client-sdk": { - "version": "npm:@jup-ag/whirlpool-client-sdk@0.0.8", - "resolved": "https://registry.npmjs.org/@jup-ag/whirlpool-client-sdk/-/whirlpool-client-sdk-0.0.8.tgz", - "integrity": "sha512-nlAE/huKAWNxJ9g9BhD7nWGqTg/s0kGjWYqccsYM1Nv6CjesvWdtl8N4k81enmYYU2jgjm6f4XYKA8zTLHsBsA==", - "requires": { - "@project-serum/anchor": "~0.23.0", - "@solana/spl-token": "~0.1.8", - "bn.js": "~5.2.0", - "decimal.js": "~10.3.1", - "lru-cache": "^7.9.0" - } - }, "@project-serum/anchor": { "version": "0.23.0", "resolved": "https://registry.npmjs.org/@project-serum/anchor/-/anchor-0.23.0.tgz", @@ -4935,11 +4992,6 @@ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==" }, - "lru-cache": { - "version": "7.18.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", - "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==" - }, "node-fetch": { "version": "2.6.7", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", @@ -5430,6 +5482,92 @@ } } }, + "@orca-so/whirlpool-client-sdk": { + "version": "npm:@jup-ag/whirlpool-client-sdk@0.0.8", + "resolved": "https://registry.npmjs.org/@jup-ag/whirlpool-client-sdk/-/whirlpool-client-sdk-0.0.8.tgz", + "integrity": "sha512-nlAE/huKAWNxJ9g9BhD7nWGqTg/s0kGjWYqccsYM1Nv6CjesvWdtl8N4k81enmYYU2jgjm6f4XYKA8zTLHsBsA==", + "requires": { + "@project-serum/anchor": "~0.23.0", + "@solana/spl-token": "~0.1.8", + "bn.js": "~5.2.0", + "decimal.js": "~10.3.1", + "lru-cache": "^7.9.0" + }, + "dependencies": { + "@project-serum/anchor": { + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@project-serum/anchor/-/anchor-0.23.0.tgz", + "integrity": "sha512-LV2/ifZOJVFTZ4GbEloXln3iVfCvO1YM8i7BBCrUm4tehP7irMx4nr4/IabHWOzrQcQElsxSP/lb1tBp+2ff8A==", + "requires": { + "@project-serum/borsh": "^0.2.5", + "@solana/web3.js": "^1.36.0", + "base64-js": "^1.5.1", + "bn.js": "^5.1.2", + "bs58": "^4.0.1", + "buffer-layout": "^1.2.2", + "camelcase": "^5.3.1", + "cross-fetch": "^3.1.5", + "crypto-hash": "^1.3.0", + "eventemitter3": "^4.0.7", + "find": "^0.3.0", + "js-sha256": "^0.9.0", + "pako": "^2.0.3", + "snake-case": "^3.0.4", + "toml": "^3.0.0" + } + }, + "bn.js": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", + "integrity": "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==" + }, + "cross-fetch": { + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.6.tgz", + "integrity": "sha512-riRvo06crlE8HiqOwIpQhxwdOk4fOeR7FVM/wXoxchFEqMNUjvbs3bfo4OTgMEMHzppd4DxFBDbyySj8Cv781g==", + "requires": { + "node-fetch": "^2.6.11" + } + }, + "lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==" + }, + "node-fetch": { + "version": "2.6.11", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.11.tgz", + "integrity": "sha512-4I6pdBY1EthSqDmJkiNk3JIT8cswwR9nfeW/cPdUagJYEQG7R95WRH74wpz7ma8Gh/9dI9FP+OU+0E4FvtA55w==", + "requires": { + "whatwg-url": "^5.0.0" + } + }, + "pako": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/pako/-/pako-2.1.0.tgz", + "integrity": "sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==" + }, + "tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + }, + "webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + }, + "whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "requires": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + } + } + }, "@pinata/sdk": { "version": "1.1.13", "resolved": "https://registry.npmjs.org/@pinata/sdk/-/sdk-1.1.13.tgz", diff --git a/packages/web/package.json b/packages/web/package.json index f7df60e23fd..5134ac9f84e 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -53,7 +53,7 @@ }, "dependencies": { "@audius/common": "1.5.27", - "@audius/sdk": "2.0.3-beta.33", + "@audius/sdk": "2.0.3-beta.36", "@audius/stems": "1.5.27", "@coinbase/cbpay-js": "1.2.0", "@craco/craco": "7.0.0-alpha.3",