claude-code-best 1.3.4 → 1.3.6
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 +4 -2
- package/dist/{chunk-mbywyc8h.js → chunk-03881djp.js} +11 -11
- package/dist/{chunk-pn0k5wak.js → chunk-03qpgz7e.js} +749 -23
- package/dist/{chunk-eqds35a8.js → chunk-04hdmsbx.js} +1 -1
- package/dist/{chunk-5g4nktjm.js → chunk-06zzah5k.js} +19 -20
- package/dist/{chunk-2j1t3hcw.js → chunk-0fnpkgd6.js} +8 -8
- package/dist/{chunk-h85mjbxd.js → chunk-0jcebzyj.js} +45 -46
- package/dist/{chunk-waar1mpa.js → chunk-0mf8c3kx.js} +2 -3
- package/dist/{chunk-rmx7dd2z.js → chunk-0z70mbgk.js} +45 -46
- package/dist/{chunk-mpekeaqp.js → chunk-12e5a806.js} +17 -18
- package/dist/{chunk-zwj9gdqj.js → chunk-13pvvkd3.js} +45 -46
- package/dist/{chunk-wm0hb3vy.js → chunk-194wmkgc.js} +46 -47
- package/dist/{chunk-zq8mhgbb.js → chunk-196500e9.js} +5 -5
- package/dist/{chunk-cz1adfmq.js → chunk-1fn2d8e6.js} +48 -49
- package/dist/chunk-1gvjejsj.js +334 -0
- package/dist/{chunk-vx640z3e.js → chunk-1mygjwf9.js} +45 -46
- package/dist/{chunk-3w1s1amj.js → chunk-1scf0v8s.js} +9 -9
- package/dist/{chunk-v7drmj3a.js → chunk-1y0e25vy.js} +1 -1
- package/dist/{chunk-2493n0r6.js → chunk-1ynhxc03.js} +5 -5
- package/dist/{chunk-w061rb6v.js → chunk-21r0t9p5.js} +73 -74
- package/dist/{chunk-5jn7tb8w.js → chunk-26zepstf.js} +5 -5
- package/dist/{chunk-g56c6b6r.js → chunk-274pv89a.js} +45 -46
- package/dist/{chunk-hgjn6jcc.js → chunk-2dsqf7sp.js} +1 -1
- package/dist/{chunk-32dg30qk.js → chunk-2fn6s9rq.js} +45 -46
- package/dist/{chunk-r7f2tww6.js → chunk-2jzsktxp.js} +45 -46
- package/dist/{chunk-dr3e0epq.js → chunk-2k9fbk1p.js} +18 -19
- package/dist/{chunk-ytt2z3my.js → chunk-2krazyfm.js} +46 -47
- package/dist/{chunk-ntd3kv2x.js → chunk-2qhfqgbj.js} +18 -19
- package/dist/{chunk-7d3ba1n4.js → chunk-2t5ve6ev.js} +1 -1
- package/dist/{chunk-tf71jcn7.js → chunk-2wvxqpfc.js} +10 -11
- package/dist/{chunk-493bfayq.js → chunk-2zzh0pds.js} +48 -49
- package/dist/{chunk-8sg9th04.js → chunk-33fsprrx.js} +5 -5
- package/dist/{chunk-9zqwfqja.js → chunk-347zaz9e.js} +2 -2
- package/dist/{chunk-ybh7j61y.js → chunk-35g2t0y0.js} +1 -1
- package/dist/{chunk-x2ej4p06.js → chunk-38tedxdq.js} +49 -50
- package/dist/{chunk-vxk5xq7a.js → chunk-39zy97qa.js} +1 -1
- package/dist/{chunk-2ag2wj35.js → chunk-3b0p0vrc.js} +57 -58
- package/dist/{chunk-1gek5y1c.js → chunk-3b9ar57s.js} +4 -5
- package/dist/{chunk-1c4s80b2.js → chunk-3caf4y23.js} +18 -19
- package/dist/{chunk-trv1sz38.js → chunk-3cvw39wv.js} +6 -7
- package/dist/{chunk-z6e5jp2w.js → chunk-3ev51j3h.js} +2 -4
- package/dist/{chunk-np8325ac.js → chunk-3fp4s54c.js} +5 -7
- package/dist/{chunk-s4012mt2.js → chunk-3fqxcp51.js} +8 -12
- package/dist/{chunk-wjxhh6g3.js → chunk-3h4pyb94.js} +4 -4
- package/dist/{chunk-aw7qc07n.js → chunk-3me1hah2.js} +45 -46
- package/dist/{chunk-s64e1bsh.js → chunk-3synjm2x.js} +2 -2
- package/dist/{chunk-b24bz3cf.js → chunk-3tbrhape.js} +3 -3
- package/dist/{chunk-cfvt77b3.js → chunk-42f9j6bp.js} +47 -48
- package/dist/{chunk-3mjv3k3k.js → chunk-4451b82w.js} +56 -57
- package/dist/{chunk-sa9a3ny0.js → chunk-4mtfrpdt.js} +45 -46
- package/dist/{chunk-7sgatxct.js → chunk-4qqswajh.js} +5 -5
- package/dist/{chunk-dghedezr.js → chunk-4xbmk1fe.js} +45 -46
- package/dist/chunk-4zkbp6fk.js +175 -0
- package/dist/{chunk-nmkyaj27.js → chunk-57vnbap8.js} +5 -5
- package/dist/{chunk-0tvdp8ty.js → chunk-5rezdbjk.js} +45 -46
- package/dist/{chunk-4tre5ddg.js → chunk-5wb5ym2h.js} +2 -2
- package/dist/{chunk-586a3eqf.js → chunk-5zbm7te6.js} +1 -1
- package/dist/{chunk-8wrcjsw2.js → chunk-6174c2qe.js} +17 -18
- package/dist/{chunk-8t1z3nne.js → chunk-61j8wh0j.js} +45 -46
- package/dist/{chunk-jpyn4ry7.js → chunk-61q7vfrc.js} +1 -1
- package/dist/{chunk-g25v3e4b.js → chunk-648z0z9m.js} +2 -2
- package/dist/{chunk-ffch3v3a.js → chunk-66s54sg3.js} +48 -49
- package/dist/{chunk-zwk68z4e.js → chunk-683cf5j7.js} +45 -46
- package/dist/{chunk-hms1mvpy.js → chunk-6a316dkg.js} +17 -17
- package/dist/{chunk-8vawdfrp.js → chunk-6c5zyga7.js} +3 -5
- package/dist/{chunk-jcqa6n0k.js → chunk-6e1xak8j.js} +5 -6
- package/dist/{chunk-vbs93gm2.js → chunk-6p2kydfj.js} +45 -46
- package/dist/{chunk-8jpxzesa.js → chunk-6ye6d9gw.js} +1 -1
- package/dist/{chunk-hrva2hz9.js → chunk-714yn4hd.js} +18 -18
- package/dist/{chunk-q47gtsy5.js → chunk-763jzvy7.js} +46 -47
- package/dist/{chunk-09rqypeh.js → chunk-777vk9pb.js} +14 -18
- package/dist/{chunk-pn3j4jeq.js → chunk-79y6s5n4.js} +4 -4
- package/dist/{chunk-3n3wcj02.js → chunk-7jsk6wen.js} +46 -47
- package/dist/{chunk-rtn3y8f8.js → chunk-7k3mv7cr.js} +18 -19
- package/dist/{chunk-zwa133ny.js → chunk-7nebst32.js} +2 -2
- package/dist/{chunk-7xw57a3v.js → chunk-7p3kar3b.js} +51 -52
- package/dist/{chunk-gmfz1e6f.js → chunk-7pfwfh7h.js} +46 -47
- package/dist/{chunk-zpjf2dn4.js → chunk-7qf1wt5n.js} +2 -2
- package/dist/{chunk-37qwc47p.js → chunk-7r2k7qes.js} +1 -1
- package/dist/{chunk-tag6ecp6.js → chunk-7whq2gjt.js} +45 -46
- package/dist/{chunk-xyf4xt40.js → chunk-7xnaj5zg.js} +62 -63
- package/dist/{chunk-d6vexw90.js → chunk-7xxqf2r6.js} +1 -1
- package/dist/{chunk-dc83q1dm.js → chunk-81dq52pk.js} +2 -2
- package/dist/{chunk-71003wt4.js → chunk-8200svcn.js} +2 -2
- package/dist/{chunk-9n371h8z.js → chunk-84tfftm0.js} +3 -3
- package/dist/{chunk-shhpbfww.js → chunk-870vafdb.js} +17 -18
- package/dist/{chunk-zm08g2mt.js → chunk-89be833d.js} +47 -48
- package/dist/{chunk-mbv3f2vm.js → chunk-8q4yg5pk.js} +4 -4
- package/dist/{chunk-4n7wmw0x.js → chunk-8vkefxtt.js} +45 -46
- package/dist/{chunk-gpzp9z8k.js → chunk-8wzwqd1z.js} +46 -47
- package/dist/{chunk-m98kq60f.js → chunk-8xmqgp50.js} +1 -1
- package/dist/{chunk-6btk4gvz.js → chunk-9073kfry.js} +18 -19
- package/dist/{chunk-3zhesf91.js → chunk-90tb6xj7.js} +48 -49
- package/dist/{chunk-n27af6mx.js → chunk-92v75fwp.js} +7 -7
- package/dist/{chunk-cj2bae7p.js → chunk-95jqp7w7.js} +46 -47
- package/dist/{chunk-kttzv83p.js → chunk-963ysvck.js} +45 -46
- package/dist/{chunk-4h7mr0e2.js → chunk-979mvrgv.js} +17 -18
- package/dist/{chunk-ndewdd8x.js → chunk-995f4htk.js} +45 -46
- package/dist/{chunk-374td42e.js → chunk-9dgec475.js} +5 -5
- package/dist/{chunk-2mnmad00.js → chunk-9hcw3b4h.js} +2 -2
- package/dist/{chunk-13mhj6sg.js → chunk-9kgh44wk.js} +64 -65
- package/dist/{chunk-ng8q29em.js → chunk-9msn8xwq.js} +4 -5
- package/dist/{chunk-vjrke1x9.js → chunk-9nm5sbkf.js} +23 -23
- package/dist/{chunk-rf1twb22.js → chunk-9vshpe8q.js} +54 -55
- package/dist/{chunk-b4tpr60m.js → chunk-9wz3jvbh.js} +23 -24
- package/dist/{chunk-rf8yj47v.js → chunk-9zyfkrwt.js} +14 -14
- package/dist/{chunk-15t76at8.js → chunk-a0yw6a1m.js} +17 -18
- package/dist/{chunk-hc685hct.js → chunk-a1pm2zwv.js} +47 -48
- package/dist/{chunk-tqdxpcqt.js → chunk-a4c4m0nx.js} +1757 -42
- package/dist/{chunk-vrabm9yw.js → chunk-a6hvbf61.js} +17 -18
- package/dist/{chunk-4vyrbwdh.js → chunk-a6s9h1qh.js} +2 -2
- package/dist/{chunk-3j0q7w8y.js → chunk-a75g97ek.js} +18 -19
- package/dist/{chunk-2wvfy0hg.js → chunk-ag255pqj.js} +45 -46
- package/dist/{chunk-zvcv5g57.js → chunk-akc4jb4z.js} +1 -1
- package/dist/{chunk-pv6amr31.js → chunk-ardzdtan.js} +1 -1
- package/dist/{chunk-pymwmshc.js → chunk-asfhkynx.js} +4 -4
- package/dist/{chunk-0k1bnmxp.js → chunk-b4hkf17a.js} +1 -1
- package/dist/{chunk-fhs0b24h.js → chunk-b7e8n2r7.js} +1 -1
- package/dist/{chunk-zfj3frys.js → chunk-bem4prar.js} +48 -49
- package/dist/{chunk-fn510gqw.js → chunk-brnc96x6.js} +2 -3
- package/dist/{chunk-j04z48rw.js → chunk-bt64sq5y.js} +3 -3
- package/dist/{chunk-ptzrvjve.js → chunk-byrh00bq.js} +8 -8
- package/dist/{chunk-2xezy8pc.js → chunk-c209ascy.js} +9 -10
- package/dist/{chunk-gbd64n0k.js → chunk-c358prbg.js} +231 -4003
- package/dist/{chunk-tzpr2qnx.js → chunk-c3a6ss16.js} +4 -4
- package/dist/{chunk-edemd80h.js → chunk-c9js3490.js} +4 -4
- package/dist/{chunk-pjqnej9c.js → chunk-cd99ankh.js} +18 -19
- package/dist/{chunk-8y3eszv7.js → chunk-cj8m3h8r.js} +2 -2
- package/dist/chunk-cmdvq8tr.js +4265 -0
- package/dist/{chunk-a5v16z9p.js → chunk-ctbkh6m5.js} +46 -47
- package/dist/{chunk-ghbqgn5f.js → chunk-cy7hbg8h.js} +11 -12
- package/dist/{chunk-qyd2shwy.js → chunk-d01wa055.js} +3 -3
- package/dist/{chunk-znehavdm.js → chunk-d2vb6m9e.js} +2 -2
- package/dist/{chunk-vw8ptdz0.js → chunk-d5qv71vm.js} +8 -12
- package/dist/{chunk-1za5ej4d.js → chunk-d7mjq8wa.js} +101 -102
- package/dist/{chunk-x9a9as9h.js → chunk-d90bhmt1.js} +15 -18
- package/dist/{chunk-exht1k7p.js → chunk-dbv7vcrz.js} +45 -46
- package/dist/{chunk-61edjmf6.js → chunk-dchgtage.js} +2 -2
- package/dist/{chunk-66f0ej9k.js → chunk-de1831as.js} +5 -5
- package/dist/{chunk-j6pmdb8f.js → chunk-dh6khzjj.js} +2 -2
- package/dist/{chunk-0t913kzh.js → chunk-djydtvkr.js} +14 -20
- package/dist/{chunk-ntr86en5.js → chunk-dm2gyqck.js} +45 -46
- package/dist/{chunk-ygbnw2bs.js → chunk-dm2wnjrr.js} +18 -206
- package/dist/{chunk-n8wzs06g.js → chunk-dnqrmqfa.js} +45 -46
- package/dist/{chunk-gq2cn3gp.js → chunk-dqrmn537.js} +4 -4
- package/dist/{chunk-35ybeyqz.js → chunk-e0jj5paw.js} +45 -46
- package/dist/{chunk-f60fbsr6.js → chunk-e1hqpkj1.js} +48 -49
- package/dist/{chunk-vc2r07bf.js → chunk-e1hz6df1.js} +3 -3
- package/dist/{chunk-ncmygxyq.js → chunk-e3kwey2b.js} +48 -49
- package/dist/{chunk-rthe9zg7.js → chunk-e4518h45.js} +2 -2
- package/dist/{chunk-asf6q6d8.js → chunk-ed8b4mw3.js} +7 -7
- package/dist/{chunk-bkty19wy.js → chunk-eef1npre.js} +3 -4
- package/dist/{chunk-rhwz80w4.js → chunk-ej1wwrcw.js} +531 -311
- package/dist/{chunk-8124vgve.js → chunk-ejrvwn8n.js} +45 -46
- package/dist/{chunk-pb2nc7r0.js → chunk-ep17krqe.js} +31 -5
- package/dist/{chunk-z10b55s8.js → chunk-epkw6jp6.js} +7 -7
- package/dist/{chunk-cx57p98d.js → chunk-eqn3qmfz.js} +45 -46
- package/dist/{chunk-kbqfjsaf.js → chunk-eqvsjpvm.js} +46 -47
- package/dist/{chunk-a94tfcsn.js → chunk-etbqf6ty.js} +51 -52
- package/dist/{chunk-smp8rsah.js → chunk-etv5netv.js} +4 -4
- package/dist/{chunk-v31nvtrf.js → chunk-evbemh4j.js} +48 -49
- package/dist/{chunk-m7sgsdqk.js → chunk-ewcq3dcx.js} +7 -7
- package/dist/{chunk-4f6h68mp.js → chunk-ez3c99v0.js} +20 -21
- package/dist/{chunk-anz010ze.js → chunk-f39ftn0d.js} +52 -53
- package/dist/{chunk-y3rge05f.js → chunk-f9my4m74.js} +46 -47
- package/dist/{chunk-g0ezcck5.js → chunk-fcwx5cbb.js} +4 -4
- package/dist/{chunk-bhstw51r.js → chunk-fdc4mbdf.js} +1 -1
- package/dist/{chunk-58xj53w6.js → chunk-ff5z5bf0.js} +6 -6
- package/dist/{chunk-2fv8vjbj.js → chunk-fg46hc6d.js} +14 -20
- package/dist/{chunk-h5xhbctz.js → chunk-fj7x7q9f.js} +46 -47
- package/dist/{chunk-nn8nkawn.js → chunk-fjne3x6c.js} +9 -10
- package/dist/{chunk-5tx8e772.js → chunk-fqpabm91.js} +1 -1
- package/dist/{chunk-mdvqw8nh.js → chunk-fxqp3yt4.js} +6 -7
- package/dist/{chunk-tgj54psr.js → chunk-fy6tp8zj.js} +2 -2
- package/dist/{chunk-fw64v27c.js → chunk-fz0ch109.js} +3 -3
- package/dist/{chunk-7tehvqxv.js → chunk-g04kk7dj.js} +46 -47
- package/dist/{chunk-g9x047b0.js → chunk-g0ab48tb.js} +18 -19
- package/dist/{chunk-wp3sx71x.js → chunk-g4fc7hyp.js} +18 -19
- package/dist/{chunk-j2cbcyf7.js → chunk-g649rtg8.js} +4 -6
- package/dist/{chunk-zwz7168z.js → chunk-gcxez66d.js} +7 -7
- package/dist/{chunk-tpe95kmw.js → chunk-gd0gptts.js} +45 -46
- package/dist/{chunk-tsdqd747.js → chunk-gfex5hb6.js} +10 -4
- package/dist/{chunk-58ka2n0w.js → chunk-gnq6fd5g.js} +3 -3
- package/dist/{chunk-4p90jgvz.js → chunk-gv4dsg6q.js} +54 -55
- package/dist/{chunk-grw5wnd3.js → chunk-h48af73s.js} +46 -47
- package/dist/{chunk-6hn0d7dq.js → chunk-h6v79pb5.js} +60378 -61906
- package/dist/{chunk-597p7yt8.js → chunk-hd98he8z.js} +21 -22
- package/dist/{chunk-fbr868n1.js → chunk-hda58kjk.js} +4 -4
- package/dist/{chunk-3jtdg17c.js → chunk-hnx0eg6x.js} +3 -3
- package/dist/{chunk-nhjhmgtk.js → chunk-hs7qq18b.js} +52 -54
- package/dist/{chunk-bhbgz10h.js → chunk-hw1qqgzj.js} +50 -51
- package/dist/{chunk-rxx0k0mm.js → chunk-hw4w8f8x.js} +9 -9
- package/dist/{chunk-cekte71q.js → chunk-hwby3r4g.js} +3 -3
- package/dist/{chunk-z1hsgc00.js → chunk-j06y02aw.js} +3 -3
- package/dist/{chunk-g4fwe1v8.js → chunk-j16rp8y4.js} +1 -1
- package/dist/{chunk-9rxb4dzq.js → chunk-j1ftb6pr.js} +17 -18
- package/dist/{chunk-0fcq7r22.js → chunk-j1r1mywp.js} +60 -318
- package/dist/{chunk-1h66xwg2.js → chunk-j6493m6s.js} +4 -4
- package/dist/{chunk-ebx4j5r5.js → chunk-j6k3zjb5.js} +5 -7
- package/dist/{chunk-8kac9c2z.js → chunk-jbhhp82d.js} +46 -47
- package/dist/{chunk-1r7d9q56.js → chunk-jbts6gcv.js} +17 -18
- package/dist/{chunk-by6q9nyh.js → chunk-jfhmk1c6.js} +14 -20
- package/dist/{chunk-cs8kgd05.js → chunk-jg85npcz.js} +1 -1
- package/dist/{chunk-dep99fb9.js → chunk-jj2c3dtz.js} +4 -4
- package/dist/{chunk-2jw74dj2.js → chunk-jr10vd79.js} +45 -46
- package/dist/{chunk-zrpc9tma.js → chunk-k25d0zv6.js} +3 -3
- package/dist/{chunk-ytefg81v.js → chunk-k2m40brd.js} +46 -47
- package/dist/{chunk-vymakknp.js → chunk-k3yxwy95.js} +3 -3
- package/dist/{chunk-1tz5v73q.js → chunk-k73mekxt.js} +45 -46
- package/dist/chunk-k97ze3a8.js +524 -0
- package/dist/{chunk-748c2115.js → chunk-kbzh54rh.js} +1 -1
- package/dist/{chunk-mn5xdva3.js → chunk-kd2g8s3v.js} +45 -46
- package/dist/{chunk-aawxx2nq.js → chunk-kkq06r33.js} +47 -48
- package/dist/{chunk-5qxgyby3.js → chunk-kmgp6prw.js} +613 -3
- package/dist/{chunk-69prctm2.js → chunk-kmnz4ygv.js} +2 -2
- package/dist/{chunk-cmfz871h.js → chunk-knqbt146.js} +1 -1
- package/dist/{chunk-1h2gg57j.js → chunk-knqgpzjb.js} +1 -1
- package/dist/{chunk-10j8vfv6.js → chunk-kw6sq28k.js} +78 -80
- package/dist/{chunk-6trshzy4.js → chunk-m1xjfwvq.js} +45 -46
- package/dist/{chunk-7fkrv6nn.js → chunk-m6ee4m2f.js} +45 -46
- package/dist/{chunk-5ycqyqbj.js → chunk-m8v1x99r.js} +2 -2
- package/dist/{chunk-153vnegp.js → chunk-m9g44vvc.js} +7 -7
- package/dist/{chunk-1cg8ger2.js → chunk-mayfcyq2.js} +6 -6
- package/dist/{chunk-67kbf9d2.js → chunk-mbetxrea.js} +46 -47
- package/dist/{chunk-negd1pnp.js → chunk-mcmh43pn.js} +48 -49
- package/dist/{chunk-6j81ywrw.js → chunk-mh6e2xje.js} +24 -25
- package/dist/{chunk-73q37kvx.js → chunk-mmcr6z1m.js} +5 -5
- package/dist/{chunk-4mt318vn.js → chunk-mq37sf2q.js} +45 -46
- package/dist/{chunk-fmq83t7h.js → chunk-n1pa72ns.js} +2 -2
- package/dist/{chunk-555tp6de.js → chunk-n3grbsgp.js} +51 -52
- package/dist/{chunk-98725sax.js → chunk-n562n1g9.js} +4 -4
- package/dist/{chunk-8gwh0zz4.js → chunk-n8whv674.js} +7 -8
- package/dist/{chunk-1ha2zvka.js → chunk-namrjc11.js} +2 -2
- package/dist/{chunk-sjc4ghtm.js → chunk-nhpkz83c.js} +50 -51
- package/dist/{chunk-m6x55e6s.js → chunk-nkvkmxw4.js} +2 -2
- package/dist/{chunk-p3ypmg5h.js → chunk-nsh75cdk.js} +19 -20
- package/dist/{chunk-bagztcfd.js → chunk-p4ebkyd1.js} +15 -15
- package/dist/{chunk-vwdcbhtm.js → chunk-p80rbxhh.js} +4 -4
- package/dist/{chunk-1xnv5gfy.js → chunk-p8vf12kz.js} +45 -46
- package/dist/{chunk-qhw7kwem.js → chunk-pe3t1k22.js} +54 -55
- package/dist/{chunk-c729rmzs.js → chunk-pedmqmrf.js} +6 -6
- package/dist/{chunk-4sgspsr0.js → chunk-pj4p53ve.js} +45 -46
- package/dist/{chunk-122wp3n9.js → chunk-prgsmrmy.js} +1 -1
- package/dist/{chunk-940b2dnc.js → chunk-psz76514.js} +1 -1
- package/dist/{chunk-n39z33pk.js → chunk-pwxgff26.js} +5 -5
- package/dist/{chunk-xer6484t.js → chunk-q0exa8dt.js} +47 -48
- package/dist/{chunk-j95j6wz8.js → chunk-q27bsq0y.js} +1 -1
- package/dist/{chunk-vf02apc8.js → chunk-q2q31ng9.js} +18 -19
- package/dist/{chunk-5d0mvxp9.js → chunk-q5v3yazb.js} +3 -3
- package/dist/{chunk-9x73cy0q.js → chunk-q6nvm3r5.js} +46 -47
- package/dist/{chunk-akjm94cc.js → chunk-q76tj8p6.js} +1 -1
- package/dist/{chunk-9kqtdah4.js → chunk-qwj4n799.js} +1 -1
- package/dist/{chunk-mwqy26zz.js → chunk-qz32t082.js} +1 -1
- package/dist/{chunk-8m35cg3r.js → chunk-r1pxpxxk.js} +5 -5
- package/dist/{chunk-hb4rkc7j.js → chunk-r26enj81.js} +3 -3
- package/dist/{chunk-c732psra.js → chunk-r6pe7y6z.js} +6 -6
- package/dist/{chunk-zatd0y92.js → chunk-r8m19xnp.js} +4 -5
- package/dist/{chunk-1hxvcg26.js → chunk-r9cy8b69.js} +45 -46
- package/dist/{chunk-ts2p6bv1.js → chunk-r9e0q1sn.js} +1 -1
- package/dist/{chunk-56d0vx53.js → chunk-rb67t4fq.js} +28 -29
- package/dist/{chunk-bgtwdvvd.js → chunk-rb79txq9.js} +3 -3
- package/dist/{chunk-48be0jbb.js → chunk-rbkhemh9.js} +14 -20
- package/dist/{chunk-czay2zkv.js → chunk-rd3w1pnm.js} +18 -19
- package/dist/{chunk-n93jyav6.js → chunk-rjgn3yzv.js} +10 -11
- package/dist/{chunk-h7rzqh2d.js → chunk-rpm043xg.js} +7 -7
- package/dist/{chunk-2qest09s.js → chunk-rwyc5eh7.js} +46 -47
- package/dist/{chunk-0n3jpe9y.js → chunk-rzgj07hb.js} +46 -47
- package/dist/{chunk-rx9q2qs6.js → chunk-s26mv9yh.js} +9 -10
- package/dist/{chunk-xqgfgh2f.js → chunk-s337frnp.js} +21 -22
- package/dist/{chunk-mwgm971p.js → chunk-s3gzpm93.js} +1 -1
- package/dist/{chunk-9ene41cb.js → chunk-s5yykd80.js} +9 -9
- package/dist/{chunk-v3mhmw2r.js → chunk-s6xaezgh.js} +5 -5
- package/dist/{chunk-s38qgqfs.js → chunk-s9nr589x.js} +5 -5
- package/dist/{chunk-gsgz08fk.js → chunk-sbafpprr.js} +46 -47
- package/dist/{chunk-ra68k7gk.js → chunk-sj7m6hsp.js} +1 -1
- package/dist/{chunk-q0fw6gv4.js → chunk-sk1z4m1n.js} +3 -3
- package/dist/{chunk-gca8c5w2.js → chunk-snpjjn5q.js} +2 -2
- package/dist/{chunk-x9avq620.js → chunk-sqzmp660.js} +5 -5
- package/dist/{chunk-vnw84e7x.js → chunk-strvbymz.js} +14 -20
- package/dist/{chunk-4gttvqbf.js → chunk-svb53yk3.js} +46 -47
- package/dist/{chunk-x6faa621.js → chunk-sxceea76.js} +3 -3
- package/dist/{chunk-0kh2f6kh.js → chunk-t0b0bas5.js} +3 -3
- package/dist/{chunk-y8w54a83.js → chunk-t6q0r0gs.js} +5 -5
- package/dist/{chunk-b5q6tmh8.js → chunk-t7a8ch9m.js} +45 -46
- package/dist/{chunk-vhj00rp2.js → chunk-t7z61mwv.js} +46 -47
- package/dist/{chunk-3rn9pt15.js → chunk-tbm211vs.js} +9 -9
- package/dist/{chunk-2bkgkabk.js → chunk-tcgzwpm2.js} +46 -47
- package/dist/{chunk-wtwv047v.js → chunk-tj6kayqs.js} +45 -46
- package/dist/{chunk-7mpdfrdm.js → chunk-tjbjxrqz.js} +7 -8
- package/dist/{chunk-ej62hf21.js → chunk-tjwcr6x0.js} +45 -46
- package/dist/{chunk-mxpcw1zm.js → chunk-tnhf35ky.js} +46 -47
- package/dist/{chunk-dgy3znwx.js → chunk-tpgs71gk.js} +5 -5
- package/dist/{chunk-04jfckn0.js → chunk-ttqs2rma.js} +45 -46
- package/dist/{chunk-zs36erzy.js → chunk-ttswf1a8.js} +19 -20
- package/dist/{chunk-h33aaf50.js → chunk-txeekahj.js} +3 -3
- package/dist/{chunk-qn7589n3.js → chunk-ty49mrty.js} +135 -134
- package/dist/{chunk-9rtywfhp.js → chunk-v1chtgnf.js} +1 -1
- package/dist/{chunk-9gtd4322.js → chunk-v4bx30kd.js} +45 -46
- package/dist/{chunk-dd1h2gf8.js → chunk-v4nrk2f9.js} +9 -10
- package/dist/{chunk-m3f1ze45.js → chunk-v6maw2x3.js} +46 -47
- package/dist/{chunk-72cx9htw.js → chunk-veeeke8r.js} +19 -20
- package/dist/{chunk-518qxj3g.js → chunk-vhggszd9.js} +2 -2
- package/dist/{chunk-3nmhzccb.js → chunk-vpp13z80.js} +2 -2
- package/dist/{chunk-f3hrc1nw.js → chunk-vrbt94t8.js} +45 -46
- package/dist/{chunk-2pagrshx.js → chunk-vs95kmdc.js} +45 -46
- package/dist/{chunk-pwqtyfqs.js → chunk-vsfqfbsh.js} +1 -1
- package/dist/{chunk-7g15xzdv.js → chunk-vsrejr6p.js} +56 -57
- package/dist/{chunk-j0n3zdda.js → chunk-vyejsevp.js} +8 -8
- package/dist/{chunk-rbm8cpmb.js → chunk-vyty9qyf.js} +55 -56
- package/dist/{chunk-v6x8j5t4.js → chunk-w3sv9y41.js} +4 -4
- package/dist/{chunk-8gxctg7k.js → chunk-w43ks9ey.js} +53 -54
- package/dist/{chunk-2gcmzgtb.js → chunk-w94epkj0.js} +6 -6
- package/dist/{chunk-j64ga6ta.js → chunk-whssn5y4.js} +304 -272
- package/dist/{chunk-a9jhnc53.js → chunk-wjhhetv4.js} +15 -21
- package/dist/{chunk-h13g15kb.js → chunk-wmbpegg3.js} +1 -1
- package/dist/{chunk-cdz1nacq.js → chunk-wnff3sck.js} +45 -46
- package/dist/{chunk-f7hcqtdv.js → chunk-wp6axm3b.js} +45 -46
- package/dist/{chunk-4n2e1n3b.js → chunk-wqmza60n.js} +2 -2
- package/dist/{chunk-5m7rf118.js → chunk-wqx2ybqh.js} +14 -14
- package/dist/{chunk-3mvxzff9.js → chunk-wrxzr8y1.js} +59 -60
- package/dist/{chunk-xff6jfpd.js → chunk-x1afcacf.js} +3 -3
- package/dist/{chunk-04569a6a.js → chunk-x3nshkcr.js} +5 -5
- package/dist/{chunk-84rdx991.js → chunk-x4t0n8t3.js} +5 -6
- package/dist/{chunk-12519p65.js → chunk-xaw4scep.js} +2 -2
- package/dist/{chunk-3dd53fxb.js → chunk-xce2xjv1.js} +45 -46
- package/dist/{chunk-bjzhfktg.js → chunk-xfe2m04z.js} +1 -1
- package/dist/{chunk-hvav6tb9.js → chunk-xfe479s0.js} +46 -47
- package/dist/{chunk-87zb3jkk.js → chunk-xkfzn8zv.js} +19 -19
- package/dist/{chunk-w7tszf3q.js → chunk-xqch8m5f.js} +7 -7
- package/dist/{chunk-aq0q2wy0.js → chunk-xspp3626.js} +4 -4
- package/dist/{chunk-ktsgddtb.js → chunk-xzh7ae0a.js} +54 -55
- package/dist/{chunk-1sg2k4mx.js → chunk-y3jmpqat.js} +518 -518
- package/dist/{chunk-avtcf910.js → chunk-y5x8wqe5.js} +1 -1
- package/dist/{chunk-mnyamr5a.js → chunk-y7sdst27.js} +51 -52
- package/dist/{chunk-b0zhv56m.js → chunk-yb4zstfq.js} +45 -46
- package/dist/{chunk-2n45kpbz.js → chunk-yhg6hhw7.js} +5 -5
- package/dist/{chunk-2jsngfwf.js → chunk-yk15ya1h.js} +7 -7
- package/dist/{chunk-727svvjy.js → chunk-ys51gfy8.js} +18 -19
- package/dist/{chunk-vcsgx8z0.js → chunk-yy3dj90t.js} +1 -1
- package/dist/{chunk-7739pg2c.js → chunk-z0csm2zq.js} +11 -1
- package/dist/{chunk-d1ya0j1j.js → chunk-z3vynq90.js} +48 -49
- package/dist/{chunk-dxcr07z5.js → chunk-ze6zvkg6.js} +4 -4
- package/dist/{chunk-0s96vdas.js → chunk-zmdg1zhh.js} +18 -19
- package/dist/{chunk-acrrtgr0.js → chunk-znpx8t4w.js} +18 -19
- package/dist/{chunk-ac04h4a1.js → chunk-zsssgqjr.js} +46 -47
- package/dist/{chunk-f1r621w6.js → chunk-zx084xfr.js} +45 -46
- package/dist/cli-node.js +9 -1
- package/dist/cli.js +11 -11
- package/package.json +3 -3
- package/dist/chunk-0rtjmfky.js +0 -1095
- package/dist/chunk-1hjgrwd4.js +0 -910
- package/dist/chunk-27xc1csx.js +0 -104
- package/dist/chunk-30rst83v.js +0 -168
- package/dist/chunk-33t0pjb0.js +0 -864
- package/dist/chunk-3enkzjbw.js +0 -3966
- package/dist/chunk-3h8a89gy.js +0 -46
- package/dist/chunk-4ebqa6nk.js +0 -659
- package/dist/chunk-4g3v8y12.js +0 -23
- package/dist/chunk-8f6raa6q.js +0 -615
- package/dist/chunk-a03dt27n.js +0 -782
- package/dist/chunk-a9g4h96v.js +0 -16
- package/dist/chunk-a9vdeb6y.js +0 -258
- package/dist/chunk-b0bk6bxs.js +0 -742
- package/dist/chunk-b4wg70y1.js +0 -54
- package/dist/chunk-b5s5rqpw.js +0 -208
- package/dist/chunk-btnvjcc5.js +0 -15
- package/dist/chunk-cjy1qthp.js +0 -27
- package/dist/chunk-cs6c9gbk.js +0 -1172
- package/dist/chunk-enhtm7h3.js +0 -1731
- package/dist/chunk-g54dwtcr.js +0 -718
- package/dist/chunk-h0qngp9w.js +0 -157
- package/dist/chunk-hasadm64.js +0 -412
- package/dist/chunk-hk9xz7gk.js +0 -118
- package/dist/chunk-j2k4p94p.js +0 -55
- package/dist/chunk-j33nd5jb.js +0 -176
- package/dist/chunk-jzmz18nn.js +0 -65
- package/dist/chunk-k1ggxjtw.js +0 -5241
- package/dist/chunk-kxqjncxw.js +0 -35
- package/dist/chunk-n0qaeaa5.js +0 -256
- package/dist/chunk-n4ssv9yn.js +0 -40
- package/dist/chunk-nbxr4cfd.js +0 -880
- package/dist/chunk-pg8sjz45.js +0 -81
- package/dist/chunk-q25bjaev.js +0 -15
- package/dist/chunk-qpydzzk0.js +0 -182
- package/dist/chunk-r6h4zwjj.js +0 -36
- package/dist/chunk-rvh4gff0.js +0 -542
- package/dist/chunk-rxcf1qnf.js +0 -173
- package/dist/chunk-tb1es4q0.js +0 -220
- package/dist/chunk-th1cykx3.js +0 -494
- package/dist/chunk-tqzsn5bq.js +0 -24
- package/dist/chunk-ttk5dzz8.js +0 -25
- package/dist/chunk-wbwg8jz1.js +0 -607
- package/dist/chunk-xsq9ae7x.js +0 -90
- package/dist/chunk-yya2f05b.js +0 -17
- package/dist/chunk-ze6h1ch1.js +0 -21
package/dist/chunk-nbxr4cfd.js
DELETED
|
@@ -1,880 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
require_protocols,
|
|
4
|
-
require_schema,
|
|
5
|
-
require_serde
|
|
6
|
-
} from "./chunk-3enkzjbw.js";
|
|
7
|
-
import {
|
|
8
|
-
require_dist_cjs
|
|
9
|
-
} from "./chunk-xsq9ae7x.js";
|
|
10
|
-
import {
|
|
11
|
-
__commonJS
|
|
12
|
-
} from "./chunk-qp2qdcda.js";
|
|
13
|
-
|
|
14
|
-
// node_modules/.bun/@smithy+middleware-stack@4.2.12/node_modules/@smithy/middleware-stack/dist-cjs/index.js
|
|
15
|
-
var require_dist_cjs2 = __commonJS((exports) => {
|
|
16
|
-
var getAllAliases = (name, aliases) => {
|
|
17
|
-
const _aliases = [];
|
|
18
|
-
if (name) {
|
|
19
|
-
_aliases.push(name);
|
|
20
|
-
}
|
|
21
|
-
if (aliases) {
|
|
22
|
-
for (const alias of aliases) {
|
|
23
|
-
_aliases.push(alias);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
return _aliases;
|
|
27
|
-
};
|
|
28
|
-
var getMiddlewareNameWithAliases = (name, aliases) => {
|
|
29
|
-
return `${name || "anonymous"}${aliases && aliases.length > 0 ? ` (a.k.a. ${aliases.join(",")})` : ""}`;
|
|
30
|
-
};
|
|
31
|
-
var constructStack = () => {
|
|
32
|
-
let absoluteEntries = [];
|
|
33
|
-
let relativeEntries = [];
|
|
34
|
-
let identifyOnResolve = false;
|
|
35
|
-
const entriesNameSet = new Set;
|
|
36
|
-
const sort = (entries) => entries.sort((a, b) => stepWeights[b.step] - stepWeights[a.step] || priorityWeights[b.priority || "normal"] - priorityWeights[a.priority || "normal"]);
|
|
37
|
-
const removeByName = (toRemove) => {
|
|
38
|
-
let isRemoved = false;
|
|
39
|
-
const filterCb = (entry) => {
|
|
40
|
-
const aliases = getAllAliases(entry.name, entry.aliases);
|
|
41
|
-
if (aliases.includes(toRemove)) {
|
|
42
|
-
isRemoved = true;
|
|
43
|
-
for (const alias of aliases) {
|
|
44
|
-
entriesNameSet.delete(alias);
|
|
45
|
-
}
|
|
46
|
-
return false;
|
|
47
|
-
}
|
|
48
|
-
return true;
|
|
49
|
-
};
|
|
50
|
-
absoluteEntries = absoluteEntries.filter(filterCb);
|
|
51
|
-
relativeEntries = relativeEntries.filter(filterCb);
|
|
52
|
-
return isRemoved;
|
|
53
|
-
};
|
|
54
|
-
const removeByReference = (toRemove) => {
|
|
55
|
-
let isRemoved = false;
|
|
56
|
-
const filterCb = (entry) => {
|
|
57
|
-
if (entry.middleware === toRemove) {
|
|
58
|
-
isRemoved = true;
|
|
59
|
-
for (const alias of getAllAliases(entry.name, entry.aliases)) {
|
|
60
|
-
entriesNameSet.delete(alias);
|
|
61
|
-
}
|
|
62
|
-
return false;
|
|
63
|
-
}
|
|
64
|
-
return true;
|
|
65
|
-
};
|
|
66
|
-
absoluteEntries = absoluteEntries.filter(filterCb);
|
|
67
|
-
relativeEntries = relativeEntries.filter(filterCb);
|
|
68
|
-
return isRemoved;
|
|
69
|
-
};
|
|
70
|
-
const cloneTo = (toStack) => {
|
|
71
|
-
absoluteEntries.forEach((entry) => {
|
|
72
|
-
toStack.add(entry.middleware, { ...entry });
|
|
73
|
-
});
|
|
74
|
-
relativeEntries.forEach((entry) => {
|
|
75
|
-
toStack.addRelativeTo(entry.middleware, { ...entry });
|
|
76
|
-
});
|
|
77
|
-
toStack.identifyOnResolve?.(stack.identifyOnResolve());
|
|
78
|
-
return toStack;
|
|
79
|
-
};
|
|
80
|
-
const expandRelativeMiddlewareList = (from) => {
|
|
81
|
-
const expandedMiddlewareList = [];
|
|
82
|
-
from.before.forEach((entry) => {
|
|
83
|
-
if (entry.before.length === 0 && entry.after.length === 0) {
|
|
84
|
-
expandedMiddlewareList.push(entry);
|
|
85
|
-
} else {
|
|
86
|
-
expandedMiddlewareList.push(...expandRelativeMiddlewareList(entry));
|
|
87
|
-
}
|
|
88
|
-
});
|
|
89
|
-
expandedMiddlewareList.push(from);
|
|
90
|
-
from.after.reverse().forEach((entry) => {
|
|
91
|
-
if (entry.before.length === 0 && entry.after.length === 0) {
|
|
92
|
-
expandedMiddlewareList.push(entry);
|
|
93
|
-
} else {
|
|
94
|
-
expandedMiddlewareList.push(...expandRelativeMiddlewareList(entry));
|
|
95
|
-
}
|
|
96
|
-
});
|
|
97
|
-
return expandedMiddlewareList;
|
|
98
|
-
};
|
|
99
|
-
const getMiddlewareList = (debug = false) => {
|
|
100
|
-
const normalizedAbsoluteEntries = [];
|
|
101
|
-
const normalizedRelativeEntries = [];
|
|
102
|
-
const normalizedEntriesNameMap = {};
|
|
103
|
-
absoluteEntries.forEach((entry) => {
|
|
104
|
-
const normalizedEntry = {
|
|
105
|
-
...entry,
|
|
106
|
-
before: [],
|
|
107
|
-
after: []
|
|
108
|
-
};
|
|
109
|
-
for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) {
|
|
110
|
-
normalizedEntriesNameMap[alias] = normalizedEntry;
|
|
111
|
-
}
|
|
112
|
-
normalizedAbsoluteEntries.push(normalizedEntry);
|
|
113
|
-
});
|
|
114
|
-
relativeEntries.forEach((entry) => {
|
|
115
|
-
const normalizedEntry = {
|
|
116
|
-
...entry,
|
|
117
|
-
before: [],
|
|
118
|
-
after: []
|
|
119
|
-
};
|
|
120
|
-
for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) {
|
|
121
|
-
normalizedEntriesNameMap[alias] = normalizedEntry;
|
|
122
|
-
}
|
|
123
|
-
normalizedRelativeEntries.push(normalizedEntry);
|
|
124
|
-
});
|
|
125
|
-
normalizedRelativeEntries.forEach((entry) => {
|
|
126
|
-
if (entry.toMiddleware) {
|
|
127
|
-
const toMiddleware = normalizedEntriesNameMap[entry.toMiddleware];
|
|
128
|
-
if (toMiddleware === undefined) {
|
|
129
|
-
if (debug) {
|
|
130
|
-
return;
|
|
131
|
-
}
|
|
132
|
-
throw new Error(`${entry.toMiddleware} is not found when adding ` + `${getMiddlewareNameWithAliases(entry.name, entry.aliases)} ` + `middleware ${entry.relation} ${entry.toMiddleware}`);
|
|
133
|
-
}
|
|
134
|
-
if (entry.relation === "after") {
|
|
135
|
-
toMiddleware.after.push(entry);
|
|
136
|
-
}
|
|
137
|
-
if (entry.relation === "before") {
|
|
138
|
-
toMiddleware.before.push(entry);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
});
|
|
142
|
-
const mainChain = sort(normalizedAbsoluteEntries).map(expandRelativeMiddlewareList).reduce((wholeList, expandedMiddlewareList) => {
|
|
143
|
-
wholeList.push(...expandedMiddlewareList);
|
|
144
|
-
return wholeList;
|
|
145
|
-
}, []);
|
|
146
|
-
return mainChain;
|
|
147
|
-
};
|
|
148
|
-
const stack = {
|
|
149
|
-
add: (middleware, options = {}) => {
|
|
150
|
-
const { name, override, aliases: _aliases } = options;
|
|
151
|
-
const entry = {
|
|
152
|
-
step: "initialize",
|
|
153
|
-
priority: "normal",
|
|
154
|
-
middleware,
|
|
155
|
-
...options
|
|
156
|
-
};
|
|
157
|
-
const aliases = getAllAliases(name, _aliases);
|
|
158
|
-
if (aliases.length > 0) {
|
|
159
|
-
if (aliases.some((alias) => entriesNameSet.has(alias))) {
|
|
160
|
-
if (!override)
|
|
161
|
-
throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
|
|
162
|
-
for (const alias of aliases) {
|
|
163
|
-
const toOverrideIndex = absoluteEntries.findIndex((entry2) => entry2.name === alias || entry2.aliases?.some((a) => a === alias));
|
|
164
|
-
if (toOverrideIndex === -1) {
|
|
165
|
-
continue;
|
|
166
|
-
}
|
|
167
|
-
const toOverride = absoluteEntries[toOverrideIndex];
|
|
168
|
-
if (toOverride.step !== entry.step || entry.priority !== toOverride.priority) {
|
|
169
|
-
throw new Error(`"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware with ` + `${toOverride.priority} priority in ${toOverride.step} step cannot ` + `be overridden by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware with ` + `${entry.priority} priority in ${entry.step} step.`);
|
|
170
|
-
}
|
|
171
|
-
absoluteEntries.splice(toOverrideIndex, 1);
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
for (const alias of aliases) {
|
|
175
|
-
entriesNameSet.add(alias);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
absoluteEntries.push(entry);
|
|
179
|
-
},
|
|
180
|
-
addRelativeTo: (middleware, options) => {
|
|
181
|
-
const { name, override, aliases: _aliases } = options;
|
|
182
|
-
const entry = {
|
|
183
|
-
middleware,
|
|
184
|
-
...options
|
|
185
|
-
};
|
|
186
|
-
const aliases = getAllAliases(name, _aliases);
|
|
187
|
-
if (aliases.length > 0) {
|
|
188
|
-
if (aliases.some((alias) => entriesNameSet.has(alias))) {
|
|
189
|
-
if (!override)
|
|
190
|
-
throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
|
|
191
|
-
for (const alias of aliases) {
|
|
192
|
-
const toOverrideIndex = relativeEntries.findIndex((entry2) => entry2.name === alias || entry2.aliases?.some((a) => a === alias));
|
|
193
|
-
if (toOverrideIndex === -1) {
|
|
194
|
-
continue;
|
|
195
|
-
}
|
|
196
|
-
const toOverride = relativeEntries[toOverrideIndex];
|
|
197
|
-
if (toOverride.toMiddleware !== entry.toMiddleware || toOverride.relation !== entry.relation) {
|
|
198
|
-
throw new Error(`"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware ` + `${toOverride.relation} "${toOverride.toMiddleware}" middleware cannot be overridden ` + `by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware ${entry.relation} ` + `"${entry.toMiddleware}" middleware.`);
|
|
199
|
-
}
|
|
200
|
-
relativeEntries.splice(toOverrideIndex, 1);
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
for (const alias of aliases) {
|
|
204
|
-
entriesNameSet.add(alias);
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
relativeEntries.push(entry);
|
|
208
|
-
},
|
|
209
|
-
clone: () => cloneTo(constructStack()),
|
|
210
|
-
use: (plugin) => {
|
|
211
|
-
plugin.applyToStack(stack);
|
|
212
|
-
},
|
|
213
|
-
remove: (toRemove) => {
|
|
214
|
-
if (typeof toRemove === "string")
|
|
215
|
-
return removeByName(toRemove);
|
|
216
|
-
else
|
|
217
|
-
return removeByReference(toRemove);
|
|
218
|
-
},
|
|
219
|
-
removeByTag: (toRemove) => {
|
|
220
|
-
let isRemoved = false;
|
|
221
|
-
const filterCb = (entry) => {
|
|
222
|
-
const { tags, name, aliases: _aliases } = entry;
|
|
223
|
-
if (tags && tags.includes(toRemove)) {
|
|
224
|
-
const aliases = getAllAliases(name, _aliases);
|
|
225
|
-
for (const alias of aliases) {
|
|
226
|
-
entriesNameSet.delete(alias);
|
|
227
|
-
}
|
|
228
|
-
isRemoved = true;
|
|
229
|
-
return false;
|
|
230
|
-
}
|
|
231
|
-
return true;
|
|
232
|
-
};
|
|
233
|
-
absoluteEntries = absoluteEntries.filter(filterCb);
|
|
234
|
-
relativeEntries = relativeEntries.filter(filterCb);
|
|
235
|
-
return isRemoved;
|
|
236
|
-
},
|
|
237
|
-
concat: (from) => {
|
|
238
|
-
const cloned = cloneTo(constructStack());
|
|
239
|
-
cloned.use(from);
|
|
240
|
-
cloned.identifyOnResolve(identifyOnResolve || cloned.identifyOnResolve() || (from.identifyOnResolve?.() ?? false));
|
|
241
|
-
return cloned;
|
|
242
|
-
},
|
|
243
|
-
applyToStack: cloneTo,
|
|
244
|
-
identify: () => {
|
|
245
|
-
return getMiddlewareList(true).map((mw) => {
|
|
246
|
-
const step = mw.step ?? mw.relation + " " + mw.toMiddleware;
|
|
247
|
-
return getMiddlewareNameWithAliases(mw.name, mw.aliases) + " - " + step;
|
|
248
|
-
});
|
|
249
|
-
},
|
|
250
|
-
identifyOnResolve(toggle) {
|
|
251
|
-
if (typeof toggle === "boolean")
|
|
252
|
-
identifyOnResolve = toggle;
|
|
253
|
-
return identifyOnResolve;
|
|
254
|
-
},
|
|
255
|
-
resolve: (handler, context) => {
|
|
256
|
-
for (const middleware of getMiddlewareList().map((entry) => entry.middleware).reverse()) {
|
|
257
|
-
handler = middleware(handler, context);
|
|
258
|
-
}
|
|
259
|
-
if (identifyOnResolve) {
|
|
260
|
-
console.log(stack.identify());
|
|
261
|
-
}
|
|
262
|
-
return handler;
|
|
263
|
-
}
|
|
264
|
-
};
|
|
265
|
-
return stack;
|
|
266
|
-
};
|
|
267
|
-
var stepWeights = {
|
|
268
|
-
initialize: 5,
|
|
269
|
-
serialize: 4,
|
|
270
|
-
build: 3,
|
|
271
|
-
finalizeRequest: 2,
|
|
272
|
-
deserialize: 1
|
|
273
|
-
};
|
|
274
|
-
var priorityWeights = {
|
|
275
|
-
high: 3,
|
|
276
|
-
normal: 2,
|
|
277
|
-
low: 1
|
|
278
|
-
};
|
|
279
|
-
exports.constructStack = constructStack;
|
|
280
|
-
});
|
|
281
|
-
|
|
282
|
-
// node_modules/.bun/@smithy+smithy-client@4.12.8/node_modules/@smithy/smithy-client/dist-cjs/index.js
|
|
283
|
-
var require_dist_cjs3 = __commonJS((exports) => {
|
|
284
|
-
var middlewareStack = require_dist_cjs2();
|
|
285
|
-
var protocols = require_protocols();
|
|
286
|
-
var types = require_dist_cjs();
|
|
287
|
-
var schema = require_schema();
|
|
288
|
-
var serde = require_serde();
|
|
289
|
-
|
|
290
|
-
class Client {
|
|
291
|
-
config;
|
|
292
|
-
middlewareStack = middlewareStack.constructStack();
|
|
293
|
-
initConfig;
|
|
294
|
-
handlers;
|
|
295
|
-
constructor(config) {
|
|
296
|
-
this.config = config;
|
|
297
|
-
const { protocol, protocolSettings } = config;
|
|
298
|
-
if (protocolSettings) {
|
|
299
|
-
if (typeof protocol === "function") {
|
|
300
|
-
config.protocol = new protocol(protocolSettings);
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
send(command, optionsOrCb, cb) {
|
|
305
|
-
const options = typeof optionsOrCb !== "function" ? optionsOrCb : undefined;
|
|
306
|
-
const callback = typeof optionsOrCb === "function" ? optionsOrCb : cb;
|
|
307
|
-
const useHandlerCache = options === undefined && this.config.cacheMiddleware === true;
|
|
308
|
-
let handler;
|
|
309
|
-
if (useHandlerCache) {
|
|
310
|
-
if (!this.handlers) {
|
|
311
|
-
this.handlers = new WeakMap;
|
|
312
|
-
}
|
|
313
|
-
const handlers = this.handlers;
|
|
314
|
-
if (handlers.has(command.constructor)) {
|
|
315
|
-
handler = handlers.get(command.constructor);
|
|
316
|
-
} else {
|
|
317
|
-
handler = command.resolveMiddleware(this.middlewareStack, this.config, options);
|
|
318
|
-
handlers.set(command.constructor, handler);
|
|
319
|
-
}
|
|
320
|
-
} else {
|
|
321
|
-
delete this.handlers;
|
|
322
|
-
handler = command.resolveMiddleware(this.middlewareStack, this.config, options);
|
|
323
|
-
}
|
|
324
|
-
if (callback) {
|
|
325
|
-
handler(command).then((result) => callback(null, result.output), (err) => callback(err)).catch(() => {});
|
|
326
|
-
} else {
|
|
327
|
-
return handler(command).then((result) => result.output);
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
destroy() {
|
|
331
|
-
this.config?.requestHandler?.destroy?.();
|
|
332
|
-
delete this.handlers;
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
var SENSITIVE_STRING$1 = "***SensitiveInformation***";
|
|
336
|
-
function schemaLogFilter(schema$1, data) {
|
|
337
|
-
if (data == null) {
|
|
338
|
-
return data;
|
|
339
|
-
}
|
|
340
|
-
const ns = schema.NormalizedSchema.of(schema$1);
|
|
341
|
-
if (ns.getMergedTraits().sensitive) {
|
|
342
|
-
return SENSITIVE_STRING$1;
|
|
343
|
-
}
|
|
344
|
-
if (ns.isListSchema()) {
|
|
345
|
-
const isSensitive = !!ns.getValueSchema().getMergedTraits().sensitive;
|
|
346
|
-
if (isSensitive) {
|
|
347
|
-
return SENSITIVE_STRING$1;
|
|
348
|
-
}
|
|
349
|
-
} else if (ns.isMapSchema()) {
|
|
350
|
-
const isSensitive = !!ns.getKeySchema().getMergedTraits().sensitive || !!ns.getValueSchema().getMergedTraits().sensitive;
|
|
351
|
-
if (isSensitive) {
|
|
352
|
-
return SENSITIVE_STRING$1;
|
|
353
|
-
}
|
|
354
|
-
} else if (ns.isStructSchema() && typeof data === "object") {
|
|
355
|
-
const object = data;
|
|
356
|
-
const newObject = {};
|
|
357
|
-
for (const [member, memberNs] of ns.structIterator()) {
|
|
358
|
-
if (object[member] != null) {
|
|
359
|
-
newObject[member] = schemaLogFilter(memberNs, object[member]);
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
return newObject;
|
|
363
|
-
}
|
|
364
|
-
return data;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
class Command {
|
|
368
|
-
middlewareStack = middlewareStack.constructStack();
|
|
369
|
-
schema;
|
|
370
|
-
static classBuilder() {
|
|
371
|
-
return new ClassBuilder;
|
|
372
|
-
}
|
|
373
|
-
resolveMiddlewareWithContext(clientStack, configuration, options, { middlewareFn, clientName, commandName, inputFilterSensitiveLog, outputFilterSensitiveLog, smithyContext, additionalContext, CommandCtor }) {
|
|
374
|
-
for (const mw of middlewareFn.bind(this)(CommandCtor, clientStack, configuration, options)) {
|
|
375
|
-
this.middlewareStack.use(mw);
|
|
376
|
-
}
|
|
377
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
378
|
-
const { logger } = configuration;
|
|
379
|
-
const handlerExecutionContext = {
|
|
380
|
-
logger,
|
|
381
|
-
clientName,
|
|
382
|
-
commandName,
|
|
383
|
-
inputFilterSensitiveLog,
|
|
384
|
-
outputFilterSensitiveLog,
|
|
385
|
-
[types.SMITHY_CONTEXT_KEY]: {
|
|
386
|
-
commandInstance: this,
|
|
387
|
-
...smithyContext
|
|
388
|
-
},
|
|
389
|
-
...additionalContext
|
|
390
|
-
};
|
|
391
|
-
const { requestHandler } = configuration;
|
|
392
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
class ClassBuilder {
|
|
397
|
-
_init = () => {};
|
|
398
|
-
_ep = {};
|
|
399
|
-
_middlewareFn = () => [];
|
|
400
|
-
_commandName = "";
|
|
401
|
-
_clientName = "";
|
|
402
|
-
_additionalContext = {};
|
|
403
|
-
_smithyContext = {};
|
|
404
|
-
_inputFilterSensitiveLog = undefined;
|
|
405
|
-
_outputFilterSensitiveLog = undefined;
|
|
406
|
-
_serializer = null;
|
|
407
|
-
_deserializer = null;
|
|
408
|
-
_operationSchema;
|
|
409
|
-
init(cb) {
|
|
410
|
-
this._init = cb;
|
|
411
|
-
}
|
|
412
|
-
ep(endpointParameterInstructions) {
|
|
413
|
-
this._ep = endpointParameterInstructions;
|
|
414
|
-
return this;
|
|
415
|
-
}
|
|
416
|
-
m(middlewareSupplier) {
|
|
417
|
-
this._middlewareFn = middlewareSupplier;
|
|
418
|
-
return this;
|
|
419
|
-
}
|
|
420
|
-
s(service, operation, smithyContext = {}) {
|
|
421
|
-
this._smithyContext = {
|
|
422
|
-
service,
|
|
423
|
-
operation,
|
|
424
|
-
...smithyContext
|
|
425
|
-
};
|
|
426
|
-
return this;
|
|
427
|
-
}
|
|
428
|
-
c(additionalContext = {}) {
|
|
429
|
-
this._additionalContext = additionalContext;
|
|
430
|
-
return this;
|
|
431
|
-
}
|
|
432
|
-
n(clientName, commandName) {
|
|
433
|
-
this._clientName = clientName;
|
|
434
|
-
this._commandName = commandName;
|
|
435
|
-
return this;
|
|
436
|
-
}
|
|
437
|
-
f(inputFilter = (_) => _, outputFilter = (_) => _) {
|
|
438
|
-
this._inputFilterSensitiveLog = inputFilter;
|
|
439
|
-
this._outputFilterSensitiveLog = outputFilter;
|
|
440
|
-
return this;
|
|
441
|
-
}
|
|
442
|
-
ser(serializer) {
|
|
443
|
-
this._serializer = serializer;
|
|
444
|
-
return this;
|
|
445
|
-
}
|
|
446
|
-
de(deserializer) {
|
|
447
|
-
this._deserializer = deserializer;
|
|
448
|
-
return this;
|
|
449
|
-
}
|
|
450
|
-
sc(operation) {
|
|
451
|
-
this._operationSchema = operation;
|
|
452
|
-
this._smithyContext.operationSchema = operation;
|
|
453
|
-
return this;
|
|
454
|
-
}
|
|
455
|
-
build() {
|
|
456
|
-
const closure = this;
|
|
457
|
-
let CommandRef;
|
|
458
|
-
return CommandRef = class extends Command {
|
|
459
|
-
input;
|
|
460
|
-
static getEndpointParameterInstructions() {
|
|
461
|
-
return closure._ep;
|
|
462
|
-
}
|
|
463
|
-
constructor(...[input]) {
|
|
464
|
-
super();
|
|
465
|
-
this.input = input ?? {};
|
|
466
|
-
closure._init(this);
|
|
467
|
-
this.schema = closure._operationSchema;
|
|
468
|
-
}
|
|
469
|
-
resolveMiddleware(stack, configuration, options) {
|
|
470
|
-
const op = closure._operationSchema;
|
|
471
|
-
const input = op?.[4] ?? op?.input;
|
|
472
|
-
const output = op?.[5] ?? op?.output;
|
|
473
|
-
return this.resolveMiddlewareWithContext(stack, configuration, options, {
|
|
474
|
-
CommandCtor: CommandRef,
|
|
475
|
-
middlewareFn: closure._middlewareFn,
|
|
476
|
-
clientName: closure._clientName,
|
|
477
|
-
commandName: closure._commandName,
|
|
478
|
-
inputFilterSensitiveLog: closure._inputFilterSensitiveLog ?? (op ? schemaLogFilter.bind(null, input) : (_) => _),
|
|
479
|
-
outputFilterSensitiveLog: closure._outputFilterSensitiveLog ?? (op ? schemaLogFilter.bind(null, output) : (_) => _),
|
|
480
|
-
smithyContext: closure._smithyContext,
|
|
481
|
-
additionalContext: closure._additionalContext
|
|
482
|
-
});
|
|
483
|
-
}
|
|
484
|
-
serialize = closure._serializer;
|
|
485
|
-
deserialize = closure._deserializer;
|
|
486
|
-
};
|
|
487
|
-
}
|
|
488
|
-
}
|
|
489
|
-
var SENSITIVE_STRING = "***SensitiveInformation***";
|
|
490
|
-
var createAggregatedClient = (commands, Client2, options) => {
|
|
491
|
-
for (const [command, CommandCtor] of Object.entries(commands)) {
|
|
492
|
-
const methodImpl = async function(args, optionsOrCb, cb) {
|
|
493
|
-
const command2 = new CommandCtor(args);
|
|
494
|
-
if (typeof optionsOrCb === "function") {
|
|
495
|
-
this.send(command2, optionsOrCb);
|
|
496
|
-
} else if (typeof cb === "function") {
|
|
497
|
-
if (typeof optionsOrCb !== "object")
|
|
498
|
-
throw new Error(`Expected http options but got ${typeof optionsOrCb}`);
|
|
499
|
-
this.send(command2, optionsOrCb || {}, cb);
|
|
500
|
-
} else {
|
|
501
|
-
return this.send(command2, optionsOrCb);
|
|
502
|
-
}
|
|
503
|
-
};
|
|
504
|
-
const methodName = (command[0].toLowerCase() + command.slice(1)).replace(/Command$/, "");
|
|
505
|
-
Client2.prototype[methodName] = methodImpl;
|
|
506
|
-
}
|
|
507
|
-
const { paginators = {}, waiters = {} } = options ?? {};
|
|
508
|
-
for (const [paginatorName, paginatorFn] of Object.entries(paginators)) {
|
|
509
|
-
if (Client2.prototype[paginatorName] === undefined) {
|
|
510
|
-
Client2.prototype[paginatorName] = function(commandInput = {}, paginationConfiguration, ...rest) {
|
|
511
|
-
return paginatorFn({
|
|
512
|
-
...paginationConfiguration,
|
|
513
|
-
client: this
|
|
514
|
-
}, commandInput, ...rest);
|
|
515
|
-
};
|
|
516
|
-
}
|
|
517
|
-
}
|
|
518
|
-
for (const [waiterName, waiterFn] of Object.entries(waiters)) {
|
|
519
|
-
if (Client2.prototype[waiterName] === undefined) {
|
|
520
|
-
Client2.prototype[waiterName] = async function(commandInput = {}, waiterConfiguration, ...rest) {
|
|
521
|
-
let config = waiterConfiguration;
|
|
522
|
-
if (typeof waiterConfiguration === "number") {
|
|
523
|
-
config = {
|
|
524
|
-
maxWaitTime: waiterConfiguration
|
|
525
|
-
};
|
|
526
|
-
}
|
|
527
|
-
return waiterFn({
|
|
528
|
-
...config,
|
|
529
|
-
client: this
|
|
530
|
-
}, commandInput, ...rest);
|
|
531
|
-
};
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
};
|
|
535
|
-
|
|
536
|
-
class ServiceException extends Error {
|
|
537
|
-
$fault;
|
|
538
|
-
$response;
|
|
539
|
-
$retryable;
|
|
540
|
-
$metadata;
|
|
541
|
-
constructor(options) {
|
|
542
|
-
super(options.message);
|
|
543
|
-
Object.setPrototypeOf(this, Object.getPrototypeOf(this).constructor.prototype);
|
|
544
|
-
this.name = options.name;
|
|
545
|
-
this.$fault = options.$fault;
|
|
546
|
-
this.$metadata = options.$metadata;
|
|
547
|
-
}
|
|
548
|
-
static isInstance(value) {
|
|
549
|
-
if (!value)
|
|
550
|
-
return false;
|
|
551
|
-
const candidate = value;
|
|
552
|
-
return ServiceException.prototype.isPrototypeOf(candidate) || Boolean(candidate.$fault) && Boolean(candidate.$metadata) && (candidate.$fault === "client" || candidate.$fault === "server");
|
|
553
|
-
}
|
|
554
|
-
static [Symbol.hasInstance](instance) {
|
|
555
|
-
if (!instance)
|
|
556
|
-
return false;
|
|
557
|
-
const candidate = instance;
|
|
558
|
-
if (this === ServiceException) {
|
|
559
|
-
return ServiceException.isInstance(instance);
|
|
560
|
-
}
|
|
561
|
-
if (ServiceException.isInstance(instance)) {
|
|
562
|
-
if (candidate.name && this.name) {
|
|
563
|
-
return this.prototype.isPrototypeOf(instance) || candidate.name === this.name;
|
|
564
|
-
}
|
|
565
|
-
return this.prototype.isPrototypeOf(instance);
|
|
566
|
-
}
|
|
567
|
-
return false;
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
var decorateServiceException = (exception, additions = {}) => {
|
|
571
|
-
Object.entries(additions).filter(([, v]) => v !== undefined).forEach(([k, v]) => {
|
|
572
|
-
if (exception[k] == undefined || exception[k] === "") {
|
|
573
|
-
exception[k] = v;
|
|
574
|
-
}
|
|
575
|
-
});
|
|
576
|
-
const message = exception.message || exception.Message || "UnknownError";
|
|
577
|
-
exception.message = message;
|
|
578
|
-
delete exception.Message;
|
|
579
|
-
return exception;
|
|
580
|
-
};
|
|
581
|
-
var throwDefaultError = ({ output, parsedBody, exceptionCtor, errorCode }) => {
|
|
582
|
-
const $metadata = deserializeMetadata(output);
|
|
583
|
-
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
584
|
-
const response = new exceptionCtor({
|
|
585
|
-
name: parsedBody?.code || parsedBody?.Code || errorCode || statusCode || "UnknownError",
|
|
586
|
-
$fault: "client",
|
|
587
|
-
$metadata
|
|
588
|
-
});
|
|
589
|
-
throw decorateServiceException(response, parsedBody);
|
|
590
|
-
};
|
|
591
|
-
var withBaseException = (ExceptionCtor) => {
|
|
592
|
-
return ({ output, parsedBody, errorCode }) => {
|
|
593
|
-
throwDefaultError({ output, parsedBody, exceptionCtor: ExceptionCtor, errorCode });
|
|
594
|
-
};
|
|
595
|
-
};
|
|
596
|
-
var deserializeMetadata = (output) => ({
|
|
597
|
-
httpStatusCode: output.statusCode,
|
|
598
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
599
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
600
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
601
|
-
});
|
|
602
|
-
var loadConfigsForDefaultMode = (mode) => {
|
|
603
|
-
switch (mode) {
|
|
604
|
-
case "standard":
|
|
605
|
-
return {
|
|
606
|
-
retryMode: "standard",
|
|
607
|
-
connectionTimeout: 3100
|
|
608
|
-
};
|
|
609
|
-
case "in-region":
|
|
610
|
-
return {
|
|
611
|
-
retryMode: "standard",
|
|
612
|
-
connectionTimeout: 1100
|
|
613
|
-
};
|
|
614
|
-
case "cross-region":
|
|
615
|
-
return {
|
|
616
|
-
retryMode: "standard",
|
|
617
|
-
connectionTimeout: 3100
|
|
618
|
-
};
|
|
619
|
-
case "mobile":
|
|
620
|
-
return {
|
|
621
|
-
retryMode: "standard",
|
|
622
|
-
connectionTimeout: 30000
|
|
623
|
-
};
|
|
624
|
-
default:
|
|
625
|
-
return {};
|
|
626
|
-
}
|
|
627
|
-
};
|
|
628
|
-
var warningEmitted = false;
|
|
629
|
-
var emitWarningIfUnsupportedVersion = (version) => {
|
|
630
|
-
if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) {
|
|
631
|
-
warningEmitted = true;
|
|
632
|
-
}
|
|
633
|
-
};
|
|
634
|
-
var knownAlgorithms = Object.values(types.AlgorithmId);
|
|
635
|
-
var getChecksumConfiguration = (runtimeConfig) => {
|
|
636
|
-
const checksumAlgorithms = [];
|
|
637
|
-
for (const id in types.AlgorithmId) {
|
|
638
|
-
const algorithmId = types.AlgorithmId[id];
|
|
639
|
-
if (runtimeConfig[algorithmId] === undefined) {
|
|
640
|
-
continue;
|
|
641
|
-
}
|
|
642
|
-
checksumAlgorithms.push({
|
|
643
|
-
algorithmId: () => algorithmId,
|
|
644
|
-
checksumConstructor: () => runtimeConfig[algorithmId]
|
|
645
|
-
});
|
|
646
|
-
}
|
|
647
|
-
for (const [id, ChecksumCtor] of Object.entries(runtimeConfig.checksumAlgorithms ?? {})) {
|
|
648
|
-
checksumAlgorithms.push({
|
|
649
|
-
algorithmId: () => id,
|
|
650
|
-
checksumConstructor: () => ChecksumCtor
|
|
651
|
-
});
|
|
652
|
-
}
|
|
653
|
-
return {
|
|
654
|
-
addChecksumAlgorithm(algo) {
|
|
655
|
-
runtimeConfig.checksumAlgorithms = runtimeConfig.checksumAlgorithms ?? {};
|
|
656
|
-
const id = algo.algorithmId();
|
|
657
|
-
const ctor = algo.checksumConstructor();
|
|
658
|
-
if (knownAlgorithms.includes(id)) {
|
|
659
|
-
runtimeConfig.checksumAlgorithms[id.toUpperCase()] = ctor;
|
|
660
|
-
} else {
|
|
661
|
-
runtimeConfig.checksumAlgorithms[id] = ctor;
|
|
662
|
-
}
|
|
663
|
-
checksumAlgorithms.push(algo);
|
|
664
|
-
},
|
|
665
|
-
checksumAlgorithms() {
|
|
666
|
-
return checksumAlgorithms;
|
|
667
|
-
}
|
|
668
|
-
};
|
|
669
|
-
};
|
|
670
|
-
var resolveChecksumRuntimeConfig = (clientConfig) => {
|
|
671
|
-
const runtimeConfig = {};
|
|
672
|
-
clientConfig.checksumAlgorithms().forEach((checksumAlgorithm) => {
|
|
673
|
-
const id = checksumAlgorithm.algorithmId();
|
|
674
|
-
if (knownAlgorithms.includes(id)) {
|
|
675
|
-
runtimeConfig[id] = checksumAlgorithm.checksumConstructor();
|
|
676
|
-
}
|
|
677
|
-
});
|
|
678
|
-
return runtimeConfig;
|
|
679
|
-
};
|
|
680
|
-
var getRetryConfiguration = (runtimeConfig) => {
|
|
681
|
-
return {
|
|
682
|
-
setRetryStrategy(retryStrategy) {
|
|
683
|
-
runtimeConfig.retryStrategy = retryStrategy;
|
|
684
|
-
},
|
|
685
|
-
retryStrategy() {
|
|
686
|
-
return runtimeConfig.retryStrategy;
|
|
687
|
-
}
|
|
688
|
-
};
|
|
689
|
-
};
|
|
690
|
-
var resolveRetryRuntimeConfig = (retryStrategyConfiguration) => {
|
|
691
|
-
const runtimeConfig = {};
|
|
692
|
-
runtimeConfig.retryStrategy = retryStrategyConfiguration.retryStrategy();
|
|
693
|
-
return runtimeConfig;
|
|
694
|
-
};
|
|
695
|
-
var getDefaultExtensionConfiguration = (runtimeConfig) => {
|
|
696
|
-
return Object.assign(getChecksumConfiguration(runtimeConfig), getRetryConfiguration(runtimeConfig));
|
|
697
|
-
};
|
|
698
|
-
var getDefaultClientConfiguration = getDefaultExtensionConfiguration;
|
|
699
|
-
var resolveDefaultRuntimeConfig = (config) => {
|
|
700
|
-
return Object.assign(resolveChecksumRuntimeConfig(config), resolveRetryRuntimeConfig(config));
|
|
701
|
-
};
|
|
702
|
-
var getArrayIfSingleItem = (mayBeArray) => Array.isArray(mayBeArray) ? mayBeArray : [mayBeArray];
|
|
703
|
-
var getValueFromTextNode = (obj) => {
|
|
704
|
-
const textNodeName = "#text";
|
|
705
|
-
for (const key in obj) {
|
|
706
|
-
if (obj.hasOwnProperty(key) && obj[key][textNodeName] !== undefined) {
|
|
707
|
-
obj[key] = obj[key][textNodeName];
|
|
708
|
-
} else if (typeof obj[key] === "object" && obj[key] !== null) {
|
|
709
|
-
obj[key] = getValueFromTextNode(obj[key]);
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
return obj;
|
|
713
|
-
};
|
|
714
|
-
var isSerializableHeaderValue = (value) => {
|
|
715
|
-
return value != null;
|
|
716
|
-
};
|
|
717
|
-
|
|
718
|
-
class NoOpLogger {
|
|
719
|
-
trace() {}
|
|
720
|
-
debug() {}
|
|
721
|
-
info() {}
|
|
722
|
-
warn() {}
|
|
723
|
-
error() {}
|
|
724
|
-
}
|
|
725
|
-
function map(arg0, arg1, arg2) {
|
|
726
|
-
let target;
|
|
727
|
-
let filter;
|
|
728
|
-
let instructions;
|
|
729
|
-
if (typeof arg1 === "undefined" && typeof arg2 === "undefined") {
|
|
730
|
-
target = {};
|
|
731
|
-
instructions = arg0;
|
|
732
|
-
} else {
|
|
733
|
-
target = arg0;
|
|
734
|
-
if (typeof arg1 === "function") {
|
|
735
|
-
filter = arg1;
|
|
736
|
-
instructions = arg2;
|
|
737
|
-
return mapWithFilter(target, filter, instructions);
|
|
738
|
-
} else {
|
|
739
|
-
instructions = arg1;
|
|
740
|
-
}
|
|
741
|
-
}
|
|
742
|
-
for (const key of Object.keys(instructions)) {
|
|
743
|
-
if (!Array.isArray(instructions[key])) {
|
|
744
|
-
target[key] = instructions[key];
|
|
745
|
-
continue;
|
|
746
|
-
}
|
|
747
|
-
applyInstruction(target, null, instructions, key);
|
|
748
|
-
}
|
|
749
|
-
return target;
|
|
750
|
-
}
|
|
751
|
-
var convertMap = (target) => {
|
|
752
|
-
const output = {};
|
|
753
|
-
for (const [k, v] of Object.entries(target || {})) {
|
|
754
|
-
output[k] = [, v];
|
|
755
|
-
}
|
|
756
|
-
return output;
|
|
757
|
-
};
|
|
758
|
-
var take = (source, instructions) => {
|
|
759
|
-
const out = {};
|
|
760
|
-
for (const key in instructions) {
|
|
761
|
-
applyInstruction(out, source, instructions, key);
|
|
762
|
-
}
|
|
763
|
-
return out;
|
|
764
|
-
};
|
|
765
|
-
var mapWithFilter = (target, filter, instructions) => {
|
|
766
|
-
return map(target, Object.entries(instructions).reduce((_instructions, [key, value]) => {
|
|
767
|
-
if (Array.isArray(value)) {
|
|
768
|
-
_instructions[key] = value;
|
|
769
|
-
} else {
|
|
770
|
-
if (typeof value === "function") {
|
|
771
|
-
_instructions[key] = [filter, value()];
|
|
772
|
-
} else {
|
|
773
|
-
_instructions[key] = [filter, value];
|
|
774
|
-
}
|
|
775
|
-
}
|
|
776
|
-
return _instructions;
|
|
777
|
-
}, {}));
|
|
778
|
-
};
|
|
779
|
-
var applyInstruction = (target, source, instructions, targetKey) => {
|
|
780
|
-
if (source !== null) {
|
|
781
|
-
let instruction = instructions[targetKey];
|
|
782
|
-
if (typeof instruction === "function") {
|
|
783
|
-
instruction = [, instruction];
|
|
784
|
-
}
|
|
785
|
-
const [filter2 = nonNullish, valueFn = pass, sourceKey = targetKey] = instruction;
|
|
786
|
-
if (typeof filter2 === "function" && filter2(source[sourceKey]) || typeof filter2 !== "function" && !!filter2) {
|
|
787
|
-
target[targetKey] = valueFn(source[sourceKey]);
|
|
788
|
-
}
|
|
789
|
-
return;
|
|
790
|
-
}
|
|
791
|
-
let [filter, value] = instructions[targetKey];
|
|
792
|
-
if (typeof value === "function") {
|
|
793
|
-
let _value;
|
|
794
|
-
const defaultFilterPassed = filter === undefined && (_value = value()) != null;
|
|
795
|
-
const customFilterPassed = typeof filter === "function" && !!filter(undefined) || typeof filter !== "function" && !!filter;
|
|
796
|
-
if (defaultFilterPassed) {
|
|
797
|
-
target[targetKey] = _value;
|
|
798
|
-
} else if (customFilterPassed) {
|
|
799
|
-
target[targetKey] = value();
|
|
800
|
-
}
|
|
801
|
-
} else {
|
|
802
|
-
const defaultFilterPassed = filter === undefined && value != null;
|
|
803
|
-
const customFilterPassed = typeof filter === "function" && !!filter(value) || typeof filter !== "function" && !!filter;
|
|
804
|
-
if (defaultFilterPassed || customFilterPassed) {
|
|
805
|
-
target[targetKey] = value;
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
};
|
|
809
|
-
var nonNullish = (_) => _ != null;
|
|
810
|
-
var pass = (_) => _;
|
|
811
|
-
var serializeFloat = (value) => {
|
|
812
|
-
if (value !== value) {
|
|
813
|
-
return "NaN";
|
|
814
|
-
}
|
|
815
|
-
switch (value) {
|
|
816
|
-
case Infinity:
|
|
817
|
-
return "Infinity";
|
|
818
|
-
case -Infinity:
|
|
819
|
-
return "-Infinity";
|
|
820
|
-
default:
|
|
821
|
-
return value;
|
|
822
|
-
}
|
|
823
|
-
};
|
|
824
|
-
var serializeDateTime = (date) => date.toISOString().replace(".000Z", "Z");
|
|
825
|
-
var _json = (obj) => {
|
|
826
|
-
if (obj == null) {
|
|
827
|
-
return {};
|
|
828
|
-
}
|
|
829
|
-
if (Array.isArray(obj)) {
|
|
830
|
-
return obj.filter((_) => _ != null).map(_json);
|
|
831
|
-
}
|
|
832
|
-
if (typeof obj === "object") {
|
|
833
|
-
const target = {};
|
|
834
|
-
for (const key of Object.keys(obj)) {
|
|
835
|
-
if (obj[key] == null) {
|
|
836
|
-
continue;
|
|
837
|
-
}
|
|
838
|
-
target[key] = _json(obj[key]);
|
|
839
|
-
}
|
|
840
|
-
return target;
|
|
841
|
-
}
|
|
842
|
-
return obj;
|
|
843
|
-
};
|
|
844
|
-
exports.collectBody = protocols.collectBody;
|
|
845
|
-
exports.extendedEncodeURIComponent = protocols.extendedEncodeURIComponent;
|
|
846
|
-
exports.resolvedPath = protocols.resolvedPath;
|
|
847
|
-
exports.Client = Client;
|
|
848
|
-
exports.Command = Command;
|
|
849
|
-
exports.NoOpLogger = NoOpLogger;
|
|
850
|
-
exports.SENSITIVE_STRING = SENSITIVE_STRING;
|
|
851
|
-
exports.ServiceException = ServiceException;
|
|
852
|
-
exports._json = _json;
|
|
853
|
-
exports.convertMap = convertMap;
|
|
854
|
-
exports.createAggregatedClient = createAggregatedClient;
|
|
855
|
-
exports.decorateServiceException = decorateServiceException;
|
|
856
|
-
exports.emitWarningIfUnsupportedVersion = emitWarningIfUnsupportedVersion;
|
|
857
|
-
exports.getArrayIfSingleItem = getArrayIfSingleItem;
|
|
858
|
-
exports.getDefaultClientConfiguration = getDefaultClientConfiguration;
|
|
859
|
-
exports.getDefaultExtensionConfiguration = getDefaultExtensionConfiguration;
|
|
860
|
-
exports.getValueFromTextNode = getValueFromTextNode;
|
|
861
|
-
exports.isSerializableHeaderValue = isSerializableHeaderValue;
|
|
862
|
-
exports.loadConfigsForDefaultMode = loadConfigsForDefaultMode;
|
|
863
|
-
exports.map = map;
|
|
864
|
-
exports.resolveDefaultRuntimeConfig = resolveDefaultRuntimeConfig;
|
|
865
|
-
exports.serializeDateTime = serializeDateTime;
|
|
866
|
-
exports.serializeFloat = serializeFloat;
|
|
867
|
-
exports.take = take;
|
|
868
|
-
exports.throwDefaultError = throwDefaultError;
|
|
869
|
-
exports.withBaseException = withBaseException;
|
|
870
|
-
Object.prototype.hasOwnProperty.call(serde, "__proto__") && !Object.prototype.hasOwnProperty.call(exports, "__proto__") && Object.defineProperty(exports, "__proto__", {
|
|
871
|
-
enumerable: true,
|
|
872
|
-
value: serde["__proto__"]
|
|
873
|
-
});
|
|
874
|
-
Object.keys(serde).forEach(function(k) {
|
|
875
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
876
|
-
exports[k] = serde[k];
|
|
877
|
-
});
|
|
878
|
-
});
|
|
879
|
-
|
|
880
|
-
export { require_dist_cjs3 as require_dist_cjs };
|