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

veritone-redux-common

Package Overview
Dependencies
Maintainers
10
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

veritone-redux-common - npm Package Compare versions

Comparing version 3.11.2 to 3.11.3

35

CHANGELOG.md
# veritone-redux-common changelog
## 1.0.0
* initial version published to NPM
## 1.1.0
* add selectors for current-user fetching status in user module:

@@ -13,5 +15,6 @@ * `isFetching`

## 2.0.0
* *breaking change:* modules now include versions when they specify endpoint URLs. For example:
> Previously: endpoint: state => `${getConfig(state).apiRoot}/admin/current-user`
* _breaking change:_ modules now include versions when they specify endpoint URLs. For example:
> Previously: endpoint: state => `${getConfig(state).apiRoot}/admin/current-user`
> Now: endpoint: state => `${getConfig(state).apiRoot}/v1/admin/current-user`

@@ -21,5 +24,4 @@

* *Required change in user code*: config.apiRoot must not specify the api version.
* _Required change in user code_: config.apiRoot must not specify the api version.
> Previously: apiRoot: 'https://api.veritone.com/v1'

@@ -30,2 +32,3 @@

## 2.1.0
* add an auth reducer to handle session and oauth tokens. Refactors stuff to use that rather than the user module.

@@ -40,2 +43,3 @@

## 2.1.1
* Fix incorrect key name in reducer causing oauth to fail

@@ -46,8 +50,10 @@

## 3.0.0
* Replaced webpack with rollup
* The bundle is now an es module rather than UMD, which should enable tree shaking to a greater extent, reducing the filesize overhead of using the library.
* Dependencies are now external to the library rather than being included in the bundle. Because of this, bundle size is reduced significantly.
* Dependencies are now external to the library rather than being included in the bundle. Because of this, bundle size is reduced significantly.
* A commonJS bundle is also included for older toolchains that do not understand the es module format.
## 3.1.0
* Implement the oauth implicit grant flow

@@ -57,5 +63,7 @@ * remove `credentials: include` on user.fetchEnabledApps, which does not work cross-domain.

## 3.2.0
* The CJS bundle is now transpiled to >0.5% in babel-preset-env (compared to >5% previously), for wider compatibility with old browsers and tools.
## 3.3.0
* Bumped React and React DOM to 16.3.0

@@ -65,8 +73,11 @@ * Add `promiseMiddleware`, a middleware for promisifying Redux actions.

## 3.4.0
* Added engine module
## 3.5.0
* Added regeneratorRuntime to the bundle to prevent build errors.
## 3.6.0
* Added Redux as a peer dependency

@@ -77,5 +88,7 @@ * Added `callGraphQLApi` helper for calling the veritone API with a graphql query within a thunk.

## 3.6.1
* Fix export of `callGraphQLApi` in 3.6.0 due to babel bug (cannot `export default async function`)
## 3.7.0
* Bolster error handling in the OAuth flow

@@ -88,11 +101,15 @@ * Change credentials mode for API calls based on whether we're in a veritone-internal host

## 3.8.0
* Add handleApiCall helper which, along with an updated callGraphQLApi, should be able to handle most data-fetching reducer/selector requirements. See the header comment in src/helpers/redux/handleApiCall.js for details.
## 3.9.0
* Add initial version of KeyBindings helper component/module, for handling an app's global keybinds in redux
## 3.10.0
* Add module functions to reset user password and update user profile
## 3.11.0
* Calls made with callGraphQLApi now fail on bad responses as well as graphql errors

@@ -102,5 +119,11 @@ * add stateSelector to handleApiCall selectors so they can get data within an app's nested reducer

## 3.11.1
* revert "Calls made with callGraphQLApi now fail on bad responses as well as graphql errors"
## 3.11.2
** Update enzyme to ^3.5.0 and fix test incompatability errors
\*\* Update enzyme to ^3.5.0 and fix test incompatability errors
## 3.11.3
\*\* Added response key under metadata in callGraphQLApi helper function to access raw response

18

package.json
{
"name": "veritone-redux-common",
"version": "3.11.2",
"version": "3.11.3",
"dependencies": {

@@ -18,3 +18,4 @@ "lodash": "^4.17.4",

"jsnext:main": "dist/bundle-es.js",
"homepage": "https://github.com/veritone/veritone-sdk/blob/master/packages/veritone-redux-common",
"homepage":
"https://github.com/veritone/veritone-sdk/blob/master/packages/veritone-redux-common",
"scripts": {

@@ -29,4 +30,6 @@ "start": "",

"build": "yarn run build:es && yarn run build:cjs",
"build:es": "cross-env NODE_ENV=production BABEL_ENV=production-es rollup -c rollup.config.es.js",
"build:cjs": "cross-env NODE_ENV=production BABEL_ENV=production-cjs rollup -c rollup.config.cjs.js",
"build:es":
"cross-env NODE_ENV=production BABEL_ENV=production-es rollup -c rollup.config.es.js",
"build:cjs":
"cross-env NODE_ENV=production BABEL_ENV=production-cjs rollup -c rollup.config.cjs.js",
"build:watch": "NODE_ENV=production rollup -c --watch",

@@ -78,7 +81,6 @@ "prepublishOnly": "yarn run test && yarn run lint && yarn run build"

"jest": {
"moduleDirectories": [
"node_modules"
],
"moduleDirectories": ["node_modules"],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test/__mocks__/fileMock.js",
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
"<rootDir>/test/__mocks__/fileMock.js",
"\\.(css|scss)$": "identity-obj-proxy"

@@ -85,0 +87,0 @@ },

# License
Copyright 2017, Veritone Inc.
Copyright 2019, Veritone Inc.

@@ -5,0 +5,0 @@ Licensed under the Apache License, Version 2.0 (the "License");

@@ -64,2 +64,3 @@ import { constant, isFunction } from 'lodash';

meta: {
response,
variables,

@@ -86,2 +87,3 @@ operationName,

meta: {
response,
variables,

@@ -104,2 +106,3 @@ operationName,

meta: {
response,
variables,

@@ -106,0 +109,0 @@ operationName,

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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