3.0.0 • Published 9 months ago

@midnight-ntwrk/dapp-connector-api v3.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

⚠️ This repo hasn't been fully migrated yet - please use https://github.com/input-output-hk/midnight-dapp-connector-api instead

Midnight DApp connector API

Definition of the Midnight DApp connector interface.

Structure

This package declares a set of TypeScript interfaces. All of them can be found in src/ directory:

  • api.ts - To the interface that's exposed to dapps
  • errors.ts - Errors thrown from the exposed api

Documentation

To generate documentation files in docs folder:

yarn build:docs

Global Variables Exposure

This package declares a global variable in the window.midnight.{walletName} scope.

The package needs to be imported in the project or the (typeRoots)https://www.typescriptlang.org/tsconfig#typeRoots needs to be configured to load the global variable declaration.

3.0.0

9 months ago

1.2.3

1 year ago

1.2.2

1 year ago

2.0.0

10 months ago

1.2.1

1 year ago

1.1.0

2 years ago

1.0.0

2 years ago