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

@coorpacademy/progression-engine

Package Overview
Dependencies
Maintainers
14
Versions
370
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coorpacademy/progression-engine - npm Package Compare versions

Comparing version 5.5.0-alpha.137c29a1 to 5.5.0-alpha.ca6ded70

12

es/compute-next-step.js

@@ -7,13 +7,3 @@ import map from 'lodash/fp/map';

var defaultState = {
lives: 4,
slides: [],
nextContent: {
ref: '',
type: ''
}
};
export default function computeNextStep(slidePool) {
var state = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultState;
export default function computeNextStep(state, slidePool) {
var _state$slides = state.slides,

@@ -20,0 +10,0 @@ slides = _state$slides === undefined ? [] : _state$slides;

@@ -24,12 +24,3 @@ 'use strict';

var defaultState = {
lives: 4,
slides: [],
nextContent: {
ref: '',
type: ''
}
};
function computeNextStep(slidePool) {
var state = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultState;
function computeNextStep(state, slidePool) {
var _state$slides = state.slides,

@@ -36,0 +27,0 @@ slides = _state$slides === undefined ? [] : _state$slides;

2

package.json
{
"name": "@coorpacademy/progression-engine",
"version": "5.5.0-alpha.137c29a1",
"version": "5.5.0-alpha.ca6ded70",
"description": "",

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

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