Skip to content

Commit 188daaa

Browse files
authored
Merge pull request #2 from rofazayn/v0.0.1-alpha
fix: update library name and README file
2 parents 07b93de + 1967129 commit 188daaa

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Introduction
44

5-
The Chargily Pay JavaScript Library offers a convenient way to integrate the Chargily e-payment gateway with JavaScript applications. Developed by Abderraouf Zine, a passionate software engineer, this library supports various operations such as managing customers, products, prices, and checkouts, as well as generating payment links and retrieving account balances. It is designed for use in both Node.js and browser environments.
5+
The Chargily Pay JavaScript Library offers a convenient way to integrate the Chargily e-payment gateway with JavaScript applications. This library supports various operations such as managing customers, products, prices, and checkouts, as well as generating payment links and retrieving account balances. It is designed for use in both Node.js and browser environments.
66

77
## Key Features
88

@@ -16,18 +16,18 @@ The Chargily Pay JavaScript Library offers a convenient way to integrate the Cha
1616

1717
To include this library in your project, you can use npm or yarn:
1818

19-
`npm install chargily-pay-javascript`
19+
`npm install @chargily/pay`
2020

2121
or
2222

23-
`yarn add chargily-pay-javascript`
23+
`yarn add @chargily/pay`
2424

2525
## Getting Started
2626

2727
Before utilizing the library, you must configure it with your [Chargily API key](https://dev.chargily.com/pay-v2/api-keys) and specify the mode (test or live). Here's an example to get started:
2828

2929
```ts
30-
import { ChargilyClient } from 'chargily-pay-javascript';
30+
import { ChargilyClient } from '@chargily/pay';
3131

3232
const client = new ChargilyClient({
3333
api_key: 'YOUR_API_KEY_HERE',
@@ -413,11 +413,11 @@ This returns a paginated list of all payment links you've created.
413413

414414
## Final Notes
415415

416-
This documentation covers the basic functionality of the `chargily-pay-javascript` library. For more advanced features and comprehensive details, refer to the official [Chargily Pay API documentation](https://dev.chargily.com/pay-v2/introduction).
416+
This documentation covers the basic functionality of the `@chargily/pay` library. For more advanced features and comprehensive details, refer to the official [Chargily Pay API documentation](https://dev.chargily.com/pay-v2/introduction).
417417

418-
By integrating the `chargily-pay-javascript` library into your project, you're equipped to seamlessly incorporate Chargily's payment gateway, enhancing your application's payment processing capabilities.
418+
By integrating the `@chargily/pay` library into your project, you're equipped to seamlessly incorporate Chargily's payment gateway, enhancing your application's payment processing capabilities.
419419

420-
If you encounter any issues or have further questions, please visit our [GitHub repository](https://github.com/chargily/chargily-pay-javascript) to report issues or seek guidance.
420+
If you encounter any issues or have further questions, please visit our [GitHub repository](https://github.com/chargily/@chargily/pay) to report issues or seek guidance.
421421

422422
Happy coding!
423423

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "chargily-pay-javascript",
2+
"name": "@chargily/pay",
33
"version": "0.0.1-alpha",
44
"description": "JavaScript Library for Chargily Pay™ Gateway - V2. The easiest and free way to integrate e-payment API through EDAHABIA of Algerie Poste and CIB of SATIM into your JS project.",
55
"main": "lib/index.js",

0 commit comments

Comments
 (0)