@sparkvault/sdk 1.10.2 → 1.11.1

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.
@@ -2076,9 +2076,7 @@ function getStyles(options) {
2076
2076
 
2077
2077
  .sv-footer {
2078
2078
  padding: 10px 20px;
2079
- border-top: 1px solid ${tokens.border};
2080
2079
  text-align: center;
2081
- background: ${tokens.bgSubtle};
2082
2080
  flex-shrink: 0;
2083
2081
  }
2084
2082
 
@@ -8000,6 +7998,7 @@ class UploadRenderer {
8000
7998
  from their SparkVault dashboard. Save the Ingot ID above for your records.
8001
7999
  </p>
8002
8000
 
8001
+ ${this.options.hideUploadAnother ? '' : `
8003
8002
  <button class="svu-btn svu-btn-secondary">
8004
8003
  <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
8005
8004
  <path d="M1 4v6h6M23 20v-6h-6"/>
@@ -8007,6 +8006,7 @@ class UploadRenderer {
8007
8006
  </svg>
8008
8007
  Upload Another File
8009
8008
  </button>
8009
+ `}
8010
8010
  `;
8011
8011
  // Copy button handler
8012
8012
  const copyBtn = div.querySelector('.svu-copy-btn');
@@ -8015,7 +8015,7 @@ class UploadRenderer {
8015
8015
  navigator.clipboard.writeText(result.ingotId);
8016
8016
  });
8017
8017
  }
8018
- // Upload another handler
8018
+ // Upload another handler (only if button exists)
8019
8019
  const uploadAnotherBtn = div.querySelector('.svu-btn-secondary');
8020
8020
  if (uploadAnotherBtn) {
8021
8021
  uploadAnotherBtn.addEventListener('click', () => {