
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
hydrogen-electron-api
Advanced tools
Hydrogen Electron API
https://www.hydrogenplatform.com/docs/electron/v1
Install the gem:
gem install hydrogen-electron-api
The add this to the Gemfile:
gem 'hydrogen-electron-api', '~> 1.3', '>= 1.3.1'
Please first follow the installation instructions. Then make sure you use the proper base URL:
Create an object of Environment and use the set_environment method to update the environment.
Sandbox URL
environment_config = ElectronApi::Environment.new
environment_config.set_environment(environment_config.SANDBOX)
Production URL
environment_config = ElectronApi::Environment.new
environment_config.set_environment(environment_config.PRODUCTION)
# Load the gem
require 'electron_api'
environment_config = ElectronApi::Environment.new
environment_config.set_environment(environment_config.PRODUCTION)
# Setup authorization
ElectronApi.configure do |config|
# Use one of the below method to generate oauth token
# Creating a token for grant_type=client_credentials
config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
# Creating a token for grant_type=password
config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
# Creating a token using client token
config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN")
end
api_instance = ElectronApi::ACHApi.new
ach_card_request_co = ElectronApi::AchCardRequestCO.new # AchCardRequestCO | achCardRequestCO
begin
#Fund card
result = api_instance.fund_card_using_post(ach_card_request_co)
p result
rescue ElectronApi::ApiError => e
puts "Exception when calling ACHApi->fund_card_using_post: #{e}"
end
The Hydrogen Technology Corporation
https://www.hydrogenplatform.com
Generated using Swagger Codegen
FAQs
Unknown package
We found that hydrogen-electron-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.