@liquidcommerce/elements-sdk 2.5.6-beta.7 → 2.5.6-beta.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.
@@ -1,10 +1,15 @@
1
1
  import type { IClientConfigs } from '@/core/client/client-config.service';
2
2
  import type { LiquidCommerceElementsBuilderClientConstructor, LiquidCommerceElementsClientConstructor } from '@/interfaces/core.interface';
3
3
  export declare class SingletonManager {
4
- private static instances;
5
4
  private static clientConstructor;
5
+ private static regularClientInstances;
6
+ private static builderClientInstances;
7
+ private static currentContext;
6
8
  private static getInstances;
7
9
  private constructor();
10
+ static setContext({ isBuilder }: {
11
+ isBuilder: boolean;
12
+ }): void;
8
13
  static setClientConstructor(lceConstructor: LiquidCommerceElementsClientConstructor | LiquidCommerceElementsBuilderClientConstructor): void;
9
14
  static getClientConstructor(): LiquidCommerceElementsClientConstructor | LiquidCommerceElementsBuilderClientConstructor | null;
10
15
  static getClassInstance<T>(className: string, instanceCreator: () => T): T;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "LiquidCommerce Elements SDK",
4
4
  "license": "UNLICENSED",
5
5
  "author": "LiquidCommerce Team",
6
- "version": "2.5.6-beta.7",
6
+ "version": "2.5.6-beta.8",
7
7
  "homepage": "https://docs.liquidcommerce.co/elements-sdk",
8
8
  "repository": {
9
9
  "type": "git",