@wix/sdk 1.5.0 → 1.5.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.
package/build/index.d.mts CHANGED
@@ -132,7 +132,7 @@ type WixClient<H extends Host<any> | undefined = undefined, Z extends Authentica
132
132
  auth: Z;
133
133
  fetch(relativeUrl: string, options: RequestInit): Promise<Response>;
134
134
  use<R extends Descriptors = EmptyObject>(modules: H extends Host<any> ? AssertHostMatches<R, H> : R): BuildDescriptors<R, H>;
135
- graphql<Result, Variables>(query: string | (string & TypedQueryInput<Result, Variables>), variables?: Variables): Promise<{
135
+ graphql<Result, Variables>(query: string | ((string | String) & TypedQueryInput<Result, Variables>), variables?: Variables): Promise<{
136
136
  data: Result;
137
137
  errors?: GraphQLFormattedError[];
138
138
  }>;
package/build/index.d.ts CHANGED
@@ -132,7 +132,7 @@ type WixClient<H extends Host<any> | undefined = undefined, Z extends Authentica
132
132
  auth: Z;
133
133
  fetch(relativeUrl: string, options: RequestInit): Promise<Response>;
134
134
  use<R extends Descriptors = EmptyObject>(modules: H extends Host<any> ? AssertHostMatches<R, H> : R): BuildDescriptors<R, H>;
135
- graphql<Result, Variables>(query: string | (string & TypedQueryInput<Result, Variables>), variables?: Variables): Promise<{
135
+ graphql<Result, Variables>(query: string | ((string | String) & TypedQueryInput<Result, Variables>), variables?: Variables): Promise<{
136
136
  data: Result;
137
137
  errors?: GraphQLFormattedError[];
138
138
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/sdk",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "license": "UNLICENSED",
5
5
  "author": {
6
6
  "name": "Ronny Ringel",
@@ -30,11 +30,11 @@
30
30
  "*.{js,ts}": "yarn lint"
31
31
  },
32
32
  "dependencies": {
33
- "@babel/runtime": "^7.22.15",
34
- "@wix/identity": "^1.0.57",
33
+ "@babel/runtime": "^7.23.1",
34
+ "@wix/identity": "^1.0.59",
35
35
  "@wix/image-kit": "^1.37.0",
36
- "@wix/metro-runtime": "^1.1529.0",
37
- "@wix/redirects": "^1.0.24",
36
+ "@wix/metro-runtime": "^1.1532.0",
37
+ "@wix/redirects": "^1.0.25",
38
38
  "@wix/sdk-types": "1.5.0",
39
39
  "pkce-challenge": "^3.1.0",
40
40
  "querystring": "^0.2.1",
@@ -44,13 +44,13 @@
44
44
  "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@swc/core": "^1.3.83",
47
+ "@swc/core": "^1.3.90",
48
48
  "@swc/jest": "^0.2.29",
49
49
  "@types/jest": "^27.5.2",
50
- "@types/node": "^16.18.50",
51
- "@types/node-fetch": "^2.6.4",
52
- "@wix/ecom": "^1.0.353",
53
- "@wix/events": "^1.0.117",
50
+ "@types/node": "^16.18.55",
51
+ "@types/node-fetch": "^2.6.6",
52
+ "@wix/ecom": "^1.0.362",
53
+ "@wix/events": "^1.0.122",
54
54
  "@wix/metro": "^1.0.67",
55
55
  "eslint": "^7.32.0",
56
56
  "eslint-config-sdk": "0.0.0",
@@ -87,5 +87,5 @@
87
87
  "wallaby": {
88
88
  "autoDetect": true
89
89
  },
90
- "falconPackageHash": "979b294b107b16bf496a7f4a836bf08aae79eb2ceba6528b9424a8a6"
90
+ "falconPackageHash": "436f8b50b1fbb8db0e67f27ef487fa65cec40d5a6400f7e564e70a47"
91
91
  }