@sesamy/sesamy-js 1.20.1 → 1.21.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/README.md +2 -1
- package/dist/sesamy-js.cjs +5 -5
- package/dist/sesamy-js.d.ts +30 -6
- package/dist/sesamy-js.iife.js +5 -5
- package/dist/sesamy-js.mjs +682 -633
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -67,7 +67,7 @@ The following methods are available on the `sesamy` object:
|
|
|
67
67
|
- autoOnboard: trigger the auto-onboarding process for a product by sku
|
|
68
68
|
- getVersion: returns the version of the sesamy-js library
|
|
69
69
|
- getPaymentIssues: returns a list of failed payments and cards that will expire
|
|
70
|
-
- generateLink: creates a link to a sesamy hosted service such as account or
|
|
70
|
+
- generateLink: creates a link to a sesamy hosted service such as account, consume or checkout. If the user is authenticated, the link will be signed so that the user can access the service without logging in again.
|
|
71
71
|
- clearCache: clears the cache for the sesamy-js library
|
|
72
72
|
|
|
73
73
|
## Events
|
|
@@ -509,6 +509,7 @@ Creates a checkout session with Sesamy. This function initializes a checkout pro
|
|
|
509
509
|
- phoneNumber (string, optional): The phone number.
|
|
510
510
|
- email (string, optional): The email address.
|
|
511
511
|
- isBusiness (boolean, optional): Indicates if the checkout is for a business.
|
|
512
|
+
- paymemtMethodsFilter (Array of objects, optional): The payment methods to be available in the checkout. The payment methods are an object with a provider and a method property, where the method is an optional array.
|
|
512
513
|
|
|
513
514
|
### Returns
|
|
514
515
|
|