@cellaware/utils 5.1.4 → 5.2.0

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.
@@ -1,9 +1,10 @@
1
1
  export interface ChatWMSProduct {
2
2
  productId: string;
3
+ customer: string;
3
4
  vendor: string;
4
5
  version: string;
5
6
  description: string;
6
7
  externalDescription: string;
7
8
  }
8
9
  export declare function initChatWMSProduct(): ChatWMSProduct;
9
- export declare function chatwmsGetProductId(vendor: string, version: string): string;
10
+ export declare function chatwmsGetProductId(customer: string, vendor: string, version: string): string;
@@ -1,12 +1,13 @@
1
1
  export function initChatWMSProduct() {
2
2
  return {
3
3
  productId: '',
4
+ customer: '',
4
5
  vendor: '',
5
6
  version: '',
6
7
  description: '',
7
8
  externalDescription: ''
8
9
  };
9
10
  }
10
- export function chatwmsGetProductId(vendor, version) {
11
- return `${vendor}_${version}`;
11
+ export function chatwmsGetProductId(customer, vendor, version) {
12
+ return `${customer}_${vendor}_${version}`;
12
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cellaware/utils",
3
- "version": "5.1.4",
3
+ "version": "5.2.0",
4
4
  "description": "Cellaware Utilities for Node.js",
5
5
  "author": "Cellaware Technologies",
6
6
  "type": "module",