Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wix/data-backend-public-sdk-poc

Package Overview
Dependencies
Maintainers
16
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wix/data-backend-public-sdk-poc - npm Package Compare versions

Comparing version 1.0.21 to 1.0.22

4

build/cjs/src/data-v1-data-service.http.js

@@ -205,2 +205,6 @@ "use strict";

},
{
srcPath: '/wix-data/v1/external-databases',
destPath: '/v1/external-databases',
},
],

@@ -207,0 +211,0 @@ 'www.wixgateway.com': [

10

build/cjs/src/data-v1-data-service.universal.js

@@ -76,2 +76,3 @@ "use strict";

function query(options) {
var _a, _b, _c;
return __awaiter(this, arguments, void 0, function* () {

@@ -86,3 +87,3 @@ const requestTransformation = {

// @ts-ignore
const httpClient = arguments[1].httpClient;
const { httpClient, sideEffects } = arguments[1];
const { toAmbassadorRequest } = velo_1.serializer({

@@ -109,5 +110,7 @@ rootSchema: _queryRequest,

__log(`"Query" sending request with: ${__inspect(reqOpts)}`);
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
try {
const { data } = yield httpClient.request(reqOpts);
return fromJSON(data);
const result = yield httpClient.request(reqOpts);
(_b = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSuccess) === null || _b === void 0 ? void 0 : _b.call(sideEffects, result);
return fromJSON(result.data);
}

@@ -118,2 +121,3 @@ catch (err) {

]);
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
throw transformedError;

@@ -120,0 +124,0 @@ }

@@ -202,2 +202,6 @@ import { serializer } from '@wix/metro-runtime/ambassador';

},
{
srcPath: '/wix-data/v1/external-databases',
destPath: '/v1/external-databases',
},
],

@@ -204,0 +208,0 @@ 'www.wixgateway.com': [

@@ -54,2 +54,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

export function query(options) {
var _a, _b, _c;
return __awaiter(this, arguments, void 0, function* () {

@@ -64,3 +65,3 @@ const requestTransformation = {

// @ts-ignore
const httpClient = arguments[1].httpClient;
const { httpClient, sideEffects } = arguments[1];
const { toAmbassadorRequest } = serializer({

@@ -87,5 +88,7 @@ rootSchema: _queryRequest,

__log(`"Query" sending request with: ${__inspect(reqOpts)}`);
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
try {
const { data } = yield httpClient.request(reqOpts);
return fromJSON(data);
const result = yield httpClient.request(reqOpts);
(_b = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSuccess) === null || _b === void 0 ? void 0 : _b.call(sideEffects, result);
return fromJSON(result.data);
}

@@ -96,2 +99,3 @@ catch (err) {

]);
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
throw transformedError;

@@ -98,0 +102,0 @@ }

{
"name": "@wix/data-backend-public-sdk-poc",
"version": "1.0.21",
"version": "1.0.22",
"publishConfig": {

@@ -36,3 +36,3 @@ "registry": "https://registry.npmjs.org/",

},
"falconPackageHash": "828db63446ba2629a170e4ab7e6a12adf4f2bcfc615390df7da053f2"
"falconPackageHash": "bf4fefda4ecc876ebc52d3aed8637c7100b21a1d6a3ddd659be714e6"
}

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc