paperless-client 1.0.4 → 1.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.
package/dist/index.d.ts CHANGED
@@ -13,8 +13,8 @@ export default class PaperlessClient {
13
13
  constructor(muid: string, app_access_key: string, origin: string);
14
14
  /**
15
15
  * merchant_order_id and merchant_ref_id should be unique for each payment.
16
- * marchant_order_id is the order id is used by Peperless to identify the order. Max 20 characters.
17
- * merchant_ref_id is used by the merchant to identify the order in the dashboard.
16
+ * marchant_order_id is used by the merchant to identify the order in the dashboard.
17
+ * merchant_ref_id is used by Peperless to communicate with banks. Max 20 characters.
18
18
  */
19
19
  newPayment(options: GetPaymentUrlOptionsType): Promise<{
20
20
  url: string;
package/dist/index.js CHANGED
@@ -21,8 +21,8 @@ export default class PaperlessClient {
21
21
  }
22
22
  /**
23
23
  * merchant_order_id and merchant_ref_id should be unique for each payment.
24
- * marchant_order_id is the order id is used by Peperless to identify the order. Max 20 characters.
25
- * merchant_ref_id is used by the merchant to identify the order in the dashboard.
24
+ * marchant_order_id is used by the merchant to identify the order in the dashboard.
25
+ * merchant_ref_id is used by Peperless to communicate with banks. Max 20 characters.
26
26
  */
27
27
  async newPayment(options) {
28
28
  const checkServerResponse = await checkServer(this.#origin);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paperless-client",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "A client for interacting with the Paperless payment API.",
5
5
  "author": "Rifat Mahmud",
6
6
  "license": "MIT",