@reventlessdev/reventless-host-shell 3.0.0-alpha.51 → 3.0.0-alpha.53

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 CHANGED
@@ -112,9 +112,13 @@ bundle. The keys the shell reads include:
112
112
  | `authMode` | `local` or `cognito`, with the matching `cognito*` keys |
113
113
  | `domainApiEventsEndpoint` | live updates transport; absent ⇒ no live updates |
114
114
  | `clientEventsNamespace` | channel namespace browsers may publish to; absent ⇒ presence and chat surfaces stay dark |
115
- | `uploadEndpoint` | presigned-upload service backing the file and image inputs |
116
115
  | `viewModes` | which optional view modes to register |
117
116
 
117
+ Uploads need no key. A file or image input mints its upload target through the
118
+ domain API's `Upload_Presign` mutation, naming the object store its own field
119
+ declares, and PUTs the bytes straight there — so `apiEndpoint` is all it needs.
120
+ See `docs/guides/upload-contract.md` in reventless-core for the contract.
121
+
118
122
  To host the bundle yourself, serve this package's `dist/` as static files with a
119
123
  `config.json` next to `index.html`.
120
124
 
@@ -1 +1 @@
1
- import{i as o,g as n,d as l,z as d,A as m,f as c,e as s,j as p,$ as u}from"./index-C8Huy8vm.js";import"./virtualExposes-DN39MDG_.js";import"./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__reventless_host_shell__remoteEntry-_hash_-TJtk2Lkb.js";import"./preload-helper-BlTxHScW.js";import"./_virtual_mf___mfe_internal__reventless_host_shell__loadShare__react_mf_2_dom_mf_1_client__loadShare__.mjs-BzAfciYp.js";import"./__virtual_mf___mfe_internal__reventless_host_shell__loadShare__react_mf_2_dom__loadShare__.mjs_commonjs-proxy-BUE6rcGI.js";import"./__virtual_mf___mfe_internal__reventless_host_shell__loadShare__react__loadShare__.mjs_commonjs-proxy-CfkhEoF5.js";import"./_virtual_mf___mfe_internal__reventless_host_shell__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.mjs-hre-5-8f.js";import"./_virtual_mf___mfe_internal__reventless_host_shell__loadShare__react__loadShare__.mjs-CuPed97e.js";import"./_virtual_mf___mfe_internal__reventless_host_shell__loadShare__react_mf_2_dom__loadShare__.mjs-Df1FMNLk.js";function f(t){return o(m(t),r=>{let e=o(n(r,"label"),l),a=o(n(r,"lat"),d),i=o(n(r,"lng"),d);if(e!==void 0&&a!==void 0&&i!==void 0)return{label:e,lat:a,lng:i}})}function h(t){return c(s(p(t),[]),f)}function k(t){return{search:r=>u(fetch(t+"?q="+global.encodeURIComponent(r)).then(e=>e.ok?e.json().then(h):Promise.resolve([])),e=>Promise.resolve([]))}}export{f as decodeResult,h as decodeResults,k as fromEndpoint};
1
+ import{i as o,g as n,d as l,D as d,z as m,f as c,e as s,j as p,$ as u}from"./index-B708Gr2B.js";import"./virtualExposes-DN39MDG_.js";import"./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__reventless_host_shell__remoteEntry-_hash_-TJtk2Lkb.js";import"./preload-helper-BlTxHScW.js";import"./_virtual_mf___mfe_internal__reventless_host_shell__loadShare__react_mf_2_dom_mf_1_client__loadShare__.mjs-BzAfciYp.js";import"./__virtual_mf___mfe_internal__reventless_host_shell__loadShare__react_mf_2_dom__loadShare__.mjs_commonjs-proxy-BUE6rcGI.js";import"./__virtual_mf___mfe_internal__reventless_host_shell__loadShare__react__loadShare__.mjs_commonjs-proxy-CfkhEoF5.js";import"./_virtual_mf___mfe_internal__reventless_host_shell__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.mjs-hre-5-8f.js";import"./_virtual_mf___mfe_internal__reventless_host_shell__loadShare__react__loadShare__.mjs-CuPed97e.js";import"./_virtual_mf___mfe_internal__reventless_host_shell__loadShare__react_mf_2_dom__loadShare__.mjs-Df1FMNLk.js";function f(t){return o(m(t),r=>{let e=o(n(r,"label"),l),a=o(n(r,"lat"),d),i=o(n(r,"lng"),d);if(e!==void 0&&a!==void 0&&i!==void 0)return{label:e,lat:a,lng:i}})}function h(t){return c(s(p(t),[]),f)}function q(t){return{search:r=>u(fetch(t+"?q="+global.encodeURIComponent(r)).then(e=>e.ok?e.json().then(h):Promise.resolve([])),e=>Promise.resolve([]))}}export{f as decodeResult,h as decodeResults,q as fromEndpoint};