Skip to content

docs: updated stale examples#479

Open
frolvanya wants to merge 1 commit into
mainfrom
docs/updated-stale-examples
Open

docs: updated stale examples#479
frolvanya wants to merge 1 commit into
mainfrom
docs/updated-stale-examples

Conversation

@frolvanya
Copy link
Copy Markdown
Contributor

No description provided.

@frolvanya frolvanya requested review from a team as code owners May 26, 2026 10:35
@frolvanya frolvanya requested a review from Copilot May 26, 2026 10:35
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 26, 2026

⚠️ No Changeset found

Latest commit: 61f1c34

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates documentation snippets to align with the current Bridge SDK APIs, particularly around proof fetching, NEAR shims, and manual finalization flows.

Changes:

  • Refreshes EVM proof and NEAR finalization examples to use current function signatures and builder params.
  • Updates NEAR guide examples to use toNearApiJsActions and removes stale helper references.
  • Aligns docs ChainKind enum examples with the current on-chain-aligned enum layout.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
docs/reference/core.mdx Updates proof example to pass network into getEvmProof.
docs/guides/near.mdx Refreshes @near-js usage example to use toNearApiJsActions and updates shim documentation table.
docs/guides/advanced/token-deployment.mdx Updates token deployment examples to convert MPC signatures correctly and uses createBridge().getBridgedToken.
docs/guides/advanced/manual-finalization.mdx Modernizes manual finalization flow to parse NEAR logs directly and uses the current NEAR builder finalization API.
docs/core-concepts/omni-addresses.mdx Updates documented ChainKind enum members/values to match current SDK.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/reference/core.mdx
Comment on lines 1971 to 1972
import { ProofError } from "@omni-bridge/core"

Comment thread docs/guides/near.mdx
import { InMemoryKeyStore } from "@near-js/keystores"
import { KeyPair } from "@near-js/crypto"
import { InMemorySigner } from "@near-js/signers"
import type { Action } from "near-api-js"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants