@tempoxyz/id 0.0.0-pr-704.sha-7c2e350 → 0.0.0-pr-704.sha-0cbffe0
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/{Connections-6BMLTJRD.js → Connections-D5RJSFJP.js} +2 -2
- package/dist/{Sheet-EWEYRZNJ.js → Sheet-FH4KRDI7.js} +1 -1
- package/dist/{chunk-BWC6KR4N.js → chunk-LUSCUHII.js} +1 -1
- package/dist/{chunk-N2AX3I52.js → chunk-PA3AETBC.js} +8 -5
- package/dist/{chunk-FR3Y7557.js → chunk-USONPD4G.js} +1 -1
- package/dist/commands/login.js +3 -3
- package/dist/commands/logout.js +3 -3
- package/dist/commands/whoami.js +3 -3
- package/dist/{dialog-B3MKOMPT.js → dialog-RR4ETIE7.js} +1 -1
- package/package.json +1 -1
|
@@ -1452,14 +1452,17 @@ async function authorize2(auth, options) {
|
|
|
1452
1452
|
}
|
|
1453
1453
|
async function poll(auth, options) {
|
|
1454
1454
|
const { deviceCode } = options;
|
|
1455
|
+
const challenged = options.challenged ?? options.accessKey === false;
|
|
1455
1456
|
if (options.accessKey === false)
|
|
1456
1457
|
return request2(auth, {
|
|
1458
|
+
challenged,
|
|
1457
1459
|
deviceCode,
|
|
1458
1460
|
key: void 0
|
|
1459
1461
|
});
|
|
1460
1462
|
const accessKey2 = own(options.accessKey);
|
|
1461
1463
|
if (!accessKey2) throw new AccessKeyRequiredError();
|
|
1462
1464
|
return request2(auth, {
|
|
1465
|
+
challenged,
|
|
1463
1466
|
deviceCode,
|
|
1464
1467
|
key: { accessKey: accessKey2, material: {} }
|
|
1465
1468
|
});
|
|
@@ -1763,7 +1766,7 @@ async function open(auth, options) {
|
|
|
1763
1766
|
throw new OriginError({ origin: window.location.origin, redirectUri });
|
|
1764
1767
|
if (mode === "popup" && options.mode !== "popup" && !activated()) {
|
|
1765
1768
|
const address2 = await abortable(read2(), { signal });
|
|
1766
|
-
const Sheet = await import("./Sheet-
|
|
1769
|
+
const Sheet = await import("./Sheet-FH4KRDI7.js");
|
|
1767
1770
|
return await new Promise((resolve3, reject) => {
|
|
1768
1771
|
const abort = () => {
|
|
1769
1772
|
close();
|
|
@@ -1814,7 +1817,7 @@ async function watch(auth, options) {
|
|
|
1814
1817
|
try {
|
|
1815
1818
|
return await new Promise(
|
|
1816
1819
|
(resolve3, reject) => {
|
|
1817
|
-
void import("./Sheet-
|
|
1820
|
+
void import("./Sheet-FH4KRDI7.js").then(
|
|
1818
1821
|
(Sheet) => {
|
|
1819
1822
|
if (settled) return;
|
|
1820
1823
|
unblock = Sheet.waiting({
|
|
@@ -1879,7 +1882,7 @@ function parse(url, options) {
|
|
|
1879
1882
|
async function frame(auth, options) {
|
|
1880
1883
|
const { redirectUri, signal, toUrl } = options;
|
|
1881
1884
|
const address2 = await abortable(options.address, { signal });
|
|
1882
|
-
const Sheet = await import("./Sheet-
|
|
1885
|
+
const Sheet = await import("./Sheet-FH4KRDI7.js");
|
|
1883
1886
|
signal?.throwIfAborted();
|
|
1884
1887
|
let close;
|
|
1885
1888
|
let abort;
|
|
@@ -3522,7 +3525,7 @@ var signInIds = /* @__PURE__ */ new Set([
|
|
|
3522
3525
|
function plugin() {
|
|
3523
3526
|
let loading;
|
|
3524
3527
|
function load() {
|
|
3525
|
-
loading ??= import("./dialog-
|
|
3528
|
+
loading ??= import("./dialog-RR4ETIE7.js").then((module) => module.dialog()).catch((error3) => {
|
|
3526
3529
|
loading = void 0;
|
|
3527
3530
|
throw error3;
|
|
3528
3531
|
});
|
|
@@ -4734,7 +4737,7 @@ function create4(options = {}) {
|
|
|
4734
4737
|
function connections2() {
|
|
4735
4738
|
if (!connectionsOptions)
|
|
4736
4739
|
return Promise.reject(new ConnectionsRequiredError());
|
|
4737
|
-
attached ??= import("./Connections-
|
|
4740
|
+
attached ??= import("./Connections-D5RJSFJP.js").then(
|
|
4738
4741
|
(module) => module.attach(config, connectionsOptions)
|
|
4739
4742
|
);
|
|
4740
4743
|
return attached;
|
package/dist/commands/login.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
env,
|
|
3
3
|
login
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-LUSCUHII.js";
|
|
5
|
+
import "../chunk-USONPD4G.js";
|
|
6
|
+
import "../chunk-PA3AETBC.js";
|
|
7
7
|
import "../chunk-YW5DUQT3.js";
|
|
8
8
|
import "../chunk-MLKGABMK.js";
|
|
9
9
|
|
package/dist/commands/logout.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
env,
|
|
3
3
|
remove
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-LUSCUHII.js";
|
|
5
|
+
import "../chunk-USONPD4G.js";
|
|
6
|
+
import "../chunk-PA3AETBC.js";
|
|
7
7
|
import "../chunk-YW5DUQT3.js";
|
|
8
8
|
import "../chunk-MLKGABMK.js";
|
|
9
9
|
|
package/dist/commands/whoami.js
CHANGED
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
env,
|
|
3
3
|
signedOut,
|
|
4
4
|
whoami
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-LUSCUHII.js";
|
|
6
|
+
import "../chunk-USONPD4G.js";
|
|
7
|
+
import "../chunk-PA3AETBC.js";
|
|
8
8
|
import "../chunk-YW5DUQT3.js";
|
|
9
9
|
import "../chunk-MLKGABMK.js";
|
|
10
10
|
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"node": ">=24.21"
|
|
10
10
|
},
|
|
11
11
|
"name": "@tempoxyz/id",
|
|
12
|
-
"version": "0.0.0-pr-704.sha-
|
|
12
|
+
"version": "0.0.0-pr-704.sha-0cbffe0",
|
|
13
13
|
"description": "The tempo-id CLI: sign in to Tempo ID, and call its API and the Admin API.",
|
|
14
14
|
"type": "module",
|
|
15
15
|
"bin": {
|