@wix/sdk 1.12.5 → 1.12.6

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.
@@ -1,5 +1,5 @@
1
- import { RESTFunctionDescriptor } from '@wix/sdk-types';
2
- export declare function elevate<T extends RESTFunctionDescriptor>(restModule: T): T;
1
+ import { BuildRESTFunction, RESTFunctionDescriptor } from '@wix/sdk-types';
2
+ export declare function elevate<T extends RESTFunctionDescriptor | BuildRESTFunction<any>>(restModule: T): T;
3
3
  export declare const fetchWithAuth: typeof fetch & ((restModuleOpts: import("@wix/sdk-types").HttpClient) => typeof fetch);
4
4
  export { graphql } from './graphql.js';
5
5
  export { setGlobalWixContext } from './wix-context.js';
@@ -1,5 +1,5 @@
1
- import { RESTFunctionDescriptor } from '@wix/sdk-types';
2
- export declare function elevate<T extends RESTFunctionDescriptor>(restModule: T): T;
1
+ import { BuildRESTFunction, RESTFunctionDescriptor } from '@wix/sdk-types';
2
+ export declare function elevate<T extends RESTFunctionDescriptor | BuildRESTFunction<any>>(restModule: T): T;
3
3
  export declare const fetchWithAuth: typeof fetch & ((restModuleOpts: import("@wix/sdk-types").HttpClient) => typeof fetch);
4
4
  export { graphql } from './graphql.js';
5
5
  export { setGlobalWixContext } from './wix-context.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/sdk",
3
- "version": "1.12.5",
3
+ "version": "1.12.6",
4
4
  "license": "UNLICENSED",
5
5
  "author": {
6
6
  "name": "Ronny Ringel",
@@ -68,7 +68,7 @@
68
68
  "@wix/image-kit": "^1.73.0",
69
69
  "@wix/redirects": "^1.0.41",
70
70
  "@wix/sdk-context": "^0.0.1",
71
- "@wix/sdk-runtime": "0.3.10",
71
+ "@wix/sdk-runtime": "0.3.11",
72
72
  "@wix/sdk-types": "^1.9.2",
73
73
  "crypto-js": "^4.2.0",
74
74
  "jose": "^5.2.1",
@@ -88,7 +88,7 @@
88
88
  "@wix/events": "^1.0.179",
89
89
  "@wix/metro": "^1.0.73",
90
90
  "@wix/metro-runtime": "^1.1677.0",
91
- "@wix/sdk-runtime": "0.3.10",
91
+ "@wix/sdk-runtime": "0.3.11",
92
92
  "eslint": "^8.56.0",
93
93
  "eslint-config-sdk": "0.0.0",
94
94
  "graphql": "^16.8.0",
@@ -122,5 +122,5 @@
122
122
  "wallaby": {
123
123
  "autoDetect": true
124
124
  },
125
- "falconPackageHash": "9b0f25d6117aad528752157be42ad190b1e1bac5458a8dac29e8e34b"
125
+ "falconPackageHash": "434acd803ec3fa432e257e25fb88fe03020ccc7a9f729faeebd656b4"
126
126
  }