@solibo/solibo-sdk 1.1.60 → 1.1.65

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.
@@ -48,6 +48,11 @@ if (typeof Math.trunc === 'undefined') {
48
48
  return Math.ceil(x);
49
49
  };
50
50
  }
51
+ if (typeof Math.log10 === 'undefined') {
52
+ Math.log10 = function (x) {
53
+ return Math.log(x) * Math.LOG10E;
54
+ };
55
+ }
51
56
  if (typeof Math.clz32 === 'undefined') {
52
57
  Math.clz32 = function (log, LN2) {
53
58
  return function (x) {
@@ -59,10 +64,11 @@ if (typeof Math.clz32 === 'undefined') {
59
64
  };
60
65
  }(Math.log, Math.LN2);
61
66
  }
62
- if (typeof Math.log10 === 'undefined') {
63
- Math.log10 = function (x) {
64
- return Math.log(x) * Math.LOG10E;
65
- };
67
+ if (typeof String.prototype.startsWith === 'undefined') {
68
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
69
+ position = position || 0;
70
+ return this.lastIndexOf(searchString, position) === position;
71
+ }});
66
72
  }
67
73
  if (typeof String.prototype.endsWith === 'undefined') {
68
74
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
@@ -75,12 +81,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
75
81
  return lastIndex !== -1 && lastIndex === position;
76
82
  }});
77
83
  }
78
- if (typeof String.prototype.startsWith === 'undefined') {
79
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
80
- position = position || 0;
81
- return this.lastIndexOf(searchString, position) === position;
82
- }});
83
- }
84
84
  //endregion
85
85
  //region block: imports
86
86
  var imul_0 = Math.imul;
@@ -290,7 +290,7 @@ initMetadataForCoroutine($doSelectCOROUTINE$, CoroutineImpl);
290
290
  initMetadataForCoroutine($doSelectSuspendCOROUTINE$, CoroutineImpl);
291
291
  initMetadataForCoroutine($completeCOROUTINE$, CoroutineImpl);
292
292
  initMetadataForCoroutine($processResultAndInvokeBlockRecoveringExceptionCOROUTINE$, CoroutineImpl);
293
- initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [0, 2]);
293
+ initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [0, 2]);
294
294
  initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
295
295
  function tryLock$default(owner, $super) {
296
296
  owner = owner === VOID ? null : owner;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "main": "index.mjs",
3
3
  "types": "index.d.ts",
4
- "version": "1.1.60",
4
+ "version": "1.1.65",
5
5
  "name": "@solibo/solibo-sdk",
6
6
  "dependencies": {
7
7
  "@js-joda/core": "5.6.3",
@@ -211024,6 +211024,7 @@ export {
211024
211024
  create_27 as create2owawxy6owrkx,
211025
211025
  create_28 as create8x1ln704tfgg,
211026
211026
  create_29 as create2iwlfpyxuau6r,
211027
+ Companion_getInstance_21 as Companion_getInstance2y0gbcxmsx1fp,
211027
211028
  Companion_instance_167 as Companion_instance2i0h1sywijvie,
211028
211029
  Companion_getInstance_210 as Companion_getInstance14ysq7l0sc7lx,
211029
211030
  Companion_instance_211 as Companion_instance3k9w5abqufo3b,
@@ -16569,6 +16569,8 @@ export declare class Auth {
16569
16569
  createTOTPMfa(session?: string | null | undefined): Promise<SoftwareTokenAssociation>;
16570
16570
  verifyCreateTOTPMfa(code: string, deviceName?: string | null | undefined, session?: string | null | undefined): Promise<SoftwareTokenAssociation>;
16571
16571
  createMfaPreference(mfaType?: MfaType | null | undefined): Promise<boolean>;
16572
+ removeMfa(): Promise<boolean>;
16573
+ answerMfaChallenge(code: string, challengeType?: AuthChallengeType | null | undefined, session?: string | null | undefined, login?: string | null | undefined, fcmDevice?: FcmDeviceType | null | undefined): Promise<SoliboAuthentication>;
16572
16574
  createMfaSelection(mfaType: MfaType, session?: string | null | undefined, login?: string | null | undefined): Promise<boolean>;
16573
16575
  createMfaSelectionConfirmation(session?: string | null | undefined, login?: string | null | undefined): Promise<boolean>;
16574
16576
  forgotPassword(login: string): Promise<boolean>;