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

@field123/client-common

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@field123/client-common - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

33

dist/client-common.d.ts
import * as O from 'fp-ts/Option';
import { CatalogRelease, Hierarchy, Product, Node } from '@field123/shopper-common';
import { EPQueryClauseType } from '@field123/core';
import { Transporter } from '@field123/transporter';
interface Offset {
type: 'offset';
value: number;
}
interface Limit {
type: 'limit';
value: number;
}
declare type IncludeValue = 'component_products';
interface Include {
type: 'include';
value: IncludeValue;
}
declare type EPQueryClause = Offset | Limit | Include;
declare type EPQueryClauseType = EPQueryClause['type'];
declare type LimitFunction = (value: number) => Limit;
declare type IncludeFunction = (value: IncludeValue) => Include;
declare type OffsetFunction = (value: number) => Offset;
declare type EPQueryClauseFunction = LimitFunction | IncludeFunction | OffsetFunction;
declare type GrantType = 'implicit' | 'client_credentials';

@@ -37,2 +19,3 @@ interface EPClientConfig {

authToken: O.Option<AccessToken>;
transporter: Transporter;
}

@@ -103,2 +86,3 @@ interface AccessToken {

options?: EPBaseResourceOptions;
transporter: Transporter;
}

@@ -140,9 +124,2 @@ interface EPServerResponseData<T> {

interface EPClientError {
type: 'General' | 'Auth' | 'Request';
message: string;
name?: string;
source?: Error;
}
export { AccessToken, EPBaseResourceOptions, EPCatalogQueryReference, EPCatalogReference, EPClient, EPClientConfig, EPClientError, EPClientRequest, EPHierarchyQueryReference, EPHierarchyReference, EPNodeQueryReference, EPNodeReference, EPProductQueryReference, EPProductReference, EPQueryClause, EPQueryClauseFunction, EPQueryClauseType, EPQueryResourceResponseHandler, EPResourceData, EPResourceQueryReference, EPResourceQueryReferenceBase, EPResourceQueryResponse, EPResourceReference, EPResourceResponseHandler, EPResourceType, EPServerQueryResponse, EPServerQueryResponseMeta, EPServerResponse, GrantType, Include, IncludeFunction, IncludeValue, Limit, LimitFunction, Offset, OffsetFunction };
export { AccessToken, EPBaseResourceOptions, EPCatalogQueryReference, EPCatalogReference, EPClient, EPClientConfig, EPClientRequest, EPHierarchyQueryReference, EPHierarchyReference, EPNodeQueryReference, EPNodeReference, EPProductQueryReference, EPProductReference, EPQueryResourceResponseHandler, EPResourceData, EPResourceQueryReference, EPResourceQueryReferenceBase, EPResourceQueryResponse, EPResourceReference, EPResourceResponseHandler, EPResourceType, EPServerQueryResponse, EPServerQueryResponseMeta, EPServerResponse, GrantType };

6

package.json
{
"name": "@field123/client-common",
"version": "0.1.0",
"version": "0.2.0",
"main": "./dist/client-common.cjs.js",

@@ -25,3 +25,5 @@ "browser": "./dist/client-common.esm.js",

"dependencies": {
"@field123/shopper-common": "0.1.0"
"@field123/shopper-common": "0.1.0",
"@field123/transporter": "0.1.0",
"@field123/core": "0.4.0"
},

@@ -28,0 +30,0 @@ "publishConfig": {

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