@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.
@@ -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 ?? repoRoot;
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", "use-miden-para-react");
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.15.1";
287
+ : "0.16.1";
287
288
  const useMidenParaReactVersion = useLocalDeps
288
289
  ? `file:${localUseMidenParaReactPath}`
289
- : "^0.15.1";
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": "^2.2.0",
294
- "@getpara/evm-wallet-connectors": "^2.2.0",
295
- "@miden-sdk/miden-sdk": "^0.15.1",
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.15.1",
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": "2.0.0-alpha.73",
315
- "@getpara/web-sdk": "2.0.0-alpha.73",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miden-sdk/create-para-react",
3
- "version": "0.16.0-rc.7",
3
+ "version": "0.16.1",
4
4
  "description": "Create a Vite react-ts app preconfigured with Miden + Para's Vite setup",
5
5
  "type": "module",
6
6
  "bin": "./bin/create-miden-para-react.mjs",