@rebilly/instruments 16.122.0 → 16.123.0

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,6 @@
1
- ## [16.122.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v16.121.4...instruments/core-v16.122.0) (2026-06-04)
1
+ ## [16.123.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v16.122.0...instruments/core-v16.123.0) (2026-06-04)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#22269](https://github.com/Rebilly/rebilly/issues/22269)) ([2f0aa72](https://github.com/Rebilly/rebilly/commit/2f0aa72fd72f4a692323d072fae7017d4b3744fd))
6
+ * **instruments:** add Japanese locale support for Payouts ([#21694](https://github.com/Rebilly/rebilly/issues/21694)) ([e955fdf](https://github.com/Rebilly/rebilly/commit/e955fdf54641de53eff946b4b2e502b25294ccc7))
package/dist/index.js CHANGED
@@ -1236,6 +1236,47 @@ const es$1 = {
1236
1236
  const es$2 = {
1237
1237
  es: es$1
1238
1238
  };
1239
+ const ja = {
1240
+ summary: {
1241
+ subTotal: "Subtotal",
1242
+ discounts: "Discounts",
1243
+ taxes: "Taxes",
1244
+ shipping: "Shipping",
1245
+ total: "Total"
1246
+ },
1247
+ deposit: {
1248
+ goBack: "Choose another amount"
1249
+ },
1250
+ form: {
1251
+ expressCheckout: "Express checkout",
1252
+ or: "Or",
1253
+ popupOverlayText: "Click here to show popup window",
1254
+ andMore: "and more",
1255
+ error: {
1256
+ noPaymentMethods: "No payment methods available for this transaction, please contact support.",
1257
+ invoiceIsPaid: "The invoice has been fully paid.",
1258
+ invoiceIsVoid: "The invoice has been voided.",
1259
+ invoiceIsAbandoned: "The invoice has been abandoned.",
1260
+ invoiceIsRefunded: "The invoice has been refunded.",
1261
+ transactionIsCompleted: "The transaction is completed and cannot be updated.",
1262
+ payoutCannotSelectPaymentInstrument: "The payout request cannot be updated."
1263
+ },
1264
+ loaderMessages: {
1265
+ processingPayment: "Processing payment instrument."
1266
+ },
1267
+ bumpOffer: {
1268
+ title: "Yes, I want to upgrade!",
1269
+ startingAt: "Starting at {basePrice}"
1270
+ }
1271
+ },
1272
+ paymentMethods: {
1273
+ "payment-card": "Payment card",
1274
+ ach: "Bank account"
1275
+ }
1276
+ };
1277
+ const ja$1 = {
1278
+ ja
1279
+ };
1239
1280
  function isLocales(locale, languages) {
1240
1281
  return !locale.includes("-") || Object.prototype.hasOwnProperty.call(languages, locale);
1241
1282
  }
@@ -1243,13 +1284,16 @@ class Translate {
1243
1284
  constructor() {
1244
1285
  this.locale = "en";
1245
1286
  this.items = [];
1246
- this.languages = { ...en$2, ...es$2 };
1287
+ this.languages = { ...en$2, ...es$2, ...ja$1 };
1247
1288
  }
1248
1289
  init(locale, messages) {
1249
1290
  const root = state.shadowRoot || document;
1250
1291
  this.items = Array.from(root.querySelectorAll("[data-rebilly-i18n]"));
1251
1292
  this.locale = this.getLocale(locale);
1252
- this.languages = merge$1(merge$1({}, { ...en$2, ...es$2 }), messages || {});
1293
+ this.languages = merge$1(
1294
+ merge$1({}, { ...en$2, ...es$2, ...ja$1 }),
1295
+ messages || {}
1296
+ );
1253
1297
  }
1254
1298
  translateItems() {
1255
1299
  const root = state.shadowRoot || document;
@@ -5299,7 +5343,7 @@ function C$1({ options: e2 }) {
5299
5343
  }
5300
5344
  function o2() {
5301
5345
  const i = {
5302
- "REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((g) => g).join("/")}@2f0aa72`
5346
+ "REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((g) => g).join("/")}@e955fdf`
5303
5347
  };
5304
5348
  return e2.apiKey && (i["REB-APIKEY"] = e2.apiKey), i;
5305
5349
  }