@liquidcommercedev/rmn-sdk 1.5.0-beta.49 → 1.5.0-beta.50

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/dist/index.esm.js CHANGED
@@ -273,6 +273,13 @@ performance.now ||
273
273
  var browser$1 = {
274
274
  nextTick: nextTick};
275
275
 
276
+ /**
277
+ * Create a bound version of a function with a specified `this` context
278
+ *
279
+ * @param {Function} fn - The function to bind
280
+ * @param {*} thisArg - The value to be passed as the `this` parameter
281
+ * @returns {Function} A new function that will call the original function with the specified `this` context
282
+ */
276
283
  function bind(fn, thisArg) {
277
284
  return function wrap() {
278
285
  return fn.apply(thisArg, arguments);
@@ -3502,7 +3509,7 @@ class InterceptorManager {
3502
3509
  *
3503
3510
  * @param {Number} id The ID that was returned by `use`
3504
3511
  *
3505
- * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
3512
+ * @returns {void}
3506
3513
  */
3507
3514
  eject(id) {
3508
3515
  if (this.handlers[id]) {
@@ -4462,27 +4469,38 @@ var cookies = platform.hasStandardBrowserEnv ?
4462
4469
 
4463
4470
  // Standard browser envs support document.cookie
4464
4471
  {
4465
- write(name, value, expires, path, domain, secure) {
4466
- const cookie = [name + '=' + encodeURIComponent(value)];
4467
-
4468
- utils$1.isNumber(expires) && cookie.push('expires=' + new Date(expires).toGMTString());
4469
-
4470
- utils$1.isString(path) && cookie.push('path=' + path);
4472
+ write(name, value, expires, path, domain, secure, sameSite) {
4473
+ if (typeof document === 'undefined') return;
4471
4474
 
4472
- utils$1.isString(domain) && cookie.push('domain=' + domain);
4475
+ const cookie = [`${name}=${encodeURIComponent(value)}`];
4473
4476
 
4474
- secure === true && cookie.push('secure');
4477
+ if (utils$1.isNumber(expires)) {
4478
+ cookie.push(`expires=${new Date(expires).toUTCString()}`);
4479
+ }
4480
+ if (utils$1.isString(path)) {
4481
+ cookie.push(`path=${path}`);
4482
+ }
4483
+ if (utils$1.isString(domain)) {
4484
+ cookie.push(`domain=${domain}`);
4485
+ }
4486
+ if (secure === true) {
4487
+ cookie.push('secure');
4488
+ }
4489
+ if (utils$1.isString(sameSite)) {
4490
+ cookie.push(`SameSite=${sameSite}`);
4491
+ }
4475
4492
 
4476
4493
  document.cookie = cookie.join('; ');
4477
4494
  },
4478
4495
 
4479
4496
  read(name) {
4480
- const match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
4481
- return (match ? decodeURIComponent(match[3]) : null);
4497
+ if (typeof document === 'undefined') return null;
4498
+ const match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));
4499
+ return match ? decodeURIComponent(match[1]) : null;
4482
4500
  },
4483
4501
 
4484
4502
  remove(name) {
4485
- this.write(name, '', Date.now() - 86400000);
4503
+ this.write(name, '', Date.now() - 86400000, '/');
4486
4504
  }
4487
4505
  }
4488
4506
 
@@ -4571,11 +4589,11 @@ function mergeConfig$1(config1, config2) {
4571
4589
  }
4572
4590
 
4573
4591
  // eslint-disable-next-line consistent-return
4574
- function mergeDeepProperties(a, b, prop , caseless) {
4592
+ function mergeDeepProperties(a, b, prop, caseless) {
4575
4593
  if (!utils$1.isUndefined(b)) {
4576
- return getMergedValue(a, b, prop , caseless);
4594
+ return getMergedValue(a, b, prop, caseless);
4577
4595
  } else if (!utils$1.isUndefined(a)) {
4578
- return getMergedValue(undefined, a, prop , caseless);
4596
+ return getMergedValue(undefined, a, prop, caseless);
4579
4597
  }
4580
4598
  }
4581
4599
 
@@ -4633,7 +4651,7 @@ function mergeConfig$1(config1, config2) {
4633
4651
  socketPath: defaultToConfig2,
4634
4652
  responseEncoding: defaultToConfig2,
4635
4653
  validateStatus: mergeDirectKeys,
4636
- headers: (a, b , prop) => mergeDeepProperties(headersToObject(a), headersToObject(b),prop, true)
4654
+ headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
4637
4655
  };
4638
4656
 
4639
4657
  utils$1.forEach(Object.keys({...config1, ...config2}), function computeConfigValue(prop) {
@@ -5271,7 +5289,7 @@ const factory = (env) => {
5271
5289
  const seedCache = new Map();
5272
5290
 
5273
5291
  const getFetch = (config) => {
5274
- let env = config ? config.env : {};
5292
+ let env = (config && config.env) || {};
5275
5293
  const {fetch, Request, Response} = env;
5276
5294
  const seeds = [
5277
5295
  Request, Response, fetch
@@ -5294,6 +5312,15 @@ const getFetch = (config) => {
5294
5312
 
5295
5313
  getFetch();
5296
5314
 
5315
+ /**
5316
+ * Known adapters mapping.
5317
+ * Provides environment-specific adapters for Axios:
5318
+ * - `http` for Node.js
5319
+ * - `xhr` for browsers
5320
+ * - `fetch` for fetch API-based requests
5321
+ *
5322
+ * @type {Object<string, Function|Object>}
5323
+ */
5297
5324
  const knownAdapters = {
5298
5325
  http: httpAdapter,
5299
5326
  xhr: xhrAdapter,
@@ -5302,71 +5329,107 @@ const knownAdapters = {
5302
5329
  }
5303
5330
  };
5304
5331
 
5332
+ // Assign adapter names for easier debugging and identification
5305
5333
  utils$1.forEach(knownAdapters, (fn, value) => {
5306
5334
  if (fn) {
5307
5335
  try {
5308
- Object.defineProperty(fn, 'name', {value});
5336
+ Object.defineProperty(fn, 'name', { value });
5309
5337
  } catch (e) {
5310
5338
  // eslint-disable-next-line no-empty
5311
5339
  }
5312
- Object.defineProperty(fn, 'adapterName', {value});
5340
+ Object.defineProperty(fn, 'adapterName', { value });
5313
5341
  }
5314
5342
  });
5315
5343
 
5344
+ /**
5345
+ * Render a rejection reason string for unknown or unsupported adapters
5346
+ *
5347
+ * @param {string} reason
5348
+ * @returns {string}
5349
+ */
5316
5350
  const renderReason = (reason) => `- ${reason}`;
5317
5351
 
5352
+ /**
5353
+ * Check if the adapter is resolved (function, null, or false)
5354
+ *
5355
+ * @param {Function|null|false} adapter
5356
+ * @returns {boolean}
5357
+ */
5318
5358
  const isResolvedHandle = (adapter) => utils$1.isFunction(adapter) || adapter === null || adapter === false;
5319
5359
 
5320
- var adapters = {
5321
- getAdapter: (adapters, config) => {
5322
- adapters = utils$1.isArray(adapters) ? adapters : [adapters];
5360
+ /**
5361
+ * Get the first suitable adapter from the provided list.
5362
+ * Tries each adapter in order until a supported one is found.
5363
+ * Throws an AxiosError if no adapter is suitable.
5364
+ *
5365
+ * @param {Array<string|Function>|string|Function} adapters - Adapter(s) by name or function.
5366
+ * @param {Object} config - Axios request configuration
5367
+ * @throws {AxiosError} If no suitable adapter is available
5368
+ * @returns {Function} The resolved adapter function
5369
+ */
5370
+ function getAdapter$1(adapters, config) {
5371
+ adapters = utils$1.isArray(adapters) ? adapters : [adapters];
5323
5372
 
5324
- const {length} = adapters;
5325
- let nameOrAdapter;
5326
- let adapter;
5373
+ const { length } = adapters;
5374
+ let nameOrAdapter;
5375
+ let adapter;
5327
5376
 
5328
- const rejectedReasons = {};
5377
+ const rejectedReasons = {};
5329
5378
 
5330
- for (let i = 0; i < length; i++) {
5331
- nameOrAdapter = adapters[i];
5332
- let id;
5379
+ for (let i = 0; i < length; i++) {
5380
+ nameOrAdapter = adapters[i];
5381
+ let id;
5333
5382
 
5334
- adapter = nameOrAdapter;
5383
+ adapter = nameOrAdapter;
5335
5384
 
5336
- if (!isResolvedHandle(nameOrAdapter)) {
5337
- adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
5385
+ if (!isResolvedHandle(nameOrAdapter)) {
5386
+ adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
5338
5387
 
5339
- if (adapter === undefined) {
5340
- throw new AxiosError$1(`Unknown adapter '${id}'`);
5341
- }
5342
- }
5343
-
5344
- if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) {
5345
- break;
5388
+ if (adapter === undefined) {
5389
+ throw new AxiosError$1(`Unknown adapter '${id}'`);
5346
5390
  }
5391
+ }
5347
5392
 
5348
- rejectedReasons[id || '#' + i] = adapter;
5393
+ if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) {
5394
+ break;
5349
5395
  }
5350
5396
 
5351
- if (!adapter) {
5397
+ rejectedReasons[id || '#' + i] = adapter;
5398
+ }
5352
5399
 
5353
- const reasons = Object.entries(rejectedReasons)
5354
- .map(([id, state]) => `adapter ${id} ` +
5355
- (state === false ? 'is not supported by the environment' : 'is not available in the build')
5356
- );
5400
+ if (!adapter) {
5401
+ const reasons = Object.entries(rejectedReasons)
5402
+ .map(([id, state]) => `adapter ${id} ` +
5403
+ (state === false ? 'is not supported by the environment' : 'is not available in the build')
5404
+ );
5357
5405
 
5358
- let s = length ?
5359
- (reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0])) :
5360
- 'as no adapter specified';
5406
+ let s = length ?
5407
+ (reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0])) :
5408
+ 'as no adapter specified';
5361
5409
 
5362
- throw new AxiosError$1(
5363
- `There is no suitable adapter to dispatch the request ` + s,
5364
- 'ERR_NOT_SUPPORT'
5365
- );
5366
- }
5410
+ throw new AxiosError$1(
5411
+ `There is no suitable adapter to dispatch the request ` + s,
5412
+ 'ERR_NOT_SUPPORT'
5413
+ );
5414
+ }
5367
5415
 
5368
- return adapter;
5369
- },
5416
+ return adapter;
5417
+ }
5418
+
5419
+ /**
5420
+ * Exports Axios adapters and utility to resolve an adapter
5421
+ */
5422
+ var adapters = {
5423
+ /**
5424
+ * Resolve an adapter from a list of adapter names or functions.
5425
+ * @type {Function}
5426
+ */
5427
+ getAdapter: getAdapter$1,
5428
+
5429
+ /**
5430
+ * Exposes all known adapters
5431
+ * @type {Object<string, Function|Object>}
5432
+ */
5370
5433
  adapters: knownAdapters
5371
5434
  };
5372
5435
 
@@ -5443,7 +5506,7 @@ function dispatchRequest(config) {
5443
5506
  });
5444
5507
  }
5445
5508
 
5446
- const VERSION$1 = "1.12.2";
5509
+ const VERSION$1 = "1.13.2";
5447
5510
 
5448
5511
  const validators$1 = {};
5449
5512
 
@@ -5998,6 +6061,12 @@ const HttpStatusCode$1 = {
5998
6061
  LoopDetected: 508,
5999
6062
  NotExtended: 510,
6000
6063
  NetworkAuthenticationRequired: 511,
6064
+ WebServerIsDown: 521,
6065
+ ConnectionTimedOut: 522,
6066
+ OriginIsUnreachable: 523,
6067
+ TimeoutOccurred: 524,
6068
+ SslHandshakeFailed: 525,
6069
+ InvalidSslCertificate: 526,
6001
6070
  };
6002
6071
 
6003
6072
  Object.entries(HttpStatusCode$1).forEach(([key, value]) => {
@@ -8058,7 +8127,7 @@ var hasRequiredCore;
8058
8127
  function requireCore () {
8059
8128
  if (hasRequiredCore) return core$1.exports;
8060
8129
  hasRequiredCore = 1;
8061
- (function (module, exports) {
8130
+ (function (module, exports$1) {
8062
8131
  (function (root, factory) {
8063
8132
  {
8064
8133
  // CommonJS
@@ -8871,7 +8940,7 @@ var hasRequiredX64Core;
8871
8940
  function requireX64Core () {
8872
8941
  if (hasRequiredX64Core) return x64Core$1.exports;
8873
8942
  hasRequiredX64Core = 1;
8874
- (function (module, exports) {
8943
+ (function (module, exports$1) {
8875
8944
  (function (root, factory) {
8876
8945
  {
8877
8946
  // CommonJS
@@ -9181,7 +9250,7 @@ var hasRequiredLibTypedarrays;
9181
9250
  function requireLibTypedarrays () {
9182
9251
  if (hasRequiredLibTypedarrays) return libTypedarrays$1.exports;
9183
9252
  hasRequiredLibTypedarrays = 1;
9184
- (function (module, exports) {
9253
+ (function (module, exports$1) {
9185
9254
  (function (root, factory) {
9186
9255
  {
9187
9256
  // CommonJS
@@ -9263,7 +9332,7 @@ var hasRequiredEncUtf16;
9263
9332
  function requireEncUtf16 () {
9264
9333
  if (hasRequiredEncUtf16) return encUtf16$1.exports;
9265
9334
  hasRequiredEncUtf16 = 1;
9266
- (function (module, exports) {
9335
+ (function (module, exports$1) {
9267
9336
  (function (root, factory) {
9268
9337
  {
9269
9338
  // CommonJS
@@ -9418,7 +9487,7 @@ var hasRequiredEncBase64;
9418
9487
  function requireEncBase64 () {
9419
9488
  if (hasRequiredEncBase64) return encBase64$1.exports;
9420
9489
  hasRequiredEncBase64 = 1;
9421
- (function (module, exports) {
9490
+ (function (module, exports$1) {
9422
9491
  (function (root, factory) {
9423
9492
  {
9424
9493
  // CommonJS
@@ -9560,7 +9629,7 @@ var hasRequiredEncBase64url;
9560
9629
  function requireEncBase64url () {
9561
9630
  if (hasRequiredEncBase64url) return encBase64url$1.exports;
9562
9631
  hasRequiredEncBase64url = 1;
9563
- (function (module, exports) {
9632
+ (function (module, exports$1) {
9564
9633
  (function (root, factory) {
9565
9634
  {
9566
9635
  // CommonJS
@@ -9714,7 +9783,7 @@ var hasRequiredMd5;
9714
9783
  function requireMd5 () {
9715
9784
  if (hasRequiredMd5) return md5$1.exports;
9716
9785
  hasRequiredMd5 = 1;
9717
- (function (module, exports) {
9786
+ (function (module, exports$1) {
9718
9787
  (function (root, factory) {
9719
9788
  {
9720
9789
  // CommonJS
@@ -9988,7 +10057,7 @@ var hasRequiredSha1;
9988
10057
  function requireSha1 () {
9989
10058
  if (hasRequiredSha1) return sha1$1.exports;
9990
10059
  hasRequiredSha1 = 1;
9991
- (function (module, exports) {
10060
+ (function (module, exports$1) {
9992
10061
  (function (root, factory) {
9993
10062
  {
9994
10063
  // CommonJS
@@ -10144,7 +10213,7 @@ var hasRequiredSha256;
10144
10213
  function requireSha256 () {
10145
10214
  if (hasRequiredSha256) return sha256$1.exports;
10146
10215
  hasRequiredSha256 = 1;
10147
- (function (module, exports) {
10216
+ (function (module, exports$1) {
10148
10217
  (function (root, factory) {
10149
10218
  {
10150
10219
  // CommonJS
@@ -10349,7 +10418,7 @@ var hasRequiredSha224;
10349
10418
  function requireSha224 () {
10350
10419
  if (hasRequiredSha224) return sha224$1.exports;
10351
10420
  hasRequiredSha224 = 1;
10352
- (function (module, exports) {
10421
+ (function (module, exports$1) {
10353
10422
  (function (root, factory, undef) {
10354
10423
  {
10355
10424
  // CommonJS
@@ -10435,7 +10504,7 @@ var hasRequiredSha512;
10435
10504
  function requireSha512 () {
10436
10505
  if (hasRequiredSha512) return sha512$1.exports;
10437
10506
  hasRequiredSha512 = 1;
10438
- (function (module, exports) {
10507
+ (function (module, exports$1) {
10439
10508
  (function (root, factory, undef) {
10440
10509
  {
10441
10510
  // CommonJS
@@ -10767,7 +10836,7 @@ var hasRequiredSha384;
10767
10836
  function requireSha384 () {
10768
10837
  if (hasRequiredSha384) return sha384$1.exports;
10769
10838
  hasRequiredSha384 = 1;
10770
- (function (module, exports) {
10839
+ (function (module, exports$1) {
10771
10840
  (function (root, factory, undef) {
10772
10841
  {
10773
10842
  // CommonJS
@@ -10856,7 +10925,7 @@ var hasRequiredSha3;
10856
10925
  function requireSha3 () {
10857
10926
  if (hasRequiredSha3) return sha3$1.exports;
10858
10927
  hasRequiredSha3 = 1;
10859
- (function (module, exports) {
10928
+ (function (module, exports$1) {
10860
10929
  (function (root, factory, undef) {
10861
10930
  {
10862
10931
  // CommonJS
@@ -11188,7 +11257,7 @@ var hasRequiredRipemd160;
11188
11257
  function requireRipemd160 () {
11189
11258
  if (hasRequiredRipemd160) return ripemd160$1.exports;
11190
11259
  hasRequiredRipemd160 = 1;
11191
- (function (module, exports) {
11260
+ (function (module, exports$1) {
11192
11261
  (function (root, factory) {
11193
11262
  {
11194
11263
  // CommonJS
@@ -11461,7 +11530,7 @@ var hasRequiredHmac;
11461
11530
  function requireHmac () {
11462
11531
  if (hasRequiredHmac) return hmac$1.exports;
11463
11532
  hasRequiredHmac = 1;
11464
- (function (module, exports) {
11533
+ (function (module, exports$1) {
11465
11534
  (function (root, factory) {
11466
11535
  {
11467
11536
  // CommonJS
@@ -11610,7 +11679,7 @@ var hasRequiredPbkdf2;
11610
11679
  function requirePbkdf2 () {
11611
11680
  if (hasRequiredPbkdf2) return pbkdf2$1.exports;
11612
11681
  hasRequiredPbkdf2 = 1;
11613
- (function (module, exports) {
11682
+ (function (module, exports$1) {
11614
11683
  (function (root, factory, undef) {
11615
11684
  {
11616
11685
  // CommonJS
@@ -11761,7 +11830,7 @@ var hasRequiredEvpkdf;
11761
11830
  function requireEvpkdf () {
11762
11831
  if (hasRequiredEvpkdf) return evpkdf$1.exports;
11763
11832
  hasRequiredEvpkdf = 1;
11764
- (function (module, exports) {
11833
+ (function (module, exports$1) {
11765
11834
  (function (root, factory, undef) {
11766
11835
  {
11767
11836
  // CommonJS
@@ -11901,7 +11970,7 @@ var hasRequiredCipherCore;
11901
11970
  function requireCipherCore () {
11902
11971
  if (hasRequiredCipherCore) return cipherCore$1.exports;
11903
11972
  hasRequiredCipherCore = 1;
11904
- (function (module, exports) {
11973
+ (function (module, exports$1) {
11905
11974
  (function (root, factory, undef) {
11906
11975
  {
11907
11976
  // CommonJS
@@ -12802,7 +12871,7 @@ var hasRequiredModeCfb;
12802
12871
  function requireModeCfb () {
12803
12872
  if (hasRequiredModeCfb) return modeCfb$1.exports;
12804
12873
  hasRequiredModeCfb = 1;
12805
- (function (module, exports) {
12874
+ (function (module, exports$1) {
12806
12875
  (function (root, factory, undef) {
12807
12876
  {
12808
12877
  // CommonJS
@@ -12888,7 +12957,7 @@ var hasRequiredModeCtr;
12888
12957
  function requireModeCtr () {
12889
12958
  if (hasRequiredModeCtr) return modeCtr$1.exports;
12890
12959
  hasRequiredModeCtr = 1;
12891
- (function (module, exports) {
12960
+ (function (module, exports$1) {
12892
12961
  (function (root, factory, undef) {
12893
12962
  {
12894
12963
  // CommonJS
@@ -12952,7 +13021,7 @@ var hasRequiredModeCtrGladman;
12952
13021
  function requireModeCtrGladman () {
12953
13022
  if (hasRequiredModeCtrGladman) return modeCtrGladman$1.exports;
12954
13023
  hasRequiredModeCtrGladman = 1;
12955
- (function (module, exports) {
13024
+ (function (module, exports$1) {
12956
13025
  (function (root, factory, undef) {
12957
13026
  {
12958
13027
  // CommonJS
@@ -13074,7 +13143,7 @@ var hasRequiredModeOfb;
13074
13143
  function requireModeOfb () {
13075
13144
  if (hasRequiredModeOfb) return modeOfb$1.exports;
13076
13145
  hasRequiredModeOfb = 1;
13077
- (function (module, exports) {
13146
+ (function (module, exports$1) {
13078
13147
  (function (root, factory, undef) {
13079
13148
  {
13080
13149
  // CommonJS
@@ -13134,7 +13203,7 @@ var hasRequiredModeEcb;
13134
13203
  function requireModeEcb () {
13135
13204
  if (hasRequiredModeEcb) return modeEcb$1.exports;
13136
13205
  hasRequiredModeEcb = 1;
13137
- (function (module, exports) {
13206
+ (function (module, exports$1) {
13138
13207
  (function (root, factory, undef) {
13139
13208
  {
13140
13209
  // CommonJS
@@ -13180,7 +13249,7 @@ var hasRequiredPadAnsix923;
13180
13249
  function requirePadAnsix923 () {
13181
13250
  if (hasRequiredPadAnsix923) return padAnsix923$1.exports;
13182
13251
  hasRequiredPadAnsix923 = 1;
13183
- (function (module, exports) {
13252
+ (function (module, exports$1) {
13184
13253
  (function (root, factory, undef) {
13185
13254
  {
13186
13255
  // CommonJS
@@ -13235,7 +13304,7 @@ var hasRequiredPadIso10126;
13235
13304
  function requirePadIso10126 () {
13236
13305
  if (hasRequiredPadIso10126) return padIso10126$1.exports;
13237
13306
  hasRequiredPadIso10126 = 1;
13238
- (function (module, exports) {
13307
+ (function (module, exports$1) {
13239
13308
  (function (root, factory, undef) {
13240
13309
  {
13241
13310
  // CommonJS
@@ -13285,7 +13354,7 @@ var hasRequiredPadIso97971;
13285
13354
  function requirePadIso97971 () {
13286
13355
  if (hasRequiredPadIso97971) return padIso97971$1.exports;
13287
13356
  hasRequiredPadIso97971 = 1;
13288
- (function (module, exports) {
13357
+ (function (module, exports$1) {
13289
13358
  (function (root, factory, undef) {
13290
13359
  {
13291
13360
  // CommonJS
@@ -13331,7 +13400,7 @@ var hasRequiredPadZeropadding;
13331
13400
  function requirePadZeropadding () {
13332
13401
  if (hasRequiredPadZeropadding) return padZeropadding$1.exports;
13333
13402
  hasRequiredPadZeropadding = 1;
13334
- (function (module, exports) {
13403
+ (function (module, exports$1) {
13335
13404
  (function (root, factory, undef) {
13336
13405
  {
13337
13406
  // CommonJS
@@ -13384,7 +13453,7 @@ var hasRequiredPadNopadding;
13384
13453
  function requirePadNopadding () {
13385
13454
  if (hasRequiredPadNopadding) return padNopadding$1.exports;
13386
13455
  hasRequiredPadNopadding = 1;
13387
- (function (module, exports) {
13456
+ (function (module, exports$1) {
13388
13457
  (function (root, factory, undef) {
13389
13458
  {
13390
13459
  // CommonJS
@@ -13420,7 +13489,7 @@ var hasRequiredFormatHex;
13420
13489
  function requireFormatHex () {
13421
13490
  if (hasRequiredFormatHex) return formatHex$1.exports;
13422
13491
  hasRequiredFormatHex = 1;
13423
- (function (module, exports) {
13492
+ (function (module, exports$1) {
13424
13493
  (function (root, factory, undef) {
13425
13494
  {
13426
13495
  // CommonJS
@@ -13492,7 +13561,7 @@ var hasRequiredAes;
13492
13561
  function requireAes () {
13493
13562
  if (hasRequiredAes) return aes$1.exports;
13494
13563
  hasRequiredAes = 1;
13495
- (function (module, exports) {
13564
+ (function (module, exports$1) {
13496
13565
  (function (root, factory, undef) {
13497
13566
  {
13498
13567
  // CommonJS
@@ -13732,7 +13801,7 @@ var hasRequiredTripledes;
13732
13801
  function requireTripledes () {
13733
13802
  if (hasRequiredTripledes) return tripledes$1.exports;
13734
13803
  hasRequiredTripledes = 1;
13735
- (function (module, exports) {
13804
+ (function (module, exports$1) {
13736
13805
  (function (root, factory, undef) {
13737
13806
  {
13738
13807
  // CommonJS
@@ -14517,7 +14586,7 @@ var hasRequiredRc4;
14517
14586
  function requireRc4 () {
14518
14587
  if (hasRequiredRc4) return rc4$1.exports;
14519
14588
  hasRequiredRc4 = 1;
14520
- (function (module, exports) {
14589
+ (function (module, exports$1) {
14521
14590
  (function (root, factory, undef) {
14522
14591
  {
14523
14592
  // CommonJS
@@ -14662,7 +14731,7 @@ var hasRequiredRabbit;
14662
14731
  function requireRabbit () {
14663
14732
  if (hasRequiredRabbit) return rabbit$1.exports;
14664
14733
  hasRequiredRabbit = 1;
14665
- (function (module, exports) {
14734
+ (function (module, exports$1) {
14666
14735
  (function (root, factory, undef) {
14667
14736
  {
14668
14737
  // CommonJS
@@ -14860,7 +14929,7 @@ var hasRequiredRabbitLegacy;
14860
14929
  function requireRabbitLegacy () {
14861
14930
  if (hasRequiredRabbitLegacy) return rabbitLegacy$1.exports;
14862
14931
  hasRequiredRabbitLegacy = 1;
14863
- (function (module, exports) {
14932
+ (function (module, exports$1) {
14864
14933
  (function (root, factory, undef) {
14865
14934
  {
14866
14935
  // CommonJS
@@ -15056,7 +15125,7 @@ var hasRequiredBlowfish;
15056
15125
  function requireBlowfish () {
15057
15126
  if (hasRequiredBlowfish) return blowfish$1.exports;
15058
15127
  hasRequiredBlowfish = 1;
15059
- (function (module, exports) {
15128
+ (function (module, exports$1) {
15060
15129
  (function (root, factory, undef) {
15061
15130
  {
15062
15131
  // CommonJS
@@ -15531,7 +15600,7 @@ var hasRequiredCryptoJs;
15531
15600
  function requireCryptoJs () {
15532
15601
  if (hasRequiredCryptoJs) return cryptoJs$1.exports;
15533
15602
  hasRequiredCryptoJs = 1;
15534
- (function (module, exports) {
15603
+ (function (module, exports$1) {
15535
15604
  (function (root, factory, undef) {
15536
15605
  {
15537
15606
  // CommonJS
@@ -17510,7 +17579,7 @@ class LocalStorageService {
17510
17579
  }
17511
17580
  LocalStorageService.localStorageKeyPrefix = 'lc_rmn';
17512
17581
  LocalStorageService.localStorageKey = '';
17513
- LocalStorageService.spotExpirationTime = 1000 * 60 * 60 * 24 * 7; // 7 days
17582
+ LocalStorageService.spotExpirationTime = 1000 * 60 * 60 * 24 * 30; // 30 days expiration time
17514
17583
  LocalStorageService.encryptData = true;
17515
17584
 
17516
17585
  class ProximityObserver {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@liquidcommercedev/rmn-sdk",
3
3
  "description": "LiquidCommerce RMN SDK",
4
4
  "author": "LiquidCommerce Tech",
5
- "version": "1.5.0-beta.49",
5
+ "version": "1.5.0-beta.50",
6
6
  "homepage": "https://docs.liquidcommerce.co/rmn-sdk",
7
7
  "main": "./dist/index.cjs",
8
8
  "module": "./dist/index.esm.js",
@@ -61,7 +61,7 @@
61
61
  ],
62
62
  "license": "",
63
63
  "dependencies": {
64
- "axios": "^1.12.2",
64
+ "axios": "^1.13.2",
65
65
  "buffer": "^6.0.3",
66
66
  "jose": "^5.10.0"
67
67
  },
@@ -69,10 +69,10 @@
69
69
  "@biomejs/biome": "2.2.4",
70
70
  "@commitlint/cli": "^19.8.1",
71
71
  "@commitlint/config-conventional": "^19.8.1",
72
- "@rollup/plugin-commonjs": "^28.0.6",
72
+ "@rollup/plugin-commonjs": "^28.0.9",
73
73
  "@rollup/plugin-json": "^6.1.0",
74
74
  "@rollup/plugin-node-resolve": "^15.3.1",
75
- "@rollup/plugin-replace": "^6.0.2",
75
+ "@rollup/plugin-replace": "^6.0.3",
76
76
  "@rollup/plugin-terser": "^0.4.4",
77
77
  "@semantic-release/changelog": "^6.0.3",
78
78
  "@semantic-release/git": "^10.0.1",
@@ -80,18 +80,18 @@
80
80
  "@semantic-release/npm": "^12.0.2",
81
81
  "@types/core-js": "^2.5.8",
82
82
  "@types/crypto-js": "^4.2.2",
83
- "@types/node": "^22.18.7",
83
+ "@types/node": "^22.19.1",
84
84
  "conventional-changelog-cli": "^5.0.0",
85
85
  "crypto-js": "^4.2.0",
86
86
  "events": "^3.3.0",
87
87
  "process": "^0.11.10",
88
- "rollup": "^4.52.3",
88
+ "rollup": "^4.53.3",
89
89
  "rollup-plugin-polyfill-node": "^0.13.0",
90
90
  "rollup-plugin-typescript2": "^0.36.0",
91
91
  "semantic-release": "^24.2.9",
92
92
  "ts-node": "^10.9.2",
93
- "typedoc": "^0.28.13",
94
- "typescript": "^5.9.2"
93
+ "typedoc": "^0.28.15",
94
+ "typescript": "^5.9.3"
95
95
  },
96
96
  "engines": {
97
97
  "node": ">=20"