0.2.13 • Published 1 year ago

indy-vdr-test-react-native v0.2.13

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

indy-vdr-test-react-native

Wrapper for React Native around indy-vdr

Requirements

This module uses the new React Native Turbo Modules. These are faster than the previous Native Modules, and can be completely synchronous. A React Native version of >= 0.66.0 is required for this package to work.

Installation

yarn add indy-vdr-test-react-native

Usage

You can import all types and classes from the indy-vdr-test-react-native library:

import { PoolCreate, GetSchemaRequest } from 'indy-vdr-test-react-native'

const pool = new PoolCreate({
  parameters: {
    transactions: <TRANSACTION_OBJECT>
  }
})

const getSchemaRequest = new GetSchemaRequest({
  schemaId: 'J6nTnUo3YLayzc2GUUctb1:2:MyName:1.0',
})

const schemaResponse = await pool.submitRequest(getSchemaRequest)

Note: If you want to use this library in a cross-platform environment you need to import methods from the indy-vdr-test-shared package instead. This is a platform independent package that allows to register the native bindings. The indy-vdr-test-nodejs package uses this package under the hood. See the Indy VDR Shared README for documentation on how to use this package.

0.2.13

1 year ago

0.2.12

1 year ago

0.2.11

1 year ago

0.2.9

1 year ago

0.2.8

1 year ago

0.2.7

1 year ago

0.2.6

1 year ago

0.2.5

1 year ago

0.2.1

1 year ago

0.0.0

1 year ago