@vsf-enterprise/redis-sdk
1.0.2
Patch Changes
- FIXED Multiple instances of
ioredis
client created during the application lifetime. - ADDED Module configuration object now accepts the
id
property. Recommended while using multiple instances of the Redis module so that each instance is assigned its ownioredis
client instead of sharing one.
import { redisModule } from "@vue-storefront/redis-sdk";
import { createSdk } from "@vue-storefront/next";
export const { getSdk } = createSdk(
options,
({ buildModule, middlewareModule, middlewareUrl, getRequestHeaders }) => ({
redis_a: buildModule(redisModule, {
id: "redis-sdk-a",
}),
redis_b: buildModule(redisModule, {
id: "redis-sdk-b",
}),
})
);
1.0.2-rc.0
Patch Changes
- FIXED Multiple instances of
ioredis
client created during the application lifetime. - ADDED Module configuration object now accepts the
id
property. Recommended while using multiple instances of the Redis module so that each instance is assigned its ownioredis
client instead of sharing one.
import { redisModule } from "@vue-storefront/redis-sdk";
import { createSdk } from "@vue-storefront/next";
export const { getSdk } = createSdk(
options,
({ buildModule, middlewareModule, middlewareUrl, getRequestHeaders }) => ({
redis_a: buildModule(redisModule, {
id: "redis-sdk-a",
}),
redis_b: buildModule(redisModule, {
id: "redis-sdk-b",
}),
})
);
1.0.1
Patch Changes
- CHANGED Added
exports
inpackage.json
, including thebrowser
field to better differentiate between server and client entrypoints. - FIXED Fixed empty connector while building a Next app.
1.0.1-rc.0
Patch Changes
- CHANGED Added
exports
inpackage.json
, including thebrowser
field to better differentiate between server and client entrypoints. - FIXED Fixed empty connector while building a Next app.
1.0.0
Major Changes
Initial release of the @vsf-enterprise/redis-sdk
package.
Minor Changes
- CHANGED Separate modules for client and server.
- CHANGED Prevent using Redis SDK module methods client-side
1.0.0-rc.2
Minor Changes
- CHANGED Separate modules for client and server.
1.0.0-rc.1
Minor Changes
- CHANGED Prevent using Redis SDK module methods client-side