@geins/core 0.10.4 → 0.10.5

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.
@@ -9,6 +9,7 @@ export declare function isServerContext(): boolean;
9
9
  * @param apiKey - The API key.
10
10
  * @param accountName - The account name.
11
11
  * @param environment - The environment.
12
+ * @param apiUrl - Optional merchant API GraphQL endpoint. Empty or omitted means the default.
12
13
  * @returns The endpoints.
13
14
  * @example
14
15
  * ```ts
@@ -18,7 +19,7 @@ export declare function isServerContext(): boolean;
18
19
  * const endpoints = buildEndpoints(apiKey, accountName, environment);
19
20
  * ```
20
21
  */
21
- export declare function buildEndpoints(apiKey: string, accountName: string, environment?: Environment): GeinsEndpoints;
22
+ export declare function buildEndpoints(apiKey: string, accountName: string, environment?: Environment, apiUrl?: string): GeinsEndpoints;
22
23
  /**
23
24
  * Finds an object with a property in a nested object.
24
25
  * @param obj - The object to search.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geins/core",
3
- "version": "0.10.4",
3
+ "version": "0.10.5",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",