Vue Storefront is now Alokai! Learn More
sfcc-sdk

sfcc-sdk

1.0.0

Major Changes

  • e747f29: Stable release of SalesForce integration

Minor Changes

  • f621a97: Add an option to always get a basket by ID rather than using the customer baskets endpoint
  • d75751b: Adds a sign out SDK method to invalidate authenticated JWTs
  • 411b1d5: Adds support for placing orders in the updateOrder method
  • b2c76da: Add a method to update an order

Patch Changes

  • 1be2f39: - CHANGED Deprecated the SfccModuleType interface. It is no longer necessary to use this type. It's going to be removed in the next major version after Oct 1, 2024.
    import { initSDK, buildModule } from "@vue-storefront/sdk";
    - import { sfccModule, SFCCModuleType } from "@vue-storefront/sfcc-sdk";
    + import { sfccModule } from "@vue-storefront/sfcc-sdk";
    
    const sdkConfig = {
    -  sfcc: buildModule<SFCCModuleType>(sfccModule, {
    +  sfcc: buildModule(sfccModule, {
        apiUrl: "http://localhost:8181/sfcc",
      }),
    };
    
    export const sdk = initSDK(sdkConfig);
    
    • CHANGED sfccModule has been deprecated. Use middlewareModule from @vue-storefront/sdk package instead.
    - import { initSDK, buildModule } from '@vue-storefront/sdk';
    - import { sfccModule, SFCCModuleType } from '@vsf-enterprise/sfcc-sdk'
    + import { initSDK, buildModule, middlewareModule } from '@vue-storefront/sdk';
    + import { Endpoints as SfccEndpoints } from '@vsf-enterprise/sfcc-api'; // In Alokai Storefront you should import it from `storefront-middleware/types.ts`
    
    const sdkConfig = {
      sfcc:
        buildModule(
    -      sfccModule,
    +      middlewareModule<SfccEndpoints>,
          { apiUrl: 'http://localhost:8181/sfcc' }
        )
    };
    
  • 7cb9f9f: Refactor API endpoints to follow the standartized universal module exports interface
  • Updated dependencies 9ca0a56
  • Updated dependencies e747f29
  • Updated dependencies f621a97
  • Updated dependencies d75751b
  • Updated dependencies 0bdc007
  • Updated dependencies e823b4e
  • Updated dependencies 411b1d5
  • Updated dependencies b2c76da
    • @vsf-enterprise/sfcc-types@1.0.0

1.0.0-rc.5

Minor Changes

  • 411b1d5: Adds support for placing orders in the updateOrder method

Patch Changes

  • Updated dependencies 411b1d5
    • @vsf-enterprise/sfcc-types@1.0.0-rc.6

1.0.0-rc.4

Minor Changes

  • f621a97: Add an option to always get a basket by ID rather than using the customer baskets endpoint

Patch Changes

  • Updated dependencies f621a97
    • @vsf-enterprise/sfcc-types@1.0.0-rc.5

1.0.0-rc.3

Patch Changes

  • 1be2f39: - CHANGED Deprecated the SfccModuleType interface. It is no longer necessary to use this type. It's going to be removed in the next major version after Oct 1, 2024.
    import { initSDK, buildModule } from "@vue-storefront/sdk";
    - import { sfccModule, SFCCModuleType } from "@vue-storefront/sfcc-sdk";
    + import { sfccModule } from "@vue-storefront/sfcc-sdk";
    
    const sdkConfig = {
    -  sfcc: buildModule<SFCCModuleType>(sfccModule, {
    +  sfcc: buildModule(sfccModule, {
        apiUrl: "http://localhost:8181/sfcc",
      }),
    };
    
    export const sdk = initSDK(sdkConfig);
    
    • CHANGED sfccModule has been deprecated. Use middlewareModule from @vue-storefront/sdk package instead.
    - import { initSDK, buildModule } from '@vue-storefront/sdk';
    - import { sfccModule, SFCCModuleType } from '@vsf-enterprise/sfcc-sdk'
    + import { initSDK, buildModule, middlewareModule } from '@vue-storefront/sdk';
    + import { Endpoints as SfccEndpoints } from '@vsf-enterprise/sfcc-api'; // In Alokai Storefront you should import it from `storefront-middleware/types.ts`
    
    const sdkConfig = {
      sfcc:
        buildModule(
    -      sfccModule,
    +      middlewareModule<SfccEndpoints>,
          { apiUrl: 'http://localhost:8181/sfcc' }
        )
    };
    

1.0.0-rc.2

Minor Changes

  • b2c76da: Add a method to update an order

Patch Changes

  • Updated dependencies b2c76da
    • @vsf-enterprise/sfcc-types@1.0.0-rc.4

1.0.0-rc.1

Minor Changes

  • added a sign out SDK method to invalidate authenticated JWTs

Patch Changes

  • updated dependencies: @vsf-enterprise/sfcc-types@1.0.0-rc.1

1.0.0-rc.0

Major Changes

  • stable release of SalesForce integration

Patch Changes

  • updated dependencies: @vsf-enterprise/sfcc-types@1.0.0-rc.0