zh-web-sdk 2.3.0 → 2.3.2
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 +151 -55
- package/dist/index.js +1 -1
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
- package/src/index.tsx +2 -1
package/package.json
CHANGED
package/src/index.tsx
CHANGED
|
@@ -280,11 +280,12 @@ export class ZeroHashSDK implements IZeroHashSDK {
|
|
|
280
280
|
const shadowRoot = root.attachShadow({ mode: "closed" });
|
|
281
281
|
|
|
282
282
|
// Render the React modal
|
|
283
|
+
const urlWithIdentifier = new URL(appIdentifier, _zeroHashAppsURL).href
|
|
283
284
|
ReactDOM.createRoot(shadowRoot).render(
|
|
284
285
|
<Provider store={store}>
|
|
285
286
|
<AppContainer
|
|
286
287
|
appIdentifier={appIdentifier}
|
|
287
|
-
zeroHashAppURL={
|
|
288
|
+
zeroHashAppURL={urlWithIdentifier}
|
|
288
289
|
/>
|
|
289
290
|
</Provider>
|
|
290
291
|
);
|