@stytch/vanilla-js 5.1.1 → 5.1.2

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.
@@ -3186,6 +3186,9 @@ var HeadlessB2BSCIMClient = /*#__PURE__*/function () {
3186
3186
  return this._networkClient.fetchSDK({
3187
3187
  url: "/b2b/scim/rotate/start",
3188
3188
  method: 'POST',
3189
+ body: {
3190
+ connection_id: connectionId
3191
+ },
3189
3192
  errorMessage: 'Failed to start SCIM token rotation.'
3190
3193
  });
3191
3194
  case 3:
@@ -3209,6 +3212,9 @@ var HeadlessB2BSCIMClient = /*#__PURE__*/function () {
3209
3212
  return this._networkClient.fetchSDK({
3210
3213
  url: "/b2b/scim/rotate/complete",
3211
3214
  method: 'POST',
3215
+ body: {
3216
+ connection_id: connectionId
3217
+ },
3212
3218
  errorMessage: 'Failed to complete SCIM token rotation.'
3213
3219
  });
3214
3220
  case 3:
@@ -3232,6 +3238,9 @@ var HeadlessB2BSCIMClient = /*#__PURE__*/function () {
3232
3238
  return this._networkClient.fetchSDK({
3233
3239
  url: "/b2b/scim/rotate/cancel",
3234
3240
  method: 'POST',
3241
+ body: {
3242
+ connection_id: connectionId
3243
+ },
3235
3244
  errorMessage: 'Failed to cancel SCIM token rotation.'
3236
3245
  });
3237
3246
  case 3:
@@ -3188,6 +3188,9 @@ var HeadlessB2BSCIMClient = /*#__PURE__*/function () {
3188
3188
  return this._networkClient.fetchSDK({
3189
3189
  url: "/b2b/scim/rotate/start",
3190
3190
  method: 'POST',
3191
+ body: {
3192
+ connection_id: connectionId
3193
+ },
3191
3194
  errorMessage: 'Failed to start SCIM token rotation.'
3192
3195
  });
3193
3196
  case 3:
@@ -3211,6 +3214,9 @@ var HeadlessB2BSCIMClient = /*#__PURE__*/function () {
3211
3214
  return this._networkClient.fetchSDK({
3212
3215
  url: "/b2b/scim/rotate/complete",
3213
3216
  method: 'POST',
3217
+ body: {
3218
+ connection_id: connectionId
3219
+ },
3214
3220
  errorMessage: 'Failed to complete SCIM token rotation.'
3215
3221
  });
3216
3222
  case 3:
@@ -3234,6 +3240,9 @@ var HeadlessB2BSCIMClient = /*#__PURE__*/function () {
3234
3240
  return this._networkClient.fetchSDK({
3235
3241
  url: "/b2b/scim/rotate/cancel",
3236
3242
  method: 'POST',
3243
+ body: {
3244
+ connection_id: connectionId
3245
+ },
3237
3246
  errorMessage: 'Failed to cancel SCIM token rotation.'
3238
3247
  });
3239
3248
  case 3:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stytch/vanilla-js",
3
- "version": "5.1.1",
3
+ "version": "5.1.2",
4
4
  "description": "Stytch's official Javascript Client Library",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.esm.js",
@@ -38,7 +38,7 @@
38
38
  "hoistingLimits": "workspaces"
39
39
  },
40
40
  "dependencies": {
41
- "@stytch/core": "2.25.0",
41
+ "@stytch/core": "2.25.1",
42
42
  "@types/google-one-tap": "^1.2.0",
43
43
  "type-fest": "4.15.0"
44
44
  },