tonder-web-sdk 1.12.0-beta.11 → 1.12.0-beta.12

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.
@@ -6,10 +6,13 @@
6
6
  <component name="ChangeListManager">
7
7
  <list default="true" id="37fc62e5-7dd0-4a2e-b68c-304069cdf5bd" name="Changes" comment="">
8
8
  <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
9
+ <change beforePath="$PROJECT_DIR$/package-lock.json" beforeDir="false" afterPath="$PROJECT_DIR$/package-lock.json" afterDir="false" />
9
10
  <change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
10
11
  <change beforePath="$PROJECT_DIR$/src/classes/BaseInlineCheckout.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/classes/BaseInlineCheckout.js" afterDir="false" />
11
12
  <change beforePath="$PROJECT_DIR$/src/classes/LiteInlineCheckout.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/classes/LiteInlineCheckout.js" afterDir="false" />
12
13
  <change beforePath="$PROJECT_DIR$/src/classes/inlineCheckout.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/classes/inlineCheckout.js" afterDir="false" />
14
+ <change beforePath="$PROJECT_DIR$/types/inlineCheckout.d.ts" beforeDir="false" afterPath="$PROJECT_DIR$/types/inlineCheckout.d.ts" afterDir="false" />
15
+ <change beforePath="$PROJECT_DIR$/v1/bundle.min.js" beforeDir="false" afterPath="$PROJECT_DIR$/v1/bundle.min.js" afterDir="false" />
13
16
  </list>
14
17
  <option name="SHOW_DIALOG" value="false" />
15
18
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tonder-web-sdk",
3
- "version": "1.12.0-beta.11",
3
+ "version": "1.12.0-beta.12",
4
4
  "description": "tonder sdk for integrations",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -29,7 +29,7 @@ export class BaseInlineCheckout {
29
29
  /**
30
30
  * The configureCheckout function allows you to set initial information, such as the customer's email, which is used to retrieve a list of saved cards.
31
31
  * @param {import("../../types").IConfigureCheckout} data - Configuration data including customer information and potentially other settings.
32
- * @returns {Promise<void>}.
32
+ * @returns {void}.
33
33
  * @public
34
34
  */
35
35
  configureCheckout(data) {
@@ -8,10 +8,10 @@ export class InlineCheckout {
8
8
  /**
9
9
  * The configureCheckout function allows you to set initial information, such as the customer's email, which is used to retrieve a list of saved cards.
10
10
  * @param {import("../../types").IConfigureCheckout} data - Configuration data including customer information and potentially other settings.
11
- * @returns {Promise<void>}.
11
+ * @returns {void}.
12
12
  * @public
13
13
  */
14
- configureCheckout(data: IConfigureCheckout): Promise<void>;
14
+ configureCheckout(data: IConfigureCheckout): void;
15
15
 
16
16
  /**
17
17
  * Injects the checkout into the DOM and initializes it.