@rebilly/instruments 16.128.2 → 16.128.3
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 +27 -27
- package/dist/index.min.js +9 -9
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
## [16.128.
|
|
1
|
+
## [16.128.3](https://github.com/Rebilly/rebilly/compare/instruments/core-v16.128.2...instruments/core-v16.128.3) (2026-06-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** override shell-quote to 1.8.4 for CVE-2026-9277 ([#22598](https://github.com/Rebilly/rebilly/issues/22598)) ([5e791c4](https://github.com/Rebilly/rebilly/commit/5e791c4342c706dc900886af071fea6cbd6f183a))
|
package/dist/index.js
CHANGED
|
@@ -4849,12 +4849,12 @@ let A$1 = class A extends Error {
|
|
|
4849
4849
|
n2 && n2.data && (n2.data.error ? l = n2.data.error : n2.data.detail ? l = n2.data.detail : n2.data.title && (l = n2.data.title)), super(l), this.name = s || "RebillyError", this.response = n2, this.request = u, this.config = r2, this.status = n2 && n2.status ? n2.status : null, this.statusText = n2 && n2.statusText ? n2.statusText : null, this.details = n2 && n2.data && n2.data.details ? n2.data.details : null, this.invalidFields = n2 && n2.data && n2.data.invalidFields ? n2.data.invalidFields : null;
|
|
4850
4850
|
}
|
|
4851
4851
|
};
|
|
4852
|
-
let
|
|
4852
|
+
let bt$1 = class bt extends A$1 {
|
|
4853
4853
|
constructor(t2) {
|
|
4854
4854
|
super({ error: t2, name: "RebillyRequestError" });
|
|
4855
4855
|
}
|
|
4856
4856
|
};
|
|
4857
|
-
let
|
|
4857
|
+
let Rt$1 = class Rt extends A$1 {
|
|
4858
4858
|
constructor(t2) {
|
|
4859
4859
|
super({ error: t2, name: "RebillyValidationError" });
|
|
4860
4860
|
}
|
|
@@ -4891,8 +4891,8 @@ let Tt$1 = class Tt extends A$1 {
|
|
|
4891
4891
|
};
|
|
4892
4892
|
const y = {
|
|
4893
4893
|
RebillyError: A$1,
|
|
4894
|
-
RebillyRequestError:
|
|
4895
|
-
RebillyValidationError:
|
|
4894
|
+
RebillyRequestError: bt$1,
|
|
4895
|
+
RebillyValidationError: Rt$1,
|
|
4896
4896
|
RebillyNotFoundError: wt$1,
|
|
4897
4897
|
RebillyConflictError: kt$1,
|
|
4898
4898
|
RebillyForbiddenError: vt$1,
|
|
@@ -5263,7 +5263,7 @@ function O$1({ options: e2 }) {
|
|
|
5263
5263
|
}
|
|
5264
5264
|
function o2() {
|
|
5265
5265
|
const g = {
|
|
5266
|
-
"REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((m2) => m2).join("/")}@
|
|
5266
|
+
"REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((m2) => m2).join("/")}@e222b83`
|
|
5267
5267
|
};
|
|
5268
5268
|
return e2.apiKey && (g["REB-APIKEY"] = e2.apiKey), g;
|
|
5269
5269
|
}
|
|
@@ -5324,8 +5324,8 @@ function O$1({ options: e2 }) {
|
|
|
5324
5324
|
function ut2(c) {
|
|
5325
5325
|
N2(k$1.response, c);
|
|
5326
5326
|
}
|
|
5327
|
-
function
|
|
5328
|
-
const p = z2(m2), { id:
|
|
5327
|
+
function R({ request: c, isCollection: g, config: m2 }) {
|
|
5328
|
+
const p = z2(m2), { id: b, cancelToken: $t2 } = q$1.save();
|
|
5329
5329
|
p.cancelToken = $t2;
|
|
5330
5330
|
const W2 = (async function() {
|
|
5331
5331
|
try {
|
|
@@ -5338,10 +5338,10 @@ function O$1({ options: e2 }) {
|
|
|
5338
5338
|
} catch (d) {
|
|
5339
5339
|
return L2({ error: d });
|
|
5340
5340
|
} finally {
|
|
5341
|
-
q$1.deleteById(
|
|
5341
|
+
q$1.deleteById(b);
|
|
5342
5342
|
}
|
|
5343
5343
|
})();
|
|
5344
|
-
return W2.cancel = (d) => I$1.cancelById(
|
|
5344
|
+
return W2.cancel = (d) => I$1.cancelById(b, d), W2;
|
|
5345
5345
|
}
|
|
5346
5346
|
function ot2({ response: c, isCollection: g, config: m2 }) {
|
|
5347
5347
|
return g ? new yt$1(c, m2) : new tt$1(c, m2);
|
|
@@ -5375,13 +5375,13 @@ function O$1({ options: e2 }) {
|
|
|
5375
5375
|
return { ...lt2(c) };
|
|
5376
5376
|
}
|
|
5377
5377
|
function U2(c, g = {}) {
|
|
5378
|
-
return
|
|
5378
|
+
return R({
|
|
5379
5379
|
request: (m2) => t2.get(c, m2),
|
|
5380
5380
|
config: { params: g }
|
|
5381
5381
|
});
|
|
5382
5382
|
}
|
|
5383
5383
|
function ct2(c, g) {
|
|
5384
|
-
return
|
|
5384
|
+
return R({
|
|
5385
5385
|
request: (m2) => t2.get(c, m2),
|
|
5386
5386
|
config: { params: g },
|
|
5387
5387
|
isCollection: true
|
|
@@ -5389,31 +5389,31 @@ function O$1({ options: e2 }) {
|
|
|
5389
5389
|
}
|
|
5390
5390
|
function V2(c, g, m2 = {}) {
|
|
5391
5391
|
let p = {};
|
|
5392
|
-
return m2.authenticate === false && (p = { headers: l() }, delete p.headers.common["REB-APIKEY"], delete p.headers.common.Authorization), m2.params && (p.params = { ...m2.params }),
|
|
5393
|
-
request: (
|
|
5392
|
+
return m2.authenticate === false && (p = { headers: l() }, delete p.headers.common["REB-APIKEY"], delete p.headers.common.Authorization), m2.params && (p.params = { ...m2.params }), R({
|
|
5393
|
+
request: (b) => t2.post(c, g, b),
|
|
5394
5394
|
config: p
|
|
5395
5395
|
});
|
|
5396
5396
|
}
|
|
5397
5397
|
function J2(c, g, m2 = {}) {
|
|
5398
|
-
return
|
|
5398
|
+
return R({
|
|
5399
5399
|
request: (p) => t2.put(c, g, p),
|
|
5400
5400
|
config: { params: m2 }
|
|
5401
5401
|
});
|
|
5402
5402
|
}
|
|
5403
5403
|
function it2(c, g) {
|
|
5404
|
-
return
|
|
5404
|
+
return R({
|
|
5405
5405
|
request: (m2) => t2.patch(c, g, m2),
|
|
5406
5406
|
config: {}
|
|
5407
5407
|
});
|
|
5408
5408
|
}
|
|
5409
5409
|
function gt2(c) {
|
|
5410
|
-
return
|
|
5410
|
+
return R({
|
|
5411
5411
|
request: (g) => t2.delete(c, g),
|
|
5412
5412
|
config: {}
|
|
5413
5413
|
});
|
|
5414
5414
|
}
|
|
5415
5415
|
function at2(c, g) {
|
|
5416
|
-
return
|
|
5416
|
+
return R({
|
|
5417
5417
|
request: (m2) => t2.delete(c, m2),
|
|
5418
5418
|
config: { data: { ...g } }
|
|
5419
5419
|
});
|
|
@@ -5426,10 +5426,10 @@ function O$1({ options: e2 }) {
|
|
|
5426
5426
|
throw new y.RebillyConflictError({
|
|
5427
5427
|
message: "A resource already exists with this ID. Please use a different ID."
|
|
5428
5428
|
});
|
|
5429
|
-
} catch (
|
|
5430
|
-
if (
|
|
5429
|
+
} catch (b) {
|
|
5430
|
+
if (b.name === "RebillyNotFoundError")
|
|
5431
5431
|
return J2(c, m2, p);
|
|
5432
|
-
throw
|
|
5432
|
+
throw b;
|
|
5433
5433
|
}
|
|
5434
5434
|
}
|
|
5435
5435
|
async function ft2(c, g) {
|
|
@@ -7138,7 +7138,7 @@ function Ae$1({ apiHandler: e2 }) {
|
|
|
7138
7138
|
}
|
|
7139
7139
|
};
|
|
7140
7140
|
}
|
|
7141
|
-
function
|
|
7141
|
+
function be({ apiHandler: e2 }) {
|
|
7142
7142
|
return {
|
|
7143
7143
|
/**
|
|
7144
7144
|
* @param { rebilly.GetJournalAccountCollectionRequest } request
|
|
@@ -7174,7 +7174,7 @@ function Re$1({ apiHandler: e2 }) {
|
|
|
7174
7174
|
}
|
|
7175
7175
|
};
|
|
7176
7176
|
}
|
|
7177
|
-
function
|
|
7177
|
+
function Re$1({ apiHandler: e2 }) {
|
|
7178
7178
|
return {
|
|
7179
7179
|
/**
|
|
7180
7180
|
* @param { rebilly.GetJournalEntryCollectionRequest } request
|
|
@@ -9005,7 +9005,7 @@ class $s {
|
|
|
9005
9005
|
apiHandler: t2
|
|
9006
9006
|
}), this.depositRequests = ne$1({ apiHandler: t2 }), this.depositStrategies = ue$1({ apiHandler: t2 }), this.digitalWallets = oe$1({ apiHandler: t2 }), this.disputes = le$1({ apiHandler: t2 }), this.emailDeliverySettings = ce$1({ apiHandler: t2 }), this.emailMessages = ie$1({ apiHandler: t2 }), this.emailNotifications = ge({ apiHandler: t2 }), this.events = ae$1({ apiHandler: t2 }), this.externalIdentifiers = me$1({ apiHandler: t2 }), this.externalServicesSettings = fe$1({
|
|
9007
9007
|
apiHandler: t2
|
|
9008
|
-
}), this.fees = $e$1({ apiHandler: t2 }), this.files = pe$1({ apiHandler: t2 }), this.gatewayAccounts = he$1({ apiHandler: t2 }), this.integrations = ye$1({ apiHandler: t2 }), this.invoices = Ae$1({ apiHandler: t2 }), this.journalAccounts =
|
|
9008
|
+
}), this.fees = $e$1({ apiHandler: t2 }), this.files = pe$1({ apiHandler: t2 }), this.gatewayAccounts = he$1({ apiHandler: t2 }), this.integrations = ye$1({ apiHandler: t2 }), this.invoices = Ae$1({ apiHandler: t2 }), this.journalAccounts = be({ apiHandler: t2 }), this.journalEntries = Re$1({ apiHandler: t2 }), this.journalRecords = we$1({ apiHandler: t2 }), this.kycDocuments = ke$1({ apiHandler: t2 }), this.kycRequests = ve$1({ apiHandler: t2 }), this.kycSettings = qe$1({ apiHandler: t2 }), this.lists = de$1({ apiHandler: t2 }), this.memberships = Te$1({ apiHandler: t2 }), this.orderCancellations = Ie$1({ apiHandler: t2 }), this.orderPauses = Se$1({ apiHandler: t2 }), this.orderReactivations = Ee$1({ apiHandler: t2 }), this.orders = xe$1({ apiHandler: t2 }), this.organizationExports = Pe$1({ apiHandler: t2 }), this.organizations = Ce$1({ apiHandler: t2 }), this.paymentCardsBankNames = De$1({ apiHandler: t2 }), this.paymentInstruments = je$1({ apiHandler: t2 }), this.paymentMethods = Me$1({ apiHandler: t2 }), this.paymentTokens = Oe$1({ apiHandler: t2 }), this.payoutRequestAllocations = Fe$1({
|
|
9009
9009
|
apiHandler: t2
|
|
9010
9010
|
}), this.payoutRequestBatches = Be$1({ apiHandler: t2 }), this.payoutRequests = Ke$1({ apiHandler: t2 }), this.payouts = Ne$1({ apiHandler: t2 }), this.plans = Le$1({ apiHandler: t2 }), this.previews = ze$1({ apiHandler: t2 }), this.products = Ue$1({ apiHandler: t2 }), this.profile = Ve$1({ apiHandler: t2 }), this.purchase = Je$1({ apiHandler: t2 }), this.quotes = We$1({ apiHandler: t2 }), this.resource = Ge$1({ apiHandler: t2 }), this.riskScoreRules = Ye$1({ apiHandler: t2 }), this.roles = Qe$1({ apiHandler: t2 }), this.search = Xe$1({ apiHandler: t2 }), this.segments = Ze$1({ apiHandler: t2 }), this.sendThroughAttribution = _e$1({ apiHandler: t2 }), this.serviceCredentials = He$1({ apiHandler: t2 }), this.shippingRates = ts({ apiHandler: t2 }), this.status = es({ apiHandler: t2 }), this.subscriptionCancellations = ss({
|
|
9011
9011
|
apiHandler: t2
|
|
@@ -9585,7 +9585,7 @@ function As({ apiHandler: e2 }) {
|
|
|
9585
9585
|
}
|
|
9586
9586
|
};
|
|
9587
9587
|
}
|
|
9588
|
-
function
|
|
9588
|
+
function bs({ apiHandler: e2 }) {
|
|
9589
9589
|
return {
|
|
9590
9590
|
/**
|
|
9591
9591
|
* @returns { rebilly.GetSubscriptionSummaryMetricReportResponsePromise } response
|
|
@@ -9595,7 +9595,7 @@ function Rs({ apiHandler: e2 }) {
|
|
|
9595
9595
|
}
|
|
9596
9596
|
};
|
|
9597
9597
|
}
|
|
9598
|
-
function
|
|
9598
|
+
function Rs({ apiHandler: e2 }) {
|
|
9599
9599
|
return {
|
|
9600
9600
|
getActivityFeed({ eventTypes: t2 = null, limit: s = 1e3, offset: r2 = 0 }) {
|
|
9601
9601
|
const n2 = {
|
|
@@ -9635,8 +9635,8 @@ const w = {
|
|
|
9635
9635
|
DataExportsResource: hs,
|
|
9636
9636
|
HistogramsResource: ys,
|
|
9637
9637
|
ReportsResource: As,
|
|
9638
|
-
SubscriptionsResource:
|
|
9639
|
-
TimelinesResource:
|
|
9638
|
+
SubscriptionsResource: bs,
|
|
9639
|
+
TimelinesResource: Rs,
|
|
9640
9640
|
LocationResource: ws
|
|
9641
9641
|
};
|
|
9642
9642
|
class ks {
|