
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@raceloop/stripe-connect
Advanced tools
A Typescript library for interacting with standalone accounts of the Stipe Connect API
Provides a simple api for working with the Stripe Connect API. As it currently stands, this class only deals with Standard (Standalone) accounts and direct charges.
A Standard Stripe account is a conventional Stripe account controlled directly by the account holder (i.e., your platform’s user). A user with a Standard account has a relationship with Stripe, is able to log in to the Dashboard, can process charges on their own, and can disconnect their account from your platform.
Creating direct charges on the connected account is particularly appropriate for platforms that enable e-commerce for its users. An end customer is purchasing from an individual business, not the platform, and the business can easily see their own sales in their Stripe Dashboard.
Using this direct charge approach:
It would be worth familiarising oneself with the oauth workflow for standard accounts.
npm install --save @raceloop/stripe.raceloop
git clone https://github.com/raceloop/stripe-connect.git;
cd stripe-connect
mv ./test/TestingStripeConnectionConfiguration.ts.dist ./test/TestingStripeConnectionConfiguration.ts
For the setting up the test harness change the values in the ./test/TestingStripeConnectionConfiguration.ts
to those which match your Stripe environment.
https://stripe.com/docs/connect/standard-accounts
https://stripe.com/docs/connect/direct-charges
https://stripe.com/docs/connect/standard-accounts#oauth-flow
Typescript typings are included with this api.
/**
* Set up the configuration object.
*/
const config: StripeConnectConfiguration = new StripeConnectConfiguration();
config.stripeConnectAuthorizeURL = 'https://connect.stripe.com/oauth/token';
config.stripeConnectDeAuthorizeURL = 'https://connect.stripe.com/oauth/deauthorize';
config.stripeClientId = 'ca_AMysbjNeWG7ayPoxmCzyBfYKzkc856lW';
config.stripeSecretKey = 'sk_test_NRwn1XGzA93GAsdDQd3UM7qg';
/**
* Instantiate the StripeConnect object by passing in the config into the constructor.
*/
const stripeConnect = new StripeConnect(config);
Now start calling operations on the newly created object.
Create the Stripe account for your platform as per Stripe documentation. Set up the configuration object accepts the values taken from
MIT
FAQs
A Typescript library for interacting with standalone accounts of the Stipe Connect API
The npm package @raceloop/stripe-connect receives a total of 1 weekly downloads. As such, @raceloop/stripe-connect popularity was classified as not popular.
We found that @raceloop/stripe-connect 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.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.