@lavapayments/nodejs 2.3.0 → 2.4.0
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.
- package/dist/index.d.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -11,6 +11,10 @@ type ForwardTokenOptions = {
|
|
|
11
11
|
connection_secret: string;
|
|
12
12
|
product_secret: string;
|
|
13
13
|
provider_key?: string;
|
|
14
|
+
} | {
|
|
15
|
+
connection_secret: null;
|
|
16
|
+
product_secret: null;
|
|
17
|
+
provider_key: string;
|
|
14
18
|
};
|
|
15
19
|
declare class Lava {
|
|
16
20
|
private readonly secretKey;
|
|
@@ -152,6 +156,7 @@ interface Fee {
|
|
|
152
156
|
}
|
|
153
157
|
interface ServiceCharge {
|
|
154
158
|
amount: string;
|
|
159
|
+
payer: "wallet" | "merchant";
|
|
155
160
|
}
|
|
156
161
|
interface Request {
|
|
157
162
|
request_id: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -11,6 +11,10 @@ type ForwardTokenOptions = {
|
|
|
11
11
|
connection_secret: string;
|
|
12
12
|
product_secret: string;
|
|
13
13
|
provider_key?: string;
|
|
14
|
+
} | {
|
|
15
|
+
connection_secret: null;
|
|
16
|
+
product_secret: null;
|
|
17
|
+
provider_key: string;
|
|
14
18
|
};
|
|
15
19
|
declare class Lava {
|
|
16
20
|
private readonly secretKey;
|
|
@@ -152,6 +156,7 @@ interface Fee {
|
|
|
152
156
|
}
|
|
153
157
|
interface ServiceCharge {
|
|
154
158
|
amount: string;
|
|
159
|
+
payer: "wallet" | "merchant";
|
|
155
160
|
}
|
|
156
161
|
interface Request {
|
|
157
162
|
request_id: string;
|