@tempoxyz/id 0.0.0-pr-992.sha-549480d → 0.0.0-pr-993.sha-4dae64b
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-DK2SIMV5.js → Connections-Z7ZFSBVZ.js} +2 -2
- package/dist/{Server-CARQOWST.js → Server-IJGD4OMI.js} +2 -2
- package/dist/{Sheet-ZAJ3CTUV.js → Sheet-YJPC6ELF.js} +2 -2
- package/dist/{chunk-7KIOFUO2.js → chunk-3Q4JTEUC.js} +1 -1
- package/dist/{chunk-6YB3Z2ZN.js → chunk-46VKYYFX.js} +1 -1
- package/dist/{chunk-LN2RXYYW.js → chunk-CSUHHWD5.js} +3 -3
- package/dist/{chunk-DS4YLNUJ.js → chunk-JQKEOROM.js} +1 -1
- package/dist/{chunk-AVGHKMEM.js → chunk-NVLHKZHD.js} +1 -1
- package/dist/{chunk-Y5ESRTOA.js → chunk-PKWTN7TY.js} +13 -17
- package/dist/{chunk-N5H6SUAV.js → chunk-VKUTE3BC.js} +6 -6
- package/dist/commands/login.js +7 -7
- package/dist/commands/logout.js +7 -7
- package/dist/commands/whoami.js +7 -7
- package/dist/{dialog-LOM5ZTPY.js → dialog-RB66MYVO.js} +4 -4
- package/dist/{passkey-DFH2IY4D.js → passkey-LAIZ34ZC.js} +2 -2
- package/package.json +1 -1
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
attach,
|
|
3
3
|
create,
|
|
4
4
|
pending
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3Q4JTEUC.js";
|
|
6
6
|
import "./chunk-FWGE6HXK.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-PKWTN7TY.js";
|
|
8
8
|
import "./chunk-FHXDPKTL.js";
|
|
9
9
|
import "./chunk-MLKGABMK.js";
|
|
10
10
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
InvalidError
|
|
3
3
|
} from "./chunk-2T7V6ASK.js";
|
|
4
|
-
import "./chunk-
|
|
4
|
+
import "./chunk-NVLHKZHD.js";
|
|
5
5
|
import {
|
|
6
6
|
authPath,
|
|
7
7
|
basePath,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
RequestError,
|
|
13
13
|
key,
|
|
14
14
|
siwe
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PKWTN7TY.js";
|
|
16
16
|
import "./chunk-FHXDPKTL.js";
|
|
17
17
|
import "./chunk-MLKGABMK.js";
|
|
18
18
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handleCallback,
|
|
3
3
|
handleResult
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NVLHKZHD.js";
|
|
5
5
|
import {
|
|
6
6
|
create,
|
|
7
7
|
prompt,
|
|
8
8
|
waiting
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-46VKYYFX.js";
|
|
10
10
|
import {
|
|
11
11
|
authPath,
|
|
12
12
|
basePath
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
resources,
|
|
32
32
|
revoke,
|
|
33
33
|
watchPopup
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-PKWTN7TY.js";
|
|
35
35
|
import {
|
|
36
36
|
__export
|
|
37
37
|
} from "./chunk-MLKGABMK.js";
|
|
@@ -1189,7 +1189,7 @@ async function approve(auth, options) {
|
|
|
1189
1189
|
let unwatch;
|
|
1190
1190
|
try {
|
|
1191
1191
|
return await new Promise((resolve3, reject) => {
|
|
1192
|
-
void import("./Sheet-
|
|
1192
|
+
void import("./Sheet-YJPC6ELF.js").then(
|
|
1193
1193
|
(Sheet2) => {
|
|
1194
1194
|
if (settled) return;
|
|
1195
1195
|
unblock = Sheet2.waiting({
|
|
@@ -1244,7 +1244,7 @@ async function approve(auth, options) {
|
|
|
1244
1244
|
}
|
|
1245
1245
|
}
|
|
1246
1246
|
const covering = direct ? void 0 : hold;
|
|
1247
|
-
const Sheet = await import("./Sheet-
|
|
1247
|
+
const Sheet = await import("./Sheet-YJPC6ELF.js");
|
|
1248
1248
|
signal?.throwIfAborted();
|
|
1249
1249
|
const sheet = Sheet.load({
|
|
1250
1250
|
// The page runs the passkey ceremony of the account's owner, for Tempo ID's origin. The payment
|
|
@@ -1541,11 +1541,11 @@ function resolve(permissions2, options) {
|
|
|
1541
1541
|
);
|
|
1542
1542
|
return [
|
|
1543
1543
|
...limits.flatMap((entry) => {
|
|
1544
|
-
const
|
|
1544
|
+
const tip20 = Scopes.tip20(entry.address);
|
|
1545
1545
|
return [
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
...entry.spenders?.length ? [
|
|
1546
|
+
tip20.transfer(),
|
|
1547
|
+
tip20.transferWithMemo(),
|
|
1548
|
+
...entry.spenders?.length ? [tip20.approve({ recipients: entry.spenders })] : []
|
|
1549
1549
|
];
|
|
1550
1550
|
}),
|
|
1551
1551
|
reserve.open(),
|
|
@@ -1797,7 +1797,6 @@ function permissions(auth, options) {
|
|
|
1797
1797
|
const rules = /* @__PURE__ */ new Map();
|
|
1798
1798
|
const repeated = scopes.map((scope, index) => ({ index, scope })).find((item) => {
|
|
1799
1799
|
const { address } = item.scope;
|
|
1800
|
-
if (item.scope.selector === void 0 && tip20(item.scope)) return false;
|
|
1801
1800
|
if (!Address5.validate(address, { strict: false })) return false;
|
|
1802
1801
|
const key2 = address.toLowerCase();
|
|
1803
1802
|
const call = item.scope.selector === void 0 ? void 0 : selector(item.scope.selector);
|
|
@@ -1935,9 +1934,6 @@ function selector(value) {
|
|
|
1935
1934
|
return value;
|
|
1936
1935
|
}
|
|
1937
1936
|
}
|
|
1938
|
-
function tip20(scope) {
|
|
1939
|
-
return scope.address.toLowerCase().startsWith("0x20c000000000000000000000");
|
|
1940
|
-
}
|
|
1941
1937
|
|
|
1942
1938
|
// ../../accounts/src/internal/Headless.ts
|
|
1943
1939
|
async function authorize(auth, options) {
|
|
@@ -4619,7 +4615,7 @@ function plugin() {
|
|
|
4619
4615
|
let loading;
|
|
4620
4616
|
let loaded_plugin;
|
|
4621
4617
|
function load() {
|
|
4622
|
-
loading ??= import("./dialog-
|
|
4618
|
+
loading ??= import("./dialog-RB66MYVO.js").then((module) => loaded_plugin = module.dialog()).catch((error3) => {
|
|
4623
4619
|
loading = void 0;
|
|
4624
4620
|
throw error3;
|
|
4625
4621
|
});
|
|
@@ -4928,7 +4924,7 @@ async function open(auth, options) {
|
|
|
4928
4924
|
throw new OriginError2({ origin: window.location.origin, redirectUri });
|
|
4929
4925
|
if (mode === "popup" && options.mode !== "popup" && !activated()) {
|
|
4930
4926
|
const address = await abortable(read3(), { signal });
|
|
4931
|
-
const Sheet = await import("./Sheet-
|
|
4927
|
+
const Sheet = await import("./Sheet-YJPC6ELF.js");
|
|
4932
4928
|
return await new Promise((resolve3, reject) => {
|
|
4933
4929
|
const abort = () => {
|
|
4934
4930
|
close();
|
|
@@ -4991,7 +4987,7 @@ async function preload(auth, options) {
|
|
|
4991
4987
|
const entry = { ready: Promise.resolve(), sheet: void 0, url: url2 };
|
|
4992
4988
|
preloads.set(auth, entry);
|
|
4993
4989
|
entry.ready = (async () => {
|
|
4994
|
-
const Sheet = await import("./Sheet-
|
|
4990
|
+
const Sheet = await import("./Sheet-YJPC6ELF.js").catch(() => void 0);
|
|
4995
4991
|
if (!document.body)
|
|
4996
4992
|
await new Promise(
|
|
4997
4993
|
(resolve3) => document.addEventListener("DOMContentLoaded", resolve3, {
|
|
@@ -5017,7 +5013,7 @@ async function watch(auth, options) {
|
|
|
5017
5013
|
try {
|
|
5018
5014
|
return await new Promise(
|
|
5019
5015
|
(resolve3, reject) => {
|
|
5020
|
-
void import("./Sheet-
|
|
5016
|
+
void import("./Sheet-YJPC6ELF.js").then(
|
|
5021
5017
|
(Sheet) => {
|
|
5022
5018
|
if (settled) return;
|
|
5023
5019
|
unblock = Sheet.waiting({
|
|
@@ -5119,7 +5115,7 @@ var decimal = /^(?:0|[1-9]\d{0,17})(?:\.\d{1,18})?$/;
|
|
|
5119
5115
|
async function frame(auth, options) {
|
|
5120
5116
|
const { redirectUri, signal, toUrl } = options;
|
|
5121
5117
|
const address = await abortable(options.address, { signal });
|
|
5122
|
-
const Sheet = await import("./Sheet-
|
|
5118
|
+
const Sheet = await import("./Sheet-YJPC6ELF.js");
|
|
5123
5119
|
signal?.throwIfAborted();
|
|
5124
5120
|
const url2 = toUrl(address);
|
|
5125
5121
|
const held = preloads.get(auth);
|
|
@@ -5744,7 +5740,7 @@ function create4(options = {}) {
|
|
|
5744
5740
|
function connections2() {
|
|
5745
5741
|
if (!connectionsOptions)
|
|
5746
5742
|
return Promise.reject(new ConnectionsRequiredError());
|
|
5747
|
-
attached ??= import("./Connections-
|
|
5743
|
+
attached ??= import("./Connections-Z7ZFSBVZ.js").then(
|
|
5748
5744
|
(module) => module.attach(config, connectionsOptions)
|
|
5749
5745
|
);
|
|
5750
5746
|
return attached;
|
|
@@ -5801,7 +5797,7 @@ function create4(options = {}) {
|
|
|
5801
5797
|
},
|
|
5802
5798
|
handler: {
|
|
5803
5799
|
async fetch(request2) {
|
|
5804
|
-
server ??= import("./Server-
|
|
5800
|
+
server ??= import("./Server-IJGD4OMI.js").then(
|
|
5805
5801
|
(module) => module.create({
|
|
5806
5802
|
accessKeys: connectionsOptions ? async () => (await connections2()).accessKeyEndpoint : void 0,
|
|
5807
5803
|
// The `backend` plugin's actions sit on the instance under its `id`.
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
bind,
|
|
3
3
|
from,
|
|
4
4
|
passkey_exports
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JQKEOROM.js";
|
|
6
6
|
import {
|
|
7
7
|
dialog_exports
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CSUHHWD5.js";
|
|
9
9
|
import {
|
|
10
10
|
redirect_exports
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NVLHKZHD.js";
|
|
12
12
|
import {
|
|
13
13
|
connections_exports
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3Q4JTEUC.js";
|
|
15
15
|
import {
|
|
16
16
|
AccessKey_exports,
|
|
17
17
|
Accounts_exports,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
unlisted,
|
|
51
51
|
user,
|
|
52
52
|
withoutAccessKey
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-PKWTN7TY.js";
|
|
54
54
|
import {
|
|
55
55
|
__export
|
|
56
56
|
} from "./chunk-MLKGABMK.js";
|
|
@@ -447,7 +447,7 @@ async function signIn2(auth2, options) {
|
|
|
447
447
|
return { ...next, options: next.options };
|
|
448
448
|
})();
|
|
449
449
|
if (creation && prepared.accessKey && options.accessKey) {
|
|
450
|
-
const { register } = await import("./passkey-
|
|
450
|
+
const { register } = await import("./passkey-LAIZ34ZC.js");
|
|
451
451
|
const registered = await register(auth2, {
|
|
452
452
|
accessKey: { ...options.accessKey, account: prepared.accessKey.signer },
|
|
453
453
|
challenge: options.challenge,
|
package/dist/commands/login.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
env,
|
|
3
3
|
login
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-VKUTE3BC.js";
|
|
5
5
|
import "../chunk-2T7V6ASK.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-JQKEOROM.js";
|
|
7
|
+
import "../chunk-CSUHHWD5.js";
|
|
8
|
+
import "../chunk-NVLHKZHD.js";
|
|
9
|
+
import "../chunk-46VKYYFX.js";
|
|
10
|
+
import "../chunk-3Q4JTEUC.js";
|
|
11
11
|
import "../chunk-FWGE6HXK.js";
|
|
12
12
|
import {
|
|
13
13
|
Accounts_exports
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-PKWTN7TY.js";
|
|
15
15
|
import "../chunk-FHXDPKTL.js";
|
|
16
16
|
import "../chunk-MLKGABMK.js";
|
|
17
17
|
|
package/dist/commands/logout.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
env,
|
|
3
3
|
remove
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-VKUTE3BC.js";
|
|
5
5
|
import "../chunk-2T7V6ASK.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-JQKEOROM.js";
|
|
7
|
+
import "../chunk-CSUHHWD5.js";
|
|
8
|
+
import "../chunk-NVLHKZHD.js";
|
|
9
|
+
import "../chunk-46VKYYFX.js";
|
|
10
|
+
import "../chunk-3Q4JTEUC.js";
|
|
11
11
|
import "../chunk-FWGE6HXK.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-PKWTN7TY.js";
|
|
13
13
|
import "../chunk-FHXDPKTL.js";
|
|
14
14
|
import "../chunk-MLKGABMK.js";
|
|
15
15
|
|
package/dist/commands/whoami.js
CHANGED
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
env,
|
|
3
3
|
signedOut,
|
|
4
4
|
whoami
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-VKUTE3BC.js";
|
|
6
6
|
import "../chunk-2T7V6ASK.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-JQKEOROM.js";
|
|
8
|
+
import "../chunk-CSUHHWD5.js";
|
|
9
|
+
import "../chunk-NVLHKZHD.js";
|
|
10
|
+
import "../chunk-46VKYYFX.js";
|
|
11
|
+
import "../chunk-3Q4JTEUC.js";
|
|
12
12
|
import "../chunk-FWGE6HXK.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-PKWTN7TY.js";
|
|
14
14
|
import "../chunk-FHXDPKTL.js";
|
|
15
15
|
import "../chunk-MLKGABMK.js";
|
|
16
16
|
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
preload,
|
|
4
4
|
signIn,
|
|
5
5
|
signMessage
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-CSUHHWD5.js";
|
|
7
|
+
import "./chunk-NVLHKZHD.js";
|
|
8
|
+
import "./chunk-46VKYYFX.js";
|
|
9
9
|
import {
|
|
10
10
|
authPath,
|
|
11
11
|
basePath
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
revokeAccessKey,
|
|
26
26
|
toSession,
|
|
27
27
|
updateAccessKey
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-PKWTN7TY.js";
|
|
29
29
|
import "./chunk-FHXDPKTL.js";
|
|
30
30
|
import "./chunk-MLKGABMK.js";
|
|
31
31
|
|
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-
|
|
12
|
+
"version": "0.0.0-pr-993.sha-4dae64b",
|
|
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": {
|