Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/deploy-example-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:

- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 20
node-version: 24
cache: npm
cache-dependency-path: example-apps/${{ matrix.app }}/package-lock.json

Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:

- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 20
node-version: 24

- name: Download all built apps
uses: actions/download-artifact@v4
Expand Down
1,077 changes: 556 additions & 521 deletions example-apps/dashmint-lab/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example-apps/dashmint-lab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"preview": "vite preview"
},
"dependencies": {
"@dashevo/evo-sdk": "3.1.0-dev.6",
"@dashevo/evo-sdk": "4.0.0-rc.1",
"@tailwindcss/vite": "^4.2.2",
"react": "^19.2.4",
"react-dom": "^19.2.4",
Expand Down
402 changes: 213 additions & 189 deletions example-apps/dashnote-starter/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example-apps/dashnote-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"preview": "vite preview"
},
"dependencies": {
"@dashevo/evo-sdk": "3.1.0-dev.1",
"@dashevo/evo-sdk": "4.0.0-rc.1",
"react": "^19.2.4",
"react-dom": "^19.2.4"
},
Expand Down
3 changes: 2 additions & 1 deletion example-apps/dashnote-starter/src/dash/createNote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* SDK method: sdk.documents.create({ document, identityKey, signer })
*/
import type { Logger } from "../lib/logger";
import { PLATFORM_VERSION_OVERRIDE } from "../../../../platformVersion.mjs";
import { loadSdkModule } from "./sdkModule";
import type { DashKeyManager, DashSdk } from "./types";

Expand Down Expand Up @@ -46,7 +47,7 @@ export async function createNote({

const json =
typeof document.toJSON === "function"
? (document.toJSON() as Record<string, unknown>)
? (document.toJSON(PLATFORM_VERSION_OVERRIDE) as Record<string, unknown>)
: {};
const noteId = String(json.$id ?? json.id ?? "");
if (!noteId) {
Expand Down
Loading