@authme/util 2.8.55 → 2.8.57
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/index.cjs.js +9 -7
- package/index.esm.js +9 -7
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -15252,14 +15252,14 @@ function debugTools() {
|
|
|
15252
15252
|
const info = `{"behavior":<span style="color:green;">"${behavior}"</span>, "start": ${interiaTimeObj[behavior].start}, "duration": ${interiaTimeObj[behavior].duration}, "end": ${interiaTimeObj[behavior].end}}`;
|
|
15253
15253
|
// const info = `<span style="color:green;">${behavior}</span>: Duration: ${interiaTimeObj[behavior].duration}s`;
|
|
15254
15254
|
if (dom) {
|
|
15255
|
-
dom.
|
|
15255
|
+
dom.textContent = info;
|
|
15256
15256
|
return;
|
|
15257
15257
|
}
|
|
15258
15258
|
const debugUI = document.getElementById('debug-ui');
|
|
15259
15259
|
const div = document.createElement('div');
|
|
15260
15260
|
div.setAttribute('class', 'debug-ui-item');
|
|
15261
15261
|
div.setAttribute('id', `debug-ui-${behavior}`);
|
|
15262
|
-
div.
|
|
15262
|
+
div.textContent = info;
|
|
15263
15263
|
debugUI.appendChild(div);
|
|
15264
15264
|
}
|
|
15265
15265
|
function functionRunTime() {
|
|
@@ -34376,7 +34376,8 @@ const uploadModal = arg => {
|
|
|
34376
34376
|
uiThemeText(domTitle, uiThemeConfig.titleTwo);
|
|
34377
34377
|
uiThemeText(domMessage, uiThemeConfig.bodyOne);
|
|
34378
34378
|
if (arg.type === 'success') {
|
|
34379
|
-
domIcon.
|
|
34379
|
+
domIcon.textContent = '';
|
|
34380
|
+
domIcon.insertAdjacentHTML('beforeend', `<svg width="96" height="96" viewBox="0 0 96 96" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
34380
34381
|
<rect width="96" height="96" rx="48" fill="${uiThemeConfig.uploadCompleteView.backgroundColor}" fill-opacity="${uiThemeConfig.uploadCompleteView.backgroundOpacity}" />
|
|
34381
34382
|
<g clip-path="url(#clip0_success)">
|
|
34382
34383
|
<path d="M32 51L43 62L67 38" stroke="${uiThemeConfig.uploadCompleteView.contentColor}" stroke-opacity="${uiThemeConfig.uploadCompleteView.contentOpacity}" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
@@ -34386,10 +34387,11 @@ const uploadModal = arg => {
|
|
|
34386
34387
|
<rect width="48" height="48" fill="white" transform="translate(24 24)"/>
|
|
34387
34388
|
</clipPath>
|
|
34388
34389
|
</defs>
|
|
34389
|
-
</svg
|
|
34390
|
+
</svg>`);
|
|
34390
34391
|
}
|
|
34391
34392
|
if (arg.type === 'error') {
|
|
34392
|
-
domIcon.
|
|
34393
|
+
domIcon.textContent = '';
|
|
34394
|
+
domIcon.insertAdjacentHTML('beforeend', `<svg width="96" height="96" viewBox="0 0 96 96" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
34393
34395
|
<rect width="96" height="96" rx="48" fill="${uiThemeConfig.uploadIncompleteView.backgroundColor}" fill-opacity="${uiThemeConfig.uploadIncompleteView.backgroundOpacity}"/>
|
|
34394
34396
|
<g clip-path="url(#clip0_error)">
|
|
34395
34397
|
<path d="M62 34L34 62" stroke="${uiThemeConfig.uploadIncompleteView.contentColor}" stroke-opacity="${uiThemeConfig.uploadIncompleteView.contentOpacity}" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
@@ -34401,7 +34403,7 @@ const uploadModal = arg => {
|
|
|
34401
34403
|
</clipPath>
|
|
34402
34404
|
</defs>
|
|
34403
34405
|
</svg>
|
|
34404
|
-
|
|
34406
|
+
`);
|
|
34405
34407
|
}
|
|
34406
34408
|
if (arg.type === 'success') {
|
|
34407
34409
|
domTitle.innerText = arg.titleSuccess || '';
|
|
@@ -34911,7 +34913,7 @@ const themeConfigDefault = {
|
|
|
34911
34913
|
};
|
|
34912
34914
|
|
|
34913
34915
|
var name = "authme/sdk";
|
|
34914
|
-
var version$1 = "2.8.
|
|
34916
|
+
var version$1 = "2.8.57";
|
|
34915
34917
|
var packageInfo = {
|
|
34916
34918
|
name: name,
|
|
34917
34919
|
version: version$1};
|
package/index.esm.js
CHANGED
|
@@ -15250,14 +15250,14 @@ function debugTools() {
|
|
|
15250
15250
|
const info = `{"behavior":<span style="color:green;">"${behavior}"</span>, "start": ${interiaTimeObj[behavior].start}, "duration": ${interiaTimeObj[behavior].duration}, "end": ${interiaTimeObj[behavior].end}}`;
|
|
15251
15251
|
// const info = `<span style="color:green;">${behavior}</span>: Duration: ${interiaTimeObj[behavior].duration}s`;
|
|
15252
15252
|
if (dom) {
|
|
15253
|
-
dom.
|
|
15253
|
+
dom.textContent = info;
|
|
15254
15254
|
return;
|
|
15255
15255
|
}
|
|
15256
15256
|
const debugUI = document.getElementById('debug-ui');
|
|
15257
15257
|
const div = document.createElement('div');
|
|
15258
15258
|
div.setAttribute('class', 'debug-ui-item');
|
|
15259
15259
|
div.setAttribute('id', `debug-ui-${behavior}`);
|
|
15260
|
-
div.
|
|
15260
|
+
div.textContent = info;
|
|
15261
15261
|
debugUI.appendChild(div);
|
|
15262
15262
|
}
|
|
15263
15263
|
function functionRunTime() {
|
|
@@ -34374,7 +34374,8 @@ const uploadModal = arg => {
|
|
|
34374
34374
|
uiThemeText(domTitle, uiThemeConfig.titleTwo);
|
|
34375
34375
|
uiThemeText(domMessage, uiThemeConfig.bodyOne);
|
|
34376
34376
|
if (arg.type === 'success') {
|
|
34377
|
-
domIcon.
|
|
34377
|
+
domIcon.textContent = '';
|
|
34378
|
+
domIcon.insertAdjacentHTML('beforeend', `<svg width="96" height="96" viewBox="0 0 96 96" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
34378
34379
|
<rect width="96" height="96" rx="48" fill="${uiThemeConfig.uploadCompleteView.backgroundColor}" fill-opacity="${uiThemeConfig.uploadCompleteView.backgroundOpacity}" />
|
|
34379
34380
|
<g clip-path="url(#clip0_success)">
|
|
34380
34381
|
<path d="M32 51L43 62L67 38" stroke="${uiThemeConfig.uploadCompleteView.contentColor}" stroke-opacity="${uiThemeConfig.uploadCompleteView.contentOpacity}" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
@@ -34384,10 +34385,11 @@ const uploadModal = arg => {
|
|
|
34384
34385
|
<rect width="48" height="48" fill="white" transform="translate(24 24)"/>
|
|
34385
34386
|
</clipPath>
|
|
34386
34387
|
</defs>
|
|
34387
|
-
</svg
|
|
34388
|
+
</svg>`);
|
|
34388
34389
|
}
|
|
34389
34390
|
if (arg.type === 'error') {
|
|
34390
|
-
domIcon.
|
|
34391
|
+
domIcon.textContent = '';
|
|
34392
|
+
domIcon.insertAdjacentHTML('beforeend', `<svg width="96" height="96" viewBox="0 0 96 96" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
34391
34393
|
<rect width="96" height="96" rx="48" fill="${uiThemeConfig.uploadIncompleteView.backgroundColor}" fill-opacity="${uiThemeConfig.uploadIncompleteView.backgroundOpacity}"/>
|
|
34392
34394
|
<g clip-path="url(#clip0_error)">
|
|
34393
34395
|
<path d="M62 34L34 62" stroke="${uiThemeConfig.uploadIncompleteView.contentColor}" stroke-opacity="${uiThemeConfig.uploadIncompleteView.contentOpacity}" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
@@ -34399,7 +34401,7 @@ const uploadModal = arg => {
|
|
|
34399
34401
|
</clipPath>
|
|
34400
34402
|
</defs>
|
|
34401
34403
|
</svg>
|
|
34402
|
-
|
|
34404
|
+
`);
|
|
34403
34405
|
}
|
|
34404
34406
|
if (arg.type === 'success') {
|
|
34405
34407
|
domTitle.innerText = arg.titleSuccess || '';
|
|
@@ -34909,7 +34911,7 @@ const themeConfigDefault = {
|
|
|
34909
34911
|
};
|
|
34910
34912
|
|
|
34911
34913
|
var name = "authme/sdk";
|
|
34912
|
-
var version$1 = "2.8.
|
|
34914
|
+
var version$1 = "2.8.57";
|
|
34913
34915
|
var packageInfo = {
|
|
34914
34916
|
name: name,
|
|
34915
34917
|
version: version$1};
|