azot 5.0.0-alpha.7 → 5.0.0-alpha.8
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/main.js +1 -1
- package/dist/main.mjs +1 -1
- package/package.json +1 -1
- package/types/extension.d.ts +1 -1
package/dist/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=`Streamyx`in globalThis?globalThis.Streamyx:{},t=`Azot`in globalThis?globalThis.Azot:{};if(!globalThis.Azot&&globalThis.Streamyx&&(globalThis.Azot=globalThis.Streamyx),globalThis.Azot){if(!globalThis.Azot.input){let e=async(e,t)=>{let n=t?.fields??{answer:{label:e}};return await globalThis.Azot.prompt
|
|
1
|
+
const e=`Streamyx`in globalThis?globalThis.Streamyx:{},t=`Azot`in globalThis?globalThis.Azot:{};if(!globalThis.Azot&&globalThis.Streamyx&&(globalThis.Azot=globalThis.Streamyx),globalThis.Azot){if(!globalThis.Azot.input){let e=async(e,t)=>{let n=t?.fields??{answer:{label:e}};return await globalThis.Azot.prompt({title:t?.title,description:e,fields:n})};globalThis.Azot.input=e}globalThis.Azot.defineExtension||(globalThis.Azot.defineExtension=e=>e)}var n={...e,...t};module.exports=n;
|
package/dist/main.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=`Streamyx`in globalThis?globalThis.Streamyx:{},t=`Azot`in globalThis?globalThis.Azot:{};if(!globalThis.Azot&&globalThis.Streamyx&&(globalThis.Azot=globalThis.Streamyx),globalThis.Azot){if(!globalThis.Azot.input){let e=async(e,t)=>{let n=t?.fields??{answer:{label:e}};return await globalThis.Azot.prompt
|
|
1
|
+
const e=`Streamyx`in globalThis?globalThis.Streamyx:{},t=`Azot`in globalThis?globalThis.Azot:{};if(!globalThis.Azot&&globalThis.Streamyx&&(globalThis.Azot=globalThis.Streamyx),globalThis.Azot){if(!globalThis.Azot.input){let e=async(e,t)=>{let n=t?.fields??{answer:{label:e}};return await globalThis.Azot.prompt({title:t?.title,description:e,fields:n})};globalThis.Azot.input=e}globalThis.Azot.defineExtension||(globalThis.Azot.defineExtension=e=>e)}var n={...e,...t};export{n as default};
|
package/package.json
CHANGED
package/types/extension.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export interface Extension {
|
|
|
20
20
|
init?(): void | Promise<void>;
|
|
21
21
|
|
|
22
22
|
isAuthenticated?(): Promise<boolean>;
|
|
23
|
-
login?(username?: string
|
|
23
|
+
login?(credentials: { username?: string; password?: string; otp?: string }): Promise<void>;
|
|
24
24
|
logout?(): Promise<void>;
|
|
25
25
|
|
|
26
26
|
/**
|