0.2.1 • Published 1 month ago

@hyperledger/aries-askar-react-native v0.2.1

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

Aries Askar React Native

Wrapper for React Native around Aries Askar

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 @hyperledger/aries-askar-react-native

Setup

You can import all types and classes from the @hyperledger/aries-askar-react-native library:

import { Key, KeyAlgs } from '@hyperledger/aries-askar-react-native'

const seed = Uint8Array.from(Buffer.from('testseed000000000000000000000001'))
const key = Key.fromSeed({ algorithm: KeyAlgs.Bls12381G1, seed })

Note: If you want to use this library in a cross-platform environment you need to import methods from the @hyperledger/aries-askar-shared package instead. This is a platform independent package that allows to register the native bindings. The @hyperledger/aries-askar-react-native package uses this package under the hood. See the Aries Askar Shared README for documentation on how to use this package.

Version Compatibility

The JavaScript wrapper is versioned independently from the native bindings. The following table shows the compatibility between the different versions:

Aries AskarJavaScript Wrapper
v0.2.9v0.1.0, v0.1.1
v0.3.1v0.2.0
0.2.1

1 month ago

0.2.0

3 months ago

0.2.0-dev.6

4 months ago

0.2.0-dev.4

5 months ago

0.2.0-dev.5

5 months ago

0.2.0-dev.2

6 months ago

0.2.0-dev.3

6 months ago

0.2.0-dev.1

8 months ago

0.1.1

10 months ago

0.1.0

12 months ago

0.1.0-dev.12

12 months ago

0.1.0-dev.11

12 months ago

0.1.0-dev.10

12 months ago

0.1.0-dev.9

1 year ago

0.1.0-dev.7

1 year ago

0.1.0-dev.8

1 year ago

0.1.0-dev.5

1 year ago

0.1.0-dev.6

1 year ago

0.1.0-dev.4

1 year ago

0.1.0-dev.3

1 year ago

0.1.0-dev.2

1 year ago