Catalog npm
Back to packageRELEASE DETAILS

1.0.3

npm

@0xshield3/privy

Shield3 RPC configuration for Privy

privyreactweb3
Published21 Feb 2024
Direct dependencies7
Transitive dependenciesNot calculated

README

Current package documentation

@0xshield3/privy

@0xshield3/privy is a configuration package for the Privy @privy-io/react-auth library that enables Shield3 RPC integration. It simplifies the setup process for connecting to the Shield3 API by providing a convenient configuration function.

Installation

To install @0xshield3/privy, use your preferred package manager:

npm install @0xshield3/privy
yarn add @0xshield3/privy
pnpm add @0xshield3/privy

Usage

To use @0xshield3/privy, you need to import and call the initShield3PrivyConfig function with your Shield3 API key and optional Privy configuration.

import initShield3PrivyConfig from '@0xshield3/privy';

const privyProviderConfig = {
    // Your Privy configuration options (optional)
};

const shield3PrivyConfig = initShield3PrivyConfig(<YOUR_SHIELD3_API_KEY>, privyProviderConfig);

return (
    <PrivyProvider config={shield3PrivyConfig}>
        <Component {...pageProps} />
    </PrivyProvider>
    );

Parameters

  • SHIELD3_API_KEY (string): Your Shield3 API key, which is required for authentication.

  • privyClientConfig (PrivyClientConfig type): An optional configuration object for Privy. This object allows you to customize the behavior of the Privy client. Refer to the Privy documentation for available configuration options.

License

This package is licensed under the MIT License. See the LICENSE file for details.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 8

Native requirements
7 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@privy-io/react-auth
Environment
{
  "local_name": "@privy-io/react-auth",
  "alias": false,
  "peer_metadata": null
}
1.41.0development
eslint
Environment
{
  "local_name": "eslint",
  "alias": false,
  "peer_metadata": null
}
^8.45.0development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^5.0.2development
vite
Environment
{
  "local_name": "vite",
  "alias": false,
  "peer_metadata": null
}
^4.4.5development
vite-plugin-dts
Environment
{
  "local_name": "vite-plugin-dts",
  "alias": false,
  "peer_metadata": null
}
^3.6.0development
@privy-io/react-auth
Environment
{
  "local_name": "@privy-io/react-auth",
  "alias": false,
  "peer_metadata": null
}
^1.41.0peer
react
Environment
{
  "local_name": "react",
  "alias": false,
  "peer_metadata": null
}
^18.2.0peer
react-dom
Environment
{
  "local_name": "react-dom",
  "alias": false,
  "peer_metadata": null
}
^18.2.0peer

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-F+xr2nRy4PswlOD53hL4N5cjqQ51jtfbr55PHxmyTkrPfdD5TWIWUG6RJDAUf7ZH4copyEMcUHP52s8sZONALw==",
  "shasum": "5143c0952fe57bbe03a5b313a2e5b7282d18340f",
  "tarball": "https://registry.npmjs.org/@0xshield3/privy/-/privy-1.0.3.tgz",
  "fileCount": 7,
  "unpackedSize": 7780,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIQCAf7AVV10PP3lC/jKYIp2e0hIehhpbDOwVSQ2qfSh5pQIgT3ftX9xDPHm61TTbBzhQzGi54xiBHMFrjPfgL+xX//U="
    }
  ]
}

Repository

PENDING
0xshield3/packages

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:27 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:6ae8a93d6c364c684c039a99cd9c5ebe37f103bb3db8b33dc72d4d1e86a9a030

Other collected versions

1.1.021 Feb1.0.221 Feb1.0.12 Oct1.0.02 OctView all collected versions →