@rebilly/instruments 12.4.7 → 12.5.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 +6 -1
- package/dist/index.js +4 -3
- package/dist/index.min.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
## [12.
|
|
1
|
+
## [12.5.1](https://github.com/Rebilly/rebilly/compare/instruments/core-v12.5.0...instruments/core-v12.5.1) (2024-12-11)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **cashier:** Remove server endpoint and call API directly ([#9196](https://github.com/Rebilly/rebilly/issues/9196)) ([3874ccb](https://github.com/Rebilly/rebilly/commit/3874ccb9a38dcbdfdaf071ab04b9d63acfb19f95))
|
package/dist/index.js
CHANGED
|
@@ -6271,7 +6271,7 @@ function C$1({ options: e2 }) {
|
|
|
6271
6271
|
}
|
|
6272
6272
|
function o2() {
|
|
6273
6273
|
const i = {
|
|
6274
|
-
"REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((g) => g).join("/")}@
|
|
6274
|
+
"REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((g) => g).join("/")}@3874ccb`
|
|
6275
6275
|
};
|
|
6276
6276
|
return e2.apiKey && (i["REB-APIKEY"] = e2.apiKey), i;
|
|
6277
6277
|
}
|
|
@@ -9561,8 +9561,9 @@ function hs({ apiHandler: e2 }) {
|
|
|
9561
9561
|
update({ id: t2, data: s }) {
|
|
9562
9562
|
return e2.post(`transactions/${t2}/update`, s);
|
|
9563
9563
|
},
|
|
9564
|
-
refund({ id: t2, data: s }) {
|
|
9565
|
-
|
|
9564
|
+
refund({ id: t2, data: s, expand: r2 = null }) {
|
|
9565
|
+
const n2 = { expand: r2 };
|
|
9566
|
+
return e2.post(`transactions/${t2}/refund`, s, n2);
|
|
9566
9567
|
},
|
|
9567
9568
|
/**
|
|
9568
9569
|
* @param { rebilly.GetTransactionTimelineCollectionRequest } request
|