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

@xtreamr/spark-api

Package Overview
Dependencies
Maintainers
5
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xtreamr/spark-api - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

17

CHANGELOG.md

@@ -6,2 +6,19 @@ # Change Log

# [1.1.0](https://github.com/mancas/spark_libs/compare/v1.0.2...v1.1.0) (2019-06-27)
### Bug Fixes
* **spark-scripts:** remove prepublishOnly hook ([878ac50](https://github.com/mancas/spark_libs/commit/878ac50))
* presets api moved to common API ([0d5141d](https://github.com/mancas/spark_libs/commit/0d5141d))
### Features
* add presets crud to backoffice api ([5fe097e](https://github.com/mancas/spark_libs/commit/5fe097e))
# [1.0.0](https://github.com/mancas/spark_libs/compare/v0.3.1...v1.0.0) (2019-05-16)

@@ -8,0 +25,0 @@

@@ -152,2 +152,40 @@ import request from '@xtreamr/spark-request';

});
},
getPresets: function getPresets() {
return request({
method: 'GET',
path: '/presets'
});
},
getPreset: function getPreset(presentId) {
return request({
method: 'GET',
path: '/presets/' + presentId
});
},
addPreset: function addPreset(preset) {
return request({
method: 'POST',
path: '/presets',
body: preset
});
},
updatePreset: function updatePreset(presetId, preset) {
return request({
method: 'POST',
path: '/presets/' + presetId,
body: preset
});
},
deletePreset: function deletePreset(presetId) {
return request({
method: 'DELETE',
path: '/presets/' + presetId
});
}

@@ -154,0 +192,0 @@ };

@@ -163,2 +163,40 @@ 'use strict';

});
},
getPresets: function getPresets() {
return (0, _sparkRequest2.default)({
method: 'GET',
path: '/presets'
});
},
getPreset: function getPreset(presentId) {
return (0, _sparkRequest2.default)({
method: 'GET',
path: '/presets/' + presentId
});
},
addPreset: function addPreset(preset) {
return (0, _sparkRequest2.default)({
method: 'POST',
path: '/presets',
body: preset
});
},
updatePreset: function updatePreset(presetId, preset) {
return (0, _sparkRequest2.default)({
method: 'POST',
path: '/presets/' + presetId,
body: preset
});
},
deletePreset: function deletePreset(presetId) {
return (0, _sparkRequest2.default)({
method: 'DELETE',
path: '/presets/' + presetId
});
}

@@ -165,0 +203,0 @@ };

10

package.json
{
"name": "@xtreamr/spark-api",
"version": "1.0.0",
"version": "1.1.0",
"description": "Describe spark-api here",

@@ -17,3 +17,2 @@ "main": "lib/index.js",

"prepublish": "npm run build",
"prepublishOnly": "npm run build",
"test": "nwb test",

@@ -24,4 +23,4 @@ "test:coverage": "nwb test --coverage",

"dependencies": {
"@xtreamr/spark-polyglot": "^1.0.0",
"@xtreamr/spark-request": "^1.0.0",
"@xtreamr/spark-polyglot": "^1.1.0",
"@xtreamr/spark-request": "^1.1.0",
"moment": "^2.24.0"

@@ -37,3 +36,4 @@ },

"license": "MIT",
"repository": ""
"repository": "",
"gitHead": "8fd3efaf224059764b073845e278536e4c8b0119"
}
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