Skip to content

Conversation

@Aerilym
Copy link
Collaborator

@Aerilym Aerilym commented Oct 23, 2025

No description provided.

@Aerilym Aerilym requested review from Bilb and Copilot and removed request for Copilot October 23, 2025 00:57
Copilot AI review requested due to automatic review settings October 23, 2025 05:20
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for Session Pro backend constants by exposing payment provider metadata and URLs through the Node.js API. The changes integrate new constants from the libsession-util library and make them accessible to JavaScript code.

Key changes:

  • Added conversion support for string8 type to JavaScript strings
  • Exposed Session Pro URLs (roadmap, privacy policy, terms of service, support URL, etc.)
  • Exposed payment provider metadata for Nil, Google Play Store, and iOS App Store platforms

Reviewed Changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated 2 comments.

File Description
src/constants.cpp Added new static constants for Pro URLs and payment provider metadata, mapping C structures to JavaScript objects
libsession-util Updated submodule commit reference to include Pro backend support
include/utilities.hpp Added toJs_impl specialization for string8 type conversion

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Bilb Bilb merged commit 4072aab into feat-add-pro-backend-fns Oct 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants