bolt-devtools
Advanced tools
Comparing version
@@ -1,6 +0,1 @@ | ||
import { p as patchBrowser, g as globals, b as bootstrapLazy } from './core-68f33d56.js'; | ||
patchBrowser().then(options => { | ||
globals(); | ||
return bootstrapLazy([["bolt-app-details",[[1,"bolt-app-details"]]],["bolt-kyc",[[1,"bolt-kyc"]]],["bolt-limits",[[1,"bolt-limits"]]],["bolt-meta",[[1,"bolt-meta"]]],["bolt-registration",[[1,"bolt-registration",{"email":[32],"error":[32],"isSubmitting":[32],"message":[32],"username":[32]}]]],["bolt-dev-tools",[[1,"bolt-dev-tools",{"isOpen":[32],"activeComponent":[32]}]]]], options); | ||
}); | ||
import{p as t,b as e}from"./p-97e826dc.js";t().then(t=>e([["p-mvgfopyi",[[1,"bolt-dev-tools",{isOpen:[32],activeComponent:[32]}],[1,"bolt-app-details"],[1,"bolt-limits"],[1,"bolt-meta"],[1,"bolt-registration",{email:[32],error:[32],isSubmitting:[32],message:[32],username:[32]}]]]],t)); |
{ | ||
"entries": [ | ||
"components/app-details/app-details.js", | ||
"components/dev-tools/dev-tools.js", | ||
"components/kyc/kyc.js", | ||
"components/app-details/app-details.js", | ||
"components/limits/limits.js", | ||
@@ -12,4 +11,4 @@ "components/meta/meta.js", | ||
"name": "@stencil/core", | ||
"version": "1.8.8", | ||
"typescriptVersion": "3.7.5" | ||
"version": "1.8.1", | ||
"typescriptVersion": "3.7.2" | ||
}, | ||
@@ -16,0 +15,0 @@ "collections": [], |
import { Host, h } from "@stencil/core"; | ||
export class AppDetails { | ||
render() { | ||
var _a, _b, _c, _d, _e; | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j; | ||
return (h(Host, null, | ||
h("div", { class: "key-values" }, | ||
h("h3", null, "Theme version"), | ||
h("p", null, ((_b = (_a = window.appInfo) === null || _a === void 0 ? void 0 : _a.version) === null || _b === void 0 ? void 0 : _b.theme) || 'Unknown')), | ||
h("div", { class: "key-values" }, | ||
h("h3", null, "Bolt version"), | ||
h("p", null, ((_d = (_c = window.appInfo) === null || _c === void 0 ? void 0 : _c.version) === null || _d === void 0 ? void 0 : _d.bolt) || 'Unknown')), | ||
h("div", { class: "key-values" }, | ||
h("h3", null, "Site code"), | ||
h("p", null, ((_a = window.config) === null || _a === void 0 ? void 0 : _a.siteCode) || 'Unknown')), | ||
h("p", null, ((_e = window.config) === null || _e === void 0 ? void 0 : _e.siteCode) || 'Unknown')), | ||
h("div", { class: "key-values" }, | ||
h("h3", null, "API Client ID"), | ||
h("p", null, ((_c = (_b = window.config) === null || _b === void 0 ? void 0 : _b.api) === null || _c === void 0 ? void 0 : _c.client) || 'Unknown')), | ||
h("p", null, ((_g = (_f = window.config) === null || _f === void 0 ? void 0 : _f.api) === null || _g === void 0 ? void 0 : _g.client) || 'Unknown')), | ||
h("div", { class: "key-values" }, | ||
h("h3", null, "Auth Client ID"), | ||
h("p", null, ((_e = (_d = window.config) === null || _d === void 0 ? void 0 : _d.auth) === null || _e === void 0 ? void 0 : _e.clientId) || 'Unknown')))); | ||
h("p", null, ((_j = (_h = window.config) === null || _h === void 0 ? void 0 : _h.auth) === null || _j === void 0 ? void 0 : _j.clientId) || 'Unknown')))); | ||
} | ||
@@ -16,0 +22,0 @@ static get is() { return "bolt-app-details"; } |
@@ -24,5 +24,3 @@ import { Host, h } from "@stencil/core"; | ||
h("li", null, | ||
h("button", { class: this.activeComponent === 'register' ? 'active' : '', onClick: this.onNav.bind(this, 'register') }, "Register")), | ||
h("li", null, | ||
h("button", { class: this.activeComponent === 'kyc' ? 'active' : '', onClick: this.onNav.bind(this, 'kyc') }, "KYC"))), | ||
h("button", { class: this.activeComponent === 'register' ? 'active' : '', onClick: this.onNav.bind(this, 'register') }, "Register"))), | ||
h("div", { class: "container" }, | ||
@@ -32,4 +30,3 @@ this.activeComponent === 'appDetails' ? h("bolt-app-details", null) : null, | ||
this.activeComponent === 'meta' ? h("bolt-meta", null) : null, | ||
this.activeComponent === 'register' ? h("bolt-registration", null) : null, | ||
this.activeComponent === 'kyc' ? h("bolt-kyc", null) : null))); | ||
this.activeComponent === 'register' ? h("bolt-registration", null) : null))); | ||
} | ||
@@ -36,0 +33,0 @@ static get is() { return "bolt-dev-tools"; } |
@@ -15,3 +15,2 @@ /* eslint-disable */ | ||
interface BoltDevTools {} | ||
interface BoltKyc {} | ||
interface BoltLimits {} | ||
@@ -37,8 +36,2 @@ interface BoltMeta {} | ||
interface HTMLBoltKycElement extends Components.BoltKyc, HTMLStencilElement {} | ||
var HTMLBoltKycElement: { | ||
prototype: HTMLBoltKycElement; | ||
new (): HTMLBoltKycElement; | ||
}; | ||
interface HTMLBoltLimitsElement extends Components.BoltLimits, HTMLStencilElement {} | ||
@@ -64,3 +57,2 @@ var HTMLBoltLimitsElement: { | ||
'bolt-dev-tools': HTMLBoltDevToolsElement; | ||
'bolt-kyc': HTMLBoltKycElement; | ||
'bolt-limits': HTMLBoltLimitsElement; | ||
@@ -75,3 +67,2 @@ 'bolt-meta': HTMLBoltMetaElement; | ||
interface BoltDevTools {} | ||
interface BoltKyc {} | ||
interface BoltLimits {} | ||
@@ -84,3 +75,2 @@ interface BoltMeta {} | ||
'bolt-dev-tools': BoltDevTools; | ||
'bolt-kyc': BoltKyc; | ||
'bolt-limits': BoltLimits; | ||
@@ -100,3 +90,2 @@ 'bolt-meta': BoltMeta; | ||
'bolt-dev-tools': LocalJSX.BoltDevTools & JSXBase.HTMLAttributes<HTMLBoltDevToolsElement>; | ||
'bolt-kyc': LocalJSX.BoltKyc & JSXBase.HTMLAttributes<HTMLBoltKycElement>; | ||
'bolt-limits': LocalJSX.BoltLimits & JSXBase.HTMLAttributes<HTMLBoltLimitsElement>; | ||
@@ -103,0 +92,0 @@ 'bolt-meta': LocalJSX.BoltMeta & JSXBase.HTMLAttributes<HTMLBoltMetaElement>; |
declare global { | ||
interface Window { | ||
config: any; | ||
appInfo: any; | ||
} | ||
@@ -5,0 +6,0 @@ } |
@@ -12,3 +12,3 @@ | ||
} | ||
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>; | ||
export declare function defineCustomElements(win: Window, opts?: CustomElementsDefineOptions): Promise<void>; | ||
export declare function applyPolyfills(): Promise<void>; |
{ | ||
"name": "bolt-devtools", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"description": "Stencil Component Starter", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1117067
86.09%82
60.78%20023
34.16%14
100%17
325%