diff --git a/package.json b/package.json index 30bdfa80..6e812921 100644 --- a/package.json +++ b/package.json @@ -14,16 +14,16 @@ "pre-commit": "yarn prefmt && prettier --write . && git add -A" }, "dependencies": { - "@verto/lib": "^0.6.2", - "arweave": "^1.9.1", - "community-js": "^1.0.14", + "@verto/lib": "^0.7.1", + "arweave": "^1.10.0", + "community-js": "^1.1.6", "compression": "^1.7.1", "graphql": "^15.3.0", "moment": "^2.27.0", "polka": "next", "sapper-google-analytics": "^1.0.2", "sirv": "^1.0.6", - "smartweave": "^0.3.6", + "smartweave": "^0.4.12", "svelte-chartjs": "^1.0.1" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index 31238ac2..16f29786 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1163,10 +1163,10 @@ "@typescript-eslint/types" "4.0.1" eslint-visitor-keys "^2.0.0" -"@verto/lib@^0.6.2": - version "0.6.2" - resolved "https://registry.yarnpkg.com/@verto/lib/-/lib-0.6.2.tgz#d0f8585c93020ada494cddb6aeaaf03f4a2bcf7b" - integrity sha512-gdsR9dwHiQO19WMs+Kj+NCT27958CZNzQzDKNIMk9RTOBB+AtgD7i0Y+rL+2htY2E1HeeRmMX+Mp3JPvL88GJQ== +"@verto/lib@^0.7.1": + version "0.7.1" + resolved "https://registry.yarnpkg.com/@verto/lib/-/lib-0.7.1.tgz#c6b7e936ed3433a475b655039c06322d69f3c76c" + integrity sha512-GC4VfewN6ibJdY2Yed2tQpiWIMnE0sK9OTzSF7mx1tBSWzTj6uMrZmW9QevxoAmu+TbsrtIAgR6wiBsCOHueFQ== dependencies: arweave "^1.9.1" cacheweave "^1.0.0" @@ -1174,6 +1174,11 @@ node-fetch "^2.6.1" smartweave "^0.3.6" +"@weavery/clarity@^0.1.5": + version "0.1.5" + resolved "https://registry.yarnpkg.com/@weavery/clarity/-/clarity-0.1.5.tgz#f06bbb0dac7c63c6e2ccd76cda3e8b32b57f82c2" + integrity sha512-0ms2/sBx+uyW3EmXte5otIzNVAXpfJ3lBl6FS8JuLdWmPU6SxiAoGTMUT0N0SL3Ogiz2PZt6NV+mfApbSvYBaQ== + abbrev@1: version "1.1.1" resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" @@ -1302,6 +1307,16 @@ array-union@^2.1.0: resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== +arweave@^1.10.0: + version "1.10.0" + resolved "https://registry.yarnpkg.com/arweave/-/arweave-1.10.0.tgz#76df929ff1f75349d49241ffc542c1422a4b235a" + integrity sha512-ejgnByZttzcJfNszF+S4gimqR9gC+mgM8mBMjX4fvUYPjTtk7+YD9o/2p5C+dJBpG1drr4bRtlmv9NZfzyTDBg== + dependencies: + asn1.js "^5.4.1" + axios "^0.19.2" + base64-js "^1.3.1" + bignumber.js "^8.1.1" + arweave@^1.9.1: version "1.9.1" resolved "https://registry.yarnpkg.com/arweave/-/arweave-1.9.1.tgz#9b3754eeb38a244ed9abf1024ab0df6bfb76a990" @@ -1400,6 +1415,11 @@ bignumber.js@^9.0.0: resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.0.0.tgz#805880f84a329b5eac6e7cb6f8274b6d82bdf075" integrity sha512-t/OYhhJ2SD+YGBQcjY8GzzDHEk9f3nerxjtfa6tlMXfe7frs/WozhvCNoGvpM0P3bNf3Gq5ZRMlGr5f3r4/N8A== +bignumber.js@^9.0.1: + version "9.0.1" + resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.0.1.tgz#8d7ba124c882bfd8e43260c67475518d0689e4e5" + integrity sha512-IdZR9mh6ahOBv/hYGiXyVuyCetmGJhtYkqLBpTStdhEGjegpPlUawydyaF3pbIOFynJTpllEs+NP+CS9jKFLjA== + binary-extensions@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.1.0.tgz#30fa40c9e7fe07dbc895678cd287024dea241dd9" @@ -1702,6 +1722,15 @@ cliui@^6.0.0: strip-ansi "^6.0.0" wrap-ansi "^6.2.0" +cliui@^7.0.2: + version "7.0.4" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" + integrity sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.0" + wrap-ansi "^7.0.0" + clone@~0.1.9: version "0.1.19" resolved "https://registry.yarnpkg.com/clone/-/clone-0.1.19.tgz#613fb68639b26a494ac53253e15b1a6bd88ada85" @@ -1753,15 +1782,6 @@ commondir@^1.0.1: resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" integrity sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs= -community-js@^1.0.14: - version "1.0.14" - resolved "https://registry.yarnpkg.com/community-js/-/community-js-1.0.14.tgz#8ec963d9df0c9393fe31359a0ca2d90f5ac8dc42" - integrity sha512-TuMeZjGBYUDnRr7byCW1J8yWZqgCWpel9tZEfcJR9styImsAj42liYDlcAIASzihePVbl3EYyT+xjEgboaWeBw== - dependencies: - arweave "^1.9.1" - smartweave "^0.3.5" - tiny-worker "^2.3.0" - community-js@^1.0.15: version "1.0.15" resolved "https://registry.yarnpkg.com/community-js/-/community-js-1.0.15.tgz#06a0b144735f8215ae78d9de7d3eec540a9aef49" @@ -1771,6 +1791,15 @@ community-js@^1.0.15: smartweave "^0.3.6" tiny-worker "^2.3.0" +community-js@^1.1.6: + version "1.1.6" + resolved "https://registry.yarnpkg.com/community-js/-/community-js-1.1.6.tgz#d165096dcdb47589f99619b9841e416194aa5aef" + integrity sha512-heL/FhX2UuTxVP6cmtMIdWH7uLtrzgyjShAXS66voJbP/3zuUpP8rLGnI9KQ2NLs4VSNifK2FVKHJEHvnjN4qg== + dependencies: + arweave "^1.9.1" + smartweave "^0.4.11" + tiny-worker "^2.3.0" + compressible@~2.0.16: version "2.0.18" resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba" @@ -2093,6 +2122,11 @@ escalade@^3.0.2: resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.0.2.tgz#6a580d70edb87880f22b4c91d0d56078df6962c4" integrity sha512-gPYAU37hYCUhW5euPeR+Y74F7BL+IBsV93j5cvGriSaD1aG6MGsqsV1yamRdrWrb2j3aiZvb0X+UBOWpx3JWtQ== +escalade@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" + integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== + escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" @@ -2444,7 +2478,7 @@ gensync@^1.0.0-beta.1: resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.1.tgz#58f4361ff987e5ff6e1e7a210827aa371eaac269" integrity sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg== -get-caller-file@^2.0.1: +get-caller-file@^2.0.1, get-caller-file@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== @@ -4153,15 +4187,6 @@ slice-ansi@^2.1.0: astral-regex "^1.0.0" is-fullwidth-code-point "^2.0.0" -smartweave@^0.3.5: - version "0.3.5" - resolved "https://registry.yarnpkg.com/smartweave/-/smartweave-0.3.5.tgz#780cb2604d40a8024e5a0a2d294d51838b727049" - integrity sha512-yNb4FBJpWgzTwxesCw1GV9dCA6XRJmP7aF7/JFR8uur8QgAZUXghugyC1IdpAtjven4ASFl7U2uApvj78CIGlw== - dependencies: - arweave "^1.9.1" - bignumber.js "^9.0.0" - yargs "^15.3.1" - smartweave@^0.3.6: version "0.3.6" resolved "https://registry.yarnpkg.com/smartweave/-/smartweave-0.3.6.tgz#97a78d10b2f094f78a4b6bdecb6b55c8527d6728" @@ -4172,6 +4197,17 @@ smartweave@^0.3.6: loglevel "^1.7.0" yargs "^15.3.1" +smartweave@^0.4.11, smartweave@^0.4.12: + version "0.4.12" + resolved "https://registry.yarnpkg.com/smartweave/-/smartweave-0.4.12.tgz#e9c770867ab5eb36940637db264620974e2c19b6" + integrity sha512-EMaRLV7ZT0kafU+XDlNH7EBKIJO1PfRXe4yOKu1IVN279uMHCRaEywioo7eHQ2WjCryr168X07ndpFA6l1fgkA== + dependencies: + "@weavery/clarity" "^0.1.5" + arweave "^1.9.1" + bignumber.js "^9.0.1" + loglevel "^1.7.0" + yargs "^16.1.0" + source-map-support@~0.5.12: version "0.5.19" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61" @@ -4811,6 +4847,15 @@ wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" @@ -4853,6 +4898,11 @@ y18n@^4.0.0: resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w== +y18n@^5.0.5: + version "5.0.5" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.5.tgz#8769ec08d03b1ea2df2500acef561743bbb9ab18" + integrity sha512-hsRUr4FFrvhhRH12wOdfs38Gy7k2FFzB9qgN9v3aLykRq0dRcdcpz5C9FxdS2NuhOrI/628b/KSTJ3rwHysYSg== + yallist@^2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" @@ -4879,6 +4929,11 @@ yargs-parser@^18.1.2: camelcase "^5.0.0" decamelize "^1.2.0" +yargs-parser@^20.2.2: + version "20.2.4" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54" + integrity sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA== + yargs@^13.3.2: version "13.3.2" resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.2.tgz#ad7ffefec1aa59565ac915f82dccb38a9c31a2dd" @@ -4912,6 +4967,19 @@ yargs@^15.3.1: y18n "^4.0.0" yargs-parser "^18.1.2" +yargs@^16.1.0: + version "16.1.1" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.1.1.tgz#5a4a095bd1ca806b0a50d0c03611d38034d219a1" + integrity sha512-hAD1RcFP/wfgfxgMVswPE+z3tlPFtxG8/yWUrG2i17sTWGCGqWnxKcLTF4cUKDUK8fzokwsmO9H0TDkRbMHy8w== + dependencies: + cliui "^7.0.2" + escalade "^3.1.1" + get-caller-file "^2.0.5" + require-directory "^2.1.1" + string-width "^4.2.0" + y18n "^5.0.5" + yargs-parser "^20.2.2" + yorkie@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/yorkie/-/yorkie-2.0.0.tgz#92411912d435214e12c51c2ae1093e54b6bb83d9"