Socket
Socket
Sign inDemoInstall

@wix/api-client

Package Overview
Dependencies
Maintainers
0
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wix/api-client - npm Package Compare versions

Comparing version 1.11.0 to 1.11.1

2

build/rest-modules.d.ts

@@ -5,3 +5,3 @@ import { BuildRESTFunction, PublicMetadata, RESTFunctionDescriptor } from '@wix/sdk-types';

};
export declare const getDefaultDomain: (method: string, url: string) => "www.wixapis.com" | "readonly.wixapis.com";
export declare const getDefaultDomain: (_method: string, _url: string) => string;
export declare function buildRESTDescriptor<T extends RESTFunctionDescriptor>(origFunc: T, publicMetadata: PublicMetadata, boundFetch: (url: string | URL, init?: RequestInit) => Promise<Response>, options?: RESTModuleOptions): BuildRESTFunction<T>;
import { biHeaderGenerator } from './bi/biHeaderGenerator.js';
import { API_URL, FORCE_WRITE_API_URLS, READ_ONLY_API_URL } from './common.js';
export const getDefaultDomain = (method, url) => method === 'GET' &&
!FORCE_WRITE_API_URLS.some((write_url) => url === write_url)
? READ_ONLY_API_URL
: API_URL;
import { API_URL } from './common.js';
export const getDefaultDomain = (_method, _url) => API_URL;
export function buildRESTDescriptor(origFunc, publicMetadata, boundFetch, options) {

@@ -8,0 +5,0 @@ return origFunc({

{
"name": "@wix/api-client",
"version": "1.11.0",
"version": "1.11.1",
"license": "UNLICENSED",

@@ -38,3 +38,3 @@ "main": "build/index.js",

"@wix/metro-runtime": "^1.1677.0",
"@wix/sdk": "1.11.0"
"@wix/sdk": "1.11.1"
},

@@ -52,3 +52,3 @@ "wix": {

},
"falconPackageHash": "bad997f56f5c8193d825bb9e8889b6ff02900da47b127db9c0220c6a"
"falconPackageHash": "c3a0e71dc79f3729303f0f9c761ddc33874616c7c0988e164d05eabc"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc