Skip to content

Commit

Permalink
Edit project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
rickypid committed Jan 6, 2022
1 parent c8f6ab2 commit 49e5f98
Show file tree
Hide file tree
Showing 7 changed files with 669 additions and 344 deletions.
526 changes: 422 additions & 104 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iubenda-consent-solution-api",
"version": "0.1.1",
"version": "0.1.2",
"description": "API client to implement Iubenda Consent Solution in backend service",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -44,8 +44,6 @@
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"post-commit": "git update-index --again"
}
},
"lint-staged": {
Expand Down
141 changes: 0 additions & 141 deletions src/consent.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {expect} from 'chai';
import {IubendaConsentSolution} from '~/index';

const validApiKey = process.env.API_KEY||'YOUR-VALID-IUBENDA-API-KEY';
const validApiKey = process.env.API_KEY || 'YOUR-VALID-IUBENDA-API-KEY';
const invalidApiKey = 'invalid';

describe('iubenda-consent-solution-api', function () {
Expand Down
Loading

0 comments on commit 49e5f98

Please sign in to comment.