@tempoxyz/id 0.0.0-pr-704.sha-99cc9fa → 0.0.0-pr-704.sha-6a3fa61
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-JHIA675U.js → Connections-ONCDPK23.js} +2 -2
- package/dist/{Sheet-HX3XM5UC.js → Sheet-2L465IRV.js} +1 -1
- package/dist/{chunk-ZIB573K3.js → chunk-FU2TDVJS.js} +1 -1
- package/dist/{chunk-Y3YY6MPD.js → chunk-IBZUNV2Y.js} +13 -13
- package/dist/{chunk-RDVT6HBL.js → chunk-U2KJB64X.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-KA5WF34W.js → dialog-4KIVDDJQ.js} +1 -1
- package/package.json +1 -1
|
@@ -239,13 +239,7 @@ function authorization(body, options) {
|
|
|
239
239
|
}
|
|
240
240
|
function challengeSignature(body) {
|
|
241
241
|
if (!body.account || !body.challenge_signature) return {};
|
|
242
|
-
return {
|
|
243
|
-
challengeSignature: {
|
|
244
|
-
account: body.account,
|
|
245
|
-
chainId: body.challenge_signature.chain_id,
|
|
246
|
-
signature: body.challenge_signature.signature
|
|
247
|
-
}
|
|
248
|
-
};
|
|
242
|
+
return { address: body.account, challengeSignature: body.challenge_signature };
|
|
249
243
|
}
|
|
250
244
|
async function json(response) {
|
|
251
245
|
const body = await response.json().catch(() => ({}));
|
|
@@ -1260,6 +1254,7 @@ async function signIn(auth, options) {
|
|
|
1260
1254
|
return authorization(
|
|
1261
1255
|
{
|
|
1262
1256
|
account: body.account,
|
|
1257
|
+
...body.challenge_signature ? { challenge_signature: body.challenge_signature } : {},
|
|
1263
1258
|
key_authorization: body.key_authorization,
|
|
1264
1259
|
tokens: tokens3
|
|
1265
1260
|
},
|
|
@@ -1465,6 +1460,7 @@ async function request2(auth, options) {
|
|
|
1465
1460
|
const authorization2 = key ? authorization(
|
|
1466
1461
|
{
|
|
1467
1462
|
account: body.account,
|
|
1463
|
+
...body.challenge_signature ? { challenge_signature: body.challenge_signature } : {},
|
|
1468
1464
|
key_authorization: body.key_authorization,
|
|
1469
1465
|
tokens: tokens(body)
|
|
1470
1466
|
},
|
|
@@ -1738,7 +1734,7 @@ async function open(auth, options) {
|
|
|
1738
1734
|
throw new OriginError({ origin: window.location.origin, redirectUri });
|
|
1739
1735
|
if (mode === "popup" && options.mode !== "popup" && !activated()) {
|
|
1740
1736
|
const address2 = await abortable(read2(), { signal });
|
|
1741
|
-
const Sheet = await import("./Sheet-
|
|
1737
|
+
const Sheet = await import("./Sheet-2L465IRV.js");
|
|
1742
1738
|
return await new Promise((resolve3, reject) => {
|
|
1743
1739
|
const abort = () => {
|
|
1744
1740
|
close();
|
|
@@ -1789,7 +1785,7 @@ async function watch(auth, options) {
|
|
|
1789
1785
|
try {
|
|
1790
1786
|
return await new Promise(
|
|
1791
1787
|
(resolve3, reject) => {
|
|
1792
|
-
void import("./Sheet-
|
|
1788
|
+
void import("./Sheet-2L465IRV.js").then(
|
|
1793
1789
|
(Sheet) => {
|
|
1794
1790
|
if (settled) return;
|
|
1795
1791
|
unblock = Sheet.waiting({
|
|
@@ -1854,7 +1850,7 @@ function parse(url, options) {
|
|
|
1854
1850
|
async function frame(auth, options) {
|
|
1855
1851
|
const { redirectUri, signal, toUrl } = options;
|
|
1856
1852
|
const address2 = await abortable(options.address, { signal });
|
|
1857
|
-
const Sheet = await import("./Sheet-
|
|
1853
|
+
const Sheet = await import("./Sheet-2L465IRV.js");
|
|
1858
1854
|
signal?.throwIfAborted();
|
|
1859
1855
|
let close;
|
|
1860
1856
|
let abort;
|
|
@@ -2136,6 +2132,7 @@ function finish(options) {
|
|
|
2136
2132
|
return authorization(
|
|
2137
2133
|
{
|
|
2138
2134
|
account: body.account,
|
|
2135
|
+
...body.challenge_signature ? { challenge_signature: body.challenge_signature } : {},
|
|
2139
2136
|
key_authorization: body.key_authorization,
|
|
2140
2137
|
tokens: body
|
|
2141
2138
|
},
|
|
@@ -2676,7 +2673,10 @@ function toSession(result) {
|
|
|
2676
2673
|
return from4({
|
|
2677
2674
|
accessToken: result.accessToken,
|
|
2678
2675
|
...result.account ? { account: result.account } : {},
|
|
2679
|
-
...result.
|
|
2676
|
+
...result.address && result.challengeSignature ? {
|
|
2677
|
+
address: result.address,
|
|
2678
|
+
challengeSignature: result.challengeSignature
|
|
2679
|
+
} : {},
|
|
2680
2680
|
expiresAt: result.expiresAt,
|
|
2681
2681
|
...result.idToken !== void 0 ? { idToken: result.idToken } : {},
|
|
2682
2682
|
...result.key ? { key: withLifetime(result.key) } : {},
|
|
@@ -3453,7 +3453,7 @@ var signInIds = /* @__PURE__ */ new Set([
|
|
|
3453
3453
|
function plugin() {
|
|
3454
3454
|
let loading;
|
|
3455
3455
|
function load() {
|
|
3456
|
-
loading ??= import("./dialog-
|
|
3456
|
+
loading ??= import("./dialog-4KIVDDJQ.js").then((module) => module.dialog()).catch((error3) => {
|
|
3457
3457
|
loading = void 0;
|
|
3458
3458
|
throw error3;
|
|
3459
3459
|
});
|
|
@@ -4665,7 +4665,7 @@ function create4(options = {}) {
|
|
|
4665
4665
|
function connections2() {
|
|
4666
4666
|
if (!connectionsOptions)
|
|
4667
4667
|
return Promise.reject(new ConnectionsRequiredError());
|
|
4668
|
-
attached ??= import("./Connections-
|
|
4668
|
+
attached ??= import("./Connections-ONCDPK23.js").then(
|
|
4669
4669
|
(module) => module.attach(config, connectionsOptions)
|
|
4670
4670
|
);
|
|
4671
4671
|
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-FU2TDVJS.js";
|
|
5
|
+
import "../chunk-U2KJB64X.js";
|
|
6
|
+
import "../chunk-IBZUNV2Y.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-FU2TDVJS.js";
|
|
5
|
+
import "../chunk-U2KJB64X.js";
|
|
6
|
+
import "../chunk-IBZUNV2Y.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-FU2TDVJS.js";
|
|
6
|
+
import "../chunk-U2KJB64X.js";
|
|
7
|
+
import "../chunk-IBZUNV2Y.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-6a3fa61",
|
|
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": {
|