Skip to content

Commit e6ca001

Browse files
Merge branch 'mainnet' into docs/doc-fixes
2 parents aa0719b + 928a7d9 commit e6ca001

File tree

16 files changed

+187
-233
lines changed

16 files changed

+187
-233
lines changed

.github/workflows/staging-website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
override: true
2323
components: rustfmt, rust-src
2424

25-
- uses: actions/cache@v2
25+
- uses: actions/cache@v4
2626
with:
2727
path: |
2828
~/.cargo/registry

.github/workflows/test-website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
override: true
2020
components: rustfmt, rust-src
2121

22-
- uses: actions/cache@v2
22+
- uses: actions/cache@v4
2323
with:
2424
path: |
2525
~/.cargo/registry

.github/workflows/website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
override: true
2323
components: rustfmt, rust-src
2424

25-
- uses: actions/cache@v2
25+
- uses: actions/cache@v4
2626
with:
2727
path: |
2828
~/.cargo/registry

create-leo-app/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ npm create leo-app@latest
1313

1414
Then follow the prompts!
1515

16-
You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold an Aleo + React project, run:
16+
You can also directly specify the project name you want to use via additional command line options. For example, to scaffold a Leo project, run:
1717

1818
```bash
1919
# npm 6.x
20-
npm create leo-app@latest my-leo-app --template react
20+
npm create leo-app@latest my-leo-app
2121

2222
# npm 7+, extra double-dash is needed:
23-
npm create leo-app@latest my-leo-app -- --template react
23+
npm create leo-app@latest my-leo-app
2424
```
2525

2626
Currently supported template presets include:

create-leo-app/template-react-leo/vite.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ import react from "@vitejs/plugin-react";
44
// https://vitejs.dev/config/
55
export default defineConfig({
66
plugins: [react()],
7+
assetsInclude: ['**/*.wasm'],
78
optimizeDeps: {
8-
exclude: ["@provablehq/wasm", "@provablehq/sdk"],
9+
exclude: ["@provablehq/wasm"],
910
},
1011
server: {
1112
headers: {

create-leo-app/template-react-managed-worker/vite.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ import react from "@vitejs/plugin-react";
33

44
// https://vitejs.dev/config/
55
export default defineConfig({
6+
assetsInclude: ['**/*.wasm'],
67
plugins: [react()],
78
optimizeDeps: {
8-
exclude: ["@provablehq/wasm", "@provablehq/sdk"],
9+
exclude: ["@provablehq/wasm"],
910
},
1011
server: {
1112
// Needed if you are linking local packages for development

create-leo-app/template-react-ts/vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ import react from "@vitejs/plugin-react";
33

44
// https://vitejs.dev/config/
55
export default defineConfig({
6+
assetsInclude: ['**/*.wasm'],
67
plugins: [react()],
78
optimizeDeps: {
8-
exclude: ["@provablehq/wasm", "@provablehq/sdk"],
9+
exclude: ["@provablehq/wasm"],
910
},
1011
server: {
1112
headers: {

create-leo-app/template-vanilla/vite.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import { defineConfig } from "vite";
2+
23
export default defineConfig({
4+
assetsInclude: ['**/*.wasm'],
35
optimizeDeps: {
4-
exclude: ["@provablehq/wasm", "@provablehq/sdk"],
6+
exclude: ["@provablehq/wasm",],
57
},
68
server: {
79
headers: {

sdk/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151
"comlink": "^4.4.2",
5252
"core-js": "^3.40.0",
5353
"mime": "^4.0.6",
54-
"sync-request": "^6.1.0"
54+
"sync-request": "^6.1.0",
55+
"xmlhttprequest-ssl": "^3.1.0"
5556
},
5657
"devDependencies": {
5758
"@rollup/plugin-replace": "^6.0.2",

sdk/rollup.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export default networks.map((network) => {
2828
"node:crypto",
2929
"mime/lite",
3030
"sync-request",
31+
"xmlhttprequest-ssl",
3132

3233
// Used by the SDK
3334
"comlink",

0 commit comments

Comments
 (0)