jazz-tools 0.19.10 → 0.19.11
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/.turbo/turbo-build.log +53 -49
- package/CHANGELOG.md +11 -0
- package/dist/{chunk-FFEEPZEG.js → chunk-HX5S6W5E.js} +6 -2
- package/dist/chunk-HX5S6W5E.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/inspector/account-switcher.d.ts +4 -0
- package/dist/inspector/account-switcher.d.ts.map +1 -0
- package/dist/inspector/chunk-C6BJPHBQ.js +4096 -0
- package/dist/inspector/chunk-C6BJPHBQ.js.map +1 -0
- package/dist/inspector/contexts/node.d.ts +19 -0
- package/dist/inspector/contexts/node.d.ts.map +1 -0
- package/dist/inspector/{custom-element-P76EIWEV.js → custom-element-GJVBPZES.js} +1011 -884
- package/dist/inspector/custom-element-GJVBPZES.js.map +1 -0
- package/dist/inspector/{viewer/new-app.d.ts → in-app.d.ts} +3 -3
- package/dist/inspector/in-app.d.ts.map +1 -0
- package/dist/inspector/index.d.ts +0 -11
- package/dist/inspector/index.d.ts.map +1 -1
- package/dist/inspector/index.js +56 -3910
- package/dist/inspector/index.js.map +1 -1
- package/dist/inspector/pages/home.d.ts +2 -0
- package/dist/inspector/pages/home.d.ts.map +1 -0
- package/dist/inspector/register-custom-element.js +1 -1
- package/dist/inspector/router/context.d.ts +12 -0
- package/dist/inspector/router/context.d.ts.map +1 -0
- package/dist/inspector/router/hash-router.d.ts +7 -0
- package/dist/inspector/router/hash-router.d.ts.map +1 -0
- package/dist/inspector/router/in-memory-router.d.ts +7 -0
- package/dist/inspector/router/in-memory-router.d.ts.map +1 -0
- package/dist/inspector/router/index.d.ts +5 -0
- package/dist/inspector/router/index.d.ts.map +1 -0
- package/dist/inspector/standalone.d.ts +6 -0
- package/dist/inspector/standalone.d.ts.map +1 -0
- package/dist/inspector/standalone.js +420 -0
- package/dist/inspector/standalone.js.map +1 -0
- package/dist/inspector/tests/router/hash-router.test.d.ts +2 -0
- package/dist/inspector/tests/router/hash-router.test.d.ts.map +1 -0
- package/dist/inspector/tests/router/in-memory-router.test.d.ts +2 -0
- package/dist/inspector/tests/router/in-memory-router.test.d.ts.map +1 -0
- package/dist/inspector/ui/modal.d.ts +1 -0
- package/dist/inspector/ui/modal.d.ts.map +1 -1
- package/dist/inspector/viewer/breadcrumbs.d.ts +1 -7
- package/dist/inspector/viewer/breadcrumbs.d.ts.map +1 -1
- package/dist/inspector/viewer/header.d.ts +7 -0
- package/dist/inspector/viewer/header.d.ts.map +1 -0
- package/dist/inspector/viewer/page-stack.d.ts +4 -13
- package/dist/inspector/viewer/page-stack.d.ts.map +1 -1
- package/dist/inspector/viewer/page.d.ts.map +1 -1
- package/dist/testing.js +1 -1
- package/dist/tools/coValues/account.d.ts +7 -1
- package/dist/tools/coValues/account.d.ts.map +1 -1
- package/dist/tools/implementation/zodSchema/schemaTypes/AccountSchema.d.ts +8 -1
- package/dist/tools/implementation/zodSchema/schemaTypes/AccountSchema.d.ts.map +1 -1
- package/dist/tools/implementation/zodSchema/zodCo.d.ts.map +1 -1
- package/dist/tools/testing.d.ts.map +1 -1
- package/package.json +9 -4
- package/src/inspector/account-switcher.tsx +440 -0
- package/src/inspector/contexts/node.tsx +129 -0
- package/src/inspector/custom-element.tsx +2 -2
- package/src/inspector/in-app.tsx +61 -0
- package/src/inspector/index.tsx +2 -22
- package/src/inspector/pages/home.tsx +77 -0
- package/src/inspector/router/context.ts +21 -0
- package/src/inspector/router/hash-router.tsx +128 -0
- package/src/inspector/{viewer/use-page-path.ts → router/in-memory-router.tsx} +31 -29
- package/src/inspector/router/index.ts +4 -0
- package/src/inspector/standalone.tsx +60 -0
- package/src/inspector/tests/router/hash-router.test.tsx +847 -0
- package/src/inspector/tests/router/in-memory-router.test.tsx +724 -0
- package/src/inspector/ui/modal.tsx +5 -2
- package/src/inspector/viewer/breadcrumbs.tsx +5 -11
- package/src/inspector/viewer/header.tsx +67 -0
- package/src/inspector/viewer/page-stack.tsx +18 -26
- package/src/inspector/viewer/page.tsx +0 -1
- package/src/tools/coValues/account.ts +13 -2
- package/src/tools/implementation/zodSchema/schemaTypes/AccountSchema.ts +8 -1
- package/src/tools/tests/account.test.ts +11 -4
- package/src/tools/tests/schema.resolved.test.ts +3 -3
- package/tsup.config.ts +1 -0
- package/dist/chunk-FFEEPZEG.js.map +0 -1
- package/dist/inspector/custom-element-P76EIWEV.js.map +0 -1
- package/dist/inspector/viewer/new-app.d.ts.map +0 -1
- package/dist/inspector/viewer/use-page-path.d.ts +0 -10
- package/dist/inspector/viewer/use-page-path.d.ts.map +0 -1
- package/src/inspector/viewer/new-app.tsx +0 -156
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> jazz-tools@0.19.
|
|
2
|
+
> jazz-tools@0.19.11 build /home/runner/_work/jazz/jazz/packages/jazz-tools
|
|
3
3
|
> tsup && pnpm types && pnpm build:svelte
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: {"index":"src/index.ts","testing":"src/testing.ts","tools/ssr":"src/tools/ssr/index.ts"}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
11
11
|
[34mCLI[39m Building entry: {"index":"src/expo/index.ts","testing":"src/expo/testing.ts","crypto":"src/expo/crypto.ts","polyfills":"src/react-native-core/polyfills/index.js"}
|
|
12
12
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
13
|
-
[34mCLI[39m Building entry: {"index":"src/inspector/index.tsx"}
|
|
13
|
+
[34mCLI[39m Building entry: {"index":"src/inspector/index.tsx","standalone":"src/inspector/standalone.tsx"}
|
|
14
14
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
15
15
|
[34mCLI[39m Building entry: {"register-custom-element":"src/inspector/register-custom-element.ts"}
|
|
16
16
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
@@ -109,21 +109,21 @@
|
|
|
109
109
|
[34mESM[39m Build start
|
|
110
110
|
[32mESM[39m [1mdist/tiptap/index.js [22m[32m564.00 B[39m
|
|
111
111
|
[32mESM[39m [1mdist/tiptap/index.js.map [22m[32m1.21 KB[39m
|
|
112
|
-
[32mESM[39m ⚡️ Build success in
|
|
112
|
+
[32mESM[39m ⚡️ Build success in 66ms
|
|
113
113
|
[32mESM[39m [1mdist/worker/index.js [22m[32m3.19 KB[39m
|
|
114
114
|
[32mESM[39m [1mdist/worker/edge-wasm.js [22m[32m215.00 B[39m
|
|
115
115
|
[32mESM[39m [1mdist/worker/napi-crypto.js [22m[32m110.00 B[39m
|
|
116
116
|
[32mESM[39m [1mdist/worker/index.js.map [22m[32m6.24 KB[39m
|
|
117
117
|
[32mESM[39m [1mdist/worker/edge-wasm.js.map [22m[32m434.00 B[39m
|
|
118
118
|
[32mESM[39m [1mdist/worker/napi-crypto.js.map [22m[32m162.00 B[39m
|
|
119
|
-
[32mESM[39m ⚡️ Build success in
|
|
119
|
+
[32mESM[39m ⚡️ Build success in 69ms
|
|
120
120
|
[32mESM[39m [1mdist/better-auth/auth/client.js [22m[32m4.50 KB[39m
|
|
121
121
|
[32mESM[39m [1mdist/better-auth/auth/server.js [22m[32m8.36 KB[39m
|
|
122
122
|
[32mESM[39m [1mdist/better-auth/auth/react.js [22m[32m799.00 B[39m
|
|
123
123
|
[32mESM[39m [1mdist/better-auth/auth/client.js.map [22m[32m8.32 KB[39m
|
|
124
124
|
[32mESM[39m [1mdist/better-auth/auth/server.js.map [22m[32m15.31 KB[39m
|
|
125
125
|
[32mESM[39m [1mdist/better-auth/auth/react.js.map [22m[32m2.04 KB[39m
|
|
126
|
-
[32mESM[39m ⚡️ Build success in
|
|
126
|
+
[32mESM[39m ⚡️ Build success in 80ms
|
|
127
127
|
[32mESM[39m [1mdist/media/index.js [22m[32m236.00 B[39m
|
|
128
128
|
[32mESM[39m [1mdist/media/index.browser.js [22m[32m2.79 KB[39m
|
|
129
129
|
[32mESM[39m [1mdist/media/index.native.js [22m[32m4.01 KB[39m
|
|
@@ -134,41 +134,48 @@
|
|
|
134
134
|
[32mESM[39m [1mdist/media/index.native.js.map [22m[32m8.10 KB[39m
|
|
135
135
|
[32mESM[39m [1mdist/media/index.server.js.map [22m[32m6.37 KB[39m
|
|
136
136
|
[32mESM[39m [1mdist/media/chunk-3LKBM3G3.js.map [22m[32m16.99 KB[39m
|
|
137
|
-
[32mESM[39m ⚡️ Build success in
|
|
138
|
-
[32mESM[39m [1mdist/expo/index.js [22m[32m4.68 KB[39m
|
|
139
|
-
[32mESM[39m [1mdist/expo/testing.js [22m[32m112.00 B[39m
|
|
140
|
-
[32mESM[39m [1mdist/expo/crypto.js [22m[32m153.00 B[39m
|
|
141
|
-
[32mESM[39m [1mdist/expo/polyfills.js [22m[32m858.00 B[39m
|
|
142
|
-
[32mESM[39m [1mdist/expo/index.js.map [22m[32m10.23 KB[39m
|
|
143
|
-
[32mESM[39m [1mdist/expo/testing.js.map [22m[32m168.00 B[39m
|
|
144
|
-
[32mESM[39m [1mdist/expo/crypto.js.map [22m[32m189.00 B[39m
|
|
145
|
-
[32mESM[39m [1mdist/expo/polyfills.js.map [22m[32m1.61 KB[39m
|
|
146
|
-
[32mESM[39m ⚡️ Build success in 63ms
|
|
137
|
+
[32mESM[39m ⚡️ Build success in 94ms
|
|
147
138
|
[32mESM[39m [1mdist/react-core/index.js [22m[32m17.04 KB[39m
|
|
148
139
|
[32mESM[39m [1mdist/react-core/testing.js [22m[32m1.22 KB[39m
|
|
149
140
|
[32mESM[39m [1mdist/react-core/chunk-7DYMJ74I.js [22m[32m279.00 B[39m
|
|
150
141
|
[32mESM[39m [1mdist/react-core/index.js.map [22m[32m49.75 KB[39m
|
|
151
142
|
[32mESM[39m [1mdist/react-core/testing.js.map [22m[32m1.86 KB[39m
|
|
152
143
|
[32mESM[39m [1mdist/react-core/chunk-7DYMJ74I.js.map [22m[32m533.00 B[39m
|
|
153
|
-
[32mESM[39m ⚡️ Build success in
|
|
154
|
-
[32mESM[39m [1mdist/prosemirror/index.js [22m[32m77.76 KB[39m
|
|
155
|
-
[32mESM[39m [1mdist/prosemirror/index.js.map [22m[32m307.20 KB[39m
|
|
156
|
-
[32mESM[39m ⚡️ Build success in 97ms
|
|
144
|
+
[32mESM[39m ⚡️ Build success in 98ms
|
|
157
145
|
[32mESM[39m [1mdist/browser/index.js [22m[32m14.06 KB[39m
|
|
158
146
|
[32mESM[39m [1mdist/browser/index.js.map [22m[32m29.94 KB[39m
|
|
159
|
-
[32mESM[39m ⚡️ Build success in
|
|
147
|
+
[32mESM[39m ⚡️ Build success in 123ms
|
|
160
148
|
[32mESM[39m [1mdist/better-auth/database-adapter/index.js [22m[32m26.65 KB[39m
|
|
161
149
|
[32mESM[39m [1mdist/better-auth/database-adapter/index.js.map [22m[32m58.26 KB[39m
|
|
162
|
-
[32mESM[39m ⚡️ Build success in
|
|
150
|
+
[32mESM[39m ⚡️ Build success in 105ms
|
|
151
|
+
[32mESM[39m [1mdist/expo/index.js [22m[32m4.68 KB[39m
|
|
152
|
+
[32mESM[39m [1mdist/expo/testing.js [22m[32m112.00 B[39m
|
|
153
|
+
[32mESM[39m [1mdist/expo/crypto.js [22m[32m153.00 B[39m
|
|
154
|
+
[32mESM[39m [1mdist/expo/polyfills.js [22m[32m858.00 B[39m
|
|
155
|
+
[32mESM[39m [1mdist/expo/index.js.map [22m[32m10.23 KB[39m
|
|
156
|
+
[32mESM[39m [1mdist/expo/testing.js.map [22m[32m168.00 B[39m
|
|
157
|
+
[32mESM[39m [1mdist/expo/crypto.js.map [22m[32m189.00 B[39m
|
|
158
|
+
[32mESM[39m [1mdist/expo/polyfills.js.map [22m[32m1.61 KB[39m
|
|
159
|
+
[32mESM[39m ⚡️ Build success in 116ms
|
|
160
|
+
[32mESM[39m [1mdist/prosemirror/index.js [22m[32m77.76 KB[39m
|
|
161
|
+
[32mESM[39m [1mdist/prosemirror/index.js.map [22m[32m307.20 KB[39m
|
|
162
|
+
[32mESM[39m ⚡️ Build success in 129ms
|
|
163
163
|
[32mESM[39m [1mdist/react-native-core/index.js [22m[32m19.05 KB[39m
|
|
164
|
-
[32mESM[39m [1mdist/react-native-core/crypto.js [22m[32m2.58 KB[39m
|
|
165
164
|
[32mESM[39m [1mdist/react-native-core/testing.js [22m[32m119.00 B[39m
|
|
165
|
+
[32mESM[39m [1mdist/react-native-core/crypto.js [22m[32m2.58 KB[39m
|
|
166
166
|
[32mESM[39m [1mdist/react-native-core/crypto/RNCrypto.js [22m[32m120.00 B[39m
|
|
167
167
|
[32mESM[39m [1mdist/react-native-core/index.js.map [22m[32m38.74 KB[39m
|
|
168
|
-
[32mESM[39m [1mdist/react-native-core/crypto.js.map [22m[32m5.25 KB[39m
|
|
169
168
|
[32mESM[39m [1mdist/react-native-core/testing.js.map [22m[32m175.00 B[39m
|
|
169
|
+
[32mESM[39m [1mdist/react-native-core/crypto.js.map [22m[32m5.25 KB[39m
|
|
170
170
|
[32mESM[39m [1mdist/react-native-core/crypto/RNCrypto.js.map [22m[32m178.00 B[39m
|
|
171
|
-
[32mESM[39m ⚡️ Build success in
|
|
171
|
+
[32mESM[39m ⚡️ Build success in 135ms
|
|
172
|
+
[32mESM[39m [1mdist/react/index.js [22m[32m25.83 KB[39m
|
|
173
|
+
[32mESM[39m [1mdist/react/testing.js [22m[32m122.00 B[39m
|
|
174
|
+
[32mESM[39m [1mdist/react/ssr.js [22m[32m697.00 B[39m
|
|
175
|
+
[32mESM[39m [1mdist/react/index.js.map [22m[32m55.23 KB[39m
|
|
176
|
+
[32mESM[39m [1mdist/react/testing.js.map [22m[32m165.00 B[39m
|
|
177
|
+
[32mESM[39m [1mdist/react/ssr.js.map [22m[32m1.11 KB[39m
|
|
178
|
+
[32mESM[39m ⚡️ Build success in 125ms
|
|
172
179
|
[32mESM[39m [1mdist/react-native/index.js [22m[32m21.59 KB[39m
|
|
173
180
|
[32mESM[39m [1mdist/react-native/testing.js [22m[32m120.00 B[39m
|
|
174
181
|
[32mESM[39m [1mdist/react-native/crypto.js [22m[32m161.00 B[39m
|
|
@@ -177,41 +184,38 @@
|
|
|
177
184
|
[32mESM[39m [1mdist/react-native/testing.js.map [22m[32m176.00 B[39m
|
|
178
185
|
[32mESM[39m [1mdist/react-native/crypto.js.map [22m[32m197.00 B[39m
|
|
179
186
|
[32mESM[39m [1mdist/react-native/polyfills.js.map [22m[32m1.61 KB[39m
|
|
180
|
-
[32mESM[39m ⚡️ Build success in
|
|
181
|
-
[32mESM[39m [1mdist/
|
|
182
|
-
[32mESM[39m [1mdist/
|
|
183
|
-
[32mESM[39m [1mdist/
|
|
184
|
-
[32mESM[39m [1mdist/
|
|
185
|
-
[32mESM[39m [1mdist/
|
|
186
|
-
[32mESM[39m [1mdist/
|
|
187
|
-
[32mESM[39m ⚡️ Build success in
|
|
188
|
-
[32mESM[39m [1mdist/inspector/index.js [22m[32m125.80 KB[39m
|
|
189
|
-
[32mESM[39m [1mdist/inspector/index.js.map [22m[32m216.33 KB[39m
|
|
190
|
-
[32mESM[39m ⚡️ Build success in 164ms
|
|
191
|
-
[32mESM[39m [1mdist/index.js [22m[32m29.76 KB[39m
|
|
192
|
-
[32mESM[39m [1mdist/testing.js [22m[32m8.51 KB[39m
|
|
193
|
-
[32mESM[39m [1mdist/chunk-FFEEPZEG.js [22m[32m213.13 KB[39m
|
|
187
|
+
[32mESM[39m ⚡️ Build success in 148ms
|
|
188
|
+
[32mESM[39m [1mdist/inspector/index.js [22m[32m6.29 KB[39m
|
|
189
|
+
[32mESM[39m [1mdist/inspector/standalone.js [22m[32m12.61 KB[39m
|
|
190
|
+
[32mESM[39m [1mdist/inspector/chunk-C6BJPHBQ.js [22m[32m126.24 KB[39m
|
|
191
|
+
[32mESM[39m [1mdist/inspector/index.js.map [22m[32m9.65 KB[39m
|
|
192
|
+
[32mESM[39m [1mdist/inspector/standalone.js.map [22m[32m20.11 KB[39m
|
|
193
|
+
[32mESM[39m [1mdist/inspector/chunk-C6BJPHBQ.js.map [22m[32m219.48 KB[39m
|
|
194
|
+
[32mESM[39m ⚡️ Build success in 183ms
|
|
194
195
|
[32mESM[39m [1mdist/tools/ssr.js [22m[32m156.00 B[39m
|
|
195
|
-
[32mESM[39m [1mdist/chunk-M2HGBOXS.js [22m[32m694.00 B[39m
|
|
196
196
|
[32mESM[39m [1mdist/chunk-PZ5AY32C.js [22m[32m233.00 B[39m
|
|
197
|
-
[32mESM[39m [1mdist/index.js
|
|
198
|
-
[32mESM[39m [1mdist/
|
|
199
|
-
[32mESM[39m [1mdist/
|
|
197
|
+
[32mESM[39m [1mdist/index.js [22m[32m29.76 KB[39m
|
|
198
|
+
[32mESM[39m [1mdist/chunk-M2HGBOXS.js [22m[32m694.00 B[39m
|
|
199
|
+
[32mESM[39m [1mdist/testing.js [22m[32m8.51 KB[39m
|
|
200
|
+
[32mESM[39m [1mdist/chunk-HX5S6W5E.js [22m[32m213.29 KB[39m
|
|
200
201
|
[32mESM[39m [1mdist/tools/ssr.js.map [22m[32m71.00 B[39m
|
|
201
|
-
[32mESM[39m [1mdist/chunk-M2HGBOXS.js.map [22m[32m1.10 KB[39m
|
|
202
202
|
[32mESM[39m [1mdist/chunk-PZ5AY32C.js.map [22m[32m71.00 B[39m
|
|
203
|
-
[32mESM[39m
|
|
203
|
+
[32mESM[39m [1mdist/chunk-M2HGBOXS.js.map [22m[32m1.10 KB[39m
|
|
204
|
+
[32mESM[39m [1mdist/testing.js.map [22m[32m16.13 KB[39m
|
|
205
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m60.59 KB[39m
|
|
206
|
+
[32mESM[39m [1mdist/chunk-HX5S6W5E.js.map [22m[32m502.74 KB[39m
|
|
207
|
+
[32mESM[39m ⚡️ Build success in 218ms
|
|
204
208
|
[32mESM[39m [1mdist/inspector/register-custom-element.js [22m[32m218.00 B[39m
|
|
205
209
|
[32mESM[39m [1mdist/inspector/register-custom-element.js.map [22m[32m314.00 B[39m
|
|
206
|
-
[32mESM[39m [1mdist/inspector/custom-element-
|
|
207
|
-
[32mESM[39m [1mdist/inspector/custom-element-
|
|
208
|
-
[32mESM[39m ⚡️ Build success in
|
|
210
|
+
[32mESM[39m [1mdist/inspector/custom-element-GJVBPZES.js [22m[32m1.60 MB[39m
|
|
211
|
+
[32mESM[39m [1mdist/inspector/custom-element-GJVBPZES.js.map [22m[32m2.47 MB[39m
|
|
212
|
+
[32mESM[39m ⚡️ Build success in 244ms
|
|
209
213
|
|
|
210
|
-
> jazz-tools@0.19.
|
|
214
|
+
> jazz-tools@0.19.11 types /home/runner/_work/jazz/jazz/packages/jazz-tools
|
|
211
215
|
> tsc --outDir dist
|
|
212
216
|
|
|
213
217
|
|
|
214
|
-
> jazz-tools@0.19.
|
|
218
|
+
> jazz-tools@0.19.11 build:svelte /home/runner/_work/jazz/jazz/packages/jazz-tools
|
|
215
219
|
> rm -rf dist/svelte && svelte-package -i src/svelte -o dist/svelte --tsconfig tsconfig.svelte.json
|
|
216
220
|
|
|
217
221
|
src/svelte -> dist/svelte
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# jazz-tools
|
|
2
2
|
|
|
3
|
+
## 0.19.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 68acca4: Sync Server is now configurable in inspector.jazz.tools
|
|
8
|
+
- c00a454: Resolve footgun in Account.createAs() that made it easy to save the wrong credentials.
|
|
9
|
+
- Updated dependencies [c00a454]
|
|
10
|
+
- cojson@0.19.11
|
|
11
|
+
- cojson-storage-indexeddb@0.19.11
|
|
12
|
+
- cojson-transport-ws@0.19.11
|
|
13
|
+
|
|
3
14
|
## 0.19.10
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -2308,6 +2308,10 @@ var _Account = class _Account extends CoValueBase {
|
|
|
2308
2308
|
crypto,
|
|
2309
2309
|
peers: [connectedPeers[0]]
|
|
2310
2310
|
});
|
|
2311
|
+
const credentials = {
|
|
2312
|
+
accountID: account.$jazz.id,
|
|
2313
|
+
accountSecret: account.$jazz.localNode.getCurrentAgent().agentSecret
|
|
2314
|
+
};
|
|
2311
2315
|
const loadedWorker = await _Account.load(worker.$jazz.id, {
|
|
2312
2316
|
loadAs: account
|
|
2313
2317
|
});
|
|
@@ -2321,7 +2325,7 @@ var _Account = class _Account extends CoValueBase {
|
|
|
2321
2325
|
if (!createdAccount.$isLoaded)
|
|
2322
2326
|
throw new Error("Unable to load the created account");
|
|
2323
2327
|
account.$jazz.localNode.gracefulShutdown();
|
|
2324
|
-
return createdAccount;
|
|
2328
|
+
return { credentials, account: createdAccount };
|
|
2325
2329
|
}
|
|
2326
2330
|
static fromNode(node) {
|
|
2327
2331
|
return new this({
|
|
@@ -7394,4 +7398,4 @@ export {
|
|
|
7394
7398
|
JazzContextManager
|
|
7395
7399
|
};
|
|
7396
7400
|
/* istanbul ignore file -- @preserve */
|
|
7397
|
-
//# sourceMappingURL=chunk-
|
|
7401
|
+
//# sourceMappingURL=chunk-HX5S6W5E.js.map
|