@ariary/ariary 3.0.3 → 3.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -8
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -11,7 +11,7 @@ npm install @ariary/ariary
11
11
  ## Configuration
12
12
 
13
13
  ```typescript
14
- import { Ariari } from '@ariary/ariary';
14
+ import { Ariari, Task, Payment } from '@ariary/ariary';
15
15
 
16
16
  Ariari.config({
17
17
  projectId: 'your-project-id',
@@ -20,13 +20,9 @@ Ariari.config({
20
20
  ```
21
21
 
22
22
 
23
- ```typescript
24
- import { Ariari, Task, Payment } from '@ariary/ariary';
25
- ```
26
23
 
27
- ## Notification
28
24
 
29
- ### Send Notification
25
+ ## Notification
30
26
 
31
27
  ```typescript
32
28
  const task = await Ariari.send(
@@ -42,8 +38,6 @@ const status = await task.status();
42
38
  const details = await task.smsDetails();
43
39
  // Returns TaskDetails with notifTaskId, projectId, summary, smsDetails array, and createdAt
44
40
  ```
45
-
46
-
47
41
  ### List Tasks
48
42
 
49
43
  ```typescript
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ariary/ariary",
3
- "version": "3.0.3",
3
+ "version": "3.0.5",
4
4
  "description": "SDK officiel pour l'API de paiement Ariary",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",