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

@base-sdk-fp/core

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

@base-sdk-fp/core - npm Package Compare versions

Comparing version 0.0.3 to 0.1.2

LICENSE

9

dist/client/index.js

@@ -8,3 +8,8 @@ "use strict";

const axios_1 = __importDefault(require("axios"));
const internal_dev_1 = require("../internal-dev");
const _BASE_ACCOUNTS_SERVICES_URL = "https://accounts.services.grida.co";
const _host = (0, internal_dev_1._is_internal_dev)()
?
internal_dev_1.__internal_dev_hosts.__INTERNAL_DEV_ACCOUNTS_SERVICES_HOST
: _BASE_ACCOUNTS_SERVICES_URL;
function initClient(init) {

@@ -32,3 +37,3 @@ if (init) {

axios: axios_1.default.create({
baseURL: _BASE_ACCOUNTS_SERVICES_URL,
baseURL: _host,
withCredentials: true,

@@ -44,3 +49,3 @@ }),

axios: axios_1.default.create({
baseURL: _BASE_ACCOUNTS_SERVICES_URL,
baseURL: _host,
headers: {

@@ -47,0 +52,0 @@ Authorization: `Bearer ${accessToken}`,

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k;

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports._is_internal_dev = exports._IS_INTERNAL_DEV = void 0;
exports._IS_INTERNAL_DEV = process.env.INTERNAL_DEV
? JSON.parse(process.env.INTERNAL_DEV)
exports._IS_INTERNAL_DEV = process.env.USE_GRIDA_INTERNAL_DEV_LOCAL_AUTH
? JSON.parse(process.env.USE_GRIDA_INTERNAL_DEV_LOCAL_AUTH)
: false;

@@ -7,0 +7,0 @@ function _is_internal_dev() {

{
"name": "@base-sdk-fp/core",
"version": "0.0.3",
"version": "0.1.2",
"main": "dist/index.js",
"private": false,
"scripts": {
"prepack": "tsc"
"clean": "rimraf dist",
"build": "yarn clean && tsc"
},

@@ -23,3 +24,4 @@ "devDependencies": {

"access": "public"
}
},
"gitHead": "d12076819b6f6bad2aa8d9963e03a8775b7ea787"
}
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