@sparkvault/sdk 1.10.2 → 1.11.0
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/index.d.ts +2 -0
- package/dist/sparkvault.cjs.js +3 -1
- package/dist/sparkvault.cjs.js.map +1 -1
- package/dist/sparkvault.esm.js +3 -1
- package/dist/sparkvault.esm.js.map +1 -1
- package/dist/sparkvault.js +1 -1
- package/dist/sparkvault.js.map +1 -1
- package/dist/vaults/upload/types.d.ts +2 -0
- package/package.json +1 -1
package/dist/sparkvault.esm.js
CHANGED
|
@@ -8000,6 +8000,7 @@ class UploadRenderer {
|
|
|
8000
8000
|
from their SparkVault dashboard. Save the Ingot ID above for your records.
|
|
8001
8001
|
</p>
|
|
8002
8002
|
|
|
8003
|
+
${this.options.hideUploadAnother ? '' : `
|
|
8003
8004
|
<button class="svu-btn svu-btn-secondary">
|
|
8004
8005
|
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
8005
8006
|
<path d="M1 4v6h6M23 20v-6h-6"/>
|
|
@@ -8007,6 +8008,7 @@ class UploadRenderer {
|
|
|
8007
8008
|
</svg>
|
|
8008
8009
|
Upload Another File
|
|
8009
8010
|
</button>
|
|
8011
|
+
`}
|
|
8010
8012
|
`;
|
|
8011
8013
|
// Copy button handler
|
|
8012
8014
|
const copyBtn = div.querySelector('.svu-copy-btn');
|
|
@@ -8015,7 +8017,7 @@ class UploadRenderer {
|
|
|
8015
8017
|
navigator.clipboard.writeText(result.ingotId);
|
|
8016
8018
|
});
|
|
8017
8019
|
}
|
|
8018
|
-
// Upload another handler
|
|
8020
|
+
// Upload another handler (only if button exists)
|
|
8019
8021
|
const uploadAnotherBtn = div.querySelector('.svu-btn-secondary');
|
|
8020
8022
|
if (uploadAnotherBtn) {
|
|
8021
8023
|
uploadAnotherBtn.addEventListener('click', () => {
|