JSPM

@windstack/core

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 22
  • Score
    100M100P100Q5421F
  • License MIT

Shared provider primitives for Wind Stack SDK packages.

Package Exports

  • @windstack/core

Readme

@windstack/core

Shared TypeScript foundation for Wind Stack SDK packages.

This package contains provider-safe primitives used by @windstack/evm, @windstack/solana, @windstack/vexanium, and @windstack/session.

Install

npm install @windstack/core

Exports

import {
  WISP_ERROR_CODES,
  WispEventEmitter,
  WispProviderError,
  normalizeProviderError,
  readDappMetadataFromDocument,
  resolveDappMetadata,
  sameDappOrigin,
} from '@windstack/core';

Types:

import type {
  DappMetadata,
  DappMetadataInput,
  ProviderDetail,
  ProviderInfo,
  RequestArguments,
  WispClientOptions,
  WispProviderLike,
  WispSession,
} from '@windstack/core';

dApp metadata

Use resolveDappMetadata() before requesting wallet access. Explicit values take priority, then the browser document is used when available.

const dapp = resolveDappMetadata({
  name: 'Wind Explorer — Vexanium Blockchain',
  url: 'https://explorer.windcrypto.com',
  icon: 'https://explorer.windcrypto.com/icon-128.png',
  description: 'Explore Vexanium: blocks, transactions, accounts, contracts, and analytics — all in one sleek explorer.',
});

The returned metadata always includes name, url, and origin.

License

MIT © 2026 PT WIND KRIPTOGRAFI TEKNOLOGI