diff --git a/deno.lock b/deno.lock index 4e3fb07..63da97d 100644 --- a/deno.lock +++ b/deno.lock @@ -15,42 +15,6 @@ "https://esm.sh/v135/@types/aws4@^1/index.d.ts": "https://esm.sh/v135/@types/aws4@1.11.6/index.d.ts" }, "remote": { - "https://deno.land/std@0.140.0/_util/assert.ts": "e94f2eb37cebd7f199952e242c77654e43333c1ac4c5c700e929ea3aa5489f74", - "https://deno.land/std@0.140.0/_util/os.ts": "3b4c6e27febd119d36a416d7a97bd3b0251b77c88942c8f16ee5953ea13e2e49", - "https://deno.land/std@0.140.0/bytes/bytes_list.ts": "67eb118e0b7891d2f389dad4add35856f4ad5faab46318ff99653456c23b025d", - "https://deno.land/std@0.140.0/bytes/equals.ts": "fc16dff2090cced02497f16483de123dfa91e591029f985029193dfaa9d894c9", - "https://deno.land/std@0.140.0/bytes/mod.ts": "763f97d33051cc3f28af1a688dfe2830841192a9fea0cbaa55f927b49d49d0bf", - "https://deno.land/std@0.140.0/fmt/colors.ts": "30455035d6d728394781c10755351742dd731e3db6771b1843f9b9e490104d37", - "https://deno.land/std@0.140.0/fs/_util.ts": "0fb24eb4bfebc2c194fb1afdb42b9c3dda12e368f43e8f2321f84fc77d42cb0f", - "https://deno.land/std@0.140.0/fs/ensure_dir.ts": "9dc109c27df4098b9fc12d949612ae5c9c7169507660dcf9ad90631833209d9d", - "https://deno.land/std@0.140.0/io/buffer.ts": "bd0c4bf53db4b4be916ca5963e454bddfd3fcd45039041ea161dbf826817822b", - "https://deno.land/std@0.140.0/path/_constants.ts": "df1db3ffa6dd6d1252cc9617e5d72165cd2483df90e93833e13580687b6083c3", - "https://deno.land/std@0.140.0/path/_interface.ts": "ee3b431a336b80cf445441109d089b70d87d5e248f4f90ff906820889ecf8d09", - "https://deno.land/std@0.140.0/path/_util.ts": "c1e9686d0164e29f7d880b2158971d805b6e0efc3110d0b3e24e4b8af2190d2b", - "https://deno.land/std@0.140.0/path/common.ts": "bee563630abd2d97f99d83c96c2fa0cca7cee103e8cb4e7699ec4d5db7bd2633", - "https://deno.land/std@0.140.0/path/glob.ts": "cb5255638de1048973c3e69e420c77dc04f75755524cb3b2e160fe9277d939ee", - "https://deno.land/std@0.140.0/path/mod.ts": "d3e68d0abb393fb0bf94a6d07c46ec31dc755b544b13144dee931d8d5f06a52d", - "https://deno.land/std@0.140.0/path/posix.ts": "293cdaec3ecccec0a9cc2b534302dfe308adb6f10861fa183275d6695faace44", - "https://deno.land/std@0.140.0/path/separator.ts": "fe1816cb765a8068afb3e8f13ad272351c85cbc739af56dacfc7d93d710fe0f9", - "https://deno.land/std@0.140.0/path/win32.ts": "31811536855e19ba37a999cd8d1b62078235548d67902ece4aa6b814596dd757", - "https://deno.land/std@0.140.0/streams/conversion.ts": "712585bfa0172a97fb68dd46e784ae8ad59d11b88079d6a4ab098ff42e697d21", - "https://deno.land/std@0.181.0/_util/asserts.ts": "178dfc49a464aee693a7e285567b3d0b555dc805ff490505a8aae34f9cfb1462", - "https://deno.land/std@0.181.0/_util/os.ts": "d932f56d41e4f6a6093d56044e29ce637f8dcc43c5a90af43504a889cf1775e3", - "https://deno.land/std@0.181.0/fmt/colors.ts": "d67e3cd9f472535241a8e410d33423980bec45047e343577554d3356e1f0ef4e", - "https://deno.land/std@0.181.0/fs/_util.ts": "65381f341af1ff7f40198cee15c20f59951ac26e51ddc651c5293e24f9ce6f32", - "https://deno.land/std@0.181.0/fs/empty_dir.ts": "c3d2da4c7352fab1cf144a1ecfef58090769e8af633678e0f3fabaef98594688", - "https://deno.land/std@0.181.0/fs/ensure_dir.ts": "dc64c4c75c64721d4e3fb681f1382f803ff3d2868f08563ff923fdd20d071c40", - "https://deno.land/std@0.181.0/fs/expand_glob.ts": "e4f56259a0a70fe23f05215b00de3ac5e6ba46646ab2a06ebbe9b010f81c972a", - "https://deno.land/std@0.181.0/fs/walk.ts": "ea95ffa6500c1eda6b365be488c056edc7c883a1db41ef46ec3bf057b1c0fe32", - "https://deno.land/std@0.181.0/path/_constants.ts": "e49961f6f4f48039c0dfed3c3f93e963ca3d92791c9d478ac5b43183413136e0", - "https://deno.land/std@0.181.0/path/_interface.ts": "6471159dfbbc357e03882c2266d21ef9afdb1e4aa771b0545e90db58a0ba314b", - "https://deno.land/std@0.181.0/path/_util.ts": "d7abb1e0dea065f427b89156e28cdeb32b045870acdf865833ba808a73b576d0", - "https://deno.land/std@0.181.0/path/common.ts": "ee7505ab01fd22de3963b64e46cff31f40de34f9f8de1fff6a1bd2fe79380000", - "https://deno.land/std@0.181.0/path/glob.ts": "d479e0a695621c94d3fd7fe7abd4f9499caf32a8de13f25073451c6ef420a4e1", - "https://deno.land/std@0.181.0/path/mod.ts": "bf718f19a4fdd545aee1b06409ca0805bd1b68ecf876605ce632e932fe54510c", - "https://deno.land/std@0.181.0/path/posix.ts": "8b7c67ac338714b30c816079303d0285dd24af6b284f7ad63da5b27372a2c94d", - "https://deno.land/std@0.181.0/path/separator.ts": "0fb679739d0d1d7bf45b68dacfb4ec7563597a902edbaf3c59b50d5bcadd93b1", - "https://deno.land/std@0.181.0/path/win32.ts": "d186344e5583bcbf8b18af416d13d82b35a317116e6460a5a3953508c3de5bba", "https://deno.land/std@0.207.0/assert/_constants.ts": "8a9da298c26750b28b326b297316cdde860bc237533b07e1337c021379e6b2a9", "https://deno.land/std@0.207.0/assert/_diff.ts": "58e1461cc61d8eb1eacbf2a010932bf6a05b79344b02ca38095f9b805795dc48", "https://deno.land/std@0.207.0/assert/_format.ts": "a69126e8a469009adf4cf2a50af889aca364c349797e63174884a52ff75cf4c7", @@ -85,45 +49,8 @@ "https://deno.land/std@0.207.0/fmt/colors.ts": "34b3f77432925eb72cf0bfb351616949746768620b8e5ead66da532f93d10ba2", "https://deno.land/std@0.207.0/testing/_test_suite.ts": "30f018feeb3835f12ab198d8a518f9089b1bcb2e8c838a8b615ab10d5005465c", "https://deno.land/std@0.207.0/testing/bdd.ts": "3f446df5ef8e856a869e8eec54c8482590415741ff0b6358a00c43486cc15769", - "https://deno.land/x/code_block_writer@12.0.0/mod.ts": "2c3448060e47c9d08604c8f40dee34343f553f33edcdfebbf648442be33205e5", - "https://deno.land/x/code_block_writer@12.0.0/utils/string_utils.ts": "60cb4ec8bd335bf241ef785ccec51e809d576ff8e8d29da43d2273b69ce2a6ff", - "https://deno.land/x/deno_cache@0.6.2/auth_tokens.ts": "5d1d56474c54a9d152e44d43ea17c2e6a398dd1e9682c69811a313567c01ee1e", - "https://deno.land/x/deno_cache@0.6.2/cache.ts": "58b53c128b742757efcad10af9a3871f23b4e200674cb5b0ddf61164fb9b2fe7", - "https://deno.land/x/deno_cache@0.6.2/deno_dir.ts": "1ea355b8ba11c630d076b222b197cfc937dd81e5a4a260938997da99e8ff93a0", - "https://deno.land/x/deno_cache@0.6.2/deps.ts": "12cca94516cf2d3ed42fccd4b721ecd8060679253f077d83057511045b0081aa", - "https://deno.land/x/deno_cache@0.6.2/dirs.ts": "009c6f54e0b610914d6ce9f72f6f6ccfffd2d47a79a19061e0a9eb4253836069", - "https://deno.land/x/deno_cache@0.6.2/disk_cache.ts": "66a1e604a8d564b6dd0500326cac33d08b561d331036bf7272def80f2f7952aa", - "https://deno.land/x/deno_cache@0.6.2/file_fetcher.ts": "4f3e4a2c78a5ca1e4812099e5083f815a8525ab20d389b560b3517f6b1161dd6", - "https://deno.land/x/deno_cache@0.6.2/http_cache.ts": "407135eaf2802809ed373c230d57da7ef8dff923c4abf205410b9b99886491fd", - "https://deno.land/x/deno_cache@0.6.2/lib/deno_cache_dir.generated.js": "59f8defac32e8ebf2a30f7bc77e9d88f0e60098463fb1b75e00b9791a4bbd733", - "https://deno.land/x/deno_cache@0.6.2/lib/snippets/deno_cache_dir-a2aecaa9536c9402/fs.js": "cbe3a976ed63c72c7cb34ef845c27013033a3b11f9d8d3e2c4aa5dda2c0c7af6", - "https://deno.land/x/deno_cache@0.6.2/mod.ts": "b4004287e1c6123d7f07fe9b5b3e94ce6d990c4102949a89c527c68b19627867", - "https://deno.land/x/deno_cache@0.6.2/util.ts": "f3f5a0cfc60051f09162942fb0ee87a0e27b11a12aec4c22076e3006be4cc1e2", - "https://deno.land/x/dir@1.5.1/data_local_dir/mod.ts": "91eb1c4bfadfbeda30171007bac6d85aadacd43224a5ed721bbe56bc64e9eb66", - "https://deno.land/x/dnt@0.39.0/lib/compiler.ts": "7f4447531581896348b8a379ab94730856b42ae50d99043f2468328360293cb1", - "https://deno.land/x/dnt@0.39.0/lib/compiler_transforms.ts": "f21aba052f5dcf0b0595c734450842855c7f572e96165d3d34f8fed2fc1f7ba1", - "https://deno.land/x/dnt@0.39.0/lib/mod.deps.ts": "8d6123c8e1162037e58aa8126686a03d1e2cffb250a8757bf715f80242097597", - "https://deno.land/x/dnt@0.39.0/lib/npm_ignore.ts": "57fbb7e7b935417d225eec586c6aa240288905eb095847d3f6a88e290209df4e", - "https://deno.land/x/dnt@0.39.0/lib/package_json.ts": "607b0a4f44acad071a4c8533b312a27d6671eac8e6a23625c8350ce29eadb2ba", - "https://deno.land/x/dnt@0.39.0/lib/pkg/dnt_wasm.generated.js": "4f9c59b3ca6c875adabb10df256e273fff1129fca3a1557eb8936bddd7da7b18", - "https://deno.land/x/dnt@0.39.0/lib/pkg/snippets/dnt-wasm-a15ef721fa5290c5/helpers.js": "aba69a019a6da6f084898a6c7b903b8b583bc0dbd82bfb338449cf0b5bce58fd", - "https://deno.land/x/dnt@0.39.0/lib/shims.ts": "60fd285ad433c6944544595e7b885eab3eab09253252891380654f4cd3addaaa", - "https://deno.land/x/dnt@0.39.0/lib/test_runner/get_test_runner_code.ts": "4dc7a73a13b027341c0688df2b29a4ef102f287c126f134c33f69f0339b46968", - "https://deno.land/x/dnt@0.39.0/lib/test_runner/test_runner.ts": "4d0da0500ec427d5f390d9a8d42fb882fbeccc92c92d66b6f2e758606dbd40e6", - "https://deno.land/x/dnt@0.39.0/lib/transform.deps.ts": "2e159661e1c5c650de9a573babe0e319349fe493105157307ec2ad2f6a52c94e", - "https://deno.land/x/dnt@0.39.0/lib/types.ts": "b8e228b2fac44c2ae902fbb73b1689f6ab889915bd66486c8a85c0c24255f5fb", - "https://deno.land/x/dnt@0.39.0/lib/utils.ts": "224f15f33e7226a2fd991e438d0291d7ed8c7889807efa2e1ecb67d2d1db6720", - "https://deno.land/x/dnt@0.39.0/mod.ts": "9df36a862161d9eb376472b699f6cb08ba0ad1704e0826fbe13be766bd3c01da", - "https://deno.land/x/dnt@0.39.0/transform.ts": "f68743a14cf9bf53bfc9c81073871d69d447a7f9e3453e0447ca2fb78926bb1d", - "https://deno.land/x/ts_morph@20.0.0/bootstrap/mod.ts": "b53aad517f106c4079971fcd4a81ab79fadc40b50061a3ab2b741a09119d51e9", - "https://deno.land/x/ts_morph@20.0.0/bootstrap/ts_morph_bootstrap.js": "6645ac03c5e6687dfa8c78109dc5df0250b811ecb3aea2d97c504c35e8401c06", - "https://deno.land/x/ts_morph@20.0.0/common/DenoRuntime.ts": "6a7180f0c6e90dcf23ccffc86aa8271c20b1c4f34c570588d08a45880b7e172d", - "https://deno.land/x/ts_morph@20.0.0/common/mod.ts": "01985d2ee7da8d1caee318a9d07664774fbee4e31602bc2bb6bb62c3489555ed", - "https://deno.land/x/ts_morph@20.0.0/common/ts_morph_common.js": "2325f94f61dc5f3f98a1dab366dc93048d11b1433d718b10cfc6ee5a1cfebe8f", - "https://deno.land/x/ts_morph@20.0.0/common/typescript.js": "b9edf0a451685d13e0467a7ed4351d112b74bd1e256b915a2b941054e31c1736", - "https://deno.land/x/wasmbuild@0.15.1/cache.ts": "9d01b5cb24e7f2a942bbd8d14b093751fa690a6cde8e21709ddc97667e6669ed", - "https://deno.land/x/wasmbuild@0.15.1/loader.ts": "8c2fc10e21678e42f84c5135d8ab6ab7dc92424c3f05d2354896a29ccfd02a63", "https://esm.sh/@aws-sdk/s3-request-presigner@3.456.0": "9ce6aaac765ce189a26ac12dd35da84f397f05138eef942581493611cccc4a9d", + "https://esm.sh/@aws-sdk/s3-request-presigner@3.587.0": "1c975d0c50609ad38497ce8327c851db0af0bcce49bc0e2f743dfe0e032fe072", "https://esm.sh/@smithy/types@2.6.0": "0d374b70e47193d1cea0f017400e7bdb716be3afdec52e64f00c1a7b783d75c8", "https://esm.sh/aws4@1.12.0": "1dcc998898f6dd91ddaadd2f75c9d6ab3aff7427d4f4cc3a38042f409ce8f0d6", "https://esm.sh/ipfs-car@1.0.0?pin=v133": "a9764fd4d64680f0e419a1b0e8257e3e179002c2f5d7e81da86d20f1902dcc5c", @@ -144,6 +71,8 @@ "https://esm.sh/v133/actor@2.3.1/denonext/actor.mjs": "00fab8ffb95490003f1b1c24713b6d48dc45fb1bdcc5f6e5ffb778057c03440d", "https://esm.sh/v133/cborg@4.0.3/denonext/cborg.mjs": "e220414da161c15307be4b72849bf84bc5bcbc199ee4824951df529350af75d2", "https://esm.sh/v133/ipfs-car@1.0.0/denonext/ipfs-car.mjs": "3b4181a252d23cd3d33197c421121137f750141ec5f616d58736e97363ca60ac", + "https://esm.sh/v133/ipfs-car@1.0.0/denonext/types.js": "5c23da176830e9ae6b5a564832fbb5c730abc82eadbf73399cda975535b62d55", + "https://esm.sh/v133/ipfs-car@1.0.0/types": "404325e6a6abc412e8a7941488b512220c2a57bedeafe68876f6a99cb628e1bd", "https://esm.sh/v133/multiformats@11.0.2/denonext/block.js": "008baabf9c3264ceca6b0cc7fff17d960853e2ed3517f3eb9f1b901022102cec", "https://esm.sh/v133/multiformats@11.0.2/denonext/cid.js": "2e6d73c56196384774b6970ffc9cb9f876d020e2eb9e7ee6faccde1553c506dd", "https://esm.sh/v133/multiformats@11.0.2/denonext/codecs/raw.js": "185f2f813aeaf4462a5d4726cd36f8c46172cc25954ca081e2c2c5ed4f9e9508", @@ -156,26 +85,50 @@ "https://esm.sh/v133/varint@6.0.0/denonext/varint.mjs": "5610d240d126c901e2c424075f0dfba7173ed1f1cce6601232ea67c0def3c5bb", "https://esm.sh/v135/@aws-crypto/crc32@3.0.0/denonext/crc32.mjs": "f9a98501e686244b2f327c7791df0f1f7830b8769dd2815b9de7e2aaca1f657f", "https://esm.sh/v135/@aws-crypto/util@3.0.0/denonext/util.mjs": "0fbd60f4487011dd33dad62793bfa4617f07791d54e0a21e3ac7f9ceb99af7db", + "https://esm.sh/v135/@aws-sdk/middleware-sdk-s3@3.587.0/denonext/middleware-sdk-s3.mjs": "bf3fd7a03012323e250710b352888238726f8cd61516a0f8fa53de43d0d61c52", "https://esm.sh/v135/@aws-sdk/s3-request-presigner@3.456.0/denonext/s3-request-presigner.mjs": "f982cfbfe8f4caf030ed422cb7911ea240d217731d467a16a18ba9d25c6dff6b", + "https://esm.sh/v135/@aws-sdk/s3-request-presigner@3.587.0/denonext/s3-request-presigner.mjs": "37013a2534aa30971dbe5d7a0b181934124379ebb52f9ab129cd8d64975c7f83", "https://esm.sh/v135/@aws-sdk/signature-v4-multi-region@3.451.0/denonext/signature-v4-multi-region.mjs": "cfaf6e756490197a71fb61758dce8bd641ade298c46ac6385485e23d4b625606", + "https://esm.sh/v135/@aws-sdk/signature-v4-multi-region@3.587.0/denonext/signature-v4-multi-region.mjs": "97f7166508a9d41ae660774c6224dd0a96405313cbaab6945427f69e632e7061", + "https://esm.sh/v135/@aws-sdk/util-arn-parser@3.568.0/denonext/util-arn-parser.mjs": "e80995eaf790640e591f09d89d9099b022efa6d7954d6e23a1a7f5691b9b5110", "https://esm.sh/v135/@aws-sdk/util-format-url@3.451.0/denonext/util-format-url.mjs": "19dcd4b43e70f37103ae34502e0ef32bcc00bdad7e3480cbbaf9a3b9ea18205a", + "https://esm.sh/v135/@aws-sdk/util-format-url@3.577.0/denonext/util-format-url.mjs": "dc97c48b31bb953af37a9b55a28f36af141397176af4160dd7caa865c1445efe", "https://esm.sh/v135/@aws-sdk/util-utf8-browser@3.259.0/denonext/util-utf8-browser.mjs": "79fc8ce5cd61204fe274363d637902a5d49ea40688e8d40cbd5b6ecf56f782b7", "https://esm.sh/v135/@smithy/eventstream-codec@2.0.13/denonext/eventstream-codec.mjs": "0f2f0ffff93c80803f9db8f0f91c6038ba2369c219031379c7e8955f7ae3463b", + "https://esm.sh/v135/@smithy/fetch-http-handler@3.0.1/denonext/fetch-http-handler.mjs": "d45f4739d78d06e5dc37271dcd859f9a67208dc6b008340dc2f9a70ad13db898", "https://esm.sh/v135/@smithy/is-array-buffer@2.0.0/denonext/is-array-buffer.mjs": "8fcbe490a3730ac1eac71766b5e1cb41ccba2f2abf646badb0e50a95340b3623", + "https://esm.sh/v135/@smithy/is-array-buffer@3.0.0/denonext/is-array-buffer.mjs": "f8bb7f850b646a10880d4e52c60151913b7d81911b2b1cd1355c9adef56ab3e2", "https://esm.sh/v135/@smithy/middleware-endpoint@2.2.1/denonext/middleware-endpoint.mjs": "7840a55e2a6558b50713584b2a9068f0ea311c089a49ca3c95024da1a11d594e", + "https://esm.sh/v135/@smithy/middleware-endpoint@3.0.1/denonext/middleware-endpoint.mjs": "bf9be6bcc613941c0a1350b67c4e33862f43c0ea610e38559abccdf37fb78342", "https://esm.sh/v135/@smithy/middleware-serde@2.0.14/denonext/middleware-serde.mjs": "27bc3de619201b906636b9ff564a82ae2e772864affd6a1263dc419bd5c8f16e", + "https://esm.sh/v135/@smithy/middleware-serde@3.0.0/denonext/middleware-serde.mjs": "7681ebe6e31f3974a04ea7515521c6b1b68aadd26367e105045a1a8e47219890", + "https://esm.sh/v135/@smithy/middleware-stack@3.0.0/denonext/middleware-stack.mjs": "9e954876cda37bc3bdd7cef702a0f2cad07e0a01fbf3f621ff3ad699176960dc", "https://esm.sh/v135/@smithy/protocol-http@3.0.10/denonext/protocol-http.mjs": "7a6184c624ecaec8050866897aed5c5b77f11df6c7ed1da7dba71248cee43f57", + "https://esm.sh/v135/@smithy/protocol-http@4.0.0/denonext/protocol-http.mjs": "70c3ac96dde34152ba20e35c4aa8f1237624156a63565fc1278d669bc1aa4ced", "https://esm.sh/v135/@smithy/querystring-builder@2.0.14/denonext/querystring-builder.mjs": "bc4bf2eac1c0f6e0d6eaaf54f15a0894754a41d2e99e0cbaea046d32b0498c83", + "https://esm.sh/v135/@smithy/querystring-builder@3.0.0/denonext/querystring-builder.mjs": "d7abeb886cd8805936ee2cef154c13a2116c7934c713b247783d26f9bdd5f526", "https://esm.sh/v135/@smithy/querystring-parser@2.0.14/denonext/querystring-parser.mjs": "1d98739f60ad163db362149e62f36bd85de546b6f92526a9d580ee8d35274a8a", + "https://esm.sh/v135/@smithy/querystring-parser@3.0.0/denonext/querystring-parser.mjs": "c4ecaaecb22801e82f0fc9bd0f01a3279fead61ee278334c2edbe008adb770fb", "https://esm.sh/v135/@smithy/signature-v4@2.0.15/denonext/signature-v4.mjs": "74907d739eca6404fb1b7f05369f4f05408b7340e4516b069806d8fb71fe883a", + "https://esm.sh/v135/@smithy/signature-v4@3.0.0/denonext/signature-v4.mjs": "c3013b99f3b7741a4787a38b5e8553befcd27fd3397567da3fb10a9fe24f530a", + "https://esm.sh/v135/@smithy/smithy-client@3.1.1/denonext/smithy-client.mjs": "b2e61a9deb80ce5074de3286bfe3142a282a286b2fb561ff0fc37ddbb5ba1c20", "https://esm.sh/v135/@smithy/types@2.5.0/denonext/types.mjs": "f273245fd07623d2d932f9ffa6ccdc5c829d3f5e364deec0d64fa2421b94620a", "https://esm.sh/v135/@smithy/types@2.6.0/denonext/types.mjs": "e41fa7f64bd6b57da04215ffbe2dc66dc3a79c22c635748a1e01ec4cbc162d29", + "https://esm.sh/v135/@smithy/types@3.0.0/denonext/types.mjs": "25efdf4ec5b964611ca47bb80a2b2d849d393367df433c5bb23096d741f85f59", "https://esm.sh/v135/@smithy/url-parser@2.0.14/denonext/url-parser.mjs": "e487b2e87633c4198c10f78044fd92bc53d9d5121ab52d000d9512f799ea55bd", + "https://esm.sh/v135/@smithy/url-parser@3.0.0/denonext/url-parser.mjs": "15cce7f94afb9e392977b9b565386ea3c64cbf34df41b9f9138f77f56945424c", + "https://esm.sh/v135/@smithy/util-base64@3.0.0/denonext/util-base64.mjs": "d6a01faaa94fdbeb4b92b02e91801dfbe241439e37a0edf7d817c59daf66c0e3", + "https://esm.sh/v135/@smithy/util-config-provider@3.0.0/denonext/util-config-provider.mjs": "832c0ab1d3b06a51351ea23b33628bd36a37ef570e02e469f6ab39f71d88d7b1", "https://esm.sh/v135/@smithy/util-hex-encoding@2.0.0/denonext/util-hex-encoding.mjs": "48b73551d6dc8f87fff840debe36f207f56b04a36c3c21fe2099613457c9d22d", + "https://esm.sh/v135/@smithy/util-hex-encoding@3.0.0/denonext/util-hex-encoding.mjs": "cbdd7aabeb3903596980e2903efec3e5501f7e1259fb7b97e327a3b4e635f23c", "https://esm.sh/v135/@smithy/util-middleware@2.0.6/denonext/util-middleware.mjs": "0bf990cecfba03d827130507a14bd119c7fbaee4ee8fe057d0904e7741b4fddc", "https://esm.sh/v135/@smithy/util-middleware@2.0.7/denonext/util-middleware.mjs": "673799dcf0b06c3d516a3f75c54f82d5a43ba8321015813499cc5c7a80fbcaf6", + "https://esm.sh/v135/@smithy/util-middleware@3.0.0/denonext/util-middleware.mjs": "6b85625cb9b9492f81270c274bb5ea491e903e619f89de0d1f5fbba49b418ca4", + "https://esm.sh/v135/@smithy/util-stream@3.0.1/denonext/util-stream.mjs": "adc467f8edf75be350d4566ceb13377423b5bb9c152d0438296ed171b9a9e475", "https://esm.sh/v135/@smithy/util-uri-escape@2.0.0/denonext/util-uri-escape.mjs": "1e46ae4ab088b9dfcb5dd73715de2a2530747e920cf5b405012aed7d944e2976", + "https://esm.sh/v135/@smithy/util-uri-escape@3.0.0/denonext/util-uri-escape.mjs": "df2c80781ede692323dee6e2da3711e7ccc4f7a1cee949b09aba8d1ce15bbe03", "https://esm.sh/v135/@smithy/util-utf8@2.0.2/denonext/util-utf8.mjs": "d1869dca8a21b3e6c297cb55f90e1b78bf8f365afd1f173c16d719f28245604b", + "https://esm.sh/v135/@smithy/util-utf8@3.0.0/denonext/util-utf8.mjs": "abe704ed8c4266b29906116ef723b98e8729078537b252c9a213ad373559488a", "https://esm.sh/v135/aws4@1.12.0/denonext/aws4.mjs": "a9bee7397e4d31e972b28d4cba022e92e82a7e277462662aa4d20642b2847d51", "https://esm.sh/v135/tslib@1.14.1/denonext/tslib.mjs": "5e49e8960f064d11fb709e3338f5437e2ede57e7df873a09d7834c2a0bf533f7" } diff --git a/deps.ts b/deps.ts index abd27b9..862653c 100644 --- a/deps.ts +++ b/deps.ts @@ -1,4 +1,4 @@ -export { S3RequestPresigner } from 'https://esm.sh/@aws-sdk/s3-request-presigner@3.456.0' +export { S3RequestPresigner } from 'https://esm.sh/@aws-sdk/s3-request-presigner@3.587.0' export { Buffer } from 'node:buffer' export { createHash, createHmac, Hash as NodeHash, Hmac } from 'node:crypto' export { default as aws4 } from 'https://esm.sh/aws4@1.12.0' diff --git a/dev_deps.ts b/dev_deps.ts index 0da6881..8bf2aa5 100644 --- a/dev_deps.ts +++ b/dev_deps.ts @@ -1,2 +1,2 @@ export { describe, it } from 'https://deno.land/std@0.207.0/testing/bdd.ts' -export { assertEquals, assertThrows, assertStringIncludes } from 'https://deno.land/std@0.207.0/assert/mod.ts' +export { assertEquals, assertStringIncludes, assertThrows } from 'https://deno.land/std@0.207.0/assert/mod.ts' diff --git a/mod.ts b/mod.ts index 48c00db..8c9c854 100644 --- a/mod.ts +++ b/mod.ts @@ -115,7 +115,7 @@ export const headObject = async ( { bucketName, filename, apiUrl, token }: RequiredArgs & { filename: string }, -): Promise<[boolean, string | null]> => { +): Promise<[boolean, string | null, string | null]> => { let requestOptions: aws4.Request & { key?: string } = { host: `${bucketName}.${apiUrl ?? FILEBASE_API_URL}`, path: `/${filename}`, @@ -133,7 +133,7 @@ export const headObject = async ( `https://${requestOptions.host}${requestOptions.path}`, requestOptions as RequestInit, ) - .then((res) => [res.status == 200, res.headers.get('x-amz-meta-cid')]) + .then((res) => [res.status == 200, res.headers.get('x-amz-meta-cid'), res.headers.get('content-length')]) } export const getObject = async (