open-index/open-npm huggingface dataset:
npm package: @plenaconnect/core
Description: Core Library for PlenaConnect
Author: Plena Finance, Inc.
Latest version: 1.0.0

# PlenaConnect Core

Core Library for PlenaConnect

This library is shared with the [Browser Client](https://www.npmjs.com/package/@plenaconnect/browser) and [React-Native Client](https://www.npmjs.com/package/@plenaconnect/react-native)

For more details, read the [documentation](https://docs.plenaconnect.org)
npm package: @plenaconnect/qrcode-modal
Description: QR Code Modal for PlenaConnect
Author: PlenaConnect, Inc.
Latest version: 1.0.2

# PlenaConnect QR Code Modal

QR Code Modal for PlenaConnect

For more details, read the [documentation](https://docs.plenaconnect.org)

```js
import PlenaConnectQRCodeModal from "walletconnect-qrcode-modal";

/**
 *  Get URI from PlenaConnect object
 */
const uri = connector.uri;

/**
 *  Open QR Code Modal
 */
PlenaConnectQRCodeModal.open(uri);

/**
 *  Close QR Code Modal
 */
PlenaConnectQRCodeModal.close();
```
npm package: @plenaconnect/types
Description: Typescript Types for PlenaConnect
Author: PlenaConnect, Inc.
Latest version: 1.0.0

# PlenaConnect Types

Typescript Types for PlenaConnect

## Types

- ICryptoLib
- ISessionStorage
- IEncryptionPayload
- ISocketMessage
- ISessionStatus
- ISessionError
- IInternalEvent
- ICallTxData
- ITxData
- IJsonRpcResponseSuccess
- IJsonRpcErrorMessage
- IJsonRpcResponseError
- IJsonRpcRequest
- IWeb3Provider
- IClientMeta
- IEventEmitter
- IRequiredParamsResult
- IQueryParamsResult
- IParseURIResult
- ISessionParams
- IPlenaConnectSession
- IPlenaConnectOptions
- IPushServerOptions
- INativeWalletOptions
- IPushSubscription
npm package: @plenaconnect/utils
Description: Utility Library for PlenaConnect
Author: PlenaConnect, Inc.
Latest version: 1.0.0

# PlenaConnect Utils

Utility Library for PlenaConnect

## API

```typescript
function convertArrayBufferToBuffer (arrayBuffer: ArrayBuffer): Buffer
function convertArrayBufferToUtf8 (arrayBuffer: ArrayBuffer): string
function convertArrayBufferToHex (arrayBuffer: ArrayBuffer, noPrefix?: boolean): string
function convertArrayBufferToNumber (arrayBuffer: ArrayBuffer): number
function concatArrayBuffers (...args: ArrayBuffer[]): ArrayBuffer

function convertBufferToArrayBuffer (buffer: Buffer): ArrayBuffer
function convertBufferToUtf8 (buffer: Buffer): string
function convertBufferToHex (buffer: Buffer, noPrefix?: boolean): string
function convertBufferToNumber (buffer: Buffer): number
function concatBuffers (...args: Buffer[]): Buffer

function convertUtf8ToArrayBuffer (utf8: string): ArrayBuffer
function convertUtf8ToBuffer (utf8: string): Buffer
function convertUtf8ToHex (utf8: string, noPrefix?: boolean): string
function convertUtf8ToNumber (utf8: string): number

function convertNumberToBuffer (num: number): Buffer
function convertNumberToArrayBuffer (num: number): ArrayBuffer
function convertNumberToUtf8 (num: number): string
function convertNumberToHex (num: number, noPrefix?: boolean): string

function convertHexToBuffer (hex: string): Buffer
function convertHexToArrayBuffer (hex: string): ArrayBuffer
function convertHexToUtf8 (hex: string): string
function convertHexToNumber (hex: string): number

function sanitizeHex (hex: string): string
function addHexPrefix (hex: string): string
function removeHexPrefix (hex: string): string

function isHexString (value: any): boolean
function isEmptyString (value: string): boolean
function isEmptyArray (array: any[]): boolean

function payloadId (): number
function uuid (): string

function keccak256 (data?: string): string

function getMeta (): IClientMeta | null

function parsePlenaConnectUri (str: string): IParseURIResult

function promisify (originalFn: (...args: any[]) => void, thisArg?: any): (...callArgs: any[])

function parsePersonalSign (params: string[]): string[]
function parseTransactionData (txData: Partial<ITxData>): Partial<ITxData>

function formatRpcError (error: Partial<IJsonRpcErrorMessage>): { code: number, message: string, data?: string}

function isJsonRpcSubscription (object: any): boolean
function isJsonRpcRequest (object: any): boolean
function isJsonRpcResponseSuccess (object: any): boolean
function isJsonRpcResponseError (object: any): boolean
function isInternalEvent (object: any): boolean
function isPlenaConnectSession (object: any): boolean
function isReservedEvent (event: string): boolean
```
npm package: @plenatest/core
Description: Core Library for PlenaConnect
Author: Plena Finance, Inc.
Latest version: 5.0.1

# PlenaConnect Core

Core Library for PlenaConnect

This library is shared with the [Browser Client](https://www.npmjs.com/package/@plenaconnect/browser) and [React-Native Client](https://www.npmjs.com/package/@plenaconnect/react-native)

For more details, read the [documentation](https://docs.plenaconnect.org)
npm package: @plenatest/qrcode-modal
Description: QR Code Modal for PlenaConnect
Author: PlenaConnect, Inc.
Latest version: 5.0.1

# PlenaConnect QR Code Modal

QR Code Modal for PlenaConnect

For more details, read the [documentation](https://docs.plenaconnect.org)

```js
import PlenaConnectQRCodeModal from "walletconnect-qrcode-modal";

/**
 *  Get URI from PlenaConnect object
 */
const uri = connector.uri;

/**
 *  Open QR Code Modal
 */
PlenaConnectQRCodeModal.open(uri);

/**
 *  Close QR Code Modal
 */
PlenaConnectQRCodeModal.close();
```
npm package: @plenatest/types
Description: Typescript Types for PlenaConnect
Author: PlenaConnect, Inc.
Latest version: 5.0.0

# PlenaConnect Types

Typescript Types for PlenaConnect

## Types

- ICryptoLib
- ISessionStorage
- IEncryptionPayload
- ISocketMessage
- ISessionStatus
- ISessionError
- IInternalEvent
- ICallTxData
- ITxData
- IJsonRpcResponseSuccess
- IJsonRpcErrorMessage
- IJsonRpcResponseError
- IJsonRpcRequest
- IWeb3Provider
- IClientMeta
- IEventEmitter
- IRequiredParamsResult
- IQueryParamsResult
- IParseURIResult
- ISessionParams
- IPlenaConnectSession
- IPlenaConnectOptions
- IPushServerOptions
- INativeWalletOptions
- IPushSubscription
npm package: @plenatest/utils
Description: Utility Library for PlenaConnect
Author: PlenaConnect, Inc.
Latest version: 5.0.0

# PlenaConnect Utils

Utility Library for PlenaConnect

## API

```typescript
function convertArrayBufferToBuffer (arrayBuffer: ArrayBuffer): Buffer
function convertArrayBufferToUtf8 (arrayBuffer: ArrayBuffer): string
function convertArrayBufferToHex (arrayBuffer: ArrayBuffer, noPrefix?: boolean): string
function convertArrayBufferToNumber (arrayBuffer: ArrayBuffer): number
function concatArrayBuffers (...args: ArrayBuffer[]): ArrayBuffer

function convertBufferToArrayBuffer (buffer: Buffer): ArrayBuffer
function convertBufferToUtf8 (buffer: Buffer): string
function convertBufferToHex (buffer: Buffer, noPrefix?: boolean): string
function convertBufferToNumber (buffer: Buffer): number
function concatBuffers (...args: Buffer[]): Buffer

function convertUtf8ToArrayBuffer (utf8: string): ArrayBuffer
function convertUtf8ToBuffer (utf8: string): Buffer
function convertUtf8ToHex (utf8: string, noPrefix?: boolean): string
function convertUtf8ToNumber (utf8: string): number

function convertNumberToBuffer (num: number): Buffer
function convertNumberToArrayBuffer (num: number): ArrayBuffer
function convertNumberToUtf8 (num: number): string
function convertNumberToHex (num: number, noPrefix?: boolean): string

function convertHexToBuffer (hex: string): Buffer
function convertHexToArrayBuffer (hex: string): ArrayBuffer
function convertHexToUtf8 (hex: string): string
function convertHexToNumber (hex: string): number

function sanitizeHex (hex: string): string
function addHexPrefix (hex: string): string
function removeHexPrefix (hex: string): string

function isHexString (value: any): boolean
function isEmptyString (value: string): boolean
function isEmptyArray (array: any[]): boolean

function payloadId (): number
function uuid (): string

function keccak256 (data?: string): string

function getMeta (): IClientMeta | null

function parsePlenaConnectUri (str: string): IParseURIResult

function promisify (originalFn: (...args: any[]) => void, thisArg?: any): (...callArgs: any[])

function parsePersonalSign (params: string[]): string[]
function parseTransactionData (txData: Partial<ITxData>): Partial<ITxData>

function formatRpcError (error: Partial<IJsonRpcErrorMessage>): { code: number, message: string, data?: string}

function isJsonRpcSubscription (object: any): boolean
function isJsonRpcRequest (object: any): boolean
function isJsonRpcResponseSuccess (object: any): boolean
function isJsonRpcResponseError (object: any): boolean
function isInternalEvent (object: any): boolean
function isPlenaConnectSession (object: any): boolean
function isReservedEvent (event: string): boolean
```