gemi 0.4.79 → 0.4.81

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 (98) hide show
  1. package/dist/app/App.d.ts +5 -10
  2. package/dist/app/App.d.ts.map +1 -1
  3. package/dist/app/index.js +60 -60
  4. package/dist/auth/AuthenticationServiceProvider.d.ts +7 -2
  5. package/dist/auth/AuthenticationServiceProvider.d.ts.map +1 -1
  6. package/dist/bin/index.js +104 -75
  7. package/dist/broadcasting/BroadcastingChannel.d.ts +5 -0
  8. package/dist/broadcasting/BroadcastingChannel.d.ts.map +1 -0
  9. package/dist/broadcasting/index.js +2 -0
  10. package/dist/{chunk-fcaf4626e5fe5d26.js → chunk-0ba2cc302113ab40.js} +2 -2
  11. package/dist/chunk-0ddb821fe8124f54.js +9 -0
  12. package/dist/chunk-2335866508ec8b1b.js +2 -0
  13. package/dist/{chunk-e3d242546d1a2927.js → chunk-24a86f8f5ddc0cbd.js} +1 -1
  14. package/dist/chunk-25ee58bc6072bd58.js +2 -0
  15. package/dist/{chunk-0f4780d78065ed6f.js → chunk-2786cd9024d0d164.js} +1 -1
  16. package/dist/chunk-2fd968b1b4418bfa.js +18 -0
  17. package/dist/chunk-38315b1e3dd78ca7.js +2 -0
  18. package/dist/{chunk-e9695f3cdafee20b.js → chunk-53b7d6267c9172bc.js} +1 -1
  19. package/dist/chunk-63c98893e07b1644.js +2 -0
  20. package/dist/{chunk-827fe74e5b55863c.js → chunk-63e9bc71922dbe80.js} +1 -1
  21. package/dist/{chunk-4e41bf12b68e3aa2.js → chunk-7d5fe4acabfee228.js} +2 -2
  22. package/dist/{chunk-a2795d68352fdd98.js → chunk-8ee09f1f74206a04.js} +2 -2
  23. package/dist/chunk-92bab268a3007d3d.js +2 -0
  24. package/dist/{chunk-f7784dffc6c59a9e.js → chunk-9475c6ed18013dc8.js} +1 -1
  25. package/dist/chunk-958e406572d457ca.js +2 -0
  26. package/dist/{chunk-ed4022c20775d58f.js → chunk-b99af11a56fdd395.js} +2 -2
  27. package/dist/chunk-c27a654eada9167e.js +2 -0
  28. package/dist/chunk-c6ab6f8e07a028ac.js +6 -0
  29. package/dist/chunk-d16cfcc9dd3ac869.js +2 -0
  30. package/dist/chunk-d16ef78d852a6856.js +1 -0
  31. package/dist/chunk-da07ce723d8218db.js +3 -0
  32. package/dist/chunk-df08a797b672bf3b.js +2 -0
  33. package/dist/chunk-f6a80fc55311e0c8.js +2 -0
  34. package/dist/{chunk-5ea45ebea038bef4.js → chunk-f9f264ce0c8e9699.js} +2 -2
  35. package/dist/{chunk-3bb296632dccdb02.js → chunk-ff8cd8fd047cfee5.js} +2 -2
  36. package/dist/client/ClientRouter.d.ts.map +1 -1
  37. package/dist/client/HttpReload.d.ts.map +1 -1
  38. package/dist/client/WebsocketContext.d.ts +10 -0
  39. package/dist/client/WebsocketContext.d.ts.map +1 -0
  40. package/dist/client/auth/useForgotPassword.d.ts +3 -1
  41. package/dist/client/auth/useForgotPassword.d.ts.map +1 -1
  42. package/dist/client/auth/useResetPassword.d.ts +4 -1
  43. package/dist/client/auth/useResetPassword.d.ts.map +1 -1
  44. package/dist/client/index.d.ts +2 -0
  45. package/dist/client/index.d.ts.map +1 -1
  46. package/dist/client/index.js +106 -6
  47. package/dist/client/useBroadcast.d.ts +4 -0
  48. package/dist/client/useBroadcast.d.ts.map +1 -0
  49. package/dist/client/useSearchParams.d.ts +1 -1
  50. package/dist/client/useSearchParams.d.ts.map +1 -1
  51. package/dist/client/useSubscription.d.ts +5 -0
  52. package/dist/client/useSubscription.d.ts.map +1 -0
  53. package/dist/email/index.js +1 -1
  54. package/dist/facades/Auth.d.ts.map +1 -1
  55. package/dist/facades/Broadcast.d.ts +6 -0
  56. package/dist/facades/Broadcast.d.ts.map +1 -0
  57. package/dist/facades/Prefetch.d.ts.map +1 -1
  58. package/dist/facades/index.d.ts +1 -0
  59. package/dist/facades/index.d.ts.map +1 -1
  60. package/dist/facades/index.js +1 -1
  61. package/dist/http/ApiRouter.d.ts.map +1 -1
  62. package/dist/http/BroadcastingRouter.d.ts +8 -0
  63. package/dist/http/BroadcastingRouter.d.ts.map +1 -0
  64. package/dist/http/HttpRequest.d.ts.map +1 -1
  65. package/dist/http/index.js +1 -1
  66. package/dist/kernel/Kernel.d.ts +5 -0
  67. package/dist/kernel/Kernel.d.ts.map +1 -1
  68. package/dist/kernel/context.d.ts +2 -0
  69. package/dist/kernel/context.d.ts.map +1 -1
  70. package/dist/kernel/index.js +1 -1
  71. package/dist/server/index.js +5 -5
  72. package/dist/services/index.d.ts +1 -0
  73. package/dist/services/index.d.ts.map +1 -1
  74. package/dist/services/index.js +10 -1
  75. package/dist/services/pubsub/BroadcastingServiceContainer.d.ts +24 -0
  76. package/dist/services/pubsub/BroadcastingServiceContainer.d.ts.map +1 -0
  77. package/dist/services/pubsub/BroadcastingServiceProvider.d.ts +7 -0
  78. package/dist/services/pubsub/BroadcastingServiceProvider.d.ts.map +1 -0
  79. package/dist/services/pubsub/types.d.ts +6 -0
  80. package/dist/services/pubsub/types.d.ts.map +1 -0
  81. package/dist/utils/applyParams.d.ts +1 -1
  82. package/dist/utils/applyParams.d.ts.map +1 -1
  83. package/package.json +3 -2
  84. package/dist/chunk-1488c30be491de9b.js +0 -2
  85. package/dist/chunk-1e96eb132f10e361.js +0 -2
  86. package/dist/chunk-3ccfbc315f74b335.js +0 -2
  87. package/dist/chunk-4573fe60e6dbd787.js +0 -2
  88. package/dist/chunk-584b2ebaffb0c907.js +0 -9
  89. package/dist/chunk-611480789c8b04f4.js +0 -3
  90. package/dist/chunk-788611478527c8c3.js +0 -6
  91. package/dist/chunk-7ab2e8abae3c8902.js +0 -2
  92. package/dist/chunk-8b1dc3428a74b1f4.js +0 -2
  93. package/dist/chunk-9b2a6bd400c9c6c7.js +0 -18
  94. package/dist/chunk-9ca526226958d45c.js +0 -2
  95. package/dist/chunk-ae46c8b6092236d2.js +0 -2
  96. package/dist/chunk-b092d6945f70ff1c.js +0 -2
  97. package/dist/chunk-bfc01c0e40e4551c.js +0 -2
  98. package/dist/chunk-e20c0e69128c42f5.js +0 -2
@@ -0,0 +1,9 @@
1
+ import{u as $,v as w,w as z} from"./chunk-25ee58bc6072bd58.js";import{Ab as Y,wb as q,yb as G} from"./chunk-d16ef78d852a6856.js";import{Cb as Z} from"./chunk-63e9bc71922dbe80.js";var H="AWS_EC2_METADATA_DISABLED",Q=async(b)=>{const{ENV_CMDS_FULL_URI:j,ENV_CMDS_RELATIVE_URI:x,fromContainerMetadata:y,fromInstanceMetadata:J}=await import("./chunk-958e406572d457ca.js");if(process.env[x]||process.env[j]){b.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");const{fromHttp:K}=await import("./chunk-c6ab6f8e07a028ac.js");return G(K(b),y(b))}if(process.env[H])return async()=>{throw new q("EC2 Instance Metadata Service access disabled",{logger:b.logger})};return b.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata"),J(b)};var X=!1,W=(b={})=>Y(G(async()=>{if(b.profile??process.env[Z]){if(process.env[$]&&process.env[w]){if(!X)(b.logger?.warn&&b.logger?.constructor?.name!=="NoOpLogger"?b.logger.warn:console.warn)(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
2
+ Multiple credential sources detected:
3
+ Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.
4
+ This SDK will proceed with the AWS_PROFILE value.
5
+
6
+ However, a future version may change this behavior to prefer the ENV static credentials.
7
+ Please ensure that your environment only sets either the AWS_PROFILE or the
8
+ AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.
9
+ `),X=!0}throw new q("AWS_PROFILE is set, skipping fromEnv provider.",{logger:b.logger,tryNextLink:!0})}return b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv"),z(b)()},async()=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");const{ssoStartUrl:j,ssoAccountId:x,ssoRegion:y,ssoRoleName:J,ssoSession:K}=b;if(!j&&!x&&!y&&!J&&!K)throw new q("Skipping SSO provider in default chain (inputs do not include SSO fields).",{logger:b.logger});const{fromSSO:B}=await import("./chunk-63c98893e07b1644.js");return B(b)()},async()=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");const{fromIni:j}=await import("./chunk-c27a654eada9167e.js");return j(b)()},async()=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");const{fromProcess:j}=await import("./chunk-f6a80fc55311e0c8.js");return j(b)()},async()=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");const{fromTokenFile:j}=await import("./chunk-2335866508ec8b1b.js");return j(b)()},async()=>{return b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider"),(await Q(b))()},async()=>{throw new q("Could not load credentials from any providers",{tryNextLink:!1,logger:b.logger})}),v,k),k=(b)=>b?.expiration!==void 0,v=(b)=>b?.expiration!==void 0&&b.expiration.getTime()-Date.now()<300000;export{W as Bb};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import"./chunk-24a86f8f5ddc0cbd.js";import{wb as E} from"./chunk-d16ef78d852a6856.js";import{readFileSync as l} from"fs";var t=(e)=>async()=>{e.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");const{roleArn:o,roleSessionName:r,webIdentityToken:n,providerId:c,policyArns:i,policy:_,durationSeconds:N}=e;let{roleAssumerWithWebIdentity:s}=e;if(!s){const{getDefaultRoleAssumerWithWebIdentity:d}=await import("./chunk-d16cfcc9dd3ac869.js");s=d({...e.clientConfig,credentialProviderLogger:e.logger,parentClientConfig:e.parentClientConfig},e.clientPlugins)}return s({RoleArn:o,RoleSessionName:r??`aws-sdk-js-session-${Date.now()}`,WebIdentityToken:n,ProviderId:c,PolicyArns:i,Policy:_,DurationSeconds:N})};var m="AWS_WEB_IDENTITY_TOKEN_FILE",S="AWS_ROLE_ARN",p="AWS_ROLE_SESSION_NAME",A=(e={})=>async()=>{e.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");const o=e?.webIdentityTokenFile??process.env[m],r=e?.roleArn??process.env[S],n=e?.roleSessionName??process.env[p];if(!o||!r)throw new E("Web identity configuration not specified",{logger:e.logger});return t({...e,webIdentityToken:l(o,{encoding:"ascii"}),roleArn:r,roleSessionName:n})()};export{t as fromWebToken,A as fromTokenFile};
@@ -1,2 +1,2 @@
1
1
  var g=Object.create;var{defineProperty:f,getPrototypeOf:h,getOwnPropertyNames:i}=Object;var j=Object.prototype.hasOwnProperty;var k=(a,b,c)=>{c=a!=null?g(h(a)):{};const d=b||!a||!a.__esModule?f(c,"default",{value:a,enumerable:!0}):c;for(let e of i(a))if(!j.call(d,e))f(d,e,{get:()=>a[e],enumerable:!0});return d};var l=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports);
2
- export{k as A,l as B};
2
+ export{k as B,l as C};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import"./chunk-24a86f8f5ddc0cbd.js";import{wb as E} from"./chunk-d16ef78d852a6856.js";var _="AWS_ACCESS_KEY_ID",S="AWS_SECRET_ACCESS_KEY",p="AWS_SESSION_TOKEN",A="AWS_CREDENTIAL_EXPIRATION",C="AWS_CREDENTIAL_SCOPE",N="AWS_ACCOUNT_ID",a=(e)=>async()=>{e?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");const o=process.env[_],r=process.env[S],n=process.env[p],s=process.env[A],t=process.env[C],c=process.env[N];if(o&&r)return{accessKeyId:o,secretAccessKey:r,...n&&{sessionToken:n},...s&&{expiration:new Date(s)},...t&&{credentialScope:t},...c&&{accountId:c}};throw new E("Unable to find environment variable credentials.",{logger:e?.logger})};export{a as fromEnv,p as ENV_SESSION,S as ENV_SECRET,_ as ENV_KEY,A as ENV_EXPIRATION,C as ENV_CREDENTIAL_SCOPE,N as ENV_ACCOUNT_ID};export{_ as u,S as v,a as w};