@rebilly/instruments 8.0.0 → 8.2.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,3 +1,17 @@
1
+ ## [8.2.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v8.1.0...instruments/core-v8.2.0) (2023-11-23)
2
+
3
+
4
+ ### Features
5
+
6
+ * **billing-portal:** Project setup ([#2321](https://github.com/Rebilly/rebilly/issues/2321)) ([41716e1](https://github.com/Rebilly/rebilly/commit/41716e1f726b64914f832326ec8135463aec37bc))
7
+
8
+ ## [8.1.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v8.0.0...instruments/core-v8.1.0) (2023-11-22)
9
+
10
+
11
+ ### Features
12
+
13
+ * **rebilly-js-sdk:** Add resources for KYC face liveness session ([#2335](https://github.com/Rebilly/rebilly/issues/2335)) ([26b4280](https://github.com/Rebilly/rebilly/commit/26b4280fc09441e777873d5027ed680bb5ca70a8))
14
+
1
15
  ## [8.0.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v7.6.0...instruments/core-v8.0.0) (2023-11-20)
2
16
 
3
17
 
package/dist/index.js CHANGED
@@ -5982,7 +5982,7 @@ function cloneArrayDeep(val, instanceClone) {
5982
5982
  return res;
5983
5983
  }
5984
5984
  var cloneDeep_1 = cloneDeep;
5985
- const version = "54.4.2";
5985
+ const version = "55.1.0";
5986
5986
  let urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
5987
5987
  let nanoid = (size2 = 21) => {
5988
5988
  let id2 = "";
@@ -9233,6 +9233,19 @@ function KycDocumentsResource({ apiHandler }) {
9233
9233
  }
9234
9234
  };
9235
9235
  }
9236
+ function KycLivenessSessionsResource({ apiHandler }) {
9237
+ return {
9238
+ create({ data }) {
9239
+ return apiHandler.post(`kyc-liveness-sessions`, data);
9240
+ },
9241
+ get({ id: id2 }) {
9242
+ return apiHandler.get(`kyc-liveness-sessions/${id2}`);
9243
+ },
9244
+ finish({ id: id2 }) {
9245
+ return apiHandler.post(`kyc-liveness-sessions/${id2}/finish`);
9246
+ }
9247
+ };
9248
+ }
9236
9249
  function KycRequestsResource({ apiHandler }) {
9237
9250
  return {
9238
9251
  get({ id: id2, expand = null }) {
@@ -9438,6 +9451,7 @@ class StorefrontApiInstance {
9438
9451
  this.depositStrategies = DepositStrategiesResource({ apiHandler });
9439
9452
  this.invoices = InvoicesResource({ apiHandler });
9440
9453
  this.kycDocuments = KycDocumentsResource({ apiHandler });
9454
+ this.kycLivenessSessions = KycLivenessSessionsResource({ apiHandler });
9441
9455
  this.kycRequests = KycRequestsResource({ apiHandler });
9442
9456
  this.orders = OrdersResource({ apiHandler });
9443
9457
  this.paymentInstruments = PaymentInstrumentsResource({ apiHandler });
@@ -23120,7 +23134,7 @@ function handleComputedProperty(options) {
23120
23134
  var _a;
23121
23135
  return Object.assign({}, options, {
23122
23136
  _computed: {
23123
- version: "7.6.0",
23137
+ version: "8.1.0",
23124
23138
  paymentMethodsUrl: ((_a = options._dev) == null ? void 0 : _a.paymentMethodsUrl) ?? "https://forms.secure-payments.app"
23125
23139
  }
23126
23140
  });
@@ -26269,7 +26283,7 @@ class RebillyInstrumentsInstance {
26269
26283
  await show({ componentName, payload });
26270
26284
  }
26271
26285
  get version() {
26272
- return `RebillyInstruments Ver.${"7.6.0"}`;
26286
+ return `RebillyInstruments Ver.${"8.1.0"}`;
26273
26287
  }
26274
26288
  on(eventName, callback) {
26275
26289
  on({ eventName, callback });