@doordeck/doordeck-headless-sdk 0.77.0 → 0.78.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.
@@ -334,7 +334,7 @@
334
334
  return tmp;
335
335
  }
336
336
  initMetadataForInterface(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', VOID, VOID, [WithUtcOffset]);
337
- initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithDate, WithTime, WithUtcOffset]);
337
+ initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithUtcOffset, WithTime, WithDate]);
338
338
  initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
339
339
  initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
340
340
  initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
@@ -8206,6 +8206,10 @@
8206
8206
  return MIN_CERTIFICATE_LIFETIME_DAYS;
8207
8207
  }
8208
8208
  var MIN_CERTIFICATE_LIFETIME_DAYS;
8209
+ function get_PRIVATE_KEY_ASN1_HEADER() {
8210
+ _init_properties_CryptoManager_kt__rp4ona();
8211
+ return PRIVATE_KEY_ASN1_HEADER;
8212
+ }
8209
8213
  var PRIVATE_KEY_ASN1_HEADER;
8210
8214
  var PUBLIC_KEY_ASN1_HEADER;
8211
8215
  var properties_initialized_CryptoManager_kt_abp3tw;
@@ -36598,6 +36602,7 @@
36598
36602
  case 32:
36599
36603
  tmp = _this__u8e3s4;
36600
36604
  break;
36605
+ case 44:
36601
36606
  case 44:
36602
36607
  tmp = sliceArray(_this__u8e3s4, until(_this__u8e3s4.length - 32 | 0, _this__u8e3s4.length));
36603
36608
  break;
@@ -36631,7 +36636,7 @@
36631
36636
  case 64:
36632
36637
  tmp = _this__u8e3s4;
36633
36638
  break;
36634
- case 48:
36639
+ case 83:
36635
36640
  var tmp_1 = Signature_instance;
36636
36641
  // Inline function 'kotlin.collections.toUByteArray' call
36637
36642
 
@@ -36639,7 +36644,7 @@
36639
36644
 
36640
36645
  // Inline function 'kotlin.js.asDynamic' call
36641
36646
 
36642
- var tmp$ret$7 = sliceArray(_this__u8e3s4, until(_this__u8e3s4.length - 32 | 0, _this__u8e3s4.length)).slice();
36647
+ var tmp$ret$7 = sliceArray(_this__u8e3s4, until(get_PRIVATE_KEY_ASN1_HEADER().length, 48)).slice();
36643
36648
  var tmp$ret$8 = _UByteArray___init__impl__ip4y9n(tmp$ret$7);
36644
36649
  // Inline function 'kotlin.collections.toByteArray' call
36645
36650
 
@@ -36650,6 +36655,25 @@
36650
36655
 
36651
36656
  tmp = _UByteArray___get_storage__impl__d4kctt(this_1).slice();
36652
36657
  break;
36658
+ case 48:
36659
+ var tmp_2 = Signature_instance;
36660
+ // Inline function 'kotlin.collections.toUByteArray' call
36661
+
36662
+ // Inline function 'kotlin.collections.copyOf' call
36663
+
36664
+ // Inline function 'kotlin.js.asDynamic' call
36665
+
36666
+ var tmp$ret$13 = sliceArray(_this__u8e3s4, until(_this__u8e3s4.length - 32 | 0, _this__u8e3s4.length)).slice();
36667
+ var tmp$ret$14 = _UByteArray___init__impl__ip4y9n(tmp$ret$13);
36668
+ // Inline function 'kotlin.collections.toByteArray' call
36669
+
36670
+ var this_2 = tmp_2.sm(tmp$ret$14).nm_1;
36671
+ // Inline function 'kotlin.collections.copyOf' call
36672
+
36673
+ // Inline function 'kotlin.js.asDynamic' call
36674
+
36675
+ tmp = _UByteArray___get_storage__impl__d4kctt(this_2).slice();
36676
+ break;
36653
36677
  default:
36654
36678
  throw new SdkException('Unknown private key size: ' + _this__u8e3s4.length);
36655
36679
  }
@@ -48,12 +48,6 @@ if (typeof Math.clz32 === 'undefined') {
48
48
  };
49
49
  }(Math.log, Math.LN2);
50
50
  }
51
- if (typeof String.prototype.startsWith === 'undefined') {
52
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
53
- position = position || 0;
54
- return this.lastIndexOf(searchString, position) === position;
55
- }});
56
- }
57
51
  if (typeof String.prototype.endsWith === 'undefined') {
58
52
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
59
53
  var subjectString = this.toString();
@@ -65,6 +59,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
65
59
  return lastIndex !== -1 && lastIndex === position;
66
60
  }});
67
61
  }
62
+ if (typeof String.prototype.startsWith === 'undefined') {
63
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
64
+ position = position || 0;
65
+ return this.lastIndexOf(searchString, position) === position;
66
+ }});
67
+ }
68
68
  //endregion
69
69
  (function (_) {
70
70
  'use strict';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doordeck/doordeck-headless-sdk",
3
- "version": "0.77.0",
3
+ "version": "0.78.0",
4
4
  "main": "kotlin/doordeck-sdk.js",
5
5
  "devDependencies": {
6
6
  "typescript": "5.5.4",