@nibgate/sdk 0.2.40 → 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 +8 -0
- package/dist/nibgate.js.map +2 -2
- package/dist/nibgate.min.js +1 -1
- package/dist/nibgate.min.js.map +2 -2
- package/package.json +1 -1
- package/src/browser/default-ui.js +8 -0
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();
|