@wix/subscription 1.0.5 → 1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/subscription",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -18,7 +18,7 @@
18
18
  "type-bundles"
19
19
  ],
20
20
  "dependencies": {
21
- "@wix/subscription_subscriptions": "1.0.5"
21
+ "@wix/subscription_subscriptions": "1.0.6"
22
22
  },
23
23
  "devDependencies": {
24
24
  "glob": "^10.4.1",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "scripts": {
30
30
  "build": "tsc -b tsconfig.json tsconfig.esm.json && npm run build:dts-bundles",
31
- "build:dts-bundles": "test -f config/rollup-config.js && rollup --config config/rollup-config.js || echo 'Warning: config/rollup-config.js not found!'",
31
+ "build:dts-bundles": "test -f config/rollup-config.js && NODE_OPTIONS=--max-old-space-size=8192 rollup --config config/rollup-config.js || echo 'Warning: config/rollup-config.js not found!'",
32
32
  "test": ":"
33
33
  },
34
34
  "wix": {
@@ -42,5 +42,5 @@
42
42
  "fqdn": ""
43
43
  }
44
44
  },
45
- "falconPackageHash": "9ad1566eb1bb6c7bec550aa587bc589ac63d789338b50861bcf5999e"
45
+ "falconPackageHash": "6322479c215bb22f7a93f08ff9394ea00fb0bd9560d26378ac0b5a0d"
46
46
  }
@@ -2128,6 +2128,12 @@ interface Invoice {
2128
2128
  * @readonly
2129
2129
  */
2130
2130
  invoiceNumber?: string | null;
2131
+ /**
2132
+ * Shipping charges for the invoice.
2133
+ * Supports only one discount without cycles.
2134
+ * Discounts with cycles (repeated discounts across different billing cycles) are not supported for shipping
2135
+ */
2136
+ shippingCharges?: ShippingCharges;
2131
2137
  }
2132
2138
  interface BusinessOriginData {
2133
2139
  /**
@@ -2128,6 +2128,12 @@ interface Invoice {
2128
2128
  * @readonly
2129
2129
  */
2130
2130
  invoiceNumber?: string | null;
2131
+ /**
2132
+ * Shipping charges for the invoice.
2133
+ * Supports only one discount without cycles.
2134
+ * Discounts with cycles (repeated discounts across different billing cycles) are not supported for shipping
2135
+ */
2136
+ shippingCharges?: ShippingCharges;
2131
2137
  }
2132
2138
  interface BusinessOriginData {
2133
2139
  /**