@stytch/vanilla-js 5.5.2 → 5.5.4

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.
@@ -1329,7 +1329,6 @@ var RetriableError = /*#__PURE__*/function (_Error) {
1329
1329
  }( /*#__PURE__*/_wrapNativeSuper(Error));
1330
1330
  function _retriableFetchSDK(_ref) {
1331
1331
  var method = _ref.method,
1332
- errorMessage = _ref.errorMessage,
1333
1332
  finalURL = _ref.finalURL,
1334
1333
  basicAuthHeader = _ref.basicAuthHeader,
1335
1334
  xSDKClientHeader = _ref.xSDKClientHeader,
@@ -1343,7 +1342,6 @@ function _retriableFetchSDK(_ref) {
1343
1342
  case 0:
1344
1343
  req = {
1345
1344
  method: method,
1346
- errorMessage: errorMessage,
1347
1345
  finalURL: finalURL,
1348
1346
  basicAuthHeader: basicAuthHeader,
1349
1347
  xSDKClientHeader: xSDKClientHeader,
@@ -2068,7 +2066,6 @@ var HeadlessUserClient = /*#__PURE__*/_createClass(function HeadlessUserClient(_
2068
2066
  _context14.next = 2;
2069
2067
  return this._networkClient.fetchSDK({
2070
2068
  url: '/users/me',
2071
- errorMessage: 'Failed to retrieve user info.',
2072
2069
  method: 'GET'
2073
2070
  });
2074
2071
  case 2:
@@ -2103,7 +2100,6 @@ var HeadlessUserClient = /*#__PURE__*/_createClass(function HeadlessUserClient(_
2103
2100
  return this._networkClient.fetchSDK({
2104
2101
  url: '/users/me',
2105
2102
  body: options,
2106
- errorMessage: 'Failed to update user.',
2107
2103
  method: 'PUT'
2108
2104
  });
2109
2105
  case 3:
@@ -2127,7 +2123,6 @@ var HeadlessUserClient = /*#__PURE__*/_createClass(function HeadlessUserClient(_
2127
2123
  _context16.next = 2;
2128
2124
  return this._networkClient.fetchSDK({
2129
2125
  url: "/users/emails/".concat(emailId),
2130
- errorMessage: 'Failed to delete email.',
2131
2126
  method: 'DELETE'
2132
2127
  });
2133
2128
  case 2:
@@ -2151,7 +2146,6 @@ var HeadlessUserClient = /*#__PURE__*/_createClass(function HeadlessUserClient(_
2151
2146
  _context17.next = 2;
2152
2147
  return this._networkClient.fetchSDK({
2153
2148
  url: "/users/phone_numbers/".concat(phoneId),
2154
- errorMessage: 'Failed to delete phone number.',
2155
2149
  method: 'DELETE'
2156
2150
  });
2157
2151
  case 2:
@@ -2175,7 +2169,6 @@ var HeadlessUserClient = /*#__PURE__*/_createClass(function HeadlessUserClient(_
2175
2169
  _context18.next = 2;
2176
2170
  return this._networkClient.fetchSDK({
2177
2171
  url: "/users/totps/".concat(totpId),
2178
- errorMessage: 'Failed to delete TOTP.',
2179
2172
  method: 'DELETE'
2180
2173
  });
2181
2174
  case 2:
@@ -2199,7 +2192,6 @@ var HeadlessUserClient = /*#__PURE__*/_createClass(function HeadlessUserClient(_
2199
2192
  _context19.next = 2;
2200
2193
  return this._networkClient.fetchSDK({
2201
2194
  url: "/users/crypto_wallets/".concat(cryptoWalletId),
2202
- errorMessage: 'Failed to delete crypto wallet.',
2203
2195
  method: 'DELETE'
2204
2196
  });
2205
2197
  case 2:
@@ -2223,7 +2215,6 @@ var HeadlessUserClient = /*#__PURE__*/_createClass(function HeadlessUserClient(_
2223
2215
  _context20.next = 2;
2224
2216
  return this._networkClient.fetchSDK({
2225
2217
  url: "/users/oauth/".concat(oauthUserRegistrationId),
2226
- errorMessage: 'Failed to delete OAuth registration.',
2227
2218
  method: 'DELETE'
2228
2219
  });
2229
2220
  case 2:
@@ -2247,7 +2238,6 @@ var HeadlessUserClient = /*#__PURE__*/_createClass(function HeadlessUserClient(_
2247
2238
  _context21.next = 2;
2248
2239
  return this._networkClient.fetchSDK({
2249
2240
  url: "/users/webauthn_registrations/".concat(webAuthnId),
2250
- errorMessage: 'Failed to delete WebAuthn registration.',
2251
2241
  method: 'DELETE'
2252
2242
  });
2253
2243
  case 2:
@@ -2271,7 +2261,6 @@ var HeadlessUserClient = /*#__PURE__*/_createClass(function HeadlessUserClient(_
2271
2261
  _context22.next = 2;
2272
2262
  return this._networkClient.fetchSDK({
2273
2263
  url: "/users/biometric_registrations/".concat(biometricRegistrationId),
2274
- errorMessage: 'Failed to delete Biometric registration.',
2275
2264
  method: 'DELETE'
2276
2265
  });
2277
2266
  case 2:
@@ -2334,7 +2323,6 @@ var HeadlessSessionClient = /*#__PURE__*/function () {
2334
2323
  _context23.next = 3;
2335
2324
  return this._networkClient.fetchSDK({
2336
2325
  url: "/sessions/revoke",
2337
- errorMessage: 'Error revoking session',
2338
2326
  method: 'POST'
2339
2327
  });
2340
2328
  case 3:
@@ -2377,7 +2365,6 @@ var HeadlessSessionClient = /*#__PURE__*/function () {
2377
2365
  return this._networkClient.fetchSDK({
2378
2366
  url: '/sessions/authenticate',
2379
2367
  body: requestBody,
2380
- errorMessage: 'Error authenticating session',
2381
2368
  method: 'POST'
2382
2369
  });
2383
2370
  case 6:
@@ -2487,7 +2474,6 @@ var HeadlessMagicLinksClient = /*#__PURE__*/function () {
2487
2474
  return _context25.abrupt("return", this._networkClient.retriableFetchSDK({
2488
2475
  url: '/magic_links/email/login_or_create',
2489
2476
  body: requestBody,
2490
- errorMessage: 'Failed to send magic link',
2491
2477
  method: 'POST',
2492
2478
  retryCallback: this.dfpProtectedAuth.retryWithCaptchaAndDFP
2493
2479
  }));
@@ -2537,7 +2523,6 @@ var HeadlessMagicLinksClient = /*#__PURE__*/function () {
2537
2523
  return _context26.abrupt("return", this._networkClient.retriableFetchSDK({
2538
2524
  url: endpoint,
2539
2525
  body: requestBody,
2540
- errorMessage: 'Failed to send magic link',
2541
2526
  method: 'POST',
2542
2527
  retryCallback: this.dfpProtectedAuth.retryWithCaptchaAndDFP
2543
2528
  }));
@@ -2665,7 +2650,6 @@ var HeadlessMagicLinksClient = /*#__PURE__*/function () {
2665
2650
  return this._networkClient.fetchSDK({
2666
2651
  url: '/magic_links/authenticate',
2667
2652
  body: requestBody,
2668
- errorMessage: 'Failed to authenticate token.',
2669
2653
  method: 'POST'
2670
2654
  });
2671
2655
  case 6:
@@ -2714,7 +2698,6 @@ var HeadlessOTPClient = /*#__PURE__*/_createClass(function HeadlessOTPClient(_ne
2714
2698
  return _context30.abrupt("return", this._networkClient.retriableFetchSDK({
2715
2699
  url: '/otps/sms/login_or_create',
2716
2700
  body: requestBody,
2717
- errorMessage: 'Failed to send one time passcode',
2718
2701
  method: 'POST',
2719
2702
  retryCallback: this.dfpProtectedAuth.retryWithCaptchaAndDFP
2720
2703
  }));
@@ -2747,7 +2730,6 @@ var HeadlessOTPClient = /*#__PURE__*/_createClass(function HeadlessOTPClient(_ne
2747
2730
  return _context31.abrupt("return", this._networkClient.retriableFetchSDK({
2748
2731
  url: endpoint,
2749
2732
  body: requestBody,
2750
- errorMessage: 'Failed to send one time passcode',
2751
2733
  method: 'POST',
2752
2734
  retryCallback: this.dfpProtectedAuth.retryWithCaptchaAndDFP
2753
2735
  }));
@@ -2780,7 +2762,6 @@ var HeadlessOTPClient = /*#__PURE__*/_createClass(function HeadlessOTPClient(_ne
2780
2762
  return _context32.abrupt("return", this._networkClient.retriableFetchSDK({
2781
2763
  url: '/otps/whatsapp/login_or_create',
2782
2764
  body: requestBody,
2783
- errorMessage: 'Failed to send one time passcode',
2784
2765
  method: 'POST',
2785
2766
  retryCallback: this.dfpProtectedAuth.retryWithCaptchaAndDFP
2786
2767
  }));
@@ -2813,7 +2794,6 @@ var HeadlessOTPClient = /*#__PURE__*/_createClass(function HeadlessOTPClient(_ne
2813
2794
  return _context33.abrupt("return", this._networkClient.retriableFetchSDK({
2814
2795
  url: endpoint,
2815
2796
  body: requestBody,
2816
- errorMessage: 'Failed to send one time passcode',
2817
2797
  method: 'POST',
2818
2798
  retryCallback: this.dfpProtectedAuth.retryWithCaptchaAndDFP
2819
2799
  }));
@@ -2843,7 +2823,6 @@ var HeadlessOTPClient = /*#__PURE__*/_createClass(function HeadlessOTPClient(_ne
2843
2823
  return _context34.abrupt("return", this._networkClient.fetchSDK({
2844
2824
  url: '/otps/email/login_or_create',
2845
2825
  body: requestBody,
2846
- errorMessage: 'Failed to send one time passcode',
2847
2826
  method: 'POST'
2848
2827
  }));
2849
2828
  case 5:
@@ -2872,7 +2851,6 @@ var HeadlessOTPClient = /*#__PURE__*/_createClass(function HeadlessOTPClient(_ne
2872
2851
  return _context35.abrupt("return", this._networkClient.fetchSDK({
2873
2852
  url: endpoint,
2874
2853
  body: requestBody,
2875
- errorMessage: 'Failed to send one time passcode',
2876
2854
  method: 'POST'
2877
2855
  }));
2878
2856
  case 7:
@@ -2906,7 +2884,6 @@ var HeadlessOTPClient = /*#__PURE__*/_createClass(function HeadlessOTPClient(_ne
2906
2884
  return this._networkClient.retriableFetchSDK({
2907
2885
  url: '/otps/authenticate',
2908
2886
  body: requestBody,
2909
- errorMessage: 'Failed to authenticate token.',
2910
2887
  method: 'POST',
2911
2888
  retryCallback: this.dfpProtectedAuth.retryWithCaptchaAndDFP
2912
2889
  });
@@ -3019,8 +2996,7 @@ var HeadlessOAuthClient$1 = /*#__PURE__*/function () {
3019
2996
  body: Object.assign({
3020
2997
  token: token,
3021
2998
  code_verifier: keyPair === null || keyPair === void 0 ? void 0 : keyPair.code_verifier
3022
- }, options),
3023
- errorMessage: 'Failed to authenticate token'
2999
+ }, options)
3024
3000
  });
3025
3001
  case 7:
3026
3002
  resp = _context37.sent;
@@ -3207,7 +3183,6 @@ var HeadlessCryptoWalletClient = /*#__PURE__*/function () {
3207
3183
  return _context40.abrupt("return", this._apiNetworkClient.fetchSDK({
3208
3184
  url: endpoint,
3209
3185
  method: 'POST',
3210
- errorMessage: 'Failed to start wallet authentication.',
3211
3186
  body: requestBody
3212
3187
  }));
3213
3188
  case 15:
@@ -3236,7 +3211,6 @@ var HeadlessCryptoWalletClient = /*#__PURE__*/function () {
3236
3211
  return this._apiNetworkClient.retriableFetchSDK({
3237
3212
  url: '/crypto_wallets/authenticate',
3238
3213
  method: 'POST',
3239
- errorMessage: 'Failed to authenticate.',
3240
3214
  body: {
3241
3215
  session_duration_minutes: options.session_duration_minutes,
3242
3216
  crypto_wallet_address: options.crypto_wallet_address,
@@ -3289,7 +3263,6 @@ var HeadlessTOTPClient = /*#__PURE__*/function () {
3289
3263
  return this._networkClient.fetchSDK({
3290
3264
  url: '/totps',
3291
3265
  method: 'POST',
3292
- errorMessage: 'Failed to create TOTP',
3293
3266
  body: {
3294
3267
  expiration_minutes: options.expiration_minutes
3295
3268
  }
@@ -3324,7 +3297,6 @@ var HeadlessTOTPClient = /*#__PURE__*/function () {
3324
3297
  return this._networkClient.retriableFetchSDK({
3325
3298
  url: '/totps/authenticate',
3326
3299
  method: 'POST',
3327
- errorMessage: 'Failed to authenticate TOTP',
3328
3300
  body: {
3329
3301
  session_duration_minutes: options.session_duration_minutes,
3330
3302
  totp_code: options.totp_code,
@@ -3361,8 +3333,7 @@ var HeadlessTOTPClient = /*#__PURE__*/function () {
3361
3333
  case 0:
3362
3334
  return _context44.abrupt("return", this._networkClient.fetchSDK({
3363
3335
  url: '/totps/recovery_codes',
3364
- method: 'POST',
3365
- errorMessage: 'Failed to retrieve recovery codes'
3336
+ method: 'POST'
3366
3337
  }));
3367
3338
  case 1:
3368
3339
  case "end":
@@ -3390,7 +3361,6 @@ var HeadlessTOTPClient = /*#__PURE__*/function () {
3390
3361
  return this._networkClient.retriableFetchSDK({
3391
3362
  url: '/totps/recover',
3392
3363
  method: 'POST',
3393
- errorMessage: 'Failed to recover TOTP',
3394
3364
  body: {
3395
3365
  session_duration_minutes: options.session_duration_minutes,
3396
3366
  recovery_code: options.recovery_code,
@@ -3660,16 +3630,18 @@ var HeadlessWebAuthnClient = /*#__PURE__*/function () {
3660
3630
  return _regeneratorRuntime().wrap(function _callee48$(_context48) {
3661
3631
  while (1) switch (_context48.prev = _context48.next) {
3662
3632
  case 0:
3663
- validate('stytch.webauthn.register').isOptionalString('domain', options === null || options === void 0 ? void 0 : options.domain).isOptionalString('authenticator_type', options === null || options === void 0 ? void 0 : options.authenticator_type).isOptionalBoolean('is_passkey', options === null || options === void 0 ? void 0 : options.is_passkey).isOptionalNumber('session_duration_minutes', options === null || options === void 0 ? void 0 : options.session_duration_minutes);
3633
+ validate('stytch.webauthn.register').isOptionalString('domain', options === null || options === void 0 ? void 0 : options.domain).isOptionalString('authenticator_type', options === null || options === void 0 ? void 0 : options.authenticator_type).isOptionalBoolean('is_passkey', options === null || options === void 0 ? void 0 : options.is_passkey).isOptionalNumber('session_duration_minutes', options === null || options === void 0 ? void 0 : options.session_duration_minutes).isOptionalString('override_id', options === null || options === void 0 ? void 0 : options.override_id).isOptionalString('override_name', options === null || options === void 0 ? void 0 : options.override_name).isOptionalString('override_display_name', options === null || options === void 0 ? void 0 : options.override_display_name);
3664
3634
  _context48.next = 3;
3665
3635
  return this._networkClient.fetchSDK({
3666
3636
  url: '/webauthn/register/start',
3667
3637
  method: 'POST',
3668
- errorMessage: 'Failed to start WebAuthn registration',
3669
3638
  body: {
3670
3639
  domain: (_a = options === null || options === void 0 ? void 0 : options.domain) !== null && _a !== void 0 ? _a : window.location.hostname,
3671
3640
  authenticator_type: (_b = options === null || options === void 0 ? void 0 : options.authenticator_type) !== null && _b !== void 0 ? _b : undefined,
3672
3641
  return_passkey_credential_options: options === null || options === void 0 ? void 0 : options.is_passkey,
3642
+ override_id: options === null || options === void 0 ? void 0 : options.override_id,
3643
+ override_name: options === null || options === void 0 ? void 0 : options.override_name,
3644
+ override_display_name: options === null || options === void 0 ? void 0 : options.override_display_name,
3673
3645
  user_agent: navigator.userAgent
3674
3646
  }
3675
3647
  });
@@ -3687,7 +3659,6 @@ var HeadlessWebAuthnClient = /*#__PURE__*/function () {
3687
3659
  return this._networkClient.fetchSDK({
3688
3660
  url: '/webauthn/register',
3689
3661
  method: 'POST',
3690
- errorMessage: 'Failed to register WebAuthn device',
3691
3662
  body: {
3692
3663
  public_key_credential: JSON.stringify(credential),
3693
3664
  session_duration_minutes: options === null || options === void 0 ? void 0 : options.session_duration_minutes
@@ -3754,7 +3725,6 @@ var HeadlessWebAuthnClient = /*#__PURE__*/function () {
3754
3725
  return this._networkClient.fetchSDK({
3755
3726
  url: endpoint,
3756
3727
  method: 'POST',
3757
- errorMessage: 'Failed to start WebAuthn authentication',
3758
3728
  body: {
3759
3729
  domain: (_a = options.domain) !== null && _a !== void 0 ? _a : window.location.hostname,
3760
3730
  return_passkey_credential_options: options === null || options === void 0 ? void 0 : options.is_passkey
@@ -3779,7 +3749,6 @@ var HeadlessWebAuthnClient = /*#__PURE__*/function () {
3779
3749
  return this._networkClient.retriableFetchSDK({
3780
3750
  url: '/webauthn/authenticate',
3781
3751
  method: 'POST',
3782
- errorMessage: 'Failed to authenticate WebAuthn device',
3783
3752
  body: {
3784
3753
  public_key_credential: JSON.stringify(credential),
3785
3754
  session_duration_minutes: options.session_duration_minutes,
@@ -3820,7 +3789,6 @@ var HeadlessWebAuthnClient = /*#__PURE__*/function () {
3820
3789
  return this._networkClient.fetchSDK({
3821
3790
  url: url,
3822
3791
  method: 'PUT',
3823
- errorMessage: 'Failed to update WebAuthn Registration',
3824
3792
  body: {
3825
3793
  name: options.name
3826
3794
  }
@@ -3936,7 +3904,6 @@ var HeadlessPasswordClient = /*#__PURE__*/function () {
3936
3904
  return this._networkClient.retriableFetchSDK({
3937
3905
  url: '/passwords',
3938
3906
  method: 'POST',
3939
- errorMessage: 'Failed to create password.',
3940
3907
  body: {
3941
3908
  email: options.email,
3942
3909
  password: options.password,
@@ -3984,7 +3951,6 @@ var HeadlessPasswordClient = /*#__PURE__*/function () {
3984
3951
  return this._networkClient.retriableFetchSDK({
3985
3952
  url: '/passwords/authenticate',
3986
3953
  method: 'POST',
3987
- errorMessage: 'Failed to authenticate password.',
3988
3954
  body: {
3989
3955
  email: options.email,
3990
3956
  password: options.password,
@@ -4035,7 +4001,6 @@ var HeadlessPasswordClient = /*#__PURE__*/function () {
4035
4001
  return _context55.abrupt("return", this._networkClient.retriableFetchSDK({
4036
4002
  url: '/passwords/email/reset/start',
4037
4003
  method: 'POST',
4038
- errorMessage: 'Failed to start password reset flow.',
4039
4004
  body: {
4040
4005
  email: options.email,
4041
4006
  login_redirect_url: options.login_redirect_url,
@@ -4079,7 +4044,6 @@ var HeadlessPasswordClient = /*#__PURE__*/function () {
4079
4044
  return this._networkClient.retriableFetchSDK({
4080
4045
  url: '/passwords/email/reset',
4081
4046
  method: 'POST',
4082
- errorMessage: 'Failed to reset password.',
4083
4047
  body: {
4084
4048
  token: options.token,
4085
4049
  password: options.password,
@@ -4129,7 +4093,6 @@ var HeadlessPasswordClient = /*#__PURE__*/function () {
4129
4093
  return this._networkClient.retriableFetchSDK({
4130
4094
  url: '/passwords/existing_password/reset',
4131
4095
  method: 'POST',
4132
- errorMessage: 'Failed to reset password.',
4133
4096
  body: {
4134
4097
  email: options.email,
4135
4098
  existing_password: options.existing_password,
@@ -4178,7 +4141,6 @@ var HeadlessPasswordClient = /*#__PURE__*/function () {
4178
4141
  return this._networkClient.retriableFetchSDK({
4179
4142
  url: '/passwords/session/reset',
4180
4143
  method: 'POST',
4181
- errorMessage: 'Failed to reset by session.',
4182
4144
  body: {
4183
4145
  password: options.password,
4184
4146
  session_duration_minutes: options.session_duration_minutes,
@@ -4217,7 +4179,6 @@ var HeadlessPasswordClient = /*#__PURE__*/function () {
4217
4179
  return _context59.abrupt("return", this._networkClient.fetchSDK({
4218
4180
  url: '/passwords/strength_check',
4219
4181
  method: 'POST',
4220
- errorMessage: 'Failed to check password strength.',
4221
4182
  body: {
4222
4183
  email: options.email,
4223
4184
  password: options.password
@@ -4334,8 +4295,7 @@ var SearchDataManager = /*#__PURE__*/function () {
4334
4295
  email: email,
4335
4296
  dfp_telemetry_id: dfp_telemetry_id,
4336
4297
  captcha_token: captcha_token
4337
- },
4338
- errorMessage: "Error searching for user ".concat(email)
4298
+ }
4339
4299
  });
4340
4300
  });
4341
4301
  }
@@ -4348,8 +4308,7 @@ var SearchDataManager = /*#__PURE__*/function () {
4348
4308
  body: {
4349
4309
  email_address: email,
4350
4310
  organization_id: organization_id
4351
- },
4352
- errorMessage: "Error searching for member ".concat(email)
4311
+ }
4353
4312
  });
4354
4313
  }
4355
4314
  }]);
@@ -4499,8 +4458,7 @@ var BootstrapDataManager = /*#__PURE__*/function () {
4499
4458
  this._dataLayer = _dataLayer;
4500
4459
  this._bootstrapDataPromise = this._networkClient.fetchSDK({
4501
4460
  url: "/projects/bootstrap/".concat(this._publicToken),
4502
- method: 'GET',
4503
- errorMessage: "Error fetching bootstrap data for SDK for ".concat(this._publicToken)
4461
+ method: 'GET'
4504
4462
  }).then(BootstrapDataManager.mapBootstrapData).then(function (data) {
4505
4463
  _this9._dataLayer.setItem(BOOTSTRAP_CACHE_KEY, JSON.stringify(data));
4506
4464
  return data;
@@ -5676,7 +5634,7 @@ var internalSymB2C = Symbol["for"]('stytch__internal_b2c');
5676
5634
  var writeB2CInternals = function writeB2CInternals(obj, internals) {
5677
5635
  Object.assign(obj, _defineProperty({}, internalSymB2C, internals));
5678
5636
  };
5679
- var version = "5.5.2";
5637
+ var version = "5.5.4";
5680
5638
  var NetworkClient = /*#__PURE__*/function () {
5681
5639
  function NetworkClient(_publicToken, _subscriptionDataLayer, _liveAPIURL, _testAPIURL, additionalTelemetryDataFn) {
5682
5640
  _classCallCheck2(this, NetworkClient);
@@ -5736,7 +5694,6 @@ var NetworkClient = /*#__PURE__*/function () {
5736
5694
  value: function fetchSDK(_ref15) {
5737
5695
  var url = _ref15.url,
5738
5696
  body = _ref15.body,
5739
- errorMessage = _ref15.errorMessage,
5740
5697
  method = _ref15.method;
5741
5698
  return __awaiter(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime2().mark(function _callee65() {
5742
5699
  var sessionToken, basicAuthHeader, xSDKClientHeader, xSDKParentHostHeader;
@@ -5750,7 +5707,6 @@ var NetworkClient = /*#__PURE__*/function () {
5750
5707
  return _context65.abrupt("return", baseFetchSDK({
5751
5708
  basicAuthHeader: basicAuthHeader,
5752
5709
  body: body,
5753
- errorMessage: errorMessage,
5754
5710
  finalURL: this.buildSDKUrl(url),
5755
5711
  method: method,
5756
5712
  xSDKClientHeader: xSDKClientHeader,
@@ -5768,7 +5724,6 @@ var NetworkClient = /*#__PURE__*/function () {
5768
5724
  value: function retriableFetchSDK(_ref16) {
5769
5725
  var url = _ref16.url,
5770
5726
  body = _ref16.body,
5771
- errorMessage = _ref16.errorMessage,
5772
5727
  method = _ref16.method,
5773
5728
  retryCallback = _ref16.retryCallback;
5774
5729
  return __awaiter(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime2().mark(function _callee66() {
@@ -5783,7 +5738,6 @@ var NetworkClient = /*#__PURE__*/function () {
5783
5738
  return _context66.abrupt("return", _retriableFetchSDK({
5784
5739
  basicAuthHeader: basicAuthHeader,
5785
5740
  body: body,
5786
- errorMessage: errorMessage,
5787
5741
  finalURL: this.buildSDKUrl(url),
5788
5742
  method: method,
5789
5743
  xSDKClientHeader: xSDKClientHeader,