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

storyblok-js-client

Package Overview
Dependencies
Maintainers
1
Versions
197
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

storyblok-js-client - npm Package Compare versions

Comparing version 1.0.15 to 1.0.16

1

dist/index.d.ts

@@ -37,2 +37,3 @@ declare global {

headers?: any
region?: string
}

@@ -39,0 +40,0 @@

4

dist/index.js

@@ -9,3 +9,2 @@ 'use strict';

var API_ENDPOINT_DEFAULT = 'https://api.storyblok.com/v1';
var qs = require('qs');

@@ -21,3 +20,4 @@ var axios = require('axios');

if (!endpoint) {
endpoint = API_ENDPOINT_DEFAULT;
var region = config.region ? '-' + config.region : '';
endpoint = 'https://api' + region + '.storyblok.com/v1';
}

@@ -24,0 +24,0 @@

{
"name": "storyblok-js-client",
"version": "1.0.15",
"version": "1.0.16",
"description": "Universal JavaScript SDK for Storyblok's API",

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

'use strict'
const API_ENDPOINT_DEFAULT = 'https://api.storyblok.com/v1'
const qs = require('qs')

@@ -13,3 +12,4 @@ const axios = require('axios')

if (!endpoint) {
endpoint = API_ENDPOINT_DEFAULT
let region = config.region ? `-${config.region}` : ''
endpoint = `https://api${region}.storyblok.com/v1`
}

@@ -16,0 +16,0 @@

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