@wix/sdk 1.17.7 → 1.17.8
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/build/wixClient.js +3 -2
- package/cjs/build/wixClient.js +3 -2
- package/package.json +2 -2
package/build/wixClient.js
CHANGED
|
@@ -156,8 +156,9 @@ export function createClient(config) {
|
|
|
156
156
|
const wrappedModules = config.modules
|
|
157
157
|
? use(config.modules)
|
|
158
158
|
: {};
|
|
159
|
-
const authStrategy =
|
|
160
|
-
authStrategy.getAuthHeaders
|
|
159
|
+
const authStrategy = getAuthStrategy();
|
|
160
|
+
const originalGetAuthHeaders = authStrategy.getAuthHeaders;
|
|
161
|
+
authStrategy.getAuthHeaders = originalGetAuthHeaders.bind(undefined, config.host);
|
|
161
162
|
return {
|
|
162
163
|
...wrappedModules,
|
|
163
164
|
auth: authStrategy,
|
package/cjs/build/wixClient.js
CHANGED
|
@@ -160,8 +160,9 @@ function createClient(config) {
|
|
|
160
160
|
const wrappedModules = config.modules
|
|
161
161
|
? use(config.modules)
|
|
162
162
|
: {};
|
|
163
|
-
const authStrategy =
|
|
164
|
-
authStrategy.getAuthHeaders
|
|
163
|
+
const authStrategy = getAuthStrategy();
|
|
164
|
+
const originalGetAuthHeaders = authStrategy.getAuthHeaders;
|
|
165
|
+
authStrategy.getAuthHeaders = originalGetAuthHeaders.bind(undefined, config.host);
|
|
165
166
|
return {
|
|
166
167
|
...wrappedModules,
|
|
167
168
|
auth: authStrategy,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/sdk",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Ronny Ringel",
|
|
@@ -127,5 +127,5 @@
|
|
|
127
127
|
"wallaby": {
|
|
128
128
|
"autoDetect": true
|
|
129
129
|
},
|
|
130
|
-
"falconPackageHash": "
|
|
130
|
+
"falconPackageHash": "8f72ec0c97a8f13bb386ccbcdd22c84f78406fd9003327275a467015"
|
|
131
131
|
}
|