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

@commercelayer/cli-core

Package Overview
Dependencies
Maintainers
3
Versions
186
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercelayer/cli-core - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

9

lib/cjs/config.d.ts

@@ -12,2 +12,5 @@ declare type ApiConfig = {

};
declare type ApplicationConfig = {
kinds: string[];
};
declare type ImportsConfig = {

@@ -17,8 +20,14 @@ max_size: number;

types: string[];
max_queue_length: number;
};
declare type WebhooksConfig = {
retry_number: number;
};
declare type Config = {
api: ApiConfig;
application: ApplicationConfig;
imports: ImportsConfig;
webhooks: WebhooksConfig;
};
declare const config: Config;
export default config;

2

lib/cjs/config.js

@@ -1,1 +0,1 @@

"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const IMPORTS_RESOURCE_TYPES=["orders","coupons","skus","sku_lists","sku_list_items","prices","stock_items","gift_cards","customers","customer_subscriptions","tax_categories"],IMPORTS_STATUSES=["in_progress","pending","completed","interrupted"],config={api:{default_domain:"commercelayer.io",token_expiration_mins:60*2,token_encoding_algorithm:"HS512",requests_max_num_burst:50,requests_max_secs_burst:10,requests_max_num_avg:600,requests_max_secs_avg:5*60,page_max_size:25,page_default_size:10},imports:{max_size:2e3,statuses:IMPORTS_STATUSES,types:IMPORTS_RESOURCE_TYPES}};exports.default=config;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const APPLICATION_KINDS=["integration","sales_channel","webapp"],IMPORTS_RESOURCE_TYPES=["orders","coupons","skus","sku_lists","sku_list_items","prices","stock_items","gift_cards","customers","customer_subscriptions","tax_categories"],IMPORTS_STATUSES=["in_progress","pending","completed","interrupted"],config={api:{default_domain:"commercelayer.io",token_expiration_mins:60*2,token_encoding_algorithm:"HS512",requests_max_num_burst:50,requests_max_secs_burst:10,requests_max_num_avg:600,requests_max_secs_avg:5*60,page_max_size:25,page_default_size:10},application:{kinds:APPLICATION_KINDS},imports:{max_size:2e3,statuses:IMPORTS_STATUSES,types:IMPORTS_RESOURCE_TYPES,max_queue_length:10},webhooks:{retry_number:5}};exports.default=config;

@@ -12,2 +12,5 @@ declare type ApiConfig = {

};
declare type ApplicationConfig = {
kinds: string[];
};
declare type ImportsConfig = {

@@ -17,8 +20,14 @@ max_size: number;

types: string[];
max_queue_length: number;
};
declare type WebhooksConfig = {
retry_number: number;
};
declare type Config = {
api: ApiConfig;
application: ApplicationConfig;
imports: ImportsConfig;
webhooks: WebhooksConfig;
};
declare const config: Config;
export default config;

@@ -1,1 +0,1 @@

const s=["orders","coupons","skus","sku_lists","sku_list_items","prices","stock_items","gift_cards","customers","customer_subscriptions","tax_categories"],e=["in_progress","pending","completed","interrupted"],t={api:{default_domain:"commercelayer.io",token_expiration_mins:60*2,token_encoding_algorithm:"HS512",requests_max_num_burst:50,requests_max_secs_burst:10,requests_max_num_avg:600,requests_max_secs_avg:5*60,page_max_size:25,page_default_size:10},imports:{max_size:2e3,statuses:e,types:s}};export default t;
const s=["integration","sales_channel","webapp"],e=["orders","coupons","skus","sku_lists","sku_list_items","prices","stock_items","gift_cards","customers","customer_subscriptions","tax_categories"],t=["in_progress","pending","completed","interrupted"],_={api:{default_domain:"commercelayer.io",token_expiration_mins:60*2,token_encoding_algorithm:"HS512",requests_max_num_burst:50,requests_max_secs_burst:10,requests_max_num_avg:600,requests_max_secs_avg:5*60,page_max_size:25,page_default_size:10},application:{kinds:s},imports:{max_size:2e3,statuses:t,types:e,max_queue_length:10},webhooks:{retry_number:5}};export default _;
{
"name": "@commercelayer/cli-core",
"version": "0.1.5",
"version": "0.1.6",
"main": "lib/cjs/index.js",

@@ -5,0 +5,0 @@ "types": "lib/cjs/index.d.ts",

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