Socket
Socket
Sign inDemoInstall

pinelab-storefront-client

Package Overview
Dependencies
19
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.49.0 to 0.50.0

7

lib/vendure/vendure.client.d.ts

@@ -10,2 +10,4 @@ import { Store } from './store';

EligibleShippingMethodsQuery,
MyparcelDropOffPoint,
MyparcelDropOffPointInput,
OrderFieldsFragment,

@@ -51,3 +53,3 @@ ProductQuery,

getOrderByCode(code: string): Promise<OrderFieldsFragment | undefined>;
getAddress(
lookupAddress(
input: DutchPostalCodeInput

@@ -60,4 +62,7 @@ ): Promise<DutchAddressLookupQuery['dutchAddressLookup'] | undefined>;

removeAllOrderLines(): Promise<OrderFieldsFragment>;
getDropOffPoints(
input: MyparcelDropOffPointInput
): Promise<MyparcelDropOffPoint[]>;
validateResult(result: any): void;
request<T = void, I = void>(document: string, variables?: I): Promise<T>;
}

@@ -466,3 +466,3 @@ 'use strict';

};
VendureClient.prototype.getAddress = function (input) {
VendureClient.prototype.lookupAddress = function (input) {
return __awaiter(this, void 0, void 0, function () {

@@ -549,2 +549,21 @@ var dutchAddressLookup;

};
VendureClient.prototype.getDropOffPoints = function (input) {
return __awaiter(this, void 0, void 0, function () {
var myparcelDropOffPoints;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
return [
4 /*yield*/,
this.request(vendure_queries_1.GET_DROP_OFF_POINTS, {
input: input,
}),
];
case 1:
myparcelDropOffPoints = _a.sent().myparcelDropOffPoints;
return [2 /*return*/, myparcelDropOffPoints];
}
});
});
};
VendureClient.prototype.validateResult = function (result) {

@@ -551,0 +570,0 @@ var _a;

@@ -21,1 +21,2 @@ export declare const PRODUCT_FIELDS: string;

export declare const REMOVE_COUPON_CODE: string;
export declare const GET_DROP_OFF_POINTS: string;

@@ -13,3 +13,4 @@ 'use strict';

Object.defineProperty(exports, '__esModule', { value: true });
exports.REMOVE_COUPON_CODE =
exports.GET_DROP_OFF_POINTS =
exports.REMOVE_COUPON_CODE =
exports.REMOVE_ALL_ORDER_LINES =

@@ -288,2 +289,13 @@ exports.APPLY_COUPON_CODE =

);
exports.GET_DROP_OFF_POINTS = graphql_request_1.gql(
templateObject_21 ||
(templateObject_21 = __makeTemplateObject(
[
'\n query myparcelDropOffPoints($input: MyparcelDropOffPointInput!) {\n myparcelDropOffPoints(input: $input) {\n location_code\n location_name\n city\n postal_code\n street\n number\n number_suffix\n phone\n reference\n available_days\n cut_off_time\n distance\n carrier_id\n }\n }\n',
],
[
'\n query myparcelDropOffPoints($input: MyparcelDropOffPointInput!) {\n myparcelDropOffPoints(input: $input) {\n location_code\n location_name\n city\n postal_code\n street\n number\n number_suffix\n phone\n reference\n available_days\n cut_off_time\n distance\n carrier_id\n }\n }\n',
]
))
);
var templateObject_1,

@@ -308,2 +320,3 @@ templateObject_2,

templateObject_19,
templateObject_20;
templateObject_20,
templateObject_21;

4

package.json
{
"name": "pinelab-storefront-client",
"version": "0.49.0",
"version": "0.50.0",
"description": "Generates static html pages with Gridsome and suplied Vue components",

@@ -50,3 +50,3 @@ "author": "Martijn van de Brug <martijn@pinelab.studio>",

},
"gitHead": "12891d9329dc7436824e89db189a931b8f5b2cf9"
"gitHead": "994d938d18a8dd11e024e6399d496b285ad150c5"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc