@nibgate/sdk 0.2.29 → 0.2.30

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nibgate/sdk",
3
- "version": "0.2.29",
3
+ "version": "0.2.30",
4
4
  "description": "Framework-agnostic browser and server package for creator-owned gated content, unlock events, and receipts.",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -251,7 +251,7 @@ export function renderDefaultUnlockUI(container, resource, options = {}) {
251
251
  balEl = el('span', { 'data-nibgate-bal': '', style: 'margin-left:4px;cursor:pointer;white-space:nowrap;color:var(--accent,#7c9a6d)' },
252
252
  '\u00b7\u00a0<span data-nibgate-bal-txt></span>\u00a0|\u00a0' + depIcon());
253
253
  balEl.addEventListener('click', showDeposit);
254
- if (label.parentNode) label.parentNode.insertBefore(balEl, label.nextSibling);
254
+ label.appendChild(balEl);
255
255
  return balEl;
256
256
  }
257
257