@sesamy/sesamy-js 1.21.6 → 1.21.8

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 CHANGED
@@ -470,8 +470,6 @@ export type Address = {
470
470
  };
471
471
  ```
472
472
 
473
- Here's the documentation for the `updateProfile` function in a similar structure to the `generateLink` and `getProfile` documentation:
474
-
475
473
  ## `updateProfile(profile: Partial<Profile>)`
476
474
 
477
475
  Updates the user's profile information on the Sesamy-hosted service. After updating, the cache is cleared to ensure that the latest profile information is available.
@@ -936,9 +934,10 @@ The transform configuration is defined within the `Config` interface. The follow
936
934
  Each rule object contains the following properties:
937
935
 
938
936
  - `selector` (string): A CSS selector to target elements on the page.
939
- - `transform` (string): The type of transformation to apply. Valid values are 'insert', 'replace', and 'remove'.
937
+ - `transform` (string): The type of transformation to apply. Valid values are 'insert', 'replace', 'remove' and 'gradient'.
940
938
  - `content` (string, optional): The content to insert or replace. Required for 'insert' and 'replace' transforms.
941
- - `contentType` (string): Specifies the type of content. Valid values are 'html', 'selector', and 'url'.
939
+ - 'insertPosition' (string, optional): The position to insert the content. Valid values are 'before', 'after' and 'insider'.
940
+ - `contentType` (string, optional): Specifies the type of content. Valid values are 'html', 'selector', and 'url'.
942
941
  - `path` (string, optional): A regular expression to match the URL path. If provided, the rule will only apply when the path matches the current URL.
943
942
  - `entitlement` (string, optional): Specifies an entitlement required for the rule to apply.
944
943
  - `authenticated` (boolean, optional): Specifies if the rule should only apply to authenticated users.