npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

bnext-dl-data-collector-cordova-plugin

v0.0.2

Published

dLocal Data Collector SDK ionic plugin

Readme

dl-data-collector-cordova-plugin

DLocal's Data Collector SDK cordova plugin for ionic

This plugin is a wrapper of the native SDKs which can be found here:

More info about the functionallity of the SDK on each platform can be found on those repositories.

Install

cordova plugin add https://bitbucket.org/dlocal-public/dlocal-data-collector-cordova-plugin.git

Usage

Setup on app start

Add this to your app startup,

    DLCollector.setUp({
      apiKey: "TEST",
      env: DLCollector.ENV_SANDBOX // or DLCollector.ENV_PROD
    });

    DLCollector.startSession();
    

Replacing apiKey with your key.

Link the session to the transaction

When the user starts the checkout transaction, gather the session id like so:

    sessionId = await DLCollector.getSessionId();

NOTE: The session id will be undefined if setUp and startSession not called before

Submit this value in the payment request within the additional_risk_data.device.event_uuid parameter. The sessionId can be undefined if a session is not available or an error occurred.

Publishing

If your app is distributed through the Apple App Store or Google Play Store, you must comply with the data policies and rules for each store. When using this SDK in your app you must ensure the following:

Apple App Store

  • Add a disclaimer in the app that says that device data is collected and sent to a third party (dlocal).
  • If your app uses location, please add to the info.plist NSLocatioUsageeDescription keys a disclaimer that the location data will also be used in fraud prevention.

The SDK will only use location data if the app is using it already, so it is not necessary to add a location disclaimer if location is not used.

For more information please refer to apple's documentation.

Google Play Store

  • Add a disclaimer in the app that says that device data is collected and sent to a third party (dlocal).

In the Data Safety section in the Play Console of your app, ensure you declare these data types:

  • Location: Approximate Location
  • App activity: Installed apps
  • Device or others identifiers: Device or other identifiers

For more information please refer to Google Play's Data safety documentation.