@wix/api-client
Advanced tools
Comparing version 1.1.56 to 1.1.57
@@ -431,7 +431,2 @@ "use strict"; | ||
await client.auth.logout(originalUrl); | ||
expect(global.fetch).toHaveBeenNthCalledWith(1, expect.any(String), expect.objectContaining({ | ||
body: JSON.stringify({ | ||
token: 'refresh' | ||
}) | ||
})); | ||
expect(global.fetch).toHaveBeenLastCalledWith(expect.any(String), expect.objectContaining({ | ||
@@ -438,0 +433,0 @@ body: JSON.stringify({ |
@@ -148,5 +148,2 @@ "use strict"; | ||
const logout = async originalUrl => { | ||
await wixClient.oauth.revokeRefreshToken({ | ||
token: _tokens.refreshToken.value | ||
}); | ||
const { | ||
@@ -153,0 +150,0 @@ redirectSession |
@@ -429,7 +429,2 @@ import { cart } from '@wix/ecom'; | ||
await client.auth.logout(originalUrl); | ||
expect(global.fetch).toHaveBeenNthCalledWith(1, expect.any(String), expect.objectContaining({ | ||
body: JSON.stringify({ | ||
token: 'refresh' | ||
}) | ||
})); | ||
expect(global.fetch).toHaveBeenLastCalledWith(expect.any(String), expect.objectContaining({ | ||
@@ -436,0 +431,0 @@ body: JSON.stringify({ |
@@ -143,5 +143,2 @@ import { createClient } from '../wixClient'; | ||
const logout = async originalUrl => { | ||
await wixClient.oauth.revokeRefreshToken({ | ||
token: _tokens.refreshToken.value | ||
}); | ||
const { | ||
@@ -148,0 +145,0 @@ redirectSession |
{ | ||
"name": "@wix/api-client", | ||
"version": "1.1.56", | ||
"version": "1.1.57", | ||
"license": "UNLICENSED", | ||
@@ -33,4 +33,4 @@ "author": { | ||
"@wix/image-kit": "^1.31.0", | ||
"@wix/redirects": "^1.0.1", | ||
"@wix/sdk-types": "1.1.56", | ||
"@wix/redirects": "^1.0.3", | ||
"@wix/sdk-types": "1.1.57", | ||
"pkce-challenge": "^3.1.0", | ||
@@ -43,4 +43,4 @@ "querystring": "^0.2.1", | ||
"@types/node": "^16.18.23", | ||
"@wix/ecom": "^1.0.149", | ||
"@wix/events": "^1.0.75", | ||
"@wix/ecom": "^1.0.150", | ||
"@wix/events": "^1.0.77", | ||
"@wix/jest-yoshi-preset": "^6.54.2", | ||
@@ -75,3 +75,3 @@ "@wix/motion": "^1.0.23", | ||
}, | ||
"falconPackageHash": "271ce011c7238877e8a88fc586e4912570fd4d4ef15db97690ee86fb" | ||
"falconPackageHash": "c4eff5679968f896bc978fa06ae2da0dcc349523b9909d318fc3e2b0" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
357536
2634
+ Added@wix/sdk-types@1.1.57(transitive)
- Removed@wix/sdk-types@1.1.56(transitive)
Updated@wix/redirects@^1.0.3
Updated@wix/sdk-types@1.1.57