loyalty-protocol 3.0.4 → 3.0.6

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.
@@ -33,5 +33,4 @@ export type Config = {
33
33
  supportEmail?: string;
34
34
  };
35
35
  };
36
- declare const LOYALTY_PROTOCOL_CONFIG: Record<string, Config>;
37
- export default LOYALTY_PROTOCOL_CONFIG;
36
+ export declare const LOYALTY_PROTOCOL_CONFIG: Record<string, Config>;
@@ -1,7 +1,6 @@
1
1
  import { HT_CONFIG } from "./ht-kstore-india";
2
2
  import { TIME_NOW_CONFIG } from "./times-now-kstore-india";
3
- const LOYALTY_PROTOCOL_CONFIG = {
3
+ export const LOYALTY_PROTOCOL_CONFIG = {
4
4
  "ht-kstore-india": HT_CONFIG,
5
5
  "times-now-kstore-india": TIME_NOW_CONFIG,
6
6
  };
7
- export default LOYALTY_PROTOCOL_CONFIG;
package/dist/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
- import LOYALTY_PROTOCOL_CONFIG from "./config";
2
- export { decryptLoyaltySessionToken } from "./utils";
3
- export { LOYALTY_PROTOCOL_CONFIG };
1
+ export { LOYALTY_PROTOCOL_CONFIG, Currency, Config, CurrencyNames, LoyaltyCurrencyNames, } from "./config/index";
2
+ export { decryptLoyaltySessionToken } from "./utils/index";
package/dist/index.js CHANGED
@@ -1,3 +1,2 @@
1
- import LOYALTY_PROTOCOL_CONFIG from "./config";
2
- export { decryptLoyaltySessionToken } from "./utils";
3
- export { LOYALTY_PROTOCOL_CONFIG };
1
+ export { LOYALTY_PROTOCOL_CONFIG, } from "./config/index";
2
+ export { decryptLoyaltySessionToken } from "./utils/index";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "loyalty-protocol",
3
- "version": "3.0.4",
3
+ "version": "3.0.6",
4
4
  "description": "",
5
5
  "main": "dist/index",
6
6
  "exports": {