Comparing version 3.16.0 to 3.16.1
{ | ||
"name": "storyblok", | ||
"version": "3.16.0", | ||
"version": "3.16.1", | ||
"description": "A simple CLI to start Storyblok from your command line.", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -6,4 +6,2 @@ <p align="center"> | ||
You found an issue?<br>Tell us about it - <a href="https://github.com/storyblok/storyblok/issues/new">open an issue</a> or look if it was <a href="https://github.com/storyblok/storyblok/issues/">already reported</a>. | ||
[![npm](https://img.shields.io/npm/v/storyblok.svg)](https://www.npmjs.com/package/storyblok) | ||
@@ -10,0 +8,0 @@ [![npm](https://img.shields.io/npm/dt/storyblok.svg)](ttps://img.shields.io/npm/dt/storyblok.svg) |
const chalk = require('chalk') | ||
const StoryblokClient = require('storyblok-js-client') | ||
const { findByProperty } = require('../../utils') | ||
const api = require('../../utils/api') | ||
@@ -17,5 +17,3 @@ class SyncComponentGroups { | ||
this.client = new StoryblokClient({ | ||
oauthToken: options.oauthToken | ||
}) | ||
this.client = api.getClient() | ||
} | ||
@@ -22,0 +20,0 @@ |
const chalk = require('chalk') | ||
const StoryblokClient = require('storyblok-js-client') | ||
const { find } = require('lodash') | ||
@@ -7,2 +6,3 @@ const SyncComponentGroups = require('./component-groups') | ||
const PresetsLib = require('../../utils/presets-lib') | ||
const api = require('../../utils/api') | ||
@@ -20,5 +20,3 @@ class SyncComponents { | ||
this.oauthToken = options.oauthToken | ||
this.client = new StoryblokClient({ | ||
oauthToken: options.oauthToken | ||
}) | ||
this.client = api.getClient() | ||
this.presetsLib = new PresetsLib({ oauthToken: options.oauthToken, targetSpaceId: this.targetSpaceId }) | ||
@@ -25,0 +23,0 @@ } |
const chalk = require('chalk') | ||
const StoryblokClient = require('storyblok-js-client') | ||
const FormData = require('form-data') | ||
const axios = require('axios') | ||
const { last } = require('lodash') | ||
const api = require('./api') | ||
@@ -13,5 +13,3 @@ class PresetsLib { | ||
this.oauthToken = options.oauthToken | ||
this.client = new StoryblokClient({ | ||
oauthToken: options.oauthToken | ||
}) | ||
this.client = api.getClient() | ||
this.targetSpaceId = options.targetSpaceId | ||
@@ -18,0 +16,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1
199897
63
5473
489