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

react-native-ssi-keypass

v0.2.0

Published

SSI Keypass

Readme

react-native-ssi-keypass

SSI Smart OPT APIs

Installation

npm install react-native-ssi-keypass

API

Chức năng kích hoạt

| Method | Description | Params | Return Type | | ----------------------------- | ------------------------------------------------ | ------ | ------------------------ | | doActive6() | Kích hoạt người dùng mới, cho phép truyền userID | | Promise<result, error> | | doActive5() | Kích hoạt người dùng mới | | Promise<result, error> | | addNewToken() | Kích hoạt thêm loại token mới với người dùng | | Promise<result, error> |


doActive6

Kích hoạt người dùng mới, cho phép truyền userID | Tham số | Kiểu | Mô tả | | :------------- | :------------- | :----------------------------------------- | | activationCode | String | Mã kích hoạt của người dùng | | pushToken | String | Push Token của APNS | | appId | String | Mã quy định cho app, thường là "1", "2"... | | serverUrl | String | Đường dẫn đến server Keypass | | successHandler | Block callback | SDK trả về kết quả thành công | | failureHandler | Block callback | SDK trả về kết quả lỗi. Mã lỗi: error.cod |e


doActive5

Kích hoạt người dùng mới

| Tham số | Kiểu | Mô tả | | :------------- | :------------- | :----------------------------------------- | | activationCode | String | Mã kích hoạt của người dùng | | pushToken | String | Push Token của APNS | | appId | String | Mã quy định cho app, thường là "1", "2"... | | serverUrl | String | Đường dẫn đến server Keypass | | successHandler | Block callback | SDK trả về kết quả thành công | | failureHandler | Block callback | SDK trả về kết quả lỗi. Mã lỗi: error.code |


addNewToken

Kích hoạt thêm loại token mới với người dùng | Tham số | Kiểu | Mô tả | | :------------- | :------------- | :----------------------------------------- | | tokenId | String | Chuỗi Serial Number của Token hiện tại | | activationCode | String | Mã kích hoạt của người dùng | | pushToken | String | Push Token của APNS | | appId | String | Mã quy định cho app | | serverUrl | String | Đường dẫn đến server Keypass | | successHandler | Block callback | SDK trả về kết quả thành công | | failureHandler | Block callback | SDK trả về kết quả lỗi. Mã lỗi: error.code |


Chức năng ký giao dịch

| Method | Description | Params | Return Type | | ----------------------------------------------------------------------------- | --------------------------------------------------- | ------ | ------------------------ | | getTransactionInfoWithTransactionId() | Lấy thông tin giao dịch cần xác thực của người dùng | | Promise<result> |


getTransactionInfoWithTransactionId

Tham số truyền vào

| Tham số | Kiểu | Mô tả | | :---------------- | :------------- | :------------------------------------------------------ | | trasactionId | String | Mã giao dịch (có thể nhận được từ push notifcation) | | messageId | String | Mã tin nhắn push (có thể nhận được từ push notifcation) | | completionHandler | Block callback | SDK kết quả thành công hoặc lỗi. Mã lỗi: error.code | (nếu 2 giá trị transactionId, messageId rỗng thì server trả về thông tin giao dịch mới nhất mà người dùng đang có)

Kết quả trả về

| Tham số | Kiểu | Mô tả | | :--------------------------------------------------------- | :----- | :------------------------------------------------------------------------------------------------------------------------------------------------- | | reponseCode | int | Tham khảo mục Mã trả về | | message | String | Mô tả kết quả trả về | | userID | String | ID của người dùng tạo giao dịch | | transactionID | String | Mã của giao dịch được tạo | | transactionTypeID | int | - Loại giao dịch do ngân hàng quy định | | Ví dụ: giao dịch chuyển khoản nội bộ, giao dịch theo lô... | | | | transactionData | String | - Thông tin chi tiết của giao dịch. Mỗi loại giao dịch thì thông tin chi tiết sẽ có các trường cụ thể khác nhau, được ngăn cách bởi dấu gạch thẳng | | transactionStatusID | int | Tham khảo mục Mã trạng thái giao dịch | | challenge | String | - Mã challenge dùng kết hợp thông tin giao dịch để sinh OTP | | eSignerTypeID | int | - Chỉ ra định dạng thông tin giao dịch dùng để ký. Có 6 loại khác nhau do Keypass quy định. | | channelID | int | - Do ngân hàng quy định, để xác định kênh giao dịch (mobile banking, internet banking,...) |


etc...

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT