@redscope-ai/redscope 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +224 -0
- package/dist/chunk-090920rk.js +288 -0
- package/dist/chunk-0afb2r78.js +141 -0
- package/dist/chunk-0d4ekx1g.js +73 -0
- package/dist/chunk-0g6nwbhq.js +15 -0
- package/dist/chunk-0qj905nt.js +18 -0
- package/dist/chunk-0s5btnn1.js +186 -0
- package/dist/chunk-0s8fars0.js +91 -0
- package/dist/chunk-10ev3dvh.js +312 -0
- package/dist/chunk-10k5jfc5.js +1295 -0
- package/dist/chunk-12tspwqa.js +240 -0
- package/dist/chunk-13qesvnw.js +17 -0
- package/dist/chunk-143eh1e0.js +121 -0
- package/dist/chunk-14p6wvsq.js +39 -0
- package/dist/chunk-19f3zb1m.js +342 -0
- package/dist/chunk-1a5cep8h.js +145 -0
- package/dist/chunk-1abw9kkn.js +34 -0
- package/dist/chunk-1aer7c78.js +118 -0
- package/dist/chunk-1dazz4g6.js +154 -0
- package/dist/chunk-1fcf4ty1.js +142 -0
- package/dist/chunk-1gnxhyf8.js +62 -0
- package/dist/chunk-1he3944e.js +8124 -0
- package/dist/chunk-1jpayz7y.js +952 -0
- package/dist/chunk-1qd6f6vk.js +269 -0
- package/dist/chunk-1v0kpe62.js +2547 -0
- package/dist/chunk-1w20m7gw.js +445 -0
- package/dist/chunk-1y7kp51j.js +72 -0
- package/dist/chunk-1ycb5sxt.js +247 -0
- package/dist/chunk-1zbwhcbt.js +1124 -0
- package/dist/chunk-20psem54.js +116 -0
- package/dist/chunk-23h69r5b.js +30 -0
- package/dist/chunk-23x86ptv.js +473 -0
- package/dist/chunk-24fyv3jz.js +378 -0
- package/dist/chunk-24kv69g3.js +97 -0
- package/dist/chunk-2azx8zsc.js +125 -0
- package/dist/chunk-2d1gwzz9.js +524 -0
- package/dist/chunk-2g0ytd9d.js +29058 -0
- package/dist/chunk-2hfp9kat.js +21 -0
- package/dist/chunk-2j875eq6.js +37 -0
- package/dist/chunk-2kcgxnvp.js +39 -0
- package/dist/chunk-2kz09j2s.js +23 -0
- package/dist/chunk-2mwnwp0n.js +17 -0
- package/dist/chunk-2p1cqhcn.js +921 -0
- package/dist/chunk-2p369q9z.js +61 -0
- package/dist/chunk-2rf6asgf.js +151 -0
- package/dist/chunk-2vr7mqx1.js +384 -0
- package/dist/chunk-2xcg933e.js +205 -0
- package/dist/chunk-2ypwckbz.js +40310 -0
- package/dist/chunk-30wnahyg.js +626 -0
- package/dist/chunk-326zehp8.js +204 -0
- package/dist/chunk-32s6jzgw.js +183 -0
- package/dist/chunk-35yzt1a7.js +202 -0
- package/dist/chunk-38frkej6.js +62 -0
- package/dist/chunk-3abaq08g.js +34 -0
- package/dist/chunk-3h59ttr5.js +32 -0
- package/dist/chunk-3nk9q8dr.js +154 -0
- package/dist/chunk-3prrxevm.js +224 -0
- package/dist/chunk-3tv8p9xw.js +127 -0
- package/dist/chunk-3txyekes.js +19 -0
- package/dist/chunk-3vfxjn7g.js +19 -0
- package/dist/chunk-3w9sye8h.js +81 -0
- package/dist/chunk-3y69j7y8.js +24 -0
- package/dist/chunk-3zwjpkjh.js +1603 -0
- package/dist/chunk-40t1d75v.js +3442 -0
- package/dist/chunk-470kmby4.js +318 -0
- package/dist/chunk-47jc141z.js +335 -0
- package/dist/chunk-48rz50ct.js +868 -0
- package/dist/chunk-49wv03ts.js +232 -0
- package/dist/chunk-4a189mn2.js +103 -0
- package/dist/chunk-4c4fmh7a.js +15 -0
- package/dist/chunk-4ct8dsj5.js +49 -0
- package/dist/chunk-4kqt1pm1.js +100 -0
- package/dist/chunk-4ng0xy0e.js +802 -0
- package/dist/chunk-4spgkgr3.js +43 -0
- package/dist/chunk-4tjdwtyy.js +19 -0
- package/dist/chunk-4tr60273.js +370 -0
- package/dist/chunk-4vnaeng5.js +29 -0
- package/dist/chunk-4wbqpeaw.js +871 -0
- package/dist/chunk-4wgkv3fv.js +1140 -0
- package/dist/chunk-4yjskjb6.js +40 -0
- package/dist/chunk-50m3a23z.js +35 -0
- package/dist/chunk-511f79az.js +182 -0
- package/dist/chunk-51sgztvv.js +161 -0
- package/dist/chunk-563fcpv1.js +290 -0
- package/dist/chunk-564cnq6v.js +735 -0
- package/dist/chunk-569r8cxc.js +31 -0
- package/dist/chunk-570x55d4.js +12 -0
- package/dist/chunk-571556cm.js +80 -0
- package/dist/chunk-59t4c56e.js +63 -0
- package/dist/chunk-5axjhkma.js +36 -0
- package/dist/chunk-5b188q5e.js +157 -0
- package/dist/chunk-5dmn1865.js +439 -0
- package/dist/chunk-5ks4829r.js +267 -0
- package/dist/chunk-5mmhfbxb.js +1078 -0
- package/dist/chunk-5rdt14hy.js +742 -0
- package/dist/chunk-5ssryexj.js +121 -0
- package/dist/chunk-5v95pnq4.js +15 -0
- package/dist/chunk-5xvjt2t9.js +68 -0
- package/dist/chunk-5zyq6t1q.js +118 -0
- package/dist/chunk-60fkafk2.js +15 -0
- package/dist/chunk-62fjkf5q.js +46 -0
- package/dist/chunk-64gazrrb.js +8067 -0
- package/dist/chunk-65tq2yjx.js +126 -0
- package/dist/chunk-65zbgg1n.js +14 -0
- package/dist/chunk-66v8mty3.js +264 -0
- package/dist/chunk-6acx5heq.js +292 -0
- package/dist/chunk-6hr7742d.js +61 -0
- package/dist/chunk-6hygvrhn.js +143 -0
- package/dist/chunk-6kjh280m.js +128 -0
- package/dist/chunk-6s0q1s5r.js +66 -0
- package/dist/chunk-6x35ffpx.js +690 -0
- package/dist/chunk-71jfy1hh.js +570 -0
- package/dist/chunk-71sdcaq6.js +15 -0
- package/dist/chunk-754qdxs5.js +92 -0
- package/dist/chunk-79v5bkj4.js +1176 -0
- package/dist/chunk-7br0w7j5.js +151 -0
- package/dist/chunk-7cjgrzz1.js +298 -0
- package/dist/chunk-7d41ks0y.js +133 -0
- package/dist/chunk-7f40pmtr.js +71 -0
- package/dist/chunk-7g15x8hm.js +131 -0
- package/dist/chunk-7gtnzdet.js +120 -0
- package/dist/chunk-7h0z4aqx.js +702 -0
- package/dist/chunk-7h7e5a7d.js +25 -0
- package/dist/chunk-7m2cznwr.js +40 -0
- package/dist/chunk-7nvday0n.js +252 -0
- package/dist/chunk-7qey87th.js +145 -0
- package/dist/chunk-7qx3xhv3.js +9076 -0
- package/dist/chunk-7tfdhkpy.js +61 -0
- package/dist/chunk-80m511j6.js +121 -0
- package/dist/chunk-80ysxfe9.js +784 -0
- package/dist/chunk-8375zk8t.js +17200 -0
- package/dist/chunk-85bpkyy9.js +412 -0
- package/dist/chunk-85tcn547.js +876 -0
- package/dist/chunk-85vqgbc8.js +13 -0
- package/dist/chunk-86626jb4.js +49 -0
- package/dist/chunk-87ms17f6.js +444 -0
- package/dist/chunk-87mz239c.js +118 -0
- package/dist/chunk-89vdzt4e.js +254 -0
- package/dist/chunk-89z3e99z.js +159 -0
- package/dist/chunk-8cwrz1dd.js +1806 -0
- package/dist/chunk-8gv2pjby.js +21 -0
- package/dist/chunk-8hdevr3s.js +140 -0
- package/dist/chunk-8hdsk6qc.js +710 -0
- package/dist/chunk-8kct9arg.js +724 -0
- package/dist/chunk-8kf8h7xf.js +23 -0
- package/dist/chunk-8qed8ymj.js +605 -0
- package/dist/chunk-8sdgr592.js +101 -0
- package/dist/chunk-8we9w8pw.js +111 -0
- package/dist/chunk-8xnm5637.js +72 -0
- package/dist/chunk-8y3q0eqy.js +67 -0
- package/dist/chunk-8yvsnrkr.js +3449 -0
- package/dist/chunk-8zz4z1q3.js +42 -0
- package/dist/chunk-90eyff3k.js +119 -0
- package/dist/chunk-92bjkrf2.js +121 -0
- package/dist/chunk-92zrc7c6.js +327 -0
- package/dist/chunk-935nrvdb.js +13 -0
- package/dist/chunk-94pfyv6a.js +48 -0
- package/dist/chunk-9568p8se.js +115 -0
- package/dist/chunk-96km1ywr.js +37 -0
- package/dist/chunk-980bg4w4.js +163 -0
- package/dist/chunk-9a9g5hbj.js +205 -0
- package/dist/chunk-9cm4725d.js +4395 -0
- package/dist/chunk-9ds3vzq8.js +847 -0
- package/dist/chunk-9ffc9n60.js +618 -0
- package/dist/chunk-9fstrwv2.js +184 -0
- package/dist/chunk-9gt0g0qe.js +153 -0
- package/dist/chunk-9h9k5vz3.js +2761 -0
- package/dist/chunk-9he8bmhy.js +17 -0
- package/dist/chunk-9hn8e6h1.js +12 -0
- package/dist/chunk-9j0n3g8e.js +179 -0
- package/dist/chunk-9j6pa3ft.js +251 -0
- package/dist/chunk-9jpg9dn7.js +122 -0
- package/dist/chunk-9mycnwj5.js +46 -0
- package/dist/chunk-9npy2c17.js +517 -0
- package/dist/chunk-9p6sec8n.js +34 -0
- package/dist/chunk-9pnym83h.js +4584 -0
- package/dist/chunk-9skwrnd2.js +25 -0
- package/dist/chunk-9tsfaqr8.js +459 -0
- package/dist/chunk-9tsw3cqv.js +5924 -0
- package/dist/chunk-9w6ckyk4.js +49 -0
- package/dist/chunk-a15bwzv6.js +147 -0
- package/dist/chunk-a9t6cp69.js +28 -0
- package/dist/chunk-ad2yk19p.js +102 -0
- package/dist/chunk-ad4cw4nw.js +336 -0
- package/dist/chunk-ad69fbsk.js +347 -0
- package/dist/chunk-ae76ded0.js +30 -0
- package/dist/chunk-aeysytks.js +216 -0
- package/dist/chunk-ag81m9bq.js +61 -0
- package/dist/chunk-ahx7gp6r.js +4448 -0
- package/dist/chunk-aj4tk4tk.js +23 -0
- package/dist/chunk-an82t9jc.js +104 -0
- package/dist/chunk-apg95qd7.js +1393 -0
- package/dist/chunk-aq5n2adz.js +27 -0
- package/dist/chunk-aw4s3a99.js +208 -0
- package/dist/chunk-awgdfggg.js +14 -0
- package/dist/chunk-ayymxgn1.js +164 -0
- package/dist/chunk-azbab59e.js +637 -0
- package/dist/chunk-azdxq2a3.js +293 -0
- package/dist/chunk-b0tjx3k1.js +523 -0
- package/dist/chunk-b5pp4g2g.js +371 -0
- package/dist/chunk-b5zm8dt6.js +26 -0
- package/dist/chunk-bcnye5a0.js +109 -0
- package/dist/chunk-beqz3k49.js +190 -0
- package/dist/chunk-bf906wpw.js +147 -0
- package/dist/chunk-bgan4cpf.js +13 -0
- package/dist/chunk-bhzp13h7.js +1178 -0
- package/dist/chunk-bk403kpw.js +142 -0
- package/dist/chunk-bmq4c135.js +489 -0
- package/dist/chunk-bprbeda7.js +35 -0
- package/dist/chunk-bst7czdd.js +888 -0
- package/dist/chunk-bths4xgn.js +111 -0
- package/dist/chunk-btjn3qby.js +13 -0
- package/dist/chunk-bwb1vxnt.js +120 -0
- package/dist/chunk-bxa6tw4m.js +643 -0
- package/dist/chunk-bxfjr8qb.js +27 -0
- package/dist/chunk-bxpzhrej.js +73 -0
- package/dist/chunk-bzyzrq0k.js +51 -0
- package/dist/chunk-c0k7b0jw.js +4265 -0
- package/dist/chunk-c17f0h2s.js +16 -0
- package/dist/chunk-c1yc761e.js +6748 -0
- package/dist/chunk-c5g9shkw.js +298 -0
- package/dist/chunk-c696122m.js +69 -0
- package/dist/chunk-c92b3yxx.js +109 -0
- package/dist/chunk-c9aqz56y.js +143 -0
- package/dist/chunk-cba7c5w3.js +345 -0
- package/dist/chunk-cbcxbbe6.js +6543 -0
- package/dist/chunk-cdfjb87h.js +11 -0
- package/dist/chunk-ce8zjt1y.js +136 -0
- package/dist/chunk-cep7e37k.js +22740 -0
- package/dist/chunk-chs5qm8d.js +258 -0
- package/dist/chunk-ckydq33g.js +144 -0
- package/dist/chunk-cnge6wpj.js +514 -0
- package/dist/chunk-cpnsvqf1.js +13 -0
- package/dist/chunk-cqqebkv4.js +32 -0
- package/dist/chunk-cvqpp7dk.js +627 -0
- package/dist/chunk-cwc33j40.js +65 -0
- package/dist/chunk-cypvrq2a.js +155 -0
- package/dist/chunk-d1ha0swn.js +475 -0
- package/dist/chunk-d2an0138.js +35 -0
- package/dist/chunk-d2tt72ck.js +343 -0
- package/dist/chunk-d6wvcqrw.js +9507 -0
- package/dist/chunk-d7ys2kka.js +991 -0
- package/dist/chunk-dbts5q5p.js +122 -0
- package/dist/chunk-dct29ggs.js +295 -0
- package/dist/chunk-de0qnnf7.js +1059 -0
- package/dist/chunk-dep72ce4.js +513 -0
- package/dist/chunk-dgpvgy8x.js +47 -0
- package/dist/chunk-dhhd7dtc.js +20 -0
- package/dist/chunk-dhzpmxv6.js +594 -0
- package/dist/chunk-djes4da7.js +413 -0
- package/dist/chunk-dnhv3vx7.js +166 -0
- package/dist/chunk-dqtvafan.js +2365 -0
- package/dist/chunk-dr4a3tcp.js +60 -0
- package/dist/chunk-dz2xk9kb.js +100 -0
- package/dist/chunk-dz7nc6rf.js +15 -0
- package/dist/chunk-e3abfxpy.js +1486 -0
- package/dist/chunk-e3cq9z89.js +85 -0
- package/dist/chunk-e3j7m7k2.js +642 -0
- package/dist/chunk-e4dsy4g1.js +9951 -0
- package/dist/chunk-e5592pnn.js +197 -0
- package/dist/chunk-e55hdegh.js +129 -0
- package/dist/chunk-e5r5r04e.js +1030 -0
- package/dist/chunk-e60zztbt.js +442 -0
- package/dist/chunk-e7qq6vn0.js +372 -0
- package/dist/chunk-e9aat7xw.js +80 -0
- package/dist/chunk-e9d5v3zs.js +143 -0
- package/dist/chunk-eax32zk4.js +87 -0
- package/dist/chunk-ebfwmbx1.js +117 -0
- package/dist/chunk-ec71pb8t.js +971 -0
- package/dist/chunk-eemjb825.js +17252 -0
- package/dist/chunk-ees8xdhd.js +256 -0
- package/dist/chunk-eewg66y1.js +112 -0
- package/dist/chunk-eg22v12d.js +266 -0
- package/dist/chunk-enzzk67f.js +313 -0
- package/dist/chunk-eskhp70f.js +117 -0
- package/dist/chunk-ewx6z4g8.js +55 -0
- package/dist/chunk-eyvx461k.js +76 -0
- package/dist/chunk-eztq2b5f.js +94 -0
- package/dist/chunk-f0ffwzdd.js +321 -0
- package/dist/chunk-f80n68mf.js +119 -0
- package/dist/chunk-fae2hjxp.js +99 -0
- package/dist/chunk-fbtfp370.js +60 -0
- package/dist/chunk-fc6ndtgf.js +94 -0
- package/dist/chunk-fdwabr8p.js +13870 -0
- package/dist/chunk-fejeqe61.js +785 -0
- package/dist/chunk-fh0d6mvk.js +168 -0
- package/dist/chunk-fh19zcaf.js +304 -0
- package/dist/chunk-fh8bd39r.js +186 -0
- package/dist/chunk-fj2ebbpn.js +33 -0
- package/dist/chunk-fjn632v7.js +194 -0
- package/dist/chunk-fncpkzs5.js +1389 -0
- package/dist/chunk-fpd1gpt8.js +332 -0
- package/dist/chunk-fq9snrnh.js +295 -0
- package/dist/chunk-fqcfzg3j.js +207 -0
- package/dist/chunk-ftt3vqj2.js +1919 -0
- package/dist/chunk-g06pm4n9.js +395 -0
- package/dist/chunk-g4m5pf4g.js +8 -0
- package/dist/chunk-g72h52y6.js +36 -0
- package/dist/chunk-g79ej71s.js +1627 -0
- package/dist/chunk-g7fwk59d.js +19 -0
- package/dist/chunk-g9jnkrtm.js +663 -0
- package/dist/chunk-g9vg5d7t.js +38 -0
- package/dist/chunk-ga1jkyqy.js +1636 -0
- package/dist/chunk-gaaap2nk.js +676 -0
- package/dist/chunk-gc6erq5q.js +483 -0
- package/dist/chunk-gjrcmf0a.js +752 -0
- package/dist/chunk-gmdy2w3z.js +238999 -0
- package/dist/chunk-gsz4yrrk.js +81 -0
- package/dist/chunk-gy47rjy8.js +3830 -0
- package/dist/chunk-h12a4f4x.js +11 -0
- package/dist/chunk-h1yratmg.js +725 -0
- package/dist/chunk-h9y0jnsy.js +155 -0
- package/dist/chunk-hbhs3mwy.js +133 -0
- package/dist/chunk-hbs8cmb4.js +8 -0
- package/dist/chunk-hdk0t1ht.js +940 -0
- package/dist/chunk-hef8dx4s.js +178 -0
- package/dist/chunk-hgsca8mt.js +381 -0
- package/dist/chunk-hhsxm2yr.js +67 -0
- package/dist/chunk-hj5tzzpd.js +39 -0
- package/dist/chunk-hjxqmtg5.js +94 -0
- package/dist/chunk-hn4w9pkj.js +68 -0
- package/dist/chunk-hnprkjgp.js +25 -0
- package/dist/chunk-hq3n5ex7.js +183 -0
- package/dist/chunk-hqjspfma.js +158 -0
- package/dist/chunk-hqxp6b72.js +1198 -0
- package/dist/chunk-hs6nrmq6.js +94 -0
- package/dist/chunk-hwba5xdc.js +267 -0
- package/dist/chunk-hy566ev3.js +430 -0
- package/dist/chunk-hzmzwte2.js +153 -0
- package/dist/chunk-hzxzvzw8.js +274 -0
- package/dist/chunk-j139fzgs.js +114 -0
- package/dist/chunk-j1mep9ck.js +62 -0
- package/dist/chunk-j3xveeg4.js +273 -0
- package/dist/chunk-j5y1s11j.js +100 -0
- package/dist/chunk-j9475b46.js +26 -0
- package/dist/chunk-j9rgqs8m.js +1192 -0
- package/dist/chunk-jccjaddz.js +74 -0
- package/dist/chunk-jdkwfy9e.js +35 -0
- package/dist/chunk-jdqp0r4h.js +6157 -0
- package/dist/chunk-jdzk4zwn.js +587 -0
- package/dist/chunk-jfafmkte.js +49 -0
- package/dist/chunk-jg3r989b.js +16 -0
- package/dist/chunk-jhtccjc9.js +54 -0
- package/dist/chunk-jj2ff1pr.js +688 -0
- package/dist/chunk-jmv7k0jn.js +37 -0
- package/dist/chunk-jmxzmwpw.js +65 -0
- package/dist/chunk-jnjxdqyr.js +353 -0
- package/dist/chunk-jsbbez9j.js +138 -0
- package/dist/chunk-jvpt2dc0.js +424 -0
- package/dist/chunk-jwd7cka0.js +34 -0
- package/dist/chunk-jy5er3st.js +15 -0
- package/dist/chunk-jyby79z5.js +121 -0
- package/dist/chunk-jzyr6j5n.js +332 -0
- package/dist/chunk-k49xc781.js +63 -0
- package/dist/chunk-k7dt2g4a.js +41 -0
- package/dist/chunk-k7hexw3v.js +969 -0
- package/dist/chunk-k7wwkraa.js +117 -0
- package/dist/chunk-kb3758f7.js +51 -0
- package/dist/chunk-kc67kt75.js +3119 -0
- package/dist/chunk-kdhmfxmh.js +3149 -0
- package/dist/chunk-kejdd6zc.js +51 -0
- package/dist/chunk-kekrjeem.js +402 -0
- package/dist/chunk-kez5r0zz.js +280 -0
- package/dist/chunk-kfsvcs5t.js +75 -0
- package/dist/chunk-khtvffc4.js +285 -0
- package/dist/chunk-kkz4w1tv.js +64 -0
- package/dist/chunk-kmywng0j.js +272 -0
- package/dist/chunk-kq6vcpdr.js +224 -0
- package/dist/chunk-kqzdszcc.js +37 -0
- package/dist/chunk-ktxpp02w.js +435 -0
- package/dist/chunk-kwcvhbtz.js +26 -0
- package/dist/chunk-kx0cm9qr.js +128 -0
- package/dist/chunk-kxcmqz10.js +120 -0
- package/dist/chunk-kxwava1g.js +14 -0
- package/dist/chunk-kywtr3jg.js +825 -0
- package/dist/chunk-kzwg923p.js +8 -0
- package/dist/chunk-m1eq3sgv.js +255 -0
- package/dist/chunk-m21h5zb4.js +119 -0
- package/dist/chunk-m2c3bjv1.js +111 -0
- package/dist/chunk-m41e19ms.js +42 -0
- package/dist/chunk-m7ka36ex.js +97 -0
- package/dist/chunk-m81w8tbm.js +259 -0
- package/dist/chunk-m95ggkax.js +281 -0
- package/dist/chunk-manx26xa.js +145 -0
- package/dist/chunk-mdxh3pk2.js +298 -0
- package/dist/chunk-mhbfkcja.js +311 -0
- package/dist/chunk-mjnr5erm.js +173 -0
- package/dist/chunk-mngvnmwp.js +135 -0
- package/dist/chunk-mvfqanv5.js +63 -0
- package/dist/chunk-mw1nesq1.js +140 -0
- package/dist/chunk-mx168925.js +661 -0
- package/dist/chunk-mxwvj18g.js +795 -0
- package/dist/chunk-my7r5mba.js +257 -0
- package/dist/chunk-myaa1kkf.js +17 -0
- package/dist/chunk-myypc3tn.js +46 -0
- package/dist/chunk-mzcnmnpq.js +3379 -0
- package/dist/chunk-mznav6d1.js +194 -0
- package/dist/chunk-n0qxskpr.js +24 -0
- package/dist/chunk-n6a6hgtp.js +394 -0
- package/dist/chunk-n6d5fgx0.js +254 -0
- package/dist/chunk-n6ym3n03.js +120 -0
- package/dist/chunk-n9g24mwe.js +104 -0
- package/dist/chunk-naamqdf9.js +185 -0
- package/dist/chunk-nb2jk7zj.js +15 -0
- package/dist/chunk-nbkbq9en.js +67 -0
- package/dist/chunk-ndttd6es.js +38 -0
- package/dist/chunk-nfygaaxg.js +133 -0
- package/dist/chunk-ngdzpszd.js +454 -0
- package/dist/chunk-nmfwksa4.js +1297 -0
- package/dist/chunk-nt837qt9.js +21 -0
- package/dist/chunk-nwc3v0vp.js +691 -0
- package/dist/chunk-nz8ha95p.js +3610 -0
- package/dist/chunk-nzxfj0gq.js +2007 -0
- package/dist/chunk-p0r8887g.js +6932 -0
- package/dist/chunk-p1seyqdm.js +120 -0
- package/dist/chunk-p425zbgw.js +726 -0
- package/dist/chunk-p7hamd2c.js +146 -0
- package/dist/chunk-pdvg91cg.js +32 -0
- package/dist/chunk-pecy49yr.js +14649 -0
- package/dist/chunk-pfxrg89f.js +547 -0
- package/dist/chunk-pfyw3155.js +2750 -0
- package/dist/chunk-pr8m11pm.js +1192 -0
- package/dist/chunk-ptxteaeh.js +1591 -0
- package/dist/chunk-pv164mac.js +394 -0
- package/dist/chunk-pxxhtxf5.js +10154 -0
- package/dist/chunk-q0e485mg.js +61 -0
- package/dist/chunk-q1vrhh0q.js +458 -0
- package/dist/chunk-q2h79ncs.js +370 -0
- package/dist/chunk-q3b4n194.js +56 -0
- package/dist/chunk-q44zc68f.js +4301 -0
- package/dist/chunk-q8gknbdx.js +352 -0
- package/dist/chunk-q8xk3kdj.js +11 -0
- package/dist/chunk-qak46xtp.js +119 -0
- package/dist/chunk-qfq7absv.js +95 -0
- package/dist/chunk-qfsn720k.js +151 -0
- package/dist/chunk-qg4811f6.js +228 -0
- package/dist/chunk-qgzn3qps.js +90 -0
- package/dist/chunk-qhaggqkt.js +113 -0
- package/dist/chunk-qjjp27z8.js +195 -0
- package/dist/chunk-qxp0nye6.js +34 -0
- package/dist/chunk-qy3nagaq.js +4957 -0
- package/dist/chunk-qz2meav1.js +1452 -0
- package/dist/chunk-r50hne7m.js +63 -0
- package/dist/chunk-r6m0vgnv.js +80 -0
- package/dist/chunk-r7yw38vf.js +22864 -0
- package/dist/chunk-r8xc618w.js +42 -0
- package/dist/chunk-r961r5kj.js +87 -0
- package/dist/chunk-r9b5xrh0.js +66 -0
- package/dist/chunk-rcn2pd6q.js +477 -0
- package/dist/chunk-rdeh8p3y.js +148 -0
- package/dist/chunk-rg9x1742.js +542 -0
- package/dist/chunk-rgyzsbs3.js +39 -0
- package/dist/chunk-rk2fsxtz.js +16 -0
- package/dist/chunk-rkchkwv9.js +40 -0
- package/dist/chunk-rp8whpb3.js +478 -0
- package/dist/chunk-rpkxdtgr.js +68 -0
- package/dist/chunk-rpmntgyh.js +394 -0
- package/dist/chunk-rpshz4dy.js +614 -0
- package/dist/chunk-rqd60ay5.js +133 -0
- package/dist/chunk-rrsjf2ea.js +229 -0
- package/dist/chunk-rtjk8c8e.js +173 -0
- package/dist/chunk-rw0y2wdf.js +1017 -0
- package/dist/chunk-rx5w7ess.js +663 -0
- package/dist/chunk-rx8t9d35.js +1947 -0
- package/dist/chunk-rxcazxgf.js +195 -0
- package/dist/chunk-rxg6q3bp.js +1413 -0
- package/dist/chunk-rxrb7xnd.js +71 -0
- package/dist/chunk-rxrzxff3.js +118 -0
- package/dist/chunk-ryqjc943.js +71 -0
- package/dist/chunk-rzk9k2rf.js +81 -0
- package/dist/chunk-s2qv0nht.js +119 -0
- package/dist/chunk-s3hafnk3.js +2285 -0
- package/dist/chunk-s4a496tt.js +226 -0
- package/dist/chunk-s4d1h3ka.js +35 -0
- package/dist/chunk-sm3k3ze4.js +16525 -0
- package/dist/chunk-sn0bja82.js +385 -0
- package/dist/chunk-sngjggw1.js +4227 -0
- package/dist/chunk-sq047n34.js +364 -0
- package/dist/chunk-sttwe2tw.js +8584 -0
- package/dist/chunk-sw8qx1r0.js +86 -0
- package/dist/chunk-swstah6a.js +240 -0
- package/dist/chunk-syrkr0mf.js +63 -0
- package/dist/chunk-sz206bd9.js +26 -0
- package/dist/chunk-t09669cj.js +333 -0
- package/dist/chunk-t5f8e30k.js +602 -0
- package/dist/chunk-t5m78mc8.js +432 -0
- package/dist/chunk-t5x1dqwn.js +143 -0
- package/dist/chunk-t877ea0w.js +168 -0
- package/dist/chunk-t91hb71c.js +17 -0
- package/dist/chunk-tb636bcf.js +942 -0
- package/dist/chunk-tb8sykbr.js +426 -0
- package/dist/chunk-tbdkekz3.js +125 -0
- package/dist/chunk-td2gsz7s.js +225 -0
- package/dist/chunk-tenvxbyh.js +20 -0
- package/dist/chunk-texg4qqt.js +317 -0
- package/dist/chunk-teymzz80.js +266 -0
- package/dist/chunk-tj26qpf7.js +153 -0
- package/dist/chunk-tk85ec4p.js +395 -0
- package/dist/chunk-tq205h01.js +164 -0
- package/dist/chunk-tqzddjzg.js +61 -0
- package/dist/chunk-trqrj23e.js +134 -0
- package/dist/chunk-tw1hfsxv.js +2477 -0
- package/dist/chunk-txxdfq83.js +122 -0
- package/dist/chunk-v0yhe582.js +31 -0
- package/dist/chunk-v14184xm.js +15 -0
- package/dist/chunk-v1h9z4hw.js +138 -0
- package/dist/chunk-v3ey5j7f.js +329 -0
- package/dist/chunk-v3nh1sfn.js +208 -0
- package/dist/chunk-v3x8tcc0.js +45 -0
- package/dist/chunk-v4nqnvqq.js +3984 -0
- package/dist/chunk-v4ypszbb.js +15 -0
- package/dist/chunk-v7wbqcx9.js +63 -0
- package/dist/chunk-v8r5fev3.js +341 -0
- package/dist/chunk-v9zg5kzx.js +2810 -0
- package/dist/chunk-va1wh5ss.js +24 -0
- package/dist/chunk-vbfswhht.js +42 -0
- package/dist/chunk-ve7x2tfq.js +124 -0
- package/dist/chunk-vfz8k89y.js +485 -0
- package/dist/chunk-vgm5k14x.js +35678 -0
- package/dist/chunk-vh9pej3c.js +247 -0
- package/dist/chunk-vjxqyt6f.js +3820 -0
- package/dist/chunk-vpb1xstn.js +178 -0
- package/dist/chunk-vqt79tj8.js +110 -0
- package/dist/chunk-vr0n9pv9.js +152 -0
- package/dist/chunk-vrejmja5.js +90 -0
- package/dist/chunk-vrxasmdw.js +449 -0
- package/dist/chunk-vrxb946v.js +125 -0
- package/dist/chunk-vv4kj0q8.js +98 -0
- package/dist/chunk-vvpfng7w.js +8 -0
- package/dist/chunk-vw6ybyew.js +2007 -0
- package/dist/chunk-vwenx8ke.js +17 -0
- package/dist/chunk-vwfa0s5a.js +155 -0
- package/dist/chunk-vx71j8xe.js +63 -0
- package/dist/chunk-vxbjzggp.js +43 -0
- package/dist/chunk-vxjxtz8w.js +440 -0
- package/dist/chunk-vy0c1bwp.js +9 -0
- package/dist/chunk-w3zczyse.js +14 -0
- package/dist/chunk-w4p5t920.js +655 -0
- package/dist/chunk-w68wc625.js +287 -0
- package/dist/chunk-w9ddp3yf.js +96 -0
- package/dist/chunk-wcggm5ja.js +125 -0
- package/dist/chunk-wgnyph3q.js +1306 -0
- package/dist/chunk-wjm5pc1e.js +134 -0
- package/dist/chunk-wnve0drm.js +131 -0
- package/dist/chunk-wp27ev2k.js +135 -0
- package/dist/chunk-wyvy8a4x.js +131 -0
- package/dist/chunk-x671y4dk.js +129 -0
- package/dist/chunk-xbj5keyy.js +22 -0
- package/dist/chunk-xf4fzms8.js +39 -0
- package/dist/chunk-xf59k3zg.js +65 -0
- package/dist/chunk-xgzc4w49.js +204 -0
- package/dist/chunk-xhj7g13b.js +2149 -0
- package/dist/chunk-xjp0cd00.js +56 -0
- package/dist/chunk-xkhnmhqs.js +74 -0
- package/dist/chunk-xkrkqx61.js +55 -0
- package/dist/chunk-xmpgmeb8.js +114 -0
- package/dist/chunk-xrw80zgd.js +4249 -0
- package/dist/chunk-xrzc96g0.js +202 -0
- package/dist/chunk-xt76sm44.js +318 -0
- package/dist/chunk-xwet3awb.js +20 -0
- package/dist/chunk-xyg1sk2w.js +78 -0
- package/dist/chunk-y0jpkqb0.js +180 -0
- package/dist/chunk-y1q7rt9n.js +102 -0
- package/dist/chunk-y67ntyek.js +258 -0
- package/dist/chunk-ybk37qp9.js +37 -0
- package/dist/chunk-yc1stfve.js +5386 -0
- package/dist/chunk-ychjpjef.js +62 -0
- package/dist/chunk-yez8fa9g.js +276 -0
- package/dist/chunk-ygm7xszr.js +90 -0
- package/dist/chunk-ym11azkj.js +37 -0
- package/dist/chunk-ympz2h15.js +578 -0
- package/dist/chunk-yqx3az3n.js +129 -0
- package/dist/chunk-yt3nfhcc.js +152 -0
- package/dist/chunk-yy8q0n8s.js +120 -0
- package/dist/chunk-yzb92zxv.js +8 -0
- package/dist/chunk-yzet6xyr.js +119 -0
- package/dist/chunk-yzm97qp1.js +226 -0
- package/dist/chunk-z0jgeax8.js +35 -0
- package/dist/chunk-z1r3z6w6.js +29 -0
- package/dist/chunk-z2dp53wn.js +17 -0
- package/dist/chunk-z79355gz.js +308 -0
- package/dist/chunk-z7e94hxz.js +251 -0
- package/dist/chunk-z8cqdcec.js +173 -0
- package/dist/chunk-z99tbg45.js +148 -0
- package/dist/chunk-z9nsjcht.js +37 -0
- package/dist/chunk-za3k6h2h.js +470 -0
- package/dist/chunk-zacynq5p.js +265 -0
- package/dist/chunk-zb0x40az.js +1785 -0
- package/dist/chunk-zbxtzycc.js +274 -0
- package/dist/chunk-zga50181.js +342 -0
- package/dist/chunk-zhb2pns1.js +44 -0
- package/dist/chunk-zkch6trx.js +231 -0
- package/dist/chunk-znf3z4qt.js +954 -0
- package/dist/chunk-zp8zwdgq.js +72 -0
- package/dist/chunk-ztjd8pyf.js +120 -0
- package/dist/chunk-ztmb7geg.js +173 -0
- package/dist/chunk-zvr4snzv.js +887 -0
- package/dist/chunk-zw62m6n3.js +34858 -0
- package/dist/chunk-zwwdebd0.js +65 -0
- package/dist/chunk-zxc6x9w8.js +340 -0
- package/dist/chunk-zy2e7sz0.js +8 -0
- package/dist/chunk-zzf074w3.js +196 -0
- package/dist/chunk-zzz0nwb5.js +310 -0
- package/dist/cli-bun.js +2 -0
- package/dist/cli-node.js +2 -0
- package/dist/cli.js +218 -0
- package/dist/vendor/audio-capture/arm64-darwin/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/arm64-linux/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/arm64-win32/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/x64-darwin/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/x64-linux/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/x64-win32/audio-capture.node +0 -0
- package/dist/vendor/ripgrep/x64-win32/rg.exe +0 -0
- package/package.json +243 -0
- package/scripts/chrome-mcp-bridge-resolver.mjs +43 -0
- package/scripts/chrome-mcp-env.mjs +19 -0
- package/scripts/postinstall.cjs +339 -0
- package/scripts/run-parallel.mjs +10 -0
- package/scripts/setup-chrome-mcp.mjs +69 -0
|
@@ -0,0 +1,1806 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
defaultProvider,
|
|
4
|
+
init_dist_es
|
|
5
|
+
} from "./chunk-mjnr5erm.js";
|
|
6
|
+
import"./chunk-62fjkf5q.js";
|
|
7
|
+
import {
|
|
8
|
+
require_dist_cjs as require_dist_cjs26
|
|
9
|
+
} from "./chunk-p425zbgw.js";
|
|
10
|
+
import {
|
|
11
|
+
require_dist_cjs as require_dist_cjs11,
|
|
12
|
+
require_dist_cjs1 as require_dist_cjs12,
|
|
13
|
+
require_dist_cjs10 as require_dist_cjs23,
|
|
14
|
+
require_dist_cjs11 as require_dist_cjs24,
|
|
15
|
+
require_dist_cjs12 as require_dist_cjs25,
|
|
16
|
+
require_dist_cjs2 as require_dist_cjs13,
|
|
17
|
+
require_dist_cjs3 as require_dist_cjs15,
|
|
18
|
+
require_dist_cjs4 as require_dist_cjs16,
|
|
19
|
+
require_dist_cjs5 as require_dist_cjs18,
|
|
20
|
+
require_dist_cjs6 as require_dist_cjs19,
|
|
21
|
+
require_dist_cjs7 as require_dist_cjs20,
|
|
22
|
+
require_dist_cjs8 as require_dist_cjs21,
|
|
23
|
+
require_dist_cjs9 as require_dist_cjs22,
|
|
24
|
+
require_protocols
|
|
25
|
+
} from "./chunk-p0r8887g.js";
|
|
26
|
+
import {
|
|
27
|
+
require_dist_cjs as require_dist_cjs14,
|
|
28
|
+
require_dist_cjs2 as require_dist_cjs17
|
|
29
|
+
} from "./chunk-564cnq6v.js";
|
|
30
|
+
import {
|
|
31
|
+
require_dist_cjs as require_dist_cjs9
|
|
32
|
+
} from "./chunk-zvr4snzv.js";
|
|
33
|
+
import {
|
|
34
|
+
require_dist_cjs as require_dist_cjs10,
|
|
35
|
+
require_httpAuthSchemes
|
|
36
|
+
} from "./chunk-pr8m11pm.js";
|
|
37
|
+
import {
|
|
38
|
+
require_dist_cjs as require_dist_cjs5,
|
|
39
|
+
require_schema
|
|
40
|
+
} from "./chunk-vjxqyt6f.js";
|
|
41
|
+
import {
|
|
42
|
+
require_dist_cjs as require_dist_cjs6,
|
|
43
|
+
require_dist_cjs2 as require_dist_cjs8
|
|
44
|
+
} from "./chunk-d7ys2kka.js";
|
|
45
|
+
import {
|
|
46
|
+
require_client,
|
|
47
|
+
require_dist_cjs1 as require_dist_cjs2
|
|
48
|
+
} from "./chunk-rp8whpb3.js";
|
|
49
|
+
import"./chunk-4yjskjb6.js";
|
|
50
|
+
import {
|
|
51
|
+
require_dist_cjs
|
|
52
|
+
} from "./chunk-fh0d6mvk.js";
|
|
53
|
+
import {
|
|
54
|
+
require_dist_cjs as require_dist_cjs3
|
|
55
|
+
} from "./chunk-zwwdebd0.js";
|
|
56
|
+
import {
|
|
57
|
+
require_dist_cjs as require_dist_cjs4
|
|
58
|
+
} from "./chunk-xkrkqx61.js";
|
|
59
|
+
import"./chunk-ees8xdhd.js";
|
|
60
|
+
import"./chunk-1aer7c78.js";
|
|
61
|
+
import"./chunk-qgzn3qps.js";
|
|
62
|
+
import {
|
|
63
|
+
require_dist_cjs2 as require_dist_cjs7
|
|
64
|
+
} from "./chunk-v7wbqcx9.js";
|
|
65
|
+
import {
|
|
66
|
+
__esm,
|
|
67
|
+
__toESM
|
|
68
|
+
} from "./chunk-hhsxm2yr.js";
|
|
69
|
+
|
|
70
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/endpoint/bdd.js
|
|
71
|
+
var import_util_endpoints, q = "ref", a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "stringEquals", g = "getAttr", h = "us-east-1", i = "sigv4", j = "sts", k = "https://sts.{Region}.{PartitionResult#dnsSuffix}", l, m, n, o, p, _data, root = 2, r = 1e8, nodes, bdd;
|
|
72
|
+
var init_bdd = __esm(() => {
|
|
73
|
+
import_util_endpoints = __toESM(require_dist_cjs14(), 1);
|
|
74
|
+
l = { [q]: "Endpoint" };
|
|
75
|
+
m = { [q]: "Region" };
|
|
76
|
+
n = { [q]: d };
|
|
77
|
+
o = {};
|
|
78
|
+
p = [m];
|
|
79
|
+
_data = {
|
|
80
|
+
conditions: [
|
|
81
|
+
[c, [l]],
|
|
82
|
+
[c, p],
|
|
83
|
+
["aws.partition", p, d],
|
|
84
|
+
[e, [{ [q]: "UseFIPS" }, b]],
|
|
85
|
+
[e, [{ [q]: "UseDualStack" }, b]],
|
|
86
|
+
[f, [m, "aws-global"]],
|
|
87
|
+
[e, [{ [q]: "UseGlobalEndpoint" }, b]],
|
|
88
|
+
[f, [m, "eu-central-1"]],
|
|
89
|
+
[e, [{ fn: g, argv: [n, "supportsDualStack"] }, b]],
|
|
90
|
+
[e, [{ fn: g, argv: [n, "supportsFIPS"] }, b]],
|
|
91
|
+
[f, [m, "ap-south-1"]],
|
|
92
|
+
[f, [m, "eu-north-1"]],
|
|
93
|
+
[f, [m, "eu-west-1"]],
|
|
94
|
+
[f, [m, "eu-west-2"]],
|
|
95
|
+
[f, [m, "eu-west-3"]],
|
|
96
|
+
[f, [m, "sa-east-1"]],
|
|
97
|
+
[f, [m, h]],
|
|
98
|
+
[f, [m, "us-east-2"]],
|
|
99
|
+
[f, [m, "us-west-2"]],
|
|
100
|
+
[f, [m, "us-west-1"]],
|
|
101
|
+
[f, [m, "ca-central-1"]],
|
|
102
|
+
[f, [m, "ap-southeast-1"]],
|
|
103
|
+
[f, [m, "ap-northeast-1"]],
|
|
104
|
+
[f, [m, "ap-southeast-2"]],
|
|
105
|
+
[f, [{ fn: g, argv: [n, "name"] }, "aws-us-gov"]]
|
|
106
|
+
],
|
|
107
|
+
results: [
|
|
108
|
+
[a],
|
|
109
|
+
["https://sts.amazonaws.com", { authSchemes: [{ name: i, signingName: j, signingRegion: h }] }],
|
|
110
|
+
[k, { authSchemes: [{ name: i, signingName: j, signingRegion: "{Region}" }] }],
|
|
111
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
112
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
113
|
+
[l, o],
|
|
114
|
+
["https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", o],
|
|
115
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
116
|
+
["https://sts.{Region}.amazonaws.com", o],
|
|
117
|
+
["https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", o],
|
|
118
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
119
|
+
["https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", o],
|
|
120
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
121
|
+
[k, o],
|
|
122
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
123
|
+
]
|
|
124
|
+
};
|
|
125
|
+
nodes = new Int32Array([
|
|
126
|
+
-1,
|
|
127
|
+
1,
|
|
128
|
+
-1,
|
|
129
|
+
0,
|
|
130
|
+
30,
|
|
131
|
+
3,
|
|
132
|
+
1,
|
|
133
|
+
4,
|
|
134
|
+
r + 14,
|
|
135
|
+
2,
|
|
136
|
+
5,
|
|
137
|
+
r + 14,
|
|
138
|
+
3,
|
|
139
|
+
25,
|
|
140
|
+
6,
|
|
141
|
+
4,
|
|
142
|
+
24,
|
|
143
|
+
7,
|
|
144
|
+
5,
|
|
145
|
+
r + 1,
|
|
146
|
+
8,
|
|
147
|
+
6,
|
|
148
|
+
9,
|
|
149
|
+
r + 13,
|
|
150
|
+
7,
|
|
151
|
+
r + 1,
|
|
152
|
+
10,
|
|
153
|
+
10,
|
|
154
|
+
r + 1,
|
|
155
|
+
11,
|
|
156
|
+
11,
|
|
157
|
+
r + 1,
|
|
158
|
+
12,
|
|
159
|
+
12,
|
|
160
|
+
r + 1,
|
|
161
|
+
13,
|
|
162
|
+
13,
|
|
163
|
+
r + 1,
|
|
164
|
+
14,
|
|
165
|
+
14,
|
|
166
|
+
r + 1,
|
|
167
|
+
15,
|
|
168
|
+
15,
|
|
169
|
+
r + 1,
|
|
170
|
+
16,
|
|
171
|
+
16,
|
|
172
|
+
r + 1,
|
|
173
|
+
17,
|
|
174
|
+
17,
|
|
175
|
+
r + 1,
|
|
176
|
+
18,
|
|
177
|
+
18,
|
|
178
|
+
r + 1,
|
|
179
|
+
19,
|
|
180
|
+
19,
|
|
181
|
+
r + 1,
|
|
182
|
+
20,
|
|
183
|
+
20,
|
|
184
|
+
r + 1,
|
|
185
|
+
21,
|
|
186
|
+
21,
|
|
187
|
+
r + 1,
|
|
188
|
+
22,
|
|
189
|
+
22,
|
|
190
|
+
r + 1,
|
|
191
|
+
23,
|
|
192
|
+
23,
|
|
193
|
+
r + 1,
|
|
194
|
+
r + 2,
|
|
195
|
+
8,
|
|
196
|
+
r + 11,
|
|
197
|
+
r + 12,
|
|
198
|
+
4,
|
|
199
|
+
28,
|
|
200
|
+
26,
|
|
201
|
+
9,
|
|
202
|
+
27,
|
|
203
|
+
r + 10,
|
|
204
|
+
24,
|
|
205
|
+
r + 8,
|
|
206
|
+
r + 9,
|
|
207
|
+
8,
|
|
208
|
+
29,
|
|
209
|
+
r + 7,
|
|
210
|
+
9,
|
|
211
|
+
r + 6,
|
|
212
|
+
r + 7,
|
|
213
|
+
3,
|
|
214
|
+
r + 3,
|
|
215
|
+
31,
|
|
216
|
+
4,
|
|
217
|
+
r + 4,
|
|
218
|
+
r + 5
|
|
219
|
+
]);
|
|
220
|
+
bdd = import_util_endpoints.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
221
|
+
});
|
|
222
|
+
|
|
223
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js
|
|
224
|
+
var import_util_endpoints2, import_util_endpoints3, cache, defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
225
|
+
return cache.get(endpointParams, () => import_util_endpoints3.decideEndpoint(bdd, {
|
|
226
|
+
endpointParams,
|
|
227
|
+
logger: context.logger
|
|
228
|
+
}));
|
|
229
|
+
};
|
|
230
|
+
var init_endpointResolver = __esm(() => {
|
|
231
|
+
init_bdd();
|
|
232
|
+
import_util_endpoints2 = __toESM(require_dist_cjs15(), 1);
|
|
233
|
+
import_util_endpoints3 = __toESM(require_dist_cjs14(), 1);
|
|
234
|
+
cache = new import_util_endpoints3.EndpointCache({
|
|
235
|
+
size: 50,
|
|
236
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS", "UseGlobalEndpoint"]
|
|
237
|
+
});
|
|
238
|
+
import_util_endpoints3.customEndpointFunctions.aws = import_util_endpoints2.awsEndpointFunctions;
|
|
239
|
+
});
|
|
240
|
+
|
|
241
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthSchemeProvider.js
|
|
242
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
243
|
+
return {
|
|
244
|
+
schemeId: "aws.auth#sigv4",
|
|
245
|
+
signingProperties: {
|
|
246
|
+
name: "sts",
|
|
247
|
+
region: authParameters.region
|
|
248
|
+
},
|
|
249
|
+
propertiesExtractor: (config, context) => ({
|
|
250
|
+
signingProperties: {
|
|
251
|
+
config,
|
|
252
|
+
context
|
|
253
|
+
}
|
|
254
|
+
})
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
function createAwsAuthSigv4aHttpAuthOption(authParameters) {
|
|
258
|
+
return {
|
|
259
|
+
schemeId: "aws.auth#sigv4a",
|
|
260
|
+
signingProperties: {
|
|
261
|
+
name: "sts",
|
|
262
|
+
region: authParameters.region
|
|
263
|
+
},
|
|
264
|
+
propertiesExtractor: (config, context) => ({
|
|
265
|
+
signingProperties: {
|
|
266
|
+
config,
|
|
267
|
+
context
|
|
268
|
+
}
|
|
269
|
+
})
|
|
270
|
+
};
|
|
271
|
+
}
|
|
272
|
+
function createSmithyApiNoAuthHttpAuthOption(authParameters) {
|
|
273
|
+
return {
|
|
274
|
+
schemeId: "smithy.api#noAuth"
|
|
275
|
+
};
|
|
276
|
+
}
|
|
277
|
+
var import_httpAuthSchemes, import_signature_v4_multi_region, import_middleware_endpoint, import_util_middleware, createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
|
|
278
|
+
if (!input) {
|
|
279
|
+
throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");
|
|
280
|
+
}
|
|
281
|
+
const defaultParameters = await defaultHttpAuthSchemeParametersProvider(config, context, input);
|
|
282
|
+
const instructionsFn = import_util_middleware.getSmithyContext(context)?.commandInstance?.constructor?.getEndpointParameterInstructions;
|
|
283
|
+
if (!instructionsFn) {
|
|
284
|
+
throw new Error(`getEndpointParameterInstructions() is not defined on '${context.commandName}'`);
|
|
285
|
+
}
|
|
286
|
+
const endpointParameters = await import_middleware_endpoint.resolveParams(input, { getEndpointParameterInstructions: instructionsFn }, config);
|
|
287
|
+
return Object.assign(defaultParameters, endpointParameters);
|
|
288
|
+
}, _defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
289
|
+
return {
|
|
290
|
+
operation: import_util_middleware.getSmithyContext(context).operation,
|
|
291
|
+
region: await import_util_middleware.normalizeProvider(config.region)() || (() => {
|
|
292
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
293
|
+
})()
|
|
294
|
+
};
|
|
295
|
+
}, defaultSTSHttpAuthSchemeParametersProvider, createEndpointRuleSetHttpAuthSchemeProvider = (defaultEndpointResolver2, defaultHttpAuthSchemeResolver, createHttpAuthOptionFunctions) => {
|
|
296
|
+
const endpointRuleSetHttpAuthSchemeProvider = (authParameters) => {
|
|
297
|
+
const endpoint = defaultEndpointResolver2(authParameters);
|
|
298
|
+
const authSchemes = endpoint.properties?.authSchemes;
|
|
299
|
+
if (!authSchemes) {
|
|
300
|
+
return defaultHttpAuthSchemeResolver(authParameters);
|
|
301
|
+
}
|
|
302
|
+
const options = [];
|
|
303
|
+
for (const scheme of authSchemes) {
|
|
304
|
+
const { name: resolvedName, properties = {}, ...rest } = scheme;
|
|
305
|
+
const name = resolvedName.toLowerCase();
|
|
306
|
+
if (resolvedName !== name) {
|
|
307
|
+
console.warn(`HttpAuthScheme has been normalized with lowercasing: '${resolvedName}' to '${name}'`);
|
|
308
|
+
}
|
|
309
|
+
let schemeId;
|
|
310
|
+
if (name === "sigv4a") {
|
|
311
|
+
schemeId = "aws.auth#sigv4a";
|
|
312
|
+
const sigv4Present = authSchemes.find((s) => {
|
|
313
|
+
const name2 = s.name.toLowerCase();
|
|
314
|
+
return name2 !== "sigv4a" && name2.startsWith("sigv4");
|
|
315
|
+
});
|
|
316
|
+
if (import_signature_v4_multi_region.SignatureV4MultiRegion.sigv4aDependency() === "none" && sigv4Present) {
|
|
317
|
+
continue;
|
|
318
|
+
}
|
|
319
|
+
} else if (name.startsWith("sigv4")) {
|
|
320
|
+
schemeId = "aws.auth#sigv4";
|
|
321
|
+
} else {
|
|
322
|
+
throw new Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${name}'`);
|
|
323
|
+
}
|
|
324
|
+
const createOption = createHttpAuthOptionFunctions[schemeId];
|
|
325
|
+
if (!createOption) {
|
|
326
|
+
throw new Error(`Could not find HttpAuthOption create function for '${schemeId}'`);
|
|
327
|
+
}
|
|
328
|
+
const option = createOption(authParameters);
|
|
329
|
+
option.schemeId = schemeId;
|
|
330
|
+
option.signingProperties = { ...option.signingProperties || {}, ...rest, ...properties };
|
|
331
|
+
options.push(option);
|
|
332
|
+
}
|
|
333
|
+
return options;
|
|
334
|
+
};
|
|
335
|
+
return endpointRuleSetHttpAuthSchemeProvider;
|
|
336
|
+
}, _defaultSTSHttpAuthSchemeProvider = (authParameters) => {
|
|
337
|
+
const options = [];
|
|
338
|
+
switch (authParameters.operation) {
|
|
339
|
+
case "AssumeRoleWithSAML": {
|
|
340
|
+
options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
|
|
341
|
+
options.push(createAwsAuthSigv4aHttpAuthOption(authParameters));
|
|
342
|
+
break;
|
|
343
|
+
}
|
|
344
|
+
case "AssumeRoleWithWebIdentity": {
|
|
345
|
+
options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
|
|
346
|
+
options.push(createAwsAuthSigv4aHttpAuthOption(authParameters));
|
|
347
|
+
break;
|
|
348
|
+
}
|
|
349
|
+
default: {
|
|
350
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
351
|
+
options.push(createAwsAuthSigv4aHttpAuthOption(authParameters));
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
return options;
|
|
355
|
+
}, defaultSTSHttpAuthSchemeProvider, resolveStsAuthConfig = (input) => Object.assign(input, {
|
|
356
|
+
stsClientCtor: STSClient
|
|
357
|
+
}), resolveHttpAuthSchemeConfig = (config) => {
|
|
358
|
+
const config_0 = resolveStsAuthConfig(config);
|
|
359
|
+
const config_1 = import_httpAuthSchemes.resolveAwsSdkSigV4Config(config_0);
|
|
360
|
+
const config_2 = import_httpAuthSchemes.resolveAwsSdkSigV4AConfig(config_1);
|
|
361
|
+
return Object.assign(config_2, {
|
|
362
|
+
authSchemePreference: import_util_middleware.normalizeProvider(config.authSchemePreference ?? [])
|
|
363
|
+
});
|
|
364
|
+
};
|
|
365
|
+
var init_httpAuthSchemeProvider = __esm(() => {
|
|
366
|
+
init_endpointResolver();
|
|
367
|
+
init_STSClient();
|
|
368
|
+
import_httpAuthSchemes = __toESM(require_httpAuthSchemes(), 1);
|
|
369
|
+
import_signature_v4_multi_region = __toESM(require_dist_cjs26(), 1);
|
|
370
|
+
import_middleware_endpoint = __toESM(require_dist_cjs19(), 1);
|
|
371
|
+
import_util_middleware = __toESM(require_dist_cjs6(), 1);
|
|
372
|
+
defaultSTSHttpAuthSchemeParametersProvider = createEndpointRuleSetHttpAuthSchemeParametersProvider(_defaultSTSHttpAuthSchemeParametersProvider);
|
|
373
|
+
defaultSTSHttpAuthSchemeProvider = createEndpointRuleSetHttpAuthSchemeProvider(defaultEndpointResolver, _defaultSTSHttpAuthSchemeProvider, {
|
|
374
|
+
"aws.auth#sigv4": createAwsAuthSigv4HttpAuthOption,
|
|
375
|
+
"aws.auth#sigv4a": createAwsAuthSigv4aHttpAuthOption,
|
|
376
|
+
"smithy.api#noAuth": createSmithyApiNoAuthHttpAuthOption
|
|
377
|
+
});
|
|
378
|
+
});
|
|
379
|
+
|
|
380
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/endpoint/EndpointParameters.js
|
|
381
|
+
var resolveClientEndpointParameters = (options) => {
|
|
382
|
+
return Object.assign(options, {
|
|
383
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
384
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
385
|
+
useGlobalEndpoint: options.useGlobalEndpoint ?? false,
|
|
386
|
+
defaultSigningName: "sts"
|
|
387
|
+
});
|
|
388
|
+
}, commonParams;
|
|
389
|
+
var init_EndpointParameters = __esm(() => {
|
|
390
|
+
commonParams = {
|
|
391
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
392
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
393
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
394
|
+
Region: { type: "builtInParams", name: "region" },
|
|
395
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
396
|
+
};
|
|
397
|
+
});
|
|
398
|
+
|
|
399
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/package.json
|
|
400
|
+
var package_default;
|
|
401
|
+
var init_package = __esm(() => {
|
|
402
|
+
package_default = {
|
|
403
|
+
name: "@aws-sdk/client-sts",
|
|
404
|
+
description: "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
|
405
|
+
version: "3.1037.0",
|
|
406
|
+
scripts: {
|
|
407
|
+
build: "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
408
|
+
"build:cjs": "node ../../scripts/compilation/inline client-sts",
|
|
409
|
+
"build:es": "tsc -p tsconfig.es.json",
|
|
410
|
+
"build:include:deps": 'yarn g:turbo run build -F="$npm_package_name"',
|
|
411
|
+
"build:types": "premove ./dist-types tsconfig.types.tsbuildinfo && tsc -p tsconfig.types.json",
|
|
412
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
413
|
+
clean: "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
414
|
+
"extract:docs": "api-extractor run --local",
|
|
415
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo sts",
|
|
416
|
+
test: "yarn g:vitest run",
|
|
417
|
+
"test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts --mode development",
|
|
418
|
+
"test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
|
|
419
|
+
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs",
|
|
420
|
+
"test:integration": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts",
|
|
421
|
+
"test:integration:watch": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts",
|
|
422
|
+
"test:watch": "yarn g:vitest watch"
|
|
423
|
+
},
|
|
424
|
+
main: "./dist-cjs/index.js",
|
|
425
|
+
types: "./dist-types/index.d.ts",
|
|
426
|
+
module: "./dist-es/index.js",
|
|
427
|
+
sideEffects: false,
|
|
428
|
+
dependencies: {
|
|
429
|
+
"@aws-crypto/sha256-browser": "5.2.0",
|
|
430
|
+
"@aws-crypto/sha256-js": "5.2.0",
|
|
431
|
+
"@aws-sdk/core": "^3.974.5",
|
|
432
|
+
"@aws-sdk/credential-provider-node": "^3.972.36",
|
|
433
|
+
"@aws-sdk/middleware-host-header": "^3.972.10",
|
|
434
|
+
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
435
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.11",
|
|
436
|
+
"@aws-sdk/middleware-user-agent": "^3.972.35",
|
|
437
|
+
"@aws-sdk/region-config-resolver": "^3.972.13",
|
|
438
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.22",
|
|
439
|
+
"@aws-sdk/types": "^3.973.8",
|
|
440
|
+
"@aws-sdk/util-endpoints": "^3.996.8",
|
|
441
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.10",
|
|
442
|
+
"@aws-sdk/util-user-agent-node": "^3.973.21",
|
|
443
|
+
"@smithy/config-resolver": "^4.4.17",
|
|
444
|
+
"@smithy/core": "^3.23.17",
|
|
445
|
+
"@smithy/fetch-http-handler": "^5.3.17",
|
|
446
|
+
"@smithy/hash-node": "^4.2.14",
|
|
447
|
+
"@smithy/invalid-dependency": "^4.2.14",
|
|
448
|
+
"@smithy/middleware-content-length": "^4.2.14",
|
|
449
|
+
"@smithy/middleware-endpoint": "^4.4.32",
|
|
450
|
+
"@smithy/middleware-retry": "^4.5.5",
|
|
451
|
+
"@smithy/middleware-serde": "^4.2.20",
|
|
452
|
+
"@smithy/middleware-stack": "^4.2.14",
|
|
453
|
+
"@smithy/node-config-provider": "^4.3.14",
|
|
454
|
+
"@smithy/node-http-handler": "^4.6.1",
|
|
455
|
+
"@smithy/protocol-http": "^5.3.14",
|
|
456
|
+
"@smithy/smithy-client": "^4.12.13",
|
|
457
|
+
"@smithy/types": "^4.14.1",
|
|
458
|
+
"@smithy/url-parser": "^4.2.14",
|
|
459
|
+
"@smithy/util-base64": "^4.3.2",
|
|
460
|
+
"@smithy/util-body-length-browser": "^4.2.2",
|
|
461
|
+
"@smithy/util-body-length-node": "^4.2.3",
|
|
462
|
+
"@smithy/util-defaults-mode-browser": "^4.3.49",
|
|
463
|
+
"@smithy/util-defaults-mode-node": "^4.2.54",
|
|
464
|
+
"@smithy/util-endpoints": "^3.4.2",
|
|
465
|
+
"@smithy/util-middleware": "^4.2.14",
|
|
466
|
+
"@smithy/util-retry": "^4.3.4",
|
|
467
|
+
"@smithy/util-utf8": "^4.2.2",
|
|
468
|
+
tslib: "^2.6.2"
|
|
469
|
+
},
|
|
470
|
+
devDependencies: {
|
|
471
|
+
"@smithy/snapshot-testing": "^2.0.8",
|
|
472
|
+
"@tsconfig/node20": "20.1.8",
|
|
473
|
+
"@types/node": "^20.14.8",
|
|
474
|
+
concurrently: "7.0.0",
|
|
475
|
+
"downlevel-dts": "0.10.1",
|
|
476
|
+
premove: "4.0.0",
|
|
477
|
+
typescript: "~5.8.3",
|
|
478
|
+
vitest: "^4.0.17"
|
|
479
|
+
},
|
|
480
|
+
engines: {
|
|
481
|
+
node: ">=20.0.0"
|
|
482
|
+
},
|
|
483
|
+
typesVersions: {
|
|
484
|
+
"<4.5": {
|
|
485
|
+
"dist-types/*": [
|
|
486
|
+
"dist-types/ts3.4/*"
|
|
487
|
+
]
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
files: [
|
|
491
|
+
"dist-*/**"
|
|
492
|
+
],
|
|
493
|
+
author: {
|
|
494
|
+
name: "AWS SDK for JavaScript Team",
|
|
495
|
+
url: "https://aws.amazon.com/javascript/"
|
|
496
|
+
},
|
|
497
|
+
license: "Apache-2.0",
|
|
498
|
+
browser: {
|
|
499
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
500
|
+
},
|
|
501
|
+
"react-native": {
|
|
502
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
503
|
+
},
|
|
504
|
+
homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sts",
|
|
505
|
+
repository: {
|
|
506
|
+
type: "git",
|
|
507
|
+
url: "https://github.com/aws/aws-sdk-js-v3.git",
|
|
508
|
+
directory: "clients/client-sts"
|
|
509
|
+
}
|
|
510
|
+
};
|
|
511
|
+
});
|
|
512
|
+
|
|
513
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/models/STSServiceException.js
|
|
514
|
+
var import_smithy_client, STSServiceException;
|
|
515
|
+
var init_STSServiceException = __esm(() => {
|
|
516
|
+
import_smithy_client = __toESM(require_dist_cjs9(), 1);
|
|
517
|
+
STSServiceException = class STSServiceException extends import_smithy_client.ServiceException {
|
|
518
|
+
constructor(options) {
|
|
519
|
+
super(options);
|
|
520
|
+
Object.setPrototypeOf(this, STSServiceException.prototype);
|
|
521
|
+
}
|
|
522
|
+
};
|
|
523
|
+
});
|
|
524
|
+
|
|
525
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/models/errors.js
|
|
526
|
+
var ExpiredTokenException, MalformedPolicyDocumentException, PackedPolicyTooLargeException, RegionDisabledException, IDPRejectedClaimException, InvalidIdentityTokenException, IDPCommunicationErrorException, InvalidAuthorizationMessageException, ExpiredTradeInTokenException, JWTPayloadSizeExceededException, OutboundWebIdentityFederationDisabledException, SessionDurationEscalationException;
|
|
527
|
+
var init_errors = __esm(() => {
|
|
528
|
+
init_STSServiceException();
|
|
529
|
+
ExpiredTokenException = class ExpiredTokenException extends STSServiceException {
|
|
530
|
+
name = "ExpiredTokenException";
|
|
531
|
+
$fault = "client";
|
|
532
|
+
constructor(opts) {
|
|
533
|
+
super({
|
|
534
|
+
name: "ExpiredTokenException",
|
|
535
|
+
$fault: "client",
|
|
536
|
+
...opts
|
|
537
|
+
});
|
|
538
|
+
Object.setPrototypeOf(this, ExpiredTokenException.prototype);
|
|
539
|
+
}
|
|
540
|
+
};
|
|
541
|
+
MalformedPolicyDocumentException = class MalformedPolicyDocumentException extends STSServiceException {
|
|
542
|
+
name = "MalformedPolicyDocumentException";
|
|
543
|
+
$fault = "client";
|
|
544
|
+
constructor(opts) {
|
|
545
|
+
super({
|
|
546
|
+
name: "MalformedPolicyDocumentException",
|
|
547
|
+
$fault: "client",
|
|
548
|
+
...opts
|
|
549
|
+
});
|
|
550
|
+
Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
|
|
551
|
+
}
|
|
552
|
+
};
|
|
553
|
+
PackedPolicyTooLargeException = class PackedPolicyTooLargeException extends STSServiceException {
|
|
554
|
+
name = "PackedPolicyTooLargeException";
|
|
555
|
+
$fault = "client";
|
|
556
|
+
constructor(opts) {
|
|
557
|
+
super({
|
|
558
|
+
name: "PackedPolicyTooLargeException",
|
|
559
|
+
$fault: "client",
|
|
560
|
+
...opts
|
|
561
|
+
});
|
|
562
|
+
Object.setPrototypeOf(this, PackedPolicyTooLargeException.prototype);
|
|
563
|
+
}
|
|
564
|
+
};
|
|
565
|
+
RegionDisabledException = class RegionDisabledException extends STSServiceException {
|
|
566
|
+
name = "RegionDisabledException";
|
|
567
|
+
$fault = "client";
|
|
568
|
+
constructor(opts) {
|
|
569
|
+
super({
|
|
570
|
+
name: "RegionDisabledException",
|
|
571
|
+
$fault: "client",
|
|
572
|
+
...opts
|
|
573
|
+
});
|
|
574
|
+
Object.setPrototypeOf(this, RegionDisabledException.prototype);
|
|
575
|
+
}
|
|
576
|
+
};
|
|
577
|
+
IDPRejectedClaimException = class IDPRejectedClaimException extends STSServiceException {
|
|
578
|
+
name = "IDPRejectedClaimException";
|
|
579
|
+
$fault = "client";
|
|
580
|
+
constructor(opts) {
|
|
581
|
+
super({
|
|
582
|
+
name: "IDPRejectedClaimException",
|
|
583
|
+
$fault: "client",
|
|
584
|
+
...opts
|
|
585
|
+
});
|
|
586
|
+
Object.setPrototypeOf(this, IDPRejectedClaimException.prototype);
|
|
587
|
+
}
|
|
588
|
+
};
|
|
589
|
+
InvalidIdentityTokenException = class InvalidIdentityTokenException extends STSServiceException {
|
|
590
|
+
name = "InvalidIdentityTokenException";
|
|
591
|
+
$fault = "client";
|
|
592
|
+
constructor(opts) {
|
|
593
|
+
super({
|
|
594
|
+
name: "InvalidIdentityTokenException",
|
|
595
|
+
$fault: "client",
|
|
596
|
+
...opts
|
|
597
|
+
});
|
|
598
|
+
Object.setPrototypeOf(this, InvalidIdentityTokenException.prototype);
|
|
599
|
+
}
|
|
600
|
+
};
|
|
601
|
+
IDPCommunicationErrorException = class IDPCommunicationErrorException extends STSServiceException {
|
|
602
|
+
name = "IDPCommunicationErrorException";
|
|
603
|
+
$fault = "client";
|
|
604
|
+
$retryable = {};
|
|
605
|
+
constructor(opts) {
|
|
606
|
+
super({
|
|
607
|
+
name: "IDPCommunicationErrorException",
|
|
608
|
+
$fault: "client",
|
|
609
|
+
...opts
|
|
610
|
+
});
|
|
611
|
+
Object.setPrototypeOf(this, IDPCommunicationErrorException.prototype);
|
|
612
|
+
}
|
|
613
|
+
};
|
|
614
|
+
InvalidAuthorizationMessageException = class InvalidAuthorizationMessageException extends STSServiceException {
|
|
615
|
+
name = "InvalidAuthorizationMessageException";
|
|
616
|
+
$fault = "client";
|
|
617
|
+
constructor(opts) {
|
|
618
|
+
super({
|
|
619
|
+
name: "InvalidAuthorizationMessageException",
|
|
620
|
+
$fault: "client",
|
|
621
|
+
...opts
|
|
622
|
+
});
|
|
623
|
+
Object.setPrototypeOf(this, InvalidAuthorizationMessageException.prototype);
|
|
624
|
+
}
|
|
625
|
+
};
|
|
626
|
+
ExpiredTradeInTokenException = class ExpiredTradeInTokenException extends STSServiceException {
|
|
627
|
+
name = "ExpiredTradeInTokenException";
|
|
628
|
+
$fault = "client";
|
|
629
|
+
constructor(opts) {
|
|
630
|
+
super({
|
|
631
|
+
name: "ExpiredTradeInTokenException",
|
|
632
|
+
$fault: "client",
|
|
633
|
+
...opts
|
|
634
|
+
});
|
|
635
|
+
Object.setPrototypeOf(this, ExpiredTradeInTokenException.prototype);
|
|
636
|
+
}
|
|
637
|
+
};
|
|
638
|
+
JWTPayloadSizeExceededException = class JWTPayloadSizeExceededException extends STSServiceException {
|
|
639
|
+
name = "JWTPayloadSizeExceededException";
|
|
640
|
+
$fault = "client";
|
|
641
|
+
constructor(opts) {
|
|
642
|
+
super({
|
|
643
|
+
name: "JWTPayloadSizeExceededException",
|
|
644
|
+
$fault: "client",
|
|
645
|
+
...opts
|
|
646
|
+
});
|
|
647
|
+
Object.setPrototypeOf(this, JWTPayloadSizeExceededException.prototype);
|
|
648
|
+
}
|
|
649
|
+
};
|
|
650
|
+
OutboundWebIdentityFederationDisabledException = class OutboundWebIdentityFederationDisabledException extends STSServiceException {
|
|
651
|
+
name = "OutboundWebIdentityFederationDisabledException";
|
|
652
|
+
$fault = "client";
|
|
653
|
+
constructor(opts) {
|
|
654
|
+
super({
|
|
655
|
+
name: "OutboundWebIdentityFederationDisabledException",
|
|
656
|
+
$fault: "client",
|
|
657
|
+
...opts
|
|
658
|
+
});
|
|
659
|
+
Object.setPrototypeOf(this, OutboundWebIdentityFederationDisabledException.prototype);
|
|
660
|
+
}
|
|
661
|
+
};
|
|
662
|
+
SessionDurationEscalationException = class SessionDurationEscalationException extends STSServiceException {
|
|
663
|
+
name = "SessionDurationEscalationException";
|
|
664
|
+
$fault = "client";
|
|
665
|
+
constructor(opts) {
|
|
666
|
+
super({
|
|
667
|
+
name: "SessionDurationEscalationException",
|
|
668
|
+
$fault: "client",
|
|
669
|
+
...opts
|
|
670
|
+
});
|
|
671
|
+
Object.setPrototypeOf(this, SessionDurationEscalationException.prototype);
|
|
672
|
+
}
|
|
673
|
+
};
|
|
674
|
+
});
|
|
675
|
+
|
|
676
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/schemas/schemas_0.js
|
|
677
|
+
var import_schema, _A = "Arn", _AKI = "AccessKeyId", _AP = "AssumedPrincipal", _AR = "AssumeRole", _ARI = "AssumedRoleId", _ARR = "AssumeRoleRequest", _ARRs = "AssumeRoleResponse", _ARRss = "AssumeRootRequest", _ARRssu = "AssumeRootResponse", _ARU = "AssumedRoleUser", _ARWSAML = "AssumeRoleWithSAML", _ARWSAMLR = "AssumeRoleWithSAMLRequest", _ARWSAMLRs = "AssumeRoleWithSAMLResponse", _ARWWI = "AssumeRoleWithWebIdentity", _ARWWIR = "AssumeRoleWithWebIdentityRequest", _ARWWIRs = "AssumeRoleWithWebIdentityResponse", _ARs = "AssumeRoot", _Ac = "Account", _Au = "Audience", _C = "Credentials", _CA = "ContextAssertion", _DAM = "DecodeAuthorizationMessage", _DAMR = "DecodeAuthorizationMessageRequest", _DAMRe = "DecodeAuthorizationMessageResponse", _DM = "DecodedMessage", _DS = "DurationSeconds", _E = "Expiration", _EI = "ExternalId", _EM = "EncodedMessage", _ETE = "ExpiredTokenException", _ETITE = "ExpiredTradeInTokenException", _FU = "FederatedUser", _FUI = "FederatedUserId", _GAKI = "GetAccessKeyInfo", _GAKIR = "GetAccessKeyInfoRequest", _GAKIRe = "GetAccessKeyInfoResponse", _GCI = "GetCallerIdentity", _GCIR = "GetCallerIdentityRequest", _GCIRe = "GetCallerIdentityResponse", _GDAT = "GetDelegatedAccessToken", _GDATR = "GetDelegatedAccessTokenRequest", _GDATRe = "GetDelegatedAccessTokenResponse", _GFT = "GetFederationToken", _GFTR = "GetFederationTokenRequest", _GFTRe = "GetFederationTokenResponse", _GST = "GetSessionToken", _GSTR = "GetSessionTokenRequest", _GSTRe = "GetSessionTokenResponse", _GWIT = "GetWebIdentityToken", _GWITR = "GetWebIdentityTokenRequest", _GWITRe = "GetWebIdentityTokenResponse", _I = "Issuer", _IAME = "InvalidAuthorizationMessageException", _IDPCEE = "IDPCommunicationErrorException", _IDPRCE = "IDPRejectedClaimException", _IITE = "InvalidIdentityTokenException", _JWTPSEE = "JWTPayloadSizeExceededException", _K = "Key", _MPDE = "MalformedPolicyDocumentException", _N = "Name", _NQ = "NameQualifier", _OWIFDE = "OutboundWebIdentityFederationDisabledException", _P = "Policy", _PA = "PolicyArns", _PAr = "PrincipalArn", _PAro = "ProviderArn", _PC = "ProvidedContexts", _PCLT = "ProvidedContextsListType", _PCr = "ProvidedContext", _PDT = "PolicyDescriptorType", _PI = "ProviderId", _PPS = "PackedPolicySize", _PPTLE = "PackedPolicyTooLargeException", _Pr = "Provider", _RA = "RoleArn", _RDE = "RegionDisabledException", _RSN = "RoleSessionName", _S = "Subject", _SA = "SigningAlgorithm", _SAK = "SecretAccessKey", _SAMLA = "SAMLAssertion", _SAMLAT = "SAMLAssertionType", _SDEE = "SessionDurationEscalationException", _SFWIT = "SubjectFromWebIdentityToken", _SI = "SourceIdentity", _SN = "SerialNumber", _ST = "SubjectType", _STe = "SessionToken", _T = "Tags", _TC = "TokenCode", _TIT = "TradeInToken", _TP = "TargetPrincipal", _TPA = "TaskPolicyArn", _TTK = "TransitiveTagKeys", _Ta = "Tag", _UI = "UserId", _V = "Value", _WIT = "WebIdentityToken", _a = "arn", _aKST = "accessKeySecretType", _aQE = "awsQueryError", _c = "client", _cTT = "clientTokenType", _e = "error", _hE = "httpError", _m = "message", _pDLT = "policyDescriptorListType", _s = "smithy.ts.sdk.synthetic.com.amazonaws.sts", _tITT = "tradeInTokenType", _tLT = "tagListType", _wITT = "webIdentityTokenType", n0 = "com.amazonaws.sts", _s_registry, STSServiceException$, n0_registry, ExpiredTokenException$, ExpiredTradeInTokenException$, IDPCommunicationErrorException$, IDPRejectedClaimException$, InvalidAuthorizationMessageException$, InvalidIdentityTokenException$, JWTPayloadSizeExceededException$, MalformedPolicyDocumentException$, OutboundWebIdentityFederationDisabledException$, PackedPolicyTooLargeException$, RegionDisabledException$, SessionDurationEscalationException$, errorTypeRegistries, accessKeySecretType, clientTokenType, SAMLAssertionType, tradeInTokenType, webIdentityTokenType, AssumedRoleUser$, AssumeRoleRequest$, AssumeRoleResponse$, AssumeRoleWithSAMLRequest$, AssumeRoleWithSAMLResponse$, AssumeRoleWithWebIdentityRequest$, AssumeRoleWithWebIdentityResponse$, AssumeRootRequest$, AssumeRootResponse$, Credentials$, DecodeAuthorizationMessageRequest$, DecodeAuthorizationMessageResponse$, FederatedUser$, GetAccessKeyInfoRequest$, GetAccessKeyInfoResponse$, GetCallerIdentityRequest$, GetCallerIdentityResponse$, GetDelegatedAccessTokenRequest$, GetDelegatedAccessTokenResponse$, GetFederationTokenRequest$, GetFederationTokenResponse$, GetSessionTokenRequest$, GetSessionTokenResponse$, GetWebIdentityTokenRequest$, GetWebIdentityTokenResponse$, PolicyDescriptorType$, ProvidedContext$, Tag$, policyDescriptorListType, ProvidedContextsListType, tagKeyListType, tagListType, webIdentityTokenAudienceListType, AssumeRole$, AssumeRoleWithSAML$, AssumeRoleWithWebIdentity$, AssumeRoot$, DecodeAuthorizationMessage$, GetAccessKeyInfo$, GetCallerIdentity$, GetDelegatedAccessToken$, GetFederationToken$, GetSessionToken$, GetWebIdentityToken$;
|
|
678
|
+
var init_schemas_0 = __esm(() => {
|
|
679
|
+
init_errors();
|
|
680
|
+
init_STSServiceException();
|
|
681
|
+
import_schema = __toESM(require_schema(), 1);
|
|
682
|
+
_s_registry = import_schema.TypeRegistry.for(_s);
|
|
683
|
+
STSServiceException$ = [-3, _s, "STSServiceException", 0, [], []];
|
|
684
|
+
_s_registry.registerError(STSServiceException$, STSServiceException);
|
|
685
|
+
n0_registry = import_schema.TypeRegistry.for(n0);
|
|
686
|
+
ExpiredTokenException$ = [
|
|
687
|
+
-3,
|
|
688
|
+
n0,
|
|
689
|
+
_ETE,
|
|
690
|
+
{ [_aQE]: [`ExpiredTokenException`, 400], [_e]: _c, [_hE]: 400 },
|
|
691
|
+
[_m],
|
|
692
|
+
[0]
|
|
693
|
+
];
|
|
694
|
+
n0_registry.registerError(ExpiredTokenException$, ExpiredTokenException);
|
|
695
|
+
ExpiredTradeInTokenException$ = [
|
|
696
|
+
-3,
|
|
697
|
+
n0,
|
|
698
|
+
_ETITE,
|
|
699
|
+
{ [_aQE]: [`ExpiredTradeInTokenException`, 400], [_e]: _c, [_hE]: 400 },
|
|
700
|
+
[_m],
|
|
701
|
+
[0]
|
|
702
|
+
];
|
|
703
|
+
n0_registry.registerError(ExpiredTradeInTokenException$, ExpiredTradeInTokenException);
|
|
704
|
+
IDPCommunicationErrorException$ = [
|
|
705
|
+
-3,
|
|
706
|
+
n0,
|
|
707
|
+
_IDPCEE,
|
|
708
|
+
{ [_aQE]: [`IDPCommunicationError`, 400], [_e]: _c, [_hE]: 400 },
|
|
709
|
+
[_m],
|
|
710
|
+
[0]
|
|
711
|
+
];
|
|
712
|
+
n0_registry.registerError(IDPCommunicationErrorException$, IDPCommunicationErrorException);
|
|
713
|
+
IDPRejectedClaimException$ = [
|
|
714
|
+
-3,
|
|
715
|
+
n0,
|
|
716
|
+
_IDPRCE,
|
|
717
|
+
{ [_aQE]: [`IDPRejectedClaim`, 403], [_e]: _c, [_hE]: 403 },
|
|
718
|
+
[_m],
|
|
719
|
+
[0]
|
|
720
|
+
];
|
|
721
|
+
n0_registry.registerError(IDPRejectedClaimException$, IDPRejectedClaimException);
|
|
722
|
+
InvalidAuthorizationMessageException$ = [
|
|
723
|
+
-3,
|
|
724
|
+
n0,
|
|
725
|
+
_IAME,
|
|
726
|
+
{ [_aQE]: [`InvalidAuthorizationMessageException`, 400], [_e]: _c, [_hE]: 400 },
|
|
727
|
+
[_m],
|
|
728
|
+
[0]
|
|
729
|
+
];
|
|
730
|
+
n0_registry.registerError(InvalidAuthorizationMessageException$, InvalidAuthorizationMessageException);
|
|
731
|
+
InvalidIdentityTokenException$ = [
|
|
732
|
+
-3,
|
|
733
|
+
n0,
|
|
734
|
+
_IITE,
|
|
735
|
+
{ [_aQE]: [`InvalidIdentityToken`, 400], [_e]: _c, [_hE]: 400 },
|
|
736
|
+
[_m],
|
|
737
|
+
[0]
|
|
738
|
+
];
|
|
739
|
+
n0_registry.registerError(InvalidIdentityTokenException$, InvalidIdentityTokenException);
|
|
740
|
+
JWTPayloadSizeExceededException$ = [
|
|
741
|
+
-3,
|
|
742
|
+
n0,
|
|
743
|
+
_JWTPSEE,
|
|
744
|
+
{ [_aQE]: [`JWTPayloadSizeExceededException`, 400], [_e]: _c, [_hE]: 400 },
|
|
745
|
+
[_m],
|
|
746
|
+
[0]
|
|
747
|
+
];
|
|
748
|
+
n0_registry.registerError(JWTPayloadSizeExceededException$, JWTPayloadSizeExceededException);
|
|
749
|
+
MalformedPolicyDocumentException$ = [
|
|
750
|
+
-3,
|
|
751
|
+
n0,
|
|
752
|
+
_MPDE,
|
|
753
|
+
{ [_aQE]: [`MalformedPolicyDocument`, 400], [_e]: _c, [_hE]: 400 },
|
|
754
|
+
[_m],
|
|
755
|
+
[0]
|
|
756
|
+
];
|
|
757
|
+
n0_registry.registerError(MalformedPolicyDocumentException$, MalformedPolicyDocumentException);
|
|
758
|
+
OutboundWebIdentityFederationDisabledException$ = [
|
|
759
|
+
-3,
|
|
760
|
+
n0,
|
|
761
|
+
_OWIFDE,
|
|
762
|
+
{ [_aQE]: [`OutboundWebIdentityFederationDisabledException`, 403], [_e]: _c, [_hE]: 403 },
|
|
763
|
+
[_m],
|
|
764
|
+
[0]
|
|
765
|
+
];
|
|
766
|
+
n0_registry.registerError(OutboundWebIdentityFederationDisabledException$, OutboundWebIdentityFederationDisabledException);
|
|
767
|
+
PackedPolicyTooLargeException$ = [
|
|
768
|
+
-3,
|
|
769
|
+
n0,
|
|
770
|
+
_PPTLE,
|
|
771
|
+
{ [_aQE]: [`PackedPolicyTooLarge`, 400], [_e]: _c, [_hE]: 400 },
|
|
772
|
+
[_m],
|
|
773
|
+
[0]
|
|
774
|
+
];
|
|
775
|
+
n0_registry.registerError(PackedPolicyTooLargeException$, PackedPolicyTooLargeException);
|
|
776
|
+
RegionDisabledException$ = [
|
|
777
|
+
-3,
|
|
778
|
+
n0,
|
|
779
|
+
_RDE,
|
|
780
|
+
{ [_aQE]: [`RegionDisabledException`, 403], [_e]: _c, [_hE]: 403 },
|
|
781
|
+
[_m],
|
|
782
|
+
[0]
|
|
783
|
+
];
|
|
784
|
+
n0_registry.registerError(RegionDisabledException$, RegionDisabledException);
|
|
785
|
+
SessionDurationEscalationException$ = [
|
|
786
|
+
-3,
|
|
787
|
+
n0,
|
|
788
|
+
_SDEE,
|
|
789
|
+
{ [_aQE]: [`SessionDurationEscalationException`, 403], [_e]: _c, [_hE]: 403 },
|
|
790
|
+
[_m],
|
|
791
|
+
[0]
|
|
792
|
+
];
|
|
793
|
+
n0_registry.registerError(SessionDurationEscalationException$, SessionDurationEscalationException);
|
|
794
|
+
errorTypeRegistries = [
|
|
795
|
+
_s_registry,
|
|
796
|
+
n0_registry
|
|
797
|
+
];
|
|
798
|
+
accessKeySecretType = [0, n0, _aKST, 8, 0];
|
|
799
|
+
clientTokenType = [0, n0, _cTT, 8, 0];
|
|
800
|
+
SAMLAssertionType = [0, n0, _SAMLAT, 8, 0];
|
|
801
|
+
tradeInTokenType = [0, n0, _tITT, 8, 0];
|
|
802
|
+
webIdentityTokenType = [0, n0, _wITT, 8, 0];
|
|
803
|
+
AssumedRoleUser$ = [
|
|
804
|
+
3,
|
|
805
|
+
n0,
|
|
806
|
+
_ARU,
|
|
807
|
+
0,
|
|
808
|
+
[_ARI, _A],
|
|
809
|
+
[0, 0],
|
|
810
|
+
2
|
|
811
|
+
];
|
|
812
|
+
AssumeRoleRequest$ = [
|
|
813
|
+
3,
|
|
814
|
+
n0,
|
|
815
|
+
_ARR,
|
|
816
|
+
0,
|
|
817
|
+
[_RA, _RSN, _PA, _P, _DS, _T, _TTK, _EI, _SN, _TC, _SI, _PC],
|
|
818
|
+
[0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType],
|
|
819
|
+
2
|
|
820
|
+
];
|
|
821
|
+
AssumeRoleResponse$ = [
|
|
822
|
+
3,
|
|
823
|
+
n0,
|
|
824
|
+
_ARRs,
|
|
825
|
+
0,
|
|
826
|
+
[_C, _ARU, _PPS, _SI],
|
|
827
|
+
[[() => Credentials$, 0], () => AssumedRoleUser$, 1, 0]
|
|
828
|
+
];
|
|
829
|
+
AssumeRoleWithSAMLRequest$ = [
|
|
830
|
+
3,
|
|
831
|
+
n0,
|
|
832
|
+
_ARWSAMLR,
|
|
833
|
+
0,
|
|
834
|
+
[_RA, _PAr, _SAMLA, _PA, _P, _DS],
|
|
835
|
+
[0, 0, [() => SAMLAssertionType, 0], () => policyDescriptorListType, 0, 1],
|
|
836
|
+
3
|
|
837
|
+
];
|
|
838
|
+
AssumeRoleWithSAMLResponse$ = [
|
|
839
|
+
3,
|
|
840
|
+
n0,
|
|
841
|
+
_ARWSAMLRs,
|
|
842
|
+
0,
|
|
843
|
+
[_C, _ARU, _PPS, _S, _ST, _I, _Au, _NQ, _SI],
|
|
844
|
+
[[() => Credentials$, 0], () => AssumedRoleUser$, 1, 0, 0, 0, 0, 0, 0]
|
|
845
|
+
];
|
|
846
|
+
AssumeRoleWithWebIdentityRequest$ = [
|
|
847
|
+
3,
|
|
848
|
+
n0,
|
|
849
|
+
_ARWWIR,
|
|
850
|
+
0,
|
|
851
|
+
[_RA, _RSN, _WIT, _PI, _PA, _P, _DS],
|
|
852
|
+
[0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1],
|
|
853
|
+
3
|
|
854
|
+
];
|
|
855
|
+
AssumeRoleWithWebIdentityResponse$ = [
|
|
856
|
+
3,
|
|
857
|
+
n0,
|
|
858
|
+
_ARWWIRs,
|
|
859
|
+
0,
|
|
860
|
+
[_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI],
|
|
861
|
+
[[() => Credentials$, 0], 0, () => AssumedRoleUser$, 1, 0, 0, 0]
|
|
862
|
+
];
|
|
863
|
+
AssumeRootRequest$ = [
|
|
864
|
+
3,
|
|
865
|
+
n0,
|
|
866
|
+
_ARRss,
|
|
867
|
+
0,
|
|
868
|
+
[_TP, _TPA, _DS],
|
|
869
|
+
[0, () => PolicyDescriptorType$, 1],
|
|
870
|
+
2
|
|
871
|
+
];
|
|
872
|
+
AssumeRootResponse$ = [
|
|
873
|
+
3,
|
|
874
|
+
n0,
|
|
875
|
+
_ARRssu,
|
|
876
|
+
0,
|
|
877
|
+
[_C, _SI],
|
|
878
|
+
[[() => Credentials$, 0], 0]
|
|
879
|
+
];
|
|
880
|
+
Credentials$ = [
|
|
881
|
+
3,
|
|
882
|
+
n0,
|
|
883
|
+
_C,
|
|
884
|
+
0,
|
|
885
|
+
[_AKI, _SAK, _STe, _E],
|
|
886
|
+
[0, [() => accessKeySecretType, 0], 0, 4],
|
|
887
|
+
4
|
|
888
|
+
];
|
|
889
|
+
DecodeAuthorizationMessageRequest$ = [
|
|
890
|
+
3,
|
|
891
|
+
n0,
|
|
892
|
+
_DAMR,
|
|
893
|
+
0,
|
|
894
|
+
[_EM],
|
|
895
|
+
[0],
|
|
896
|
+
1
|
|
897
|
+
];
|
|
898
|
+
DecodeAuthorizationMessageResponse$ = [
|
|
899
|
+
3,
|
|
900
|
+
n0,
|
|
901
|
+
_DAMRe,
|
|
902
|
+
0,
|
|
903
|
+
[_DM],
|
|
904
|
+
[0]
|
|
905
|
+
];
|
|
906
|
+
FederatedUser$ = [
|
|
907
|
+
3,
|
|
908
|
+
n0,
|
|
909
|
+
_FU,
|
|
910
|
+
0,
|
|
911
|
+
[_FUI, _A],
|
|
912
|
+
[0, 0],
|
|
913
|
+
2
|
|
914
|
+
];
|
|
915
|
+
GetAccessKeyInfoRequest$ = [
|
|
916
|
+
3,
|
|
917
|
+
n0,
|
|
918
|
+
_GAKIR,
|
|
919
|
+
0,
|
|
920
|
+
[_AKI],
|
|
921
|
+
[0],
|
|
922
|
+
1
|
|
923
|
+
];
|
|
924
|
+
GetAccessKeyInfoResponse$ = [
|
|
925
|
+
3,
|
|
926
|
+
n0,
|
|
927
|
+
_GAKIRe,
|
|
928
|
+
0,
|
|
929
|
+
[_Ac],
|
|
930
|
+
[0]
|
|
931
|
+
];
|
|
932
|
+
GetCallerIdentityRequest$ = [
|
|
933
|
+
3,
|
|
934
|
+
n0,
|
|
935
|
+
_GCIR,
|
|
936
|
+
0,
|
|
937
|
+
[],
|
|
938
|
+
[]
|
|
939
|
+
];
|
|
940
|
+
GetCallerIdentityResponse$ = [
|
|
941
|
+
3,
|
|
942
|
+
n0,
|
|
943
|
+
_GCIRe,
|
|
944
|
+
0,
|
|
945
|
+
[_UI, _Ac, _A],
|
|
946
|
+
[0, 0, 0]
|
|
947
|
+
];
|
|
948
|
+
GetDelegatedAccessTokenRequest$ = [
|
|
949
|
+
3,
|
|
950
|
+
n0,
|
|
951
|
+
_GDATR,
|
|
952
|
+
0,
|
|
953
|
+
[_TIT],
|
|
954
|
+
[[() => tradeInTokenType, 0]],
|
|
955
|
+
1
|
|
956
|
+
];
|
|
957
|
+
GetDelegatedAccessTokenResponse$ = [
|
|
958
|
+
3,
|
|
959
|
+
n0,
|
|
960
|
+
_GDATRe,
|
|
961
|
+
0,
|
|
962
|
+
[_C, _PPS, _AP],
|
|
963
|
+
[[() => Credentials$, 0], 1, 0]
|
|
964
|
+
];
|
|
965
|
+
GetFederationTokenRequest$ = [
|
|
966
|
+
3,
|
|
967
|
+
n0,
|
|
968
|
+
_GFTR,
|
|
969
|
+
0,
|
|
970
|
+
[_N, _P, _PA, _DS, _T],
|
|
971
|
+
[0, 0, () => policyDescriptorListType, 1, () => tagListType],
|
|
972
|
+
1
|
|
973
|
+
];
|
|
974
|
+
GetFederationTokenResponse$ = [
|
|
975
|
+
3,
|
|
976
|
+
n0,
|
|
977
|
+
_GFTRe,
|
|
978
|
+
0,
|
|
979
|
+
[_C, _FU, _PPS],
|
|
980
|
+
[[() => Credentials$, 0], () => FederatedUser$, 1]
|
|
981
|
+
];
|
|
982
|
+
GetSessionTokenRequest$ = [
|
|
983
|
+
3,
|
|
984
|
+
n0,
|
|
985
|
+
_GSTR,
|
|
986
|
+
0,
|
|
987
|
+
[_DS, _SN, _TC],
|
|
988
|
+
[1, 0, 0]
|
|
989
|
+
];
|
|
990
|
+
GetSessionTokenResponse$ = [
|
|
991
|
+
3,
|
|
992
|
+
n0,
|
|
993
|
+
_GSTRe,
|
|
994
|
+
0,
|
|
995
|
+
[_C],
|
|
996
|
+
[[() => Credentials$, 0]]
|
|
997
|
+
];
|
|
998
|
+
GetWebIdentityTokenRequest$ = [
|
|
999
|
+
3,
|
|
1000
|
+
n0,
|
|
1001
|
+
_GWITR,
|
|
1002
|
+
0,
|
|
1003
|
+
[_Au, _SA, _DS, _T],
|
|
1004
|
+
[64 | 0, 0, 1, () => tagListType],
|
|
1005
|
+
2
|
|
1006
|
+
];
|
|
1007
|
+
GetWebIdentityTokenResponse$ = [
|
|
1008
|
+
3,
|
|
1009
|
+
n0,
|
|
1010
|
+
_GWITRe,
|
|
1011
|
+
0,
|
|
1012
|
+
[_WIT, _E],
|
|
1013
|
+
[[() => webIdentityTokenType, 0], 4]
|
|
1014
|
+
];
|
|
1015
|
+
PolicyDescriptorType$ = [
|
|
1016
|
+
3,
|
|
1017
|
+
n0,
|
|
1018
|
+
_PDT,
|
|
1019
|
+
0,
|
|
1020
|
+
[_a],
|
|
1021
|
+
[0]
|
|
1022
|
+
];
|
|
1023
|
+
ProvidedContext$ = [
|
|
1024
|
+
3,
|
|
1025
|
+
n0,
|
|
1026
|
+
_PCr,
|
|
1027
|
+
0,
|
|
1028
|
+
[_PAro, _CA],
|
|
1029
|
+
[0, 0]
|
|
1030
|
+
];
|
|
1031
|
+
Tag$ = [
|
|
1032
|
+
3,
|
|
1033
|
+
n0,
|
|
1034
|
+
_Ta,
|
|
1035
|
+
0,
|
|
1036
|
+
[_K, _V],
|
|
1037
|
+
[0, 0],
|
|
1038
|
+
2
|
|
1039
|
+
];
|
|
1040
|
+
policyDescriptorListType = [
|
|
1041
|
+
1,
|
|
1042
|
+
n0,
|
|
1043
|
+
_pDLT,
|
|
1044
|
+
0,
|
|
1045
|
+
() => PolicyDescriptorType$
|
|
1046
|
+
];
|
|
1047
|
+
ProvidedContextsListType = [
|
|
1048
|
+
1,
|
|
1049
|
+
n0,
|
|
1050
|
+
_PCLT,
|
|
1051
|
+
0,
|
|
1052
|
+
() => ProvidedContext$
|
|
1053
|
+
];
|
|
1054
|
+
tagKeyListType = 64 | 0;
|
|
1055
|
+
tagListType = [
|
|
1056
|
+
1,
|
|
1057
|
+
n0,
|
|
1058
|
+
_tLT,
|
|
1059
|
+
0,
|
|
1060
|
+
() => Tag$
|
|
1061
|
+
];
|
|
1062
|
+
webIdentityTokenAudienceListType = 64 | 0;
|
|
1063
|
+
AssumeRole$ = [
|
|
1064
|
+
9,
|
|
1065
|
+
n0,
|
|
1066
|
+
_AR,
|
|
1067
|
+
0,
|
|
1068
|
+
() => AssumeRoleRequest$,
|
|
1069
|
+
() => AssumeRoleResponse$
|
|
1070
|
+
];
|
|
1071
|
+
AssumeRoleWithSAML$ = [
|
|
1072
|
+
9,
|
|
1073
|
+
n0,
|
|
1074
|
+
_ARWSAML,
|
|
1075
|
+
0,
|
|
1076
|
+
() => AssumeRoleWithSAMLRequest$,
|
|
1077
|
+
() => AssumeRoleWithSAMLResponse$
|
|
1078
|
+
];
|
|
1079
|
+
AssumeRoleWithWebIdentity$ = [
|
|
1080
|
+
9,
|
|
1081
|
+
n0,
|
|
1082
|
+
_ARWWI,
|
|
1083
|
+
0,
|
|
1084
|
+
() => AssumeRoleWithWebIdentityRequest$,
|
|
1085
|
+
() => AssumeRoleWithWebIdentityResponse$
|
|
1086
|
+
];
|
|
1087
|
+
AssumeRoot$ = [
|
|
1088
|
+
9,
|
|
1089
|
+
n0,
|
|
1090
|
+
_ARs,
|
|
1091
|
+
0,
|
|
1092
|
+
() => AssumeRootRequest$,
|
|
1093
|
+
() => AssumeRootResponse$
|
|
1094
|
+
];
|
|
1095
|
+
DecodeAuthorizationMessage$ = [
|
|
1096
|
+
9,
|
|
1097
|
+
n0,
|
|
1098
|
+
_DAM,
|
|
1099
|
+
0,
|
|
1100
|
+
() => DecodeAuthorizationMessageRequest$,
|
|
1101
|
+
() => DecodeAuthorizationMessageResponse$
|
|
1102
|
+
];
|
|
1103
|
+
GetAccessKeyInfo$ = [
|
|
1104
|
+
9,
|
|
1105
|
+
n0,
|
|
1106
|
+
_GAKI,
|
|
1107
|
+
0,
|
|
1108
|
+
() => GetAccessKeyInfoRequest$,
|
|
1109
|
+
() => GetAccessKeyInfoResponse$
|
|
1110
|
+
];
|
|
1111
|
+
GetCallerIdentity$ = [
|
|
1112
|
+
9,
|
|
1113
|
+
n0,
|
|
1114
|
+
_GCI,
|
|
1115
|
+
0,
|
|
1116
|
+
() => GetCallerIdentityRequest$,
|
|
1117
|
+
() => GetCallerIdentityResponse$
|
|
1118
|
+
];
|
|
1119
|
+
GetDelegatedAccessToken$ = [
|
|
1120
|
+
9,
|
|
1121
|
+
n0,
|
|
1122
|
+
_GDAT,
|
|
1123
|
+
0,
|
|
1124
|
+
() => GetDelegatedAccessTokenRequest$,
|
|
1125
|
+
() => GetDelegatedAccessTokenResponse$
|
|
1126
|
+
];
|
|
1127
|
+
GetFederationToken$ = [
|
|
1128
|
+
9,
|
|
1129
|
+
n0,
|
|
1130
|
+
_GFT,
|
|
1131
|
+
0,
|
|
1132
|
+
() => GetFederationTokenRequest$,
|
|
1133
|
+
() => GetFederationTokenResponse$
|
|
1134
|
+
];
|
|
1135
|
+
GetSessionToken$ = [
|
|
1136
|
+
9,
|
|
1137
|
+
n0,
|
|
1138
|
+
_GST,
|
|
1139
|
+
0,
|
|
1140
|
+
() => GetSessionTokenRequest$,
|
|
1141
|
+
() => GetSessionTokenResponse$
|
|
1142
|
+
];
|
|
1143
|
+
GetWebIdentityToken$ = [
|
|
1144
|
+
9,
|
|
1145
|
+
n0,
|
|
1146
|
+
_GWIT,
|
|
1147
|
+
0,
|
|
1148
|
+
() => GetWebIdentityTokenRequest$,
|
|
1149
|
+
() => GetWebIdentityTokenResponse$
|
|
1150
|
+
];
|
|
1151
|
+
});
|
|
1152
|
+
|
|
1153
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js
|
|
1154
|
+
var import_httpAuthSchemes2, import_protocols, import_signature_v4_multi_region2, import_core, import_smithy_client2, import_url_parser, import_util_base64, import_util_utf8, getRuntimeConfig = (config) => {
|
|
1155
|
+
return {
|
|
1156
|
+
apiVersion: "2011-06-15",
|
|
1157
|
+
base64Decoder: config?.base64Decoder ?? import_util_base64.fromBase64,
|
|
1158
|
+
base64Encoder: config?.base64Encoder ?? import_util_base64.toBase64,
|
|
1159
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
1160
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
1161
|
+
extensions: config?.extensions ?? [],
|
|
1162
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSTSHttpAuthSchemeProvider,
|
|
1163
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
1164
|
+
{
|
|
1165
|
+
schemeId: "aws.auth#sigv4",
|
|
1166
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
1167
|
+
signer: new import_httpAuthSchemes2.AwsSdkSigV4Signer
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
schemeId: "aws.auth#sigv4a",
|
|
1171
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4a"),
|
|
1172
|
+
signer: new import_httpAuthSchemes2.AwsSdkSigV4ASigner
|
|
1173
|
+
},
|
|
1174
|
+
{
|
|
1175
|
+
schemeId: "smithy.api#noAuth",
|
|
1176
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
1177
|
+
signer: new import_core.NoAuthSigner
|
|
1178
|
+
}
|
|
1179
|
+
],
|
|
1180
|
+
logger: config?.logger ?? new import_smithy_client2.NoOpLogger,
|
|
1181
|
+
protocol: config?.protocol ?? import_protocols.AwsQueryProtocol,
|
|
1182
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
1183
|
+
defaultNamespace: "com.amazonaws.sts",
|
|
1184
|
+
errorTypeRegistries,
|
|
1185
|
+
xmlNamespace: "https://sts.amazonaws.com/doc/2011-06-15/",
|
|
1186
|
+
version: "2011-06-15",
|
|
1187
|
+
serviceTarget: "AWSSecurityTokenServiceV20110615"
|
|
1188
|
+
},
|
|
1189
|
+
serviceId: config?.serviceId ?? "STS",
|
|
1190
|
+
signerConstructor: config?.signerConstructor ?? import_signature_v4_multi_region2.SignatureV4MultiRegion,
|
|
1191
|
+
urlParser: config?.urlParser ?? import_url_parser.parseUrl,
|
|
1192
|
+
utf8Decoder: config?.utf8Decoder ?? import_util_utf8.fromUtf8,
|
|
1193
|
+
utf8Encoder: config?.utf8Encoder ?? import_util_utf8.toUtf8
|
|
1194
|
+
};
|
|
1195
|
+
};
|
|
1196
|
+
var init_runtimeConfig_shared = __esm(() => {
|
|
1197
|
+
init_httpAuthSchemeProvider();
|
|
1198
|
+
init_endpointResolver();
|
|
1199
|
+
init_schemas_0();
|
|
1200
|
+
import_httpAuthSchemes2 = __toESM(require_httpAuthSchemes(), 1);
|
|
1201
|
+
import_protocols = __toESM(require_protocols(), 1);
|
|
1202
|
+
import_signature_v4_multi_region2 = __toESM(require_dist_cjs26(), 1);
|
|
1203
|
+
import_core = __toESM(require_dist_cjs10(), 1);
|
|
1204
|
+
import_smithy_client2 = __toESM(require_dist_cjs9(), 1);
|
|
1205
|
+
import_url_parser = __toESM(require_dist_cjs4(), 1);
|
|
1206
|
+
import_util_base64 = __toESM(require_dist_cjs8(), 1);
|
|
1207
|
+
import_util_utf8 = __toESM(require_dist_cjs7(), 1);
|
|
1208
|
+
});
|
|
1209
|
+
|
|
1210
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js
|
|
1211
|
+
var import_client, import_httpAuthSchemes3, import_util_user_agent_node, import_config_resolver, import_core2, import_hash_node, import_middleware_retry, import_node_config_provider, import_node_http_handler, import_smithy_client3, import_util_body_length_node, import_util_defaults_mode_node, import_util_retry, getRuntimeConfig2 = (config) => {
|
|
1212
|
+
import_smithy_client3.emitWarningIfUnsupportedVersion(process.version);
|
|
1213
|
+
const defaultsMode = import_util_defaults_mode_node.resolveDefaultsModeConfig(config);
|
|
1214
|
+
const defaultConfigProvider = () => defaultsMode().then(import_smithy_client3.loadConfigsForDefaultMode);
|
|
1215
|
+
const clientSharedValues = getRuntimeConfig(config);
|
|
1216
|
+
import_client.emitWarningIfUnsupportedVersion(process.version);
|
|
1217
|
+
const loaderConfig = {
|
|
1218
|
+
profile: config?.profile,
|
|
1219
|
+
logger: clientSharedValues.logger
|
|
1220
|
+
};
|
|
1221
|
+
return {
|
|
1222
|
+
...clientSharedValues,
|
|
1223
|
+
...config,
|
|
1224
|
+
runtime: "node",
|
|
1225
|
+
defaultsMode,
|
|
1226
|
+
authSchemePreference: config?.authSchemePreference ?? import_node_config_provider.loadConfig(import_httpAuthSchemes3.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
1227
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? import_util_body_length_node.calculateBodyLength,
|
|
1228
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
1229
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? import_util_user_agent_node.createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: package_default.version }),
|
|
1230
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
1231
|
+
{
|
|
1232
|
+
schemeId: "aws.auth#sigv4",
|
|
1233
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4") || (async (idProps) => await defaultProvider(idProps?.__config || {})()),
|
|
1234
|
+
signer: new import_httpAuthSchemes3.AwsSdkSigV4Signer
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
schemeId: "aws.auth#sigv4a",
|
|
1238
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4a"),
|
|
1239
|
+
signer: new import_httpAuthSchemes3.AwsSdkSigV4ASigner
|
|
1240
|
+
},
|
|
1241
|
+
{
|
|
1242
|
+
schemeId: "smithy.api#noAuth",
|
|
1243
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
1244
|
+
signer: new import_core2.NoAuthSigner
|
|
1245
|
+
}
|
|
1246
|
+
],
|
|
1247
|
+
maxAttempts: config?.maxAttempts ?? import_node_config_provider.loadConfig(import_middleware_retry.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
1248
|
+
region: config?.region ?? import_node_config_provider.loadConfig(import_config_resolver.NODE_REGION_CONFIG_OPTIONS, { ...import_config_resolver.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
1249
|
+
requestHandler: import_node_http_handler.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
1250
|
+
retryMode: config?.retryMode ?? import_node_config_provider.loadConfig({
|
|
1251
|
+
...import_middleware_retry.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1252
|
+
default: async () => (await defaultConfigProvider()).retryMode || import_util_retry.DEFAULT_RETRY_MODE
|
|
1253
|
+
}, config),
|
|
1254
|
+
sha256: config?.sha256 ?? import_hash_node.Hash.bind(null, "sha256"),
|
|
1255
|
+
sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? import_node_config_provider.loadConfig(import_httpAuthSchemes3.NODE_SIGV4A_CONFIG_OPTIONS, loaderConfig),
|
|
1256
|
+
streamCollector: config?.streamCollector ?? import_node_http_handler.streamCollector,
|
|
1257
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? import_node_config_provider.loadConfig(import_config_resolver.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1258
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? import_node_config_provider.loadConfig(import_config_resolver.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1259
|
+
userAgentAppId: config?.userAgentAppId ?? import_node_config_provider.loadConfig(import_util_user_agent_node.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig)
|
|
1260
|
+
};
|
|
1261
|
+
};
|
|
1262
|
+
var init_runtimeConfig = __esm(() => {
|
|
1263
|
+
init_package();
|
|
1264
|
+
init_dist_es();
|
|
1265
|
+
init_runtimeConfig_shared();
|
|
1266
|
+
import_client = __toESM(require_client(), 1);
|
|
1267
|
+
import_httpAuthSchemes3 = __toESM(require_httpAuthSchemes(), 1);
|
|
1268
|
+
import_util_user_agent_node = __toESM(require_dist_cjs21(), 1);
|
|
1269
|
+
import_config_resolver = __toESM(require_dist_cjs17(), 1);
|
|
1270
|
+
import_core2 = __toESM(require_dist_cjs10(), 1);
|
|
1271
|
+
import_hash_node = __toESM(require_dist_cjs22(), 1);
|
|
1272
|
+
import_middleware_retry = __toESM(require_dist_cjs20(), 1);
|
|
1273
|
+
import_node_config_provider = __toESM(require_dist_cjs3(), 1);
|
|
1274
|
+
import_node_http_handler = __toESM(require_dist_cjs5(), 1);
|
|
1275
|
+
import_smithy_client3 = __toESM(require_dist_cjs9(), 1);
|
|
1276
|
+
import_util_body_length_node = __toESM(require_dist_cjs23(), 1);
|
|
1277
|
+
import_util_defaults_mode_node = __toESM(require_dist_cjs24(), 1);
|
|
1278
|
+
import_util_retry = __toESM(require_dist_cjs2(), 1);
|
|
1279
|
+
});
|
|
1280
|
+
|
|
1281
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthExtensionConfiguration.js
|
|
1282
|
+
var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
1283
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
1284
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
1285
|
+
let _credentials = runtimeConfig.credentials;
|
|
1286
|
+
return {
|
|
1287
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
1288
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
1289
|
+
if (index === -1) {
|
|
1290
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
1291
|
+
} else {
|
|
1292
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
1293
|
+
}
|
|
1294
|
+
},
|
|
1295
|
+
httpAuthSchemes() {
|
|
1296
|
+
return _httpAuthSchemes;
|
|
1297
|
+
},
|
|
1298
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
1299
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
1300
|
+
},
|
|
1301
|
+
httpAuthSchemeProvider() {
|
|
1302
|
+
return _httpAuthSchemeProvider;
|
|
1303
|
+
},
|
|
1304
|
+
setCredentials(credentials) {
|
|
1305
|
+
_credentials = credentials;
|
|
1306
|
+
},
|
|
1307
|
+
credentials() {
|
|
1308
|
+
return _credentials;
|
|
1309
|
+
}
|
|
1310
|
+
};
|
|
1311
|
+
}, resolveHttpAuthRuntimeConfig = (config) => {
|
|
1312
|
+
return {
|
|
1313
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
1314
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
1315
|
+
credentials: config.credentials()
|
|
1316
|
+
};
|
|
1317
|
+
};
|
|
1318
|
+
var init_httpAuthExtensionConfiguration = () => {};
|
|
1319
|
+
|
|
1320
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/runtimeExtensions.js
|
|
1321
|
+
var import_region_config_resolver, import_protocol_http, import_smithy_client4, resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
1322
|
+
const extensionConfiguration = Object.assign(import_region_config_resolver.getAwsRegionExtensionConfiguration(runtimeConfig), import_smithy_client4.getDefaultExtensionConfiguration(runtimeConfig), import_protocol_http.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
1323
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
1324
|
+
return Object.assign(runtimeConfig, import_region_config_resolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), import_smithy_client4.resolveDefaultRuntimeConfig(extensionConfiguration), import_protocol_http.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
1325
|
+
};
|
|
1326
|
+
var init_runtimeExtensions = __esm(() => {
|
|
1327
|
+
init_httpAuthExtensionConfiguration();
|
|
1328
|
+
import_region_config_resolver = __toESM(require_dist_cjs25(), 1);
|
|
1329
|
+
import_protocol_http = __toESM(require_dist_cjs(), 1);
|
|
1330
|
+
import_smithy_client4 = __toESM(require_dist_cjs9(), 1);
|
|
1331
|
+
});
|
|
1332
|
+
|
|
1333
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js
|
|
1334
|
+
var import_middleware_host_header, import_middleware_logger, import_middleware_recursion_detection, import_middleware_user_agent, import_config_resolver2, import_core3, import_schema2, import_middleware_content_length, import_middleware_endpoint2, import_middleware_retry2, import_smithy_client5, STSClient;
|
|
1335
|
+
var init_STSClient = __esm(() => {
|
|
1336
|
+
init_httpAuthSchemeProvider();
|
|
1337
|
+
init_EndpointParameters();
|
|
1338
|
+
init_runtimeConfig();
|
|
1339
|
+
init_runtimeExtensions();
|
|
1340
|
+
import_middleware_host_header = __toESM(require_dist_cjs11(), 1);
|
|
1341
|
+
import_middleware_logger = __toESM(require_dist_cjs12(), 1);
|
|
1342
|
+
import_middleware_recursion_detection = __toESM(require_dist_cjs13(), 1);
|
|
1343
|
+
import_middleware_user_agent = __toESM(require_dist_cjs16(), 1);
|
|
1344
|
+
import_config_resolver2 = __toESM(require_dist_cjs17(), 1);
|
|
1345
|
+
import_core3 = __toESM(require_dist_cjs10(), 1);
|
|
1346
|
+
import_schema2 = __toESM(require_schema(), 1);
|
|
1347
|
+
import_middleware_content_length = __toESM(require_dist_cjs18(), 1);
|
|
1348
|
+
import_middleware_endpoint2 = __toESM(require_dist_cjs19(), 1);
|
|
1349
|
+
import_middleware_retry2 = __toESM(require_dist_cjs20(), 1);
|
|
1350
|
+
import_smithy_client5 = __toESM(require_dist_cjs9(), 1);
|
|
1351
|
+
STSClient = class STSClient extends import_smithy_client5.Client {
|
|
1352
|
+
config;
|
|
1353
|
+
constructor(...[configuration]) {
|
|
1354
|
+
const _config_0 = getRuntimeConfig2(configuration || {});
|
|
1355
|
+
super(_config_0);
|
|
1356
|
+
this.initConfig = _config_0;
|
|
1357
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
1358
|
+
const _config_2 = import_middleware_user_agent.resolveUserAgentConfig(_config_1);
|
|
1359
|
+
const _config_3 = import_middleware_retry2.resolveRetryConfig(_config_2);
|
|
1360
|
+
const _config_4 = import_config_resolver2.resolveRegionConfig(_config_3);
|
|
1361
|
+
const _config_5 = import_middleware_host_header.resolveHostHeaderConfig(_config_4);
|
|
1362
|
+
const _config_6 = import_middleware_endpoint2.resolveEndpointConfig(_config_5);
|
|
1363
|
+
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
1364
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
1365
|
+
this.config = _config_8;
|
|
1366
|
+
this.middlewareStack.use(import_schema2.getSchemaSerdePlugin(this.config));
|
|
1367
|
+
this.middlewareStack.use(import_middleware_user_agent.getUserAgentPlugin(this.config));
|
|
1368
|
+
this.middlewareStack.use(import_middleware_retry2.getRetryPlugin(this.config));
|
|
1369
|
+
this.middlewareStack.use(import_middleware_content_length.getContentLengthPlugin(this.config));
|
|
1370
|
+
this.middlewareStack.use(import_middleware_host_header.getHostHeaderPlugin(this.config));
|
|
1371
|
+
this.middlewareStack.use(import_middleware_logger.getLoggerPlugin(this.config));
|
|
1372
|
+
this.middlewareStack.use(import_middleware_recursion_detection.getRecursionDetectionPlugin(this.config));
|
|
1373
|
+
this.middlewareStack.use(import_core3.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
1374
|
+
httpAuthSchemeParametersProvider: defaultSTSHttpAuthSchemeParametersProvider,
|
|
1375
|
+
identityProviderConfigProvider: async (config) => new import_core3.DefaultIdentityProviderConfig({
|
|
1376
|
+
"aws.auth#sigv4": config.credentials,
|
|
1377
|
+
"aws.auth#sigv4a": config.credentials
|
|
1378
|
+
})
|
|
1379
|
+
}));
|
|
1380
|
+
this.middlewareStack.use(import_core3.getHttpSigningPlugin(this.config));
|
|
1381
|
+
}
|
|
1382
|
+
destroy() {
|
|
1383
|
+
super.destroy();
|
|
1384
|
+
}
|
|
1385
|
+
};
|
|
1386
|
+
});
|
|
1387
|
+
|
|
1388
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js
|
|
1389
|
+
var import_middleware_endpoint3, import_smithy_client6, AssumeRoleCommand;
|
|
1390
|
+
var init_AssumeRoleCommand = __esm(() => {
|
|
1391
|
+
init_EndpointParameters();
|
|
1392
|
+
init_schemas_0();
|
|
1393
|
+
import_middleware_endpoint3 = __toESM(require_dist_cjs19(), 1);
|
|
1394
|
+
import_smithy_client6 = __toESM(require_dist_cjs9(), 1);
|
|
1395
|
+
AssumeRoleCommand = class AssumeRoleCommand extends import_smithy_client6.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
|
|
1396
|
+
return [import_middleware_endpoint3.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1397
|
+
}).s("AWSSecurityTokenServiceV20110615", "AssumeRole", {}).n("STSClient", "AssumeRoleCommand").sc(AssumeRole$).build() {
|
|
1398
|
+
};
|
|
1399
|
+
});
|
|
1400
|
+
|
|
1401
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js
|
|
1402
|
+
var import_middleware_endpoint4, import_smithy_client7, AssumeRoleWithSAMLCommand;
|
|
1403
|
+
var init_AssumeRoleWithSAMLCommand = __esm(() => {
|
|
1404
|
+
init_EndpointParameters();
|
|
1405
|
+
init_schemas_0();
|
|
1406
|
+
import_middleware_endpoint4 = __toESM(require_dist_cjs19(), 1);
|
|
1407
|
+
import_smithy_client7 = __toESM(require_dist_cjs9(), 1);
|
|
1408
|
+
AssumeRoleWithSAMLCommand = class AssumeRoleWithSAMLCommand extends import_smithy_client7.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
|
|
1409
|
+
return [import_middleware_endpoint4.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1410
|
+
}).s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithSAML", {}).n("STSClient", "AssumeRoleWithSAMLCommand").sc(AssumeRoleWithSAML$).build() {
|
|
1411
|
+
};
|
|
1412
|
+
});
|
|
1413
|
+
|
|
1414
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js
|
|
1415
|
+
var import_middleware_endpoint5, import_smithy_client8, AssumeRoleWithWebIdentityCommand;
|
|
1416
|
+
var init_AssumeRoleWithWebIdentityCommand = __esm(() => {
|
|
1417
|
+
init_EndpointParameters();
|
|
1418
|
+
init_schemas_0();
|
|
1419
|
+
import_middleware_endpoint5 = __toESM(require_dist_cjs19(), 1);
|
|
1420
|
+
import_smithy_client8 = __toESM(require_dist_cjs9(), 1);
|
|
1421
|
+
AssumeRoleWithWebIdentityCommand = class AssumeRoleWithWebIdentityCommand extends import_smithy_client8.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
|
|
1422
|
+
return [import_middleware_endpoint5.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1423
|
+
}).s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithWebIdentity", {}).n("STSClient", "AssumeRoleWithWebIdentityCommand").sc(AssumeRoleWithWebIdentity$).build() {
|
|
1424
|
+
};
|
|
1425
|
+
});
|
|
1426
|
+
|
|
1427
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRootCommand.js
|
|
1428
|
+
var import_middleware_endpoint6, import_smithy_client9, AssumeRootCommand;
|
|
1429
|
+
var init_AssumeRootCommand = __esm(() => {
|
|
1430
|
+
init_EndpointParameters();
|
|
1431
|
+
init_schemas_0();
|
|
1432
|
+
import_middleware_endpoint6 = __toESM(require_dist_cjs19(), 1);
|
|
1433
|
+
import_smithy_client9 = __toESM(require_dist_cjs9(), 1);
|
|
1434
|
+
AssumeRootCommand = class AssumeRootCommand extends import_smithy_client9.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
|
|
1435
|
+
return [import_middleware_endpoint6.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1436
|
+
}).s("AWSSecurityTokenServiceV20110615", "AssumeRoot", {}).n("STSClient", "AssumeRootCommand").sc(AssumeRoot$).build() {
|
|
1437
|
+
};
|
|
1438
|
+
});
|
|
1439
|
+
|
|
1440
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js
|
|
1441
|
+
var import_middleware_endpoint7, import_smithy_client10, DecodeAuthorizationMessageCommand;
|
|
1442
|
+
var init_DecodeAuthorizationMessageCommand = __esm(() => {
|
|
1443
|
+
init_EndpointParameters();
|
|
1444
|
+
init_schemas_0();
|
|
1445
|
+
import_middleware_endpoint7 = __toESM(require_dist_cjs19(), 1);
|
|
1446
|
+
import_smithy_client10 = __toESM(require_dist_cjs9(), 1);
|
|
1447
|
+
DecodeAuthorizationMessageCommand = class DecodeAuthorizationMessageCommand extends import_smithy_client10.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
|
|
1448
|
+
return [import_middleware_endpoint7.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1449
|
+
}).s("AWSSecurityTokenServiceV20110615", "DecodeAuthorizationMessage", {}).n("STSClient", "DecodeAuthorizationMessageCommand").sc(DecodeAuthorizationMessage$).build() {
|
|
1450
|
+
};
|
|
1451
|
+
});
|
|
1452
|
+
|
|
1453
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js
|
|
1454
|
+
var import_middleware_endpoint8, import_smithy_client11, GetAccessKeyInfoCommand;
|
|
1455
|
+
var init_GetAccessKeyInfoCommand = __esm(() => {
|
|
1456
|
+
init_EndpointParameters();
|
|
1457
|
+
init_schemas_0();
|
|
1458
|
+
import_middleware_endpoint8 = __toESM(require_dist_cjs19(), 1);
|
|
1459
|
+
import_smithy_client11 = __toESM(require_dist_cjs9(), 1);
|
|
1460
|
+
GetAccessKeyInfoCommand = class GetAccessKeyInfoCommand extends import_smithy_client11.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
|
|
1461
|
+
return [import_middleware_endpoint8.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1462
|
+
}).s("AWSSecurityTokenServiceV20110615", "GetAccessKeyInfo", {}).n("STSClient", "GetAccessKeyInfoCommand").sc(GetAccessKeyInfo$).build() {
|
|
1463
|
+
};
|
|
1464
|
+
});
|
|
1465
|
+
|
|
1466
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js
|
|
1467
|
+
var import_middleware_endpoint9, import_smithy_client12, GetCallerIdentityCommand;
|
|
1468
|
+
var init_GetCallerIdentityCommand = __esm(() => {
|
|
1469
|
+
init_EndpointParameters();
|
|
1470
|
+
init_schemas_0();
|
|
1471
|
+
import_middleware_endpoint9 = __toESM(require_dist_cjs19(), 1);
|
|
1472
|
+
import_smithy_client12 = __toESM(require_dist_cjs9(), 1);
|
|
1473
|
+
GetCallerIdentityCommand = class GetCallerIdentityCommand extends import_smithy_client12.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
|
|
1474
|
+
return [import_middleware_endpoint9.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1475
|
+
}).s("AWSSecurityTokenServiceV20110615", "GetCallerIdentity", {}).n("STSClient", "GetCallerIdentityCommand").sc(GetCallerIdentity$).build() {
|
|
1476
|
+
};
|
|
1477
|
+
});
|
|
1478
|
+
|
|
1479
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetDelegatedAccessTokenCommand.js
|
|
1480
|
+
var import_middleware_endpoint10, import_smithy_client13, GetDelegatedAccessTokenCommand;
|
|
1481
|
+
var init_GetDelegatedAccessTokenCommand = __esm(() => {
|
|
1482
|
+
init_EndpointParameters();
|
|
1483
|
+
init_schemas_0();
|
|
1484
|
+
import_middleware_endpoint10 = __toESM(require_dist_cjs19(), 1);
|
|
1485
|
+
import_smithy_client13 = __toESM(require_dist_cjs9(), 1);
|
|
1486
|
+
GetDelegatedAccessTokenCommand = class GetDelegatedAccessTokenCommand extends import_smithy_client13.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
|
|
1487
|
+
return [import_middleware_endpoint10.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1488
|
+
}).s("AWSSecurityTokenServiceV20110615", "GetDelegatedAccessToken", {}).n("STSClient", "GetDelegatedAccessTokenCommand").sc(GetDelegatedAccessToken$).build() {
|
|
1489
|
+
};
|
|
1490
|
+
});
|
|
1491
|
+
|
|
1492
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js
|
|
1493
|
+
var import_middleware_endpoint11, import_smithy_client14, GetFederationTokenCommand;
|
|
1494
|
+
var init_GetFederationTokenCommand = __esm(() => {
|
|
1495
|
+
init_EndpointParameters();
|
|
1496
|
+
init_schemas_0();
|
|
1497
|
+
import_middleware_endpoint11 = __toESM(require_dist_cjs19(), 1);
|
|
1498
|
+
import_smithy_client14 = __toESM(require_dist_cjs9(), 1);
|
|
1499
|
+
GetFederationTokenCommand = class GetFederationTokenCommand extends import_smithy_client14.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
|
|
1500
|
+
return [import_middleware_endpoint11.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1501
|
+
}).s("AWSSecurityTokenServiceV20110615", "GetFederationToken", {}).n("STSClient", "GetFederationTokenCommand").sc(GetFederationToken$).build() {
|
|
1502
|
+
};
|
|
1503
|
+
});
|
|
1504
|
+
|
|
1505
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js
|
|
1506
|
+
var import_middleware_endpoint12, import_smithy_client15, GetSessionTokenCommand;
|
|
1507
|
+
var init_GetSessionTokenCommand = __esm(() => {
|
|
1508
|
+
init_EndpointParameters();
|
|
1509
|
+
init_schemas_0();
|
|
1510
|
+
import_middleware_endpoint12 = __toESM(require_dist_cjs19(), 1);
|
|
1511
|
+
import_smithy_client15 = __toESM(require_dist_cjs9(), 1);
|
|
1512
|
+
GetSessionTokenCommand = class GetSessionTokenCommand extends import_smithy_client15.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
|
|
1513
|
+
return [import_middleware_endpoint12.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1514
|
+
}).s("AWSSecurityTokenServiceV20110615", "GetSessionToken", {}).n("STSClient", "GetSessionTokenCommand").sc(GetSessionToken$).build() {
|
|
1515
|
+
};
|
|
1516
|
+
});
|
|
1517
|
+
|
|
1518
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetWebIdentityTokenCommand.js
|
|
1519
|
+
var import_middleware_endpoint13, import_smithy_client16, GetWebIdentityTokenCommand;
|
|
1520
|
+
var init_GetWebIdentityTokenCommand = __esm(() => {
|
|
1521
|
+
init_EndpointParameters();
|
|
1522
|
+
init_schemas_0();
|
|
1523
|
+
import_middleware_endpoint13 = __toESM(require_dist_cjs19(), 1);
|
|
1524
|
+
import_smithy_client16 = __toESM(require_dist_cjs9(), 1);
|
|
1525
|
+
GetWebIdentityTokenCommand = class GetWebIdentityTokenCommand extends import_smithy_client16.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
|
|
1526
|
+
return [import_middleware_endpoint13.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1527
|
+
}).s("AWSSecurityTokenServiceV20110615", "GetWebIdentityToken", {}).n("STSClient", "GetWebIdentityTokenCommand").sc(GetWebIdentityToken$).build() {
|
|
1528
|
+
};
|
|
1529
|
+
});
|
|
1530
|
+
|
|
1531
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/STS.js
|
|
1532
|
+
var import_smithy_client17, commands, STS;
|
|
1533
|
+
var init_STS = __esm(() => {
|
|
1534
|
+
init_AssumeRoleCommand();
|
|
1535
|
+
init_AssumeRoleWithSAMLCommand();
|
|
1536
|
+
init_AssumeRoleWithWebIdentityCommand();
|
|
1537
|
+
init_AssumeRootCommand();
|
|
1538
|
+
init_DecodeAuthorizationMessageCommand();
|
|
1539
|
+
init_GetAccessKeyInfoCommand();
|
|
1540
|
+
init_GetCallerIdentityCommand();
|
|
1541
|
+
init_GetDelegatedAccessTokenCommand();
|
|
1542
|
+
init_GetFederationTokenCommand();
|
|
1543
|
+
init_GetSessionTokenCommand();
|
|
1544
|
+
init_GetWebIdentityTokenCommand();
|
|
1545
|
+
init_STSClient();
|
|
1546
|
+
import_smithy_client17 = __toESM(require_dist_cjs9(), 1);
|
|
1547
|
+
commands = {
|
|
1548
|
+
AssumeRoleCommand,
|
|
1549
|
+
AssumeRoleWithSAMLCommand,
|
|
1550
|
+
AssumeRoleWithWebIdentityCommand,
|
|
1551
|
+
AssumeRootCommand,
|
|
1552
|
+
DecodeAuthorizationMessageCommand,
|
|
1553
|
+
GetAccessKeyInfoCommand,
|
|
1554
|
+
GetCallerIdentityCommand,
|
|
1555
|
+
GetDelegatedAccessTokenCommand,
|
|
1556
|
+
GetFederationTokenCommand,
|
|
1557
|
+
GetSessionTokenCommand,
|
|
1558
|
+
GetWebIdentityTokenCommand
|
|
1559
|
+
};
|
|
1560
|
+
STS = class STS extends STSClient {
|
|
1561
|
+
};
|
|
1562
|
+
import_smithy_client17.createAggregatedClient(commands, STS);
|
|
1563
|
+
});
|
|
1564
|
+
|
|
1565
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/commands/index.js
|
|
1566
|
+
var init_commands = __esm(() => {
|
|
1567
|
+
init_AssumeRoleCommand();
|
|
1568
|
+
init_AssumeRoleWithSAMLCommand();
|
|
1569
|
+
init_AssumeRoleWithWebIdentityCommand();
|
|
1570
|
+
init_AssumeRootCommand();
|
|
1571
|
+
init_DecodeAuthorizationMessageCommand();
|
|
1572
|
+
init_GetAccessKeyInfoCommand();
|
|
1573
|
+
init_GetCallerIdentityCommand();
|
|
1574
|
+
init_GetDelegatedAccessTokenCommand();
|
|
1575
|
+
init_GetFederationTokenCommand();
|
|
1576
|
+
init_GetSessionTokenCommand();
|
|
1577
|
+
init_GetWebIdentityTokenCommand();
|
|
1578
|
+
});
|
|
1579
|
+
|
|
1580
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js
|
|
1581
|
+
var init_models_0 = () => {};
|
|
1582
|
+
|
|
1583
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js
|
|
1584
|
+
var import_client2, import_region_config_resolver2, getAccountIdFromAssumedRoleUser = (assumedRoleUser) => {
|
|
1585
|
+
if (typeof assumedRoleUser?.Arn === "string") {
|
|
1586
|
+
const arnComponents = assumedRoleUser.Arn.split(":");
|
|
1587
|
+
if (arnComponents.length > 4 && arnComponents[4] !== "") {
|
|
1588
|
+
return arnComponents[4];
|
|
1589
|
+
}
|
|
1590
|
+
}
|
|
1591
|
+
return;
|
|
1592
|
+
}, resolveRegion = async (_region, _parentRegion, credentialProviderLogger, loaderConfig = {}) => {
|
|
1593
|
+
const region = typeof _region === "function" ? await _region() : _region;
|
|
1594
|
+
const parentRegion = typeof _parentRegion === "function" ? await _parentRegion() : _parentRegion;
|
|
1595
|
+
let stsDefaultRegion = "";
|
|
1596
|
+
const resolvedRegion = region ?? parentRegion ?? (stsDefaultRegion = await import_region_config_resolver2.stsRegionDefaultResolver(loaderConfig)());
|
|
1597
|
+
credentialProviderLogger?.debug?.("@aws-sdk/client-sts::resolveRegion", "accepting first of:", `${region} (credential provider clientConfig)`, `${parentRegion} (contextual client)`, `${stsDefaultRegion} (STS default: AWS_REGION, profile region, or us-east-1)`);
|
|
1598
|
+
return resolvedRegion;
|
|
1599
|
+
}, getDefaultRoleAssumer = (stsOptions, STSClient2) => {
|
|
1600
|
+
let stsClient;
|
|
1601
|
+
let closureSourceCreds;
|
|
1602
|
+
return async (sourceCreds, params) => {
|
|
1603
|
+
closureSourceCreds = sourceCreds;
|
|
1604
|
+
if (!stsClient) {
|
|
1605
|
+
const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId } = stsOptions;
|
|
1606
|
+
const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
|
|
1607
|
+
logger,
|
|
1608
|
+
profile
|
|
1609
|
+
});
|
|
1610
|
+
const isCompatibleRequestHandler = !isH2(requestHandler);
|
|
1611
|
+
stsClient = new STSClient2({
|
|
1612
|
+
...stsOptions,
|
|
1613
|
+
userAgentAppId,
|
|
1614
|
+
profile,
|
|
1615
|
+
credentialDefaultProvider: () => async () => closureSourceCreds,
|
|
1616
|
+
region: resolvedRegion,
|
|
1617
|
+
requestHandler: isCompatibleRequestHandler ? requestHandler : undefined,
|
|
1618
|
+
logger
|
|
1619
|
+
});
|
|
1620
|
+
}
|
|
1621
|
+
const { Credentials, AssumedRoleUser } = await stsClient.send(new AssumeRoleCommand(params));
|
|
1622
|
+
if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) {
|
|
1623
|
+
throw new Error(`Invalid response from STS.assumeRole call with role ${params.RoleArn}`);
|
|
1624
|
+
}
|
|
1625
|
+
const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser);
|
|
1626
|
+
const credentials = {
|
|
1627
|
+
accessKeyId: Credentials.AccessKeyId,
|
|
1628
|
+
secretAccessKey: Credentials.SecretAccessKey,
|
|
1629
|
+
sessionToken: Credentials.SessionToken,
|
|
1630
|
+
expiration: Credentials.Expiration,
|
|
1631
|
+
...Credentials.CredentialScope && { credentialScope: Credentials.CredentialScope },
|
|
1632
|
+
...accountId && { accountId }
|
|
1633
|
+
};
|
|
1634
|
+
import_client2.setCredentialFeature(credentials, "CREDENTIALS_STS_ASSUME_ROLE", "i");
|
|
1635
|
+
return credentials;
|
|
1636
|
+
};
|
|
1637
|
+
}, getDefaultRoleAssumerWithWebIdentity = (stsOptions, STSClient2) => {
|
|
1638
|
+
let stsClient;
|
|
1639
|
+
return async (params) => {
|
|
1640
|
+
if (!stsClient) {
|
|
1641
|
+
const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId } = stsOptions;
|
|
1642
|
+
const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
|
|
1643
|
+
logger,
|
|
1644
|
+
profile
|
|
1645
|
+
});
|
|
1646
|
+
const isCompatibleRequestHandler = !isH2(requestHandler);
|
|
1647
|
+
stsClient = new STSClient2({
|
|
1648
|
+
...stsOptions,
|
|
1649
|
+
userAgentAppId,
|
|
1650
|
+
profile,
|
|
1651
|
+
region: resolvedRegion,
|
|
1652
|
+
requestHandler: isCompatibleRequestHandler ? requestHandler : undefined,
|
|
1653
|
+
logger
|
|
1654
|
+
});
|
|
1655
|
+
}
|
|
1656
|
+
const { Credentials, AssumedRoleUser } = await stsClient.send(new AssumeRoleWithWebIdentityCommand(params));
|
|
1657
|
+
if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) {
|
|
1658
|
+
throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${params.RoleArn}`);
|
|
1659
|
+
}
|
|
1660
|
+
const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser);
|
|
1661
|
+
const credentials = {
|
|
1662
|
+
accessKeyId: Credentials.AccessKeyId,
|
|
1663
|
+
secretAccessKey: Credentials.SecretAccessKey,
|
|
1664
|
+
sessionToken: Credentials.SessionToken,
|
|
1665
|
+
expiration: Credentials.Expiration,
|
|
1666
|
+
...Credentials.CredentialScope && { credentialScope: Credentials.CredentialScope },
|
|
1667
|
+
...accountId && { accountId }
|
|
1668
|
+
};
|
|
1669
|
+
if (accountId) {
|
|
1670
|
+
import_client2.setCredentialFeature(credentials, "RESOLVED_ACCOUNT_ID", "T");
|
|
1671
|
+
}
|
|
1672
|
+
import_client2.setCredentialFeature(credentials, "CREDENTIALS_STS_ASSUME_ROLE_WEB_ID", "k");
|
|
1673
|
+
return credentials;
|
|
1674
|
+
};
|
|
1675
|
+
}, isH2 = (requestHandler) => {
|
|
1676
|
+
return requestHandler?.metadata?.handlerProtocol === "h2";
|
|
1677
|
+
};
|
|
1678
|
+
var init_defaultStsRoleAssumers = __esm(() => {
|
|
1679
|
+
init_AssumeRoleCommand();
|
|
1680
|
+
init_AssumeRoleWithWebIdentityCommand();
|
|
1681
|
+
import_client2 = __toESM(require_client(), 1);
|
|
1682
|
+
import_region_config_resolver2 = __toESM(require_dist_cjs25(), 1);
|
|
1683
|
+
});
|
|
1684
|
+
|
|
1685
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/defaultRoleAssumers.js
|
|
1686
|
+
var getCustomizableStsClientCtor = (baseCtor, customizations) => {
|
|
1687
|
+
if (!customizations)
|
|
1688
|
+
return baseCtor;
|
|
1689
|
+
else
|
|
1690
|
+
return class CustomizableSTSClient extends baseCtor {
|
|
1691
|
+
constructor(config) {
|
|
1692
|
+
super(config);
|
|
1693
|
+
for (const customization of customizations) {
|
|
1694
|
+
this.middlewareStack.use(customization);
|
|
1695
|
+
}
|
|
1696
|
+
}
|
|
1697
|
+
};
|
|
1698
|
+
}, getDefaultRoleAssumer2 = (stsOptions = {}, stsPlugins) => getDefaultRoleAssumer(stsOptions, getCustomizableStsClientCtor(STSClient, stsPlugins)), getDefaultRoleAssumerWithWebIdentity2 = (stsOptions = {}, stsPlugins) => getDefaultRoleAssumerWithWebIdentity(stsOptions, getCustomizableStsClientCtor(STSClient, stsPlugins)), decorateDefaultCredentialProvider = (provider) => (input) => provider({
|
|
1699
|
+
roleAssumer: getDefaultRoleAssumer2(input),
|
|
1700
|
+
roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity2(input),
|
|
1701
|
+
...input
|
|
1702
|
+
});
|
|
1703
|
+
var init_defaultRoleAssumers = __esm(() => {
|
|
1704
|
+
init_defaultStsRoleAssumers();
|
|
1705
|
+
init_STSClient();
|
|
1706
|
+
});
|
|
1707
|
+
|
|
1708
|
+
// node_modules/.bun/@aws-sdk+client-sts@3.1037.0/node_modules/@aws-sdk/client-sts/dist-es/index.js
|
|
1709
|
+
var init_dist_es2 = __esm(() => {
|
|
1710
|
+
init_STSServiceException();
|
|
1711
|
+
init_STSClient();
|
|
1712
|
+
init_STS();
|
|
1713
|
+
init_commands();
|
|
1714
|
+
init_schemas_0();
|
|
1715
|
+
init_errors();
|
|
1716
|
+
init_models_0();
|
|
1717
|
+
init_defaultRoleAssumers();
|
|
1718
|
+
});
|
|
1719
|
+
init_dist_es2();
|
|
1720
|
+
var export___Client = import_smithy_client5.Client;
|
|
1721
|
+
|
|
1722
|
+
export {
|
|
1723
|
+
getDefaultRoleAssumerWithWebIdentity2 as getDefaultRoleAssumerWithWebIdentity,
|
|
1724
|
+
getDefaultRoleAssumer2 as getDefaultRoleAssumer,
|
|
1725
|
+
errorTypeRegistries,
|
|
1726
|
+
decorateDefaultCredentialProvider,
|
|
1727
|
+
export___Client as __Client,
|
|
1728
|
+
Tag$,
|
|
1729
|
+
SessionDurationEscalationException$,
|
|
1730
|
+
SessionDurationEscalationException,
|
|
1731
|
+
STSServiceException$,
|
|
1732
|
+
STSServiceException,
|
|
1733
|
+
STSClient,
|
|
1734
|
+
STS,
|
|
1735
|
+
RegionDisabledException$,
|
|
1736
|
+
RegionDisabledException,
|
|
1737
|
+
ProvidedContext$,
|
|
1738
|
+
PolicyDescriptorType$,
|
|
1739
|
+
PackedPolicyTooLargeException$,
|
|
1740
|
+
PackedPolicyTooLargeException,
|
|
1741
|
+
OutboundWebIdentityFederationDisabledException$,
|
|
1742
|
+
OutboundWebIdentityFederationDisabledException,
|
|
1743
|
+
MalformedPolicyDocumentException$,
|
|
1744
|
+
MalformedPolicyDocumentException,
|
|
1745
|
+
JWTPayloadSizeExceededException$,
|
|
1746
|
+
JWTPayloadSizeExceededException,
|
|
1747
|
+
InvalidIdentityTokenException$,
|
|
1748
|
+
InvalidIdentityTokenException,
|
|
1749
|
+
InvalidAuthorizationMessageException$,
|
|
1750
|
+
InvalidAuthorizationMessageException,
|
|
1751
|
+
IDPRejectedClaimException$,
|
|
1752
|
+
IDPRejectedClaimException,
|
|
1753
|
+
IDPCommunicationErrorException$,
|
|
1754
|
+
IDPCommunicationErrorException,
|
|
1755
|
+
GetWebIdentityTokenResponse$,
|
|
1756
|
+
GetWebIdentityTokenRequest$,
|
|
1757
|
+
GetWebIdentityTokenCommand,
|
|
1758
|
+
GetWebIdentityToken$,
|
|
1759
|
+
GetSessionTokenResponse$,
|
|
1760
|
+
GetSessionTokenRequest$,
|
|
1761
|
+
GetSessionTokenCommand,
|
|
1762
|
+
GetSessionToken$,
|
|
1763
|
+
GetFederationTokenResponse$,
|
|
1764
|
+
GetFederationTokenRequest$,
|
|
1765
|
+
GetFederationTokenCommand,
|
|
1766
|
+
GetFederationToken$,
|
|
1767
|
+
GetDelegatedAccessTokenResponse$,
|
|
1768
|
+
GetDelegatedAccessTokenRequest$,
|
|
1769
|
+
GetDelegatedAccessTokenCommand,
|
|
1770
|
+
GetDelegatedAccessToken$,
|
|
1771
|
+
GetCallerIdentityResponse$,
|
|
1772
|
+
GetCallerIdentityRequest$,
|
|
1773
|
+
GetCallerIdentityCommand,
|
|
1774
|
+
GetCallerIdentity$,
|
|
1775
|
+
GetAccessKeyInfoResponse$,
|
|
1776
|
+
GetAccessKeyInfoRequest$,
|
|
1777
|
+
GetAccessKeyInfoCommand,
|
|
1778
|
+
GetAccessKeyInfo$,
|
|
1779
|
+
FederatedUser$,
|
|
1780
|
+
ExpiredTradeInTokenException$,
|
|
1781
|
+
ExpiredTradeInTokenException,
|
|
1782
|
+
ExpiredTokenException$,
|
|
1783
|
+
ExpiredTokenException,
|
|
1784
|
+
DecodeAuthorizationMessageResponse$,
|
|
1785
|
+
DecodeAuthorizationMessageRequest$,
|
|
1786
|
+
DecodeAuthorizationMessageCommand,
|
|
1787
|
+
DecodeAuthorizationMessage$,
|
|
1788
|
+
Credentials$,
|
|
1789
|
+
AssumedRoleUser$,
|
|
1790
|
+
AssumeRootResponse$,
|
|
1791
|
+
AssumeRootRequest$,
|
|
1792
|
+
AssumeRootCommand,
|
|
1793
|
+
AssumeRoot$,
|
|
1794
|
+
AssumeRoleWithWebIdentityResponse$,
|
|
1795
|
+
AssumeRoleWithWebIdentityRequest$,
|
|
1796
|
+
AssumeRoleWithWebIdentityCommand,
|
|
1797
|
+
AssumeRoleWithWebIdentity$,
|
|
1798
|
+
AssumeRoleWithSAMLResponse$,
|
|
1799
|
+
AssumeRoleWithSAMLRequest$,
|
|
1800
|
+
AssumeRoleWithSAMLCommand,
|
|
1801
|
+
AssumeRoleWithSAML$,
|
|
1802
|
+
AssumeRoleResponse$,
|
|
1803
|
+
AssumeRoleRequest$,
|
|
1804
|
+
AssumeRoleCommand,
|
|
1805
|
+
AssumeRole$
|
|
1806
|
+
};
|