Skip to content

Commit 32d3bd0

Browse files
authored
Merge pull request #2 from ThatConference/clark/enhancement/v1.2.1
fixes namespace and pulls from gh packages
2 parents 89cc3f1 + 256f981 commit 32d3bd0

5 files changed

Lines changed: 5 additions & 9 deletions

File tree

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
{
22
"name": "@thatconference/api",
33
"description": "THAT-API shared library for all microservices",
4-
"version": "1.1.0",
4+
"version": "1.2.1",
55
"main": "index.js",
6-
"publishConfig": {
7-
"registry": "https://npm.pkg.github.com/"
8-
},
96
"scripts": {
107
"build": "rimraf __build__ && babel ./src -d ./__build__ --copy-files --ignore ./**/__tests__",
118
"postbuild": "cp ./package.json ./package-lock.json ./__build__",
@@ -14,7 +11,7 @@
1411
"lint": "eslint 'src/**/*.js'",
1512
"validate": "concurrently npm:test npm:lint npm:build ",
1613
"prenpm:publish": "npm run build",
17-
"npm:publish": "npm publish ./__build__"
14+
"npm:publish": "npm publish ./__build__ --access public"
1815
},
1916
"engines": {
2017
"node": "^10"

src/graphql/directives/auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import { SchemaDirectiveVisitor, ForbiddenError } from 'apollo-server';
66
import debug from 'debug';
77

8-
const dlog = debug('that:api:members:directive:auth');
8+
const dlog = debug('that:api:directive:auth');
99

1010
class AuthDirective extends SchemaDirectiveVisitor {
1111
visitObject(type) {

src/security/jwt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import debug from 'debug';
33
import jwksClient from 'jwks-rsa';
44
import { AuthenticationError } from 'apollo-server';
55

6-
const dlog = debug('that:lib:jwt');
6+
const dlog = debug('that:api:jwt');
77

88
function configMissing(configKey) {
99
throw new Error(`missing required .env setting for ${configKey}`);

0 commit comments

Comments
 (0)