@tempoxyz/id 0.0.0-pr-682.sha-d0df8be → 0.0.0-pr-682.sha-b7dad3f
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-RTGUTHPP.js → Connections-PATZBG2T.js} +2 -2
- package/dist/{Sheet-IFKNYXEI.js → Sheet-M7HBJDX7.js} +1 -1
- package/dist/{chunk-KUGGMQNM.js → chunk-3ITS3YGB.js} +1 -1
- package/dist/{chunk-GOY75KTX.js → chunk-5CPFER3V.js} +1 -1
- package/dist/{chunk-HU7IKUQX.js → chunk-ETZ5GMXY.js} +15 -10
- package/dist/commands/login.js +3 -3
- package/dist/commands/logout.js +3 -3
- package/dist/commands/whoami.js +3 -3
- package/dist/{dialog-4273L5TD.js → dialog-LRPUKVRZ.js} +1 -1
- package/package.json +1 -1
|
@@ -1658,7 +1658,7 @@ async function open(auth, options) {
|
|
|
1658
1658
|
throw new OriginError({ origin: window.location.origin, redirectUri });
|
|
1659
1659
|
if (mode === "popup" && options.mode !== "popup" && !activated()) {
|
|
1660
1660
|
const address2 = await abortable(read2(), { signal });
|
|
1661
|
-
const Sheet = await import("./Sheet-
|
|
1661
|
+
const Sheet = await import("./Sheet-M7HBJDX7.js");
|
|
1662
1662
|
return await new Promise((resolve3, reject) => {
|
|
1663
1663
|
const abort = () => {
|
|
1664
1664
|
close();
|
|
@@ -1709,7 +1709,7 @@ async function watch(auth, options) {
|
|
|
1709
1709
|
try {
|
|
1710
1710
|
return await new Promise(
|
|
1711
1711
|
(resolve3, reject) => {
|
|
1712
|
-
void import("./Sheet-
|
|
1712
|
+
void import("./Sheet-M7HBJDX7.js").then(
|
|
1713
1713
|
(Sheet) => {
|
|
1714
1714
|
if (settled) return;
|
|
1715
1715
|
unblock = Sheet.waiting({
|
|
@@ -1774,7 +1774,7 @@ function parse(url, options) {
|
|
|
1774
1774
|
async function frame(auth, options) {
|
|
1775
1775
|
const { redirectUri, signal, toUrl } = options;
|
|
1776
1776
|
const address2 = await abortable(options.address, { signal });
|
|
1777
|
-
const Sheet = await import("./Sheet-
|
|
1777
|
+
const Sheet = await import("./Sheet-M7HBJDX7.js");
|
|
1778
1778
|
signal?.throwIfAborted();
|
|
1779
1779
|
let close;
|
|
1780
1780
|
let abort;
|
|
@@ -2973,11 +2973,15 @@ async function verify(auth, options) {
|
|
|
2973
2973
|
}
|
|
2974
2974
|
})
|
|
2975
2975
|
);
|
|
2976
|
-
const body = await
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2976
|
+
const { body, unlisted: unlisted2 } = await (async () => {
|
|
2977
|
+
try {
|
|
2978
|
+
return { body: await send2(requested !== void 0), unlisted: false };
|
|
2979
|
+
} catch (error3) {
|
|
2980
|
+
if (!requested || !(error3 instanceof RequestError) || error3.signedIn || !unlisted(error3, { field: "account.chain" }))
|
|
2981
|
+
throw error3;
|
|
2982
|
+
return { body: await send2(false), unlisted: true };
|
|
2983
|
+
}
|
|
2984
|
+
})();
|
|
2981
2985
|
if ("step" in body)
|
|
2982
2986
|
return { step: { link: body.step.link, type: body.step.type } };
|
|
2983
2987
|
const authorization2 = await complete(auth, {
|
|
@@ -2986,6 +2990,7 @@ async function verify(auth, options) {
|
|
|
2986
2990
|
key: prepared.key,
|
|
2987
2991
|
request: prepared.request
|
|
2988
2992
|
});
|
|
2993
|
+
if (unlisted2) return { ...authorization2, account: void 0 };
|
|
2989
2994
|
if (!requested || !body.tempo) return authorization2;
|
|
2990
2995
|
const [first] = body.tempo;
|
|
2991
2996
|
return {
|
|
@@ -3327,7 +3332,7 @@ var signInIds = /* @__PURE__ */ new Set([
|
|
|
3327
3332
|
function plugin() {
|
|
3328
3333
|
let loading;
|
|
3329
3334
|
function load() {
|
|
3330
|
-
loading ??= import("./dialog-
|
|
3335
|
+
loading ??= import("./dialog-LRPUKVRZ.js").then((module) => module.dialog()).catch((error3) => {
|
|
3331
3336
|
loading = void 0;
|
|
3332
3337
|
throw error3;
|
|
3333
3338
|
});
|
|
@@ -4535,7 +4540,7 @@ function create4(options = {}) {
|
|
|
4535
4540
|
function connections2() {
|
|
4536
4541
|
if (!connectionsOptions)
|
|
4537
4542
|
return Promise.reject(new ConnectionsRequiredError());
|
|
4538
|
-
attached ??= import("./Connections-
|
|
4543
|
+
attached ??= import("./Connections-PATZBG2T.js").then(
|
|
4539
4544
|
(module) => module.attach(config, connectionsOptions)
|
|
4540
4545
|
);
|
|
4541
4546
|
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-3ITS3YGB.js";
|
|
5
|
+
import "../chunk-5CPFER3V.js";
|
|
6
|
+
import "../chunk-ETZ5GMXY.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-3ITS3YGB.js";
|
|
5
|
+
import "../chunk-5CPFER3V.js";
|
|
6
|
+
import "../chunk-ETZ5GMXY.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-3ITS3YGB.js";
|
|
6
|
+
import "../chunk-5CPFER3V.js";
|
|
7
|
+
import "../chunk-ETZ5GMXY.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-682.sha-
|
|
12
|
+
"version": "0.0.0-pr-682.sha-b7dad3f",
|
|
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": {
|