Socket
Socket
Sign inDemoInstall

@ajustee/cc-frontoffice-browser

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ajustee/cc-frontoffice-browser - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

10

lib/index.d.ts

@@ -13,15 +13,9 @@ export declare const enum CcDataType {

}
export interface CcFrontOfficeConfig {
gatewayApiId: string;
gatewayApiRegion: string;
gatewayApiStage: string;
headers?: Record<string, string>;
}
export declare class CcFrontOffice {
private readonly url;
private headers;
private headers?;
appId?: string;
constructor(config: CcFrontOfficeConfig);
constructor(url: string, headers?: Record<string, string> | undefined);
getConfigKeys(headers?: Record<string, string>, path?: string): Promise<CcKey[]>;
private getConfigKeys2;
}

7

lib/index.js

@@ -6,6 +6,7 @@ "use strict";

class CcFrontOffice {
constructor(config) {
this.url = `https://${config.gatewayApiId}.execute-api.${config.gatewayApiRegion}.amazonaws.com/${config.gatewayApiStage}`;
this.headers = config.headers;
constructor(url, headers) {
this.url = url;
this.headers = headers;
}
;
async getConfigKeys(headers, path) {

@@ -12,0 +13,0 @@ if (!this.appId)

{
"name": "@ajustee/cc-frontoffice-browser",
"version": "0.1.7",
"version": "0.1.8",
"description": "Ajustee Config Center FrontOffice Browser API",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

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