@miden-sdk/create-para-react 0.16.0-rc.7 → 0.16.1
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/bin/create-miden-para-react.mjs +17 -11
- package/package.json +1 -1
|
@@ -34,12 +34,13 @@ const templateOptionalConnectorsPath = resolve(
|
|
|
34
34
|
"src",
|
|
35
35
|
"optional-connectors.ts"
|
|
36
36
|
);
|
|
37
|
-
const repoRoot = resolve(__dirname, "..", "..", "..");
|
|
37
|
+
const repoRoot = resolve(__dirname, "..", "..", "..", "..");
|
|
38
38
|
const localMidenParaPath =
|
|
39
|
-
process.env.MIDEN_PARA_LOCAL_MIDEN_PARA_PATH ??
|
|
39
|
+
process.env.MIDEN_PARA_LOCAL_MIDEN_PARA_PATH ??
|
|
40
|
+
join(repoRoot, "packages", "para", "core");
|
|
40
41
|
const localUseMidenParaReactPath =
|
|
41
42
|
process.env.MIDEN_PARA_LOCAL_USE_MIDEN_PARA_REACT_PATH ??
|
|
42
|
-
join(repoRoot, "packages", "
|
|
43
|
+
join(repoRoot, "packages", "para", "react");
|
|
43
44
|
const useLocalDeps = process.env.MIDEN_PARA_LOCAL_DEPS === "1";
|
|
44
45
|
|
|
45
46
|
const args = process.argv.slice(2);
|
|
@@ -283,20 +284,23 @@ function ensureMidenParaDependencies(targetRoot) {
|
|
|
283
284
|
pkg.scripts = pkg.scripts ?? {};
|
|
284
285
|
const midenParaVersion = useLocalDeps
|
|
285
286
|
? `file:${localMidenParaPath}`
|
|
286
|
-
: "0.
|
|
287
|
+
: "0.16.1";
|
|
287
288
|
const useMidenParaReactVersion = useLocalDeps
|
|
288
289
|
? `file:${localUseMidenParaReactPath}`
|
|
289
|
-
: "^0.
|
|
290
|
+
: "^0.16.1";
|
|
290
291
|
// Align with examples/react-signer so Para SDK connector peers are satisfied
|
|
291
292
|
Object.assign(pkg.dependencies, {
|
|
292
293
|
...pkg.dependencies,
|
|
293
|
-
"@getpara/react-sdk-lite": "^
|
|
294
|
-
"@getpara/evm-wallet-connectors": "^
|
|
295
|
-
"@miden-sdk/miden-sdk": "^0.
|
|
294
|
+
"@getpara/react-sdk-lite": "^3.18.0",
|
|
295
|
+
"@getpara/evm-wallet-connectors": "^3.18.0",
|
|
296
|
+
"@miden-sdk/miden-sdk": "^0.16.1",
|
|
296
297
|
"@miden-sdk/para": midenParaVersion,
|
|
297
298
|
"@miden-sdk/para-react": useMidenParaReactVersion,
|
|
298
|
-
"@miden-sdk/react": "^0.
|
|
299
|
+
"@miden-sdk/react": "^0.16.0",
|
|
299
300
|
"@tanstack/react-query": "^5.0.0",
|
|
301
|
+
viem: "^2.39.0",
|
|
302
|
+
wagmi: "^2.14.16",
|
|
303
|
+
"@wagmi/core": "^2.16.7",
|
|
300
304
|
});
|
|
301
305
|
|
|
302
306
|
Object.assign(pkg.devDependencies, {
|
|
@@ -311,8 +315,10 @@ function ensureMidenParaDependencies(targetRoot) {
|
|
|
311
315
|
});
|
|
312
316
|
|
|
313
317
|
Object.assign(pkg.resolutions, {
|
|
314
|
-
"@getpara/react-sdk": "
|
|
315
|
-
"@getpara/web-sdk": "
|
|
318
|
+
"@getpara/react-sdk": "3.18.0",
|
|
319
|
+
"@getpara/web-sdk": "3.18.0",
|
|
320
|
+
"@getpara/react-sdk-lite": "3.18.0",
|
|
321
|
+
"@getpara/evm-wallet-connectors": "3.18.0",
|
|
316
322
|
});
|
|
317
323
|
|
|
318
324
|
Object.assign(pkg.scripts, {
|
package/package.json
CHANGED