rerobe-js-orm 2.7.41 → 2.7.43

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.
@@ -12,4 +12,5 @@ export namespace CUSTOMER_CREDIT_REASONS {
12
12
  const partnershipCompensation: string;
13
13
  const employeeCompensation: string;
14
14
  const customerCompensation: string;
15
+ const refund: string;
15
16
  }
@@ -15,4 +15,5 @@ exports.CUSTOMER_CREDIT_REASONS = {
15
15
  partnershipCompensation: 'PARTNERSHIP_COMPENSATION',
16
16
  employeeCompensation: 'EMPLOYEE_COMPENSATION',
17
17
  customerCompensation: 'CUSTOMER_COMPENSATION',
18
+ refund: 'REFUND',
18
19
  };
@@ -145,7 +145,7 @@ class ShopifyHelpers {
145
145
  imageURLConverter(url, size = '1000x1000') {
146
146
  let imageUrl = url;
147
147
  if (imageUrl) {
148
- imageUrl = imageUrl.replace(/\/(.*)\.(\w{2,4})/g, `/$1_${size}.$2`);
148
+ // imageUrl = imageUrl.replace(/\/(.*)\.(\w{2,4})/g, `/$1_${size}.$2`);
149
149
  }
150
150
  else {
151
151
  imageUrl = 'http://cdn.shopify.com/s/images/admin/no-image-compact.gif';
@@ -125,7 +125,7 @@ class CustomerLedgerTransaction extends Base_1.default {
125
125
  type: 'string',
126
126
  },
127
127
  ],
128
- name: 'dev_customerLedgerTransactions_20230103',
128
+ name: 'prod_customerLedgerTransactions_20230312',
129
129
  };
130
130
  }
131
131
  toObjForTypesense() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rerobe-js-orm",
3
- "version": "2.7.41",
3
+ "version": "2.7.43",
4
4
  "description": "ReRobe's Javascript ORM Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",