@rebilly/instruments 9.81.1 → 9.82.1

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/CHANGELOG.md CHANGED
@@ -1,6 +1 @@
1
- ## [9.81.1](https://github.com/Rebilly/rebilly/compare/instruments/core-v9.81.0...instruments/core-v9.81.1) (2024-09-19)
2
-
3
-
4
- ### Bug Fixes
5
-
6
- * **revel:** Remove vue template compiler ([#7653](https://github.com/Rebilly/rebilly/issues/7653)) ([92a65f9](https://github.com/Rebilly/rebilly/commit/92a65f9d757fc8accdac196636fca8f590162210))
1
+ ## [9.82.1](https://github.com/Rebilly/rebilly/compare/instruments/core-v9.82.0...instruments/core-v9.82.1) (2024-09-23)
package/dist/index.js CHANGED
@@ -4176,7 +4176,7 @@ function stringifySafely(rawValue, parser, encoder) {
4176
4176
  }
4177
4177
  }
4178
4178
  }
4179
- return (encoder || JSON.stringify)(rawValue);
4179
+ return (0, JSON.stringify)(rawValue);
4180
4180
  }
4181
4181
  const defaults$1 = {
4182
4182
  transitional: transitionalDefaults,
@@ -5020,7 +5020,7 @@ const composeSignals = (signals, timeout) => {
5020
5020
  };
5021
5021
  const streamChunk = function* (chunk, chunkSize) {
5022
5022
  let len = chunk.byteLength;
5023
- if (!chunkSize || len < chunkSize) {
5023
+ if (len < chunkSize) {
5024
5024
  yield chunk;
5025
5025
  return;
5026
5026
  }
@@ -6220,7 +6220,7 @@ function C$1({ options: e2 }) {
6220
6220
  }
6221
6221
  function o2() {
6222
6222
  const i = {
6223
- "REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((g) => g).join("/")}@92a65f9`
6223
+ "REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((g) => g).join("/")}@27b3736`
6224
6224
  };
6225
6225
  return e2.apiKey && (i["REB-APIKEY"] = e2.apiKey), i;
6226
6226
  }
@@ -10353,6 +10353,9 @@ function Ks({ apiHandler: e2 }) {
10353
10353
  const r2 = { expand: s };
10354
10354
  return e2.get(`invoices/${t2}`, r2);
10355
10355
  },
10356
+ update({ id: t2, data: s }) {
10357
+ return e2.patch(`invoices/${t2}`, s);
10358
+ },
10356
10359
  downloadPDF({ id: t2 }) {
10357
10360
  const s = {
10358
10361
  headers: S$1,