@spiffcommerce/core 26.41.1-beta.684f86eb-1346-5eca-ad6d-dc39e10d26b6 → 26.41.1-beta.b72e3cc3-45ac-5be3-839a-6dbb8b395f26
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/dist/index.d.ts +6 -0
- package/dist/index.js +42 -42
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +525 -491
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2373,6 +2373,12 @@ declare class SpiffCommerceClient {
|
|
|
2373
2373
|
* Log out the currently logged-in Spiff user.
|
|
2374
2374
|
*/
|
|
2375
2375
|
logOut(): Promise<void>;
|
|
2376
|
+
/**
|
|
2377
|
+
* Check if a customer is logged in.
|
|
2378
|
+
* If they are, set the customer object.
|
|
2379
|
+
* This is how we resume sessions between loads.
|
|
2380
|
+
*/
|
|
2381
|
+
reloadLoggedInCustomer(): Promise<void>;
|
|
2376
2382
|
loggedInBearerToken(): Promise<string>;
|
|
2377
2383
|
getCustomerMetafields(): Promise<Metafield[]>;
|
|
2378
2384
|
/**
|