@rebilly/instruments 7.4.0 → 7.4.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,3 +1,10 @@
1
+ ## [7.4.1](https://github.com/Rebilly/rebilly/compare/instruments/core-v7.4.0...instruments/core-v7.4.1) (2023-11-09)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **instruments:** Update error message ([#2190](https://github.com/Rebilly/rebilly/issues/2190)) ([168bdc1](https://github.com/Rebilly/rebilly/commit/168bdc1b8c825e0f72764acfc6a7e68f08058c93))
7
+
1
8
  ## [7.4.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v7.3.2...instruments/core-v7.4.0) (2023-11-07)
2
9
 
3
10
 
package/dist/index.js CHANGED
@@ -2749,7 +2749,7 @@ const errorTemplate = (error2) => {
2749
2749
  const title2 = "Error";
2750
2750
  function displayString(message = null) {
2751
2751
  if (message === null) {
2752
- message = "An unexpected error occurred";
2752
+ message = "An unexpected error has occurred";
2753
2753
  if (typeof error2 === "string") {
2754
2754
  message = error2;
2755
2755
  }
@@ -5349,7 +5349,7 @@ function cloneArrayDeep(val, instanceClone) {
5349
5349
  return res;
5350
5350
  }
5351
5351
  var cloneDeep_1 = cloneDeep;
5352
- const version = "54.3.2";
5352
+ const version = "54.4.0";
5353
5353
  let urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
5354
5354
  let nanoid = (size2 = 21) => {
5355
5355
  let id2 = "";
@@ -6267,11 +6267,11 @@ function DepositStrategiesResource$1({ apiHandler }) {
6267
6267
  }
6268
6268
  function DigitalWalletsResource({ apiHandler }) {
6269
6269
  return {
6270
- create({ data: data2 }) {
6271
- return apiHandler.post(`digital-wallets/onboarding/apple-pay`, data2);
6272
- },
6273
6270
  validate({ data: data2 }) {
6274
6271
  return apiHandler.post(`digital-wallets/validation`, data2);
6272
+ },
6273
+ create({ data: data2 }) {
6274
+ return apiHandler.post(`digital-wallets/onboarding/apple-pay`, data2);
6275
6275
  }
6276
6276
  };
6277
6277
  }
@@ -7185,14 +7185,14 @@ function PlansResource$1({ apiHandler }) {
7185
7185
  }
7186
7186
  function PreviewsResource({ apiHandler }) {
7187
7187
  return {
7188
+ order({ data: data2 }) {
7189
+ return apiHandler.post(`previews/orders`, data2);
7190
+ },
7188
7191
  sendEmailRuleAction({ data: data2 }) {
7189
7192
  return apiHandler.post(`previews/rule-actions/send-email`, data2);
7190
7193
  },
7191
7194
  webhook({ data: data2 }) {
7192
7195
  return apiHandler.post(`previews/webhooks`, data2);
7193
- },
7194
- order({ data: data2 }) {
7195
- return apiHandler.post(`previews/orders`, data2);
7196
7196
  }
7197
7197
  };
7198
7198
  }
@@ -11193,6 +11193,25 @@ const paymentMethods = [
11193
11193
  }
11194
11194
  ]
11195
11195
  },
11196
+ {
11197
+ apiName: "CCAvenue",
11198
+ name: "CCAvenue",
11199
+ landscapeLogo: "https://app.rebilly.com/static/payment-methods/landscape/CCAvenue.svg",
11200
+ portraitLogo: null,
11201
+ summary: "CCAvenue Checkout offers a smooth, fast and frictionless buying experience.\n",
11202
+ description: "CCAvenue Checkout offers a smooth, fast and frictionless buying experience.\n",
11203
+ countries: {
11204
+ mode: "unknown",
11205
+ values: []
11206
+ },
11207
+ storefrontEnabled: true,
11208
+ _links: [
11209
+ {
11210
+ rel: "self",
11211
+ href: "https://api.rebilly.com/payment-methods/CCAvenue"
11212
+ }
11213
+ ]
11214
+ },
11196
11215
  {
11197
11216
  apiName: "CODVoucher",
11198
11217
  name: "CODVoucher",
@@ -23176,7 +23195,7 @@ function handleComputedProperty(options) {
23176
23195
  var _a;
23177
23196
  return Object.assign({}, options, {
23178
23197
  _computed: {
23179
- version: "7.3.2",
23198
+ version: "7.4.0",
23180
23199
  paymentMethodsUrl: ((_a = options._dev) == null ? void 0 : _a.paymentMethodsUrl) ?? "https://forms.secure-payments.app"
23181
23200
  }
23182
23201
  });
@@ -26324,7 +26343,7 @@ class RebillyInstrumentsInstance {
26324
26343
  await show({ componentName, payload });
26325
26344
  }
26326
26345
  get version() {
26327
- return `RebillyInstruments Ver.${"7.3.2"}`;
26346
+ return `RebillyInstruments Ver.${"7.4.0"}`;
26328
26347
  }
26329
26348
  on(eventName, callback) {
26330
26349
  on({ eventName, callback });