@seams/wallet-server 0.21.0 → 0.22.0
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/artifact-manifest.json +19 -19
- package/cloudflare-router-ab/build/deriver-a/build-stamp.json +1 -1
- package/cloudflare-router-ab/build/deriver-a/index_bg.wasm +0 -0
- package/cloudflare-router-ab/build/deriver-b/build-stamp.json +1 -1
- package/cloudflare-router-ab/build/deriver-b/index_bg.wasm +0 -0
- package/cloudflare-router-ab/build/router/build-stamp.json +1 -1
- package/cloudflare-router-ab/build/router/index_bg.wasm +0 -0
- package/cloudflare-router-ab/build/signing-worker/build-stamp.json +1 -1
- package/cloudflare-router-ab/build/signing-worker/index_bg.wasm +0 -0
- package/cloudflare-router-ab/build/tenant-root-control-plane/build-stamp.json +1 -1
- package/dist/esm/core/nearRelayerAccountProvisioning.js +2 -4
- package/package.json +1 -1
package/artifact-manifest.json
CHANGED
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
"walletSecurityPolicy": "scoped_seals_and_owner_proofs_v1",
|
|
4
4
|
"package": {
|
|
5
5
|
"name": "@seams/wallet-server",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.22.0"
|
|
7
7
|
},
|
|
8
8
|
"workers": {
|
|
9
9
|
"router": {
|
|
10
10
|
"entry": "cloudflare-router-ab/build/router/worker/shim.mjs",
|
|
11
|
-
"fingerprint": "
|
|
11
|
+
"fingerprint": "74fd3407337c12574566cad2d68e834cc62384a0afbeedf74c94820e9151b827",
|
|
12
12
|
"files": [
|
|
13
13
|
{
|
|
14
14
|
"path": "cloudflare-router-ab/build/router/build-stamp.json",
|
|
15
15
|
"bytes": 119,
|
|
16
|
-
"sha256": "
|
|
16
|
+
"sha256": "b32b3d7182ed9c00a4d9677c35604e2ece2607a01032d49956df19a89850660f"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"path": "cloudflare-router-ab/build/router/index.js",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"path": "cloudflare-router-ab/build/router/index_bg.wasm",
|
|
25
|
-
"bytes":
|
|
26
|
-
"sha256": "
|
|
25
|
+
"bytes": 7109033,
|
|
26
|
+
"sha256": "a791cedbd5df0cb84c0680c08339f58ebdeb76845759437d81f675cf1d92539a"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
"path": "cloudflare-router-ab/build/router/package.json",
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
},
|
|
40
40
|
"deriver-a": {
|
|
41
41
|
"entry": "cloudflare-router-ab/build/deriver-a/worker/shim.mjs",
|
|
42
|
-
"fingerprint": "
|
|
42
|
+
"fingerprint": "cd913ea58e44a8f91ec9e8bee6bb06372943e9eb519abb366fbf36bdf5b710fe",
|
|
43
43
|
"files": [
|
|
44
44
|
{
|
|
45
45
|
"path": "cloudflare-router-ab/build/deriver-a/build-stamp.json",
|
|
46
46
|
"bytes": 122,
|
|
47
|
-
"sha256": "
|
|
47
|
+
"sha256": "747923ca2224aa97fd46d6051dc1085a2e8f4f7da54d3b7190d4b674e6dd3c0a"
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
"path": "cloudflare-router-ab/build/deriver-a/index.js",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
"path": "cloudflare-router-ab/build/deriver-a/index_bg.wasm",
|
|
56
|
-
"bytes":
|
|
57
|
-
"sha256": "
|
|
56
|
+
"bytes": 11184432,
|
|
57
|
+
"sha256": "5e7510c28ca56ca06022f09f1be153aef591c3bdad52cde837294c2974c220a1"
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
"path": "cloudflare-router-ab/build/deriver-a/package.json",
|
|
@@ -70,12 +70,12 @@
|
|
|
70
70
|
},
|
|
71
71
|
"deriver-b": {
|
|
72
72
|
"entry": "cloudflare-router-ab/build/deriver-b/worker/shim.mjs",
|
|
73
|
-
"fingerprint": "
|
|
73
|
+
"fingerprint": "92af4092ea8fe179e5fb1f9f945c51df56d7eedef04e14d6b4d629b1234c5246",
|
|
74
74
|
"files": [
|
|
75
75
|
{
|
|
76
76
|
"path": "cloudflare-router-ab/build/deriver-b/build-stamp.json",
|
|
77
77
|
"bytes": 122,
|
|
78
|
-
"sha256": "
|
|
78
|
+
"sha256": "bff31f4d458314d638759bc92209b8ceca4a8eb5529f2380fc99456a5c979ef9"
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
"path": "cloudflare-router-ab/build/deriver-b/index.js",
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
86
|
"path": "cloudflare-router-ab/build/deriver-b/index_bg.wasm",
|
|
87
|
-
"bytes":
|
|
88
|
-
"sha256": "
|
|
87
|
+
"bytes": 11217121,
|
|
88
|
+
"sha256": "275f543ea48ab9e16b781cc76f888b0a5e850d42e4fba5e7f95480de38f7b151"
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
91
|
"path": "cloudflare-router-ab/build/deriver-b/package.json",
|
|
@@ -101,12 +101,12 @@
|
|
|
101
101
|
},
|
|
102
102
|
"signing-worker": {
|
|
103
103
|
"entry": "cloudflare-router-ab/build/signing-worker/worker/shim.mjs",
|
|
104
|
-
"fingerprint": "
|
|
104
|
+
"fingerprint": "193f7af99585cabd0d9dc5266bd0df3fc0868869d7f9a91662f163a73f05e735",
|
|
105
105
|
"files": [
|
|
106
106
|
{
|
|
107
107
|
"path": "cloudflare-router-ab/build/signing-worker/build-stamp.json",
|
|
108
108
|
"bytes": 127,
|
|
109
|
-
"sha256": "
|
|
109
|
+
"sha256": "8e4ce1fe79a9cdd6c3679d20f288ea37afeaa7c5b3937df936c0abf424e2c145"
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
"path": "cloudflare-router-ab/build/signing-worker/index.js",
|
|
@@ -115,8 +115,8 @@
|
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
117
|
"path": "cloudflare-router-ab/build/signing-worker/index_bg.wasm",
|
|
118
|
-
"bytes":
|
|
119
|
-
"sha256": "
|
|
118
|
+
"bytes": 6778203,
|
|
119
|
+
"sha256": "878a8ae2a4df685eebf0a5445bc57279183f5683b98abf541f31d40591904dab"
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
122
|
"path": "cloudflare-router-ab/build/signing-worker/package.json",
|
|
@@ -132,12 +132,12 @@
|
|
|
132
132
|
},
|
|
133
133
|
"tenant-root-control-plane": {
|
|
134
134
|
"entry": "cloudflare-router-ab/build/tenant-root-control-plane/worker/shim.mjs",
|
|
135
|
-
"fingerprint": "
|
|
135
|
+
"fingerprint": "bcbca7dead054e5637575fa5935f819cc1eb8d5b9ac21d80d22e646a8f5941ed",
|
|
136
136
|
"files": [
|
|
137
137
|
{
|
|
138
138
|
"path": "cloudflare-router-ab/build/tenant-root-control-plane/build-stamp.json",
|
|
139
139
|
"bytes": 139,
|
|
140
|
-
"sha256": "
|
|
140
|
+
"sha256": "a8b459e0a878d51fade909dbaa4d825b2195a17af0c2e931c75244eef93121e4"
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
143
|
"path": "cloudflare-router-ab/build/tenant-root-control-plane/index.js",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"profile":"release","wallet_objects":true,"features":"strict-worker-deriver-a-entrypoint","started_at_ms":
|
|
1
|
+
{"profile":"release","wallet_objects":true,"features":"strict-worker-deriver-a-entrypoint","started_at_ms":1792904733881}
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"profile":"release","wallet_objects":true,"features":"strict-worker-deriver-b-entrypoint","started_at_ms":
|
|
1
|
+
{"profile":"release","wallet_objects":true,"features":"strict-worker-deriver-b-entrypoint","started_at_ms":1792904884404}
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"profile":"release","wallet_objects":true,"features":"strict-worker-router-entrypoint","started_at_ms":
|
|
1
|
+
{"profile":"release","wallet_objects":true,"features":"strict-worker-router-entrypoint","started_at_ms":1792905019915}
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"profile":"release","wallet_objects":true,"features":"strict-worker-signing-worker-entrypoint","started_at_ms":
|
|
1
|
+
{"profile":"release","wallet_objects":true,"features":"strict-worker-signing-worker-entrypoint","started_at_ms":1792904505860}
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"profile":"release","wallet_objects":false,"features":"strict-worker-tenant-root-control-plane-entrypoint","started_at_ms":
|
|
1
|
+
{"profile":"release","wallet_objects":false,"features":"strict-worker-tenant-root-control-plane-entrypoint","started_at_ms":1792905174415}
|
|
@@ -140,11 +140,9 @@ function validateNamedAccountCreationInput(input) {
|
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
142
|
async function fetchRelayerTxContext(input) {
|
|
143
|
-
const accessKey = await input.nearClient.viewAccessKey(input.relayerAccount, input.relayerPublicKey);
|
|
144
|
-
const nonce = BigInt(accessKey.nonce);
|
|
145
|
-
const block = await input.nearClient.viewBlock({ finality: "final" });
|
|
143
|
+
const [accessKey, block] = await Promise.all([input.nearClient.viewAccessKey(input.relayerAccount, input.relayerPublicKey), input.nearClient.viewBlock({ finality: "final" })]);
|
|
146
144
|
return {
|
|
147
|
-
nextNonce: (nonce + 1n).toString(),
|
|
145
|
+
nextNonce: (BigInt(accessKey.nonce) + 1n).toString(),
|
|
148
146
|
blockHash: block.header.hash
|
|
149
147
|
};
|
|
150
148
|
}
|