@sesamy/sesamy-js 1.37.11 → 1.37.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.
- package/README.md +0 -5
- package/dist/sesamy-js.cjs +8 -8
- package/dist/sesamy-js.d.ts +1 -0
- package/dist/sesamy-js.iife.js +8 -8
- package/dist/sesamy-js.mjs +2664 -2740
- package/package.json +22 -22
package/README.md
CHANGED
|
@@ -693,7 +693,6 @@ console.log('Signed links:', signedLinks);
|
|
|
693
693
|
### Types
|
|
694
694
|
|
|
695
695
|
- GetEntitlementsOptions: An object containing optional parameters for fetching entitlements.
|
|
696
|
-
|
|
697
696
|
- `includeSignedLinks` (boolean, optional): Whether to include signed links. Defaults to `true`.
|
|
698
697
|
- `waitForEntitlementAfter` (Date, optional): A date to filter entitlements that are available after the given date.
|
|
699
698
|
|
|
@@ -852,11 +851,9 @@ Generates a link to a Sesamy-hosted service such as account or consume. If the u
|
|
|
852
851
|
### Parameters
|
|
853
852
|
|
|
854
853
|
- params (GenerateAccountLink | GenerateConsumeLink):
|
|
855
|
-
|
|
856
854
|
- The parameters for generating the link.
|
|
857
855
|
attribute.
|
|
858
856
|
Common parameters:
|
|
859
|
-
|
|
860
857
|
- target (string, required): The target service. Valid values:
|
|
861
858
|
- 'account': Generate link to account page
|
|
862
859
|
- 'change-payment': Generate link to payment change page
|
|
@@ -870,12 +867,10 @@ Generates a link to a Sesamy-hosted service such as account or consume. If the u
|
|
|
870
867
|
|
|
871
868
|
- Target-specific parameters:
|
|
872
869
|
For target='consume':
|
|
873
|
-
|
|
874
870
|
- sku (string, required): The SKU of the product to consume
|
|
875
871
|
- episodeId (string, optional): The ID of the episode to consume
|
|
876
872
|
|
|
877
873
|
- For target='change-payment|change-plan':
|
|
878
|
-
|
|
879
874
|
- contractId (string, required): The ID of the contract to change payment or plan for
|
|
880
875
|
|
|
881
876
|
### Returns
|