@integry/sdk 4.9.25 → 4.9.26

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
@@ -53,5 +53,6 @@ Use `getFunctionTools` when you already have function details (for example from
53
53
 
54
54
  ```ts
55
55
  const tool = sdk.getFunctionTools(functionDetails);
56
+ const staticTool = IntegryJS.Helpers.getFunctionTools(functionDetails);
56
57
  ```
57
58
 
@@ -795,6 +795,7 @@ declare class EventEmitter<ESet extends EventSet> implements EventEmitterType<Ev
795
795
  }
796
796
  declare const Helpers: {
797
797
  getAuthHash: typeof HMAC;
798
+ getFunctionTools: (functionStructure: any) => FunctionTool;
798
799
  };
799
800
  /**
800
801
  * Integry JS SDK
@@ -814,6 +815,7 @@ declare class IntegryJS {
814
815
  static MarketplaceRenderModes: typeof MarketplaceRenderModes;
815
816
  static Helpers: {
816
817
  getAuthHash: (key: string, message: string) => Promise<string>;
818
+ getFunctionTools: (functionStructure: any) => FunctionTool;
817
819
  };
818
820
  private authModalId;
819
821
  private forceRerender;