gemi 0.4.72 → 0.4.73

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.
Files changed (69) hide show
  1. package/dist/{chunk-98d9ccc476ab91dc.js → chunk-027f8856aa132d85.js} +1 -1
  2. package/dist/{chunk-d03b02d5f8128f13.js → chunk-035e233acf299392.js} +2 -2
  3. package/dist/{chunk-d7c78cd1ab7dc7ed.js → chunk-0c3a31bca25291a6.js} +1 -1
  4. package/dist/{chunk-a1efc60864e65ef2.js → chunk-2c49184ec3c45a26.js} +1 -1
  5. package/dist/{chunk-4672a061bfa698ce.js → chunk-3e2f1f65cba86ad5.js} +1 -1
  6. package/dist/{chunk-11cd81b560d496a3.js → chunk-474c8dc0ac6b3cdf.js} +1 -1
  7. package/dist/chunk-6a30174fcc338251.js +2 -0
  8. package/dist/{chunk-db03a0a05fbe3bc4.js → chunk-6def55ea02e050ec.js} +1 -1
  9. package/dist/chunk-722959aee5ef3fae.js +2 -0
  10. package/dist/{chunk-6c1b62f2d8dc48e2.js → chunk-89067bce11a12276.js} +1 -1
  11. package/dist/{chunk-f25e3644c98f64a7.js → chunk-89c603058a8ca2e0.js} +1 -1
  12. package/dist/{chunk-32483f77b064cc0a.js → chunk-9c10a08ee4b4d468.js} +2 -2
  13. package/dist/{chunk-f90e2f05651f95fc.js → chunk-9e6c223585edf12e.js} +1 -1
  14. package/dist/{chunk-dfc59075d409b16e.js → chunk-a2fa7b0b7cb9d696.js} +1 -1
  15. package/dist/{chunk-6596f9d480e68b0a.js → chunk-a75cb687951e66a0.js} +2 -2
  16. package/dist/{chunk-aa3cd1ebb3cef8cf.js → chunk-b240c1abcf310471.js} +1 -1
  17. package/dist/chunk-b3d1c993471a0dbe.js +2 -0
  18. package/dist/{chunk-65cd4d128b79bd93.js → chunk-b9d952fe3db3df1c.js} +1 -1
  19. package/dist/{chunk-e565da7343a33b65.js → chunk-c4424c04ab2ac6d1.js} +2 -2
  20. package/dist/chunk-db704ae1cdab22a5.js +18 -0
  21. package/dist/chunk-e1c93f98afc62202.js +2 -0
  22. package/dist/{chunk-7ffc808402a7646b.js → chunk-e4119fe2a26e4a22.js} +1 -1
  23. package/dist/chunk-e4fa4d02a212da4f.js +2 -0
  24. package/dist/client/Link.d.ts +4 -2
  25. package/dist/client/Link.d.ts.map +1 -1
  26. package/dist/client/auth/useUser.d.ts +1 -11
  27. package/dist/client/auth/useUser.d.ts.map +1 -1
  28. package/dist/client/useNavigate.d.ts +2 -2
  29. package/dist/client/useNavigate.d.ts.map +1 -1
  30. package/dist/client/useQuery.d.ts +2 -2
  31. package/dist/client/useQuery.d.ts.map +1 -1
  32. package/dist/email/index.js +1 -1
  33. package/dist/facades/FileStorage.d.ts +12 -0
  34. package/dist/facades/FileStorage.d.ts.map +1 -0
  35. package/dist/facades/index.d.ts +1 -0
  36. package/dist/facades/index.d.ts.map +1 -1
  37. package/dist/facades/index.js +1 -1
  38. package/dist/http/index.js +1 -1
  39. package/dist/kernel/Kernel.d.ts +5 -0
  40. package/dist/kernel/Kernel.d.ts.map +1 -1
  41. package/dist/kernel/context.d.ts +2 -0
  42. package/dist/kernel/context.d.ts.map +1 -1
  43. package/dist/kernel/index.js +2 -2
  44. package/dist/server/index.js +1 -1
  45. package/dist/services/file-storage/FileStorageServiceContainer.d.ts +6 -0
  46. package/dist/services/file-storage/FileStorageServiceContainer.d.ts.map +1 -0
  47. package/dist/services/file-storage/FileStorageServiceProvider.d.ts +5 -0
  48. package/dist/services/file-storage/FileStorageServiceProvider.d.ts.map +1 -0
  49. package/dist/services/file-storage/drivers/FileStorageDriver.d.ts +6 -0
  50. package/dist/services/file-storage/drivers/FileStorageDriver.d.ts.map +1 -0
  51. package/dist/services/file-storage/drivers/FileSystemDriver.d.ts +9 -0
  52. package/dist/services/file-storage/drivers/FileSystemDriver.d.ts.map +1 -0
  53. package/dist/services/file-storage/drivers/S3Driver.d.ts +10 -0
  54. package/dist/services/file-storage/drivers/S3Driver.d.ts.map +1 -0
  55. package/dist/services/file-storage/drivers/types.d.ts +19 -0
  56. package/dist/services/file-storage/drivers/types.d.ts.map +1 -0
  57. package/dist/services/index.d.ts +6 -0
  58. package/dist/services/index.d.ts.map +1 -0
  59. package/dist/services/index.js +2 -0
  60. package/package.json +2 -2
  61. package/dist/chunk-466213c5585251ad.js +0 -2
  62. package/dist/chunk-718d1e84f3207c29.js +0 -2
  63. package/dist/chunk-c4927c583b31b4be.js +0 -18
  64. package/dist/chunk-d1c7d307baac84fb.js +0 -2
  65. package/dist/storage/File.d.ts +0 -26
  66. package/dist/storage/File.d.ts.map +0 -1
  67. package/dist/storage/index.d.ts +0 -2
  68. package/dist/storage/index.d.ts.map +0 -1
  69. package/dist/storage/index.js +0 -2
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{y as h} from"./chunk-7ce930fe69575c87.js";import{H as g,V as P,Y as w,ma as I} from"./chunk-e565da7343a33b65.js";import"./chunk-65cd4d128b79bd93.js";import{pb as d} from"./chunk-6c1b62f2d8dc48e2.js";var i=h(d(),1);import A from"fs/promises";var C=h(d(),1);var E="169.254.170.2",R="169.254.170.23",p="[fd00:ec2::23]",S=(e,c)=>{if(e.protocol==="https:")return;if(e.hostname===E||e.hostname===R||e.hostname===p)return;if(e.hostname.includes("[")){if(e.hostname==="[::1]"||e.hostname==="[0000:0000:0000:0000:0000:0000:0000:0001]")return}else{if(e.hostname==="localhost")return;const a=e.hostname.split("."),r=(t)=>{const s=parseInt(t,10);return 0<=s&&s<=255};if(a[0]==="127"&&r(a[1])&&r(a[2])&&r(a[3])&&a.length===4)return}throw new C.CredentialsProviderError(`URL not accepted. It must either be HTTPS or match one of the following:
2
+ import{y as h} from"./chunk-7ce930fe69575c87.js";import{O as g,aa as P,da as w,ta as I} from"./chunk-c4424c04ab2ac6d1.js";import"./chunk-b9d952fe3db3df1c.js";import{ub as d} from"./chunk-89067bce11a12276.js";var i=h(d(),1);import A from"fs/promises";var C=h(d(),1);var E="169.254.170.2",R="169.254.170.23",p="[fd00:ec2::23]",S=(e,c)=>{if(e.protocol==="https:")return;if(e.hostname===E||e.hostname===R||e.hostname===p)return;if(e.hostname.includes("[")){if(e.hostname==="[::1]"||e.hostname==="[0000:0000:0000:0000:0000:0000:0000:0001]")return}else{if(e.hostname==="localhost")return;const a=e.hostname.split("."),r=(t)=>{const s=parseInt(t,10);return 0<=s&&s<=255};if(a[0]==="127"&&r(a[1])&&r(a[2])&&r(a[3])&&a.length===4)return}throw new C.CredentialsProviderError(`URL not accepted. It must either be HTTPS or match one of the following:
3
3
  - loopback CIDR 127.0.0.0/8 or [::1/128]
4
4
  - ECS container host 169.254.170.2
5
5
  - EKS container host 169.254.170.23 or [fd00:ec2::23]`,{logger:c})};var m=h(d(),1);function K(e){return new g({protocol:e.protocol,hostname:e.hostname,port:Number(e.port),path:e.pathname,query:Array.from(e.searchParams.entries()).reduce((c,[a,r])=>{return c[a]=r,c},{}),fragment:e.hash})}async function T(e,c){const r=await w(e.body).transformToString();if(e.statusCode===200){const t=JSON.parse(r);if(typeof t.AccessKeyId!=="string"||typeof t.SecretAccessKey!=="string"||typeof t.Token!=="string"||typeof t.Expiration!=="string")throw new m.CredentialsProviderError("HTTP credential provider response not of the required format, an object matching: { AccessKeyId: string, SecretAccessKey: string, Token: string, Expiration: string(rfc3339) }",{logger:c});return{accessKeyId:t.AccessKeyId,secretAccessKey:t.SecretAccessKey,sessionToken:t.Token,expiration:I(t.Expiration)}}if(e.statusCode>=400&&e.statusCode<500){let t={};try{t=JSON.parse(r)}catch(s){}throw Object.assign(new m.CredentialsProviderError(`Server responded with status: ${e.statusCode}`,{logger:c}),{Code:t.Code,Message:t.Message})}throw new m.CredentialsProviderError(`Server responded with status: ${e.statusCode}`,{logger:c})}var x=(e,c,a)=>{return async()=>{for(let r=0;r<c;++r)try{return await e()}catch(t){await new Promise((s)=>setTimeout(s,a))}return await e()}};var O="AWS_CONTAINER_CREDENTIALS_RELATIVE_URI",b="http://169.254.170.2",_="AWS_CONTAINER_CREDENTIALS_FULL_URI",v="AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE",B="AWS_CONTAINER_AUTHORIZATION_TOKEN",D=(e={})=>{e.logger?.debug("@aws-sdk/credential-provider-http - fromHttp");let c;const a=e.awsContainerCredentialsRelativeUri??process.env[O],r=e.awsContainerCredentialsFullUri??process.env[_],t=e.awsContainerAuthorizationToken??process.env[B],s=e.awsContainerAuthorizationTokenFile??process.env[v],n=e.logger?.constructor?.name==="NoOpLogger"||!e.logger?console.warn:e.logger.warn;if(a&&r)n("@aws-sdk/credential-provider-http: you have set both awsContainerCredentialsRelativeUri and awsContainerCredentialsFullUri."),n("awsContainerCredentialsFullUri will take precedence.");if(t&&s)n("@aws-sdk/credential-provider-http: you have set both awsContainerAuthorizationToken and awsContainerAuthorizationTokenFile."),n("awsContainerAuthorizationToken will take precedence.");if(r)c=r;else if(a)c=`${b}${a}`;else throw new i.CredentialsProviderError(`No HTTP credential provider host provided.