@spiffcommerce/core 26.24.0-beta.45f6b2c8-5de9-523b-a94d-3ea63326d3a4 → 26.24.0-beta.4ac6693f-cc7a-533c-bb7d-b43c52b59f74

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.mjs CHANGED
@@ -13842,7 +13842,7 @@ class Yo {
13842
13842
  this.internalMap = /* @__PURE__ */ new Map();
13843
13843
  }
13844
13844
  /**
13845
- * Givena specific entity, request the given keys for that entity.
13845
+ * Given a specific entity, request the given keys for that entity.
13846
13846
  * This will first check if the keys are already present in the internal map, and if not, it will fetch them from the server.
13847
13847
  * @param entityId The entity to check.
13848
13848
  * @param keys The keys to look for.
@@ -13850,7 +13850,7 @@ class Yo {
13850
13850
  */
13851
13851
  async requestKeysForEntity(t, e) {
13852
13852
  const a = /* @__PURE__ */ new Map();
13853
- return await this.ensureIdsArePresent(e), e.forEach((n) => {
13853
+ return await this.ensureIdsArePresent([t]), e.forEach((n) => {
13854
13854
  const i = this.requestKeyForEntityIfAvailable(t, n);
13855
13855
  i && a.set(n, i);
13856
13856
  }), a;
@@ -14156,7 +14156,7 @@ class se {
14156
14156
  * @param keys The set of metafield keys to request.
14157
14157
  * @returns A map of metafield key to value. Any unavailable keys will not be present in the map. use map.has() to check if a key is present.
14158
14158
  */
14159
- async RequestMetafields(t) {
14159
+ async requestMetafields(t) {
14160
14160
  return Jo.requestKeysForEntity(this.product.id, t);
14161
14161
  }
14162
14162
  }
@@ -15330,7 +15330,7 @@ class Qc {
15330
15330
  } catch (a) {
15331
15331
  throw console.error(a), new ut("Critical - Unable to synchronize workflow state with server.");
15332
15332
  }
15333
- }, this.options = t, this.options.applicationKey && Fr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.24.0-beta.81d49647-fa95-50b2-8ba8-0f5dc6ba986f"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15333
+ }, this.options = t, this.options.applicationKey && Fr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.24.0-beta.45f6b2c8-5de9-523b-a94d-3ea63326d3a4"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15334
15334
  }
15335
15335
  configure(t) {
15336
15336
  wt.setHubUrl(t.hubUrl), wt.setServerUrl(t.serverUrl), wt.setServicesApiUrl(t.servicesApiUrl), this.marketplaceThemeInstallId = t.marketplaceThemeInstallId, this.marketplaceThemeInstallConfigurationId = t.marketplaceThemeInstallConfigurationId, t.bearerAuthenticationToken && kr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration();