@12build/product-api-ts-axios-sdk 0.0.1-security → 2.585.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of @12build/product-api-ts-axios-sdk might be problematic. Click here for more details.

package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License Copyright (c) 2021
2
+
3
+ Permission is hereby granted, free
4
+ of charge, to any person obtaining a copy of this software and associated
5
+ documentation files (the "Software"), to deal in the Software without
6
+ restriction, including without limitation the rights to use, copy, modify, merge,
7
+ publish, distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to the
9
+ following conditions:
10
+
11
+ The above copyright notice and this permission notice
12
+ (including the next paragraph) shall be included in all copies or substantial
13
+ portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
16
+ ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
18
+ EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
19
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
package/README.md CHANGED
@@ -1,5 +1,30 @@
1
- # Security holding package
1
+ # @12build/product-api-ts-axios-sdk
2
2
 
3
- This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
3
+ Generated product api client based on axios
4
4
 
5
- Please refer to www.npmjs.com/advisories?search=%4012build%2Fproduct-api-ts-axios-sdk for more information.
5
+ ## Features
6
+
7
+ - ES6 syntax, managed with Prettier + Eslint
8
+ - Typescript
9
+
10
+ ## Install
11
+
12
+ ```sh
13
+ yarn add @12build/product-api-ts-axios-sdk
14
+ // or
15
+ npm i @12build/product-api-ts-axios-sdk
16
+ ```
17
+
18
+ ### Requirements
19
+
20
+ - Axios
21
+
22
+ ### Usage
23
+
24
+ ```js
25
+ import { ProductsApiFactory } from "@12build/product-api-ts-axios-sdk";
26
+
27
+ const productApi = new ProductsApiFactory({...options}, 'http://localhost');
28
+
29
+ await productApi.checkIfProductExists({id: '5571a249-6aed-4867-a89d-560f5354f075'})
30
+ ```