@nibgate/sdk 0.2.39 → 0.2.41

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/dist/nibgate.js CHANGED
@@ -27722,6 +27722,14 @@ ${prettyStateOverride(stateOverride)}`;
27722
27722
  ctrl = m.createOnchainRating(resource, {
27723
27723
  autoMount: false,
27724
27724
  contentId: options.contentId || "0x" + (resource.id || "").replace(/-/g, ""),
27725
+ indexUrl: options.indexUrl,
27726
+ siteId: options.siteId,
27727
+ token: options.token,
27728
+ indexHeaders: options.indexHeaders,
27729
+ actor: options.actor,
27730
+ paymentId: options.paymentId,
27731
+ getPaymentId: options.getPaymentId,
27732
+ getUnlockRef: options.getUnlockRef,
27725
27733
  onRated: (r) => {
27726
27734
  setStatus("Rating saved", theme.accent, 3e3);
27727
27735
  refresh();
@@ -27749,10 +27757,9 @@ ${prettyStateOverride(stateOverride)}`;
27749
27757
  <div style="display:flex;gap:12px;margin-bottom:20px">
27750
27758
  <div data-gw-wallet-card style="flex:1;background:${theme.bg};border:1px solid ${theme.border};border-radius:12px;padding:16px">
27751
27759
  <div style="display:flex;align-items:center;justify-content:space-between;margin-bottom:4px">
27752
- <div></div>
27760
+ <div data-gw-wallet-addr class="nui-mono" style="font-size:13px;color:${theme.muted}"></div>
27753
27761
  <span data-gw-connect-label style="font-size:12px;font-weight:600;color:${theme.accent}">Connected</span>
27754
27762
  </div>
27755
- <div data-gw-wallet-addr class="nui-mono" style="font-size:13px;color:${theme.muted};margin-bottom:4px"></div>
27756
27763
  <div data-gw-wallet-balance class="nui-mono" style="font-size:24px;font-weight:700;color:${theme.fg}">\u2014</div>
27757
27764
  </div>
27758
27765
  <div style="flex:1;background:${theme.bg};border:1px solid ${theme.border};border-radius:12px;padding:16px">