Skip to content

Commit

Permalink
Update @oada/types
Browse files Browse the repository at this point in the history
  • Loading branch information
awlayton committed Apr 14, 2022
1 parent 55c6d8d commit f56e822
Show file tree
Hide file tree
Showing 3 changed files with 171 additions and 375 deletions.
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oauth-dyn-reg",
"version": "2.0.0",
"version": "2.1.0",
"description": "Implementation of draft OAuth 2.0 Dynamic Client Registration Protocol",
"main": "dist/index.js",
"engines": {
Expand Down Expand Up @@ -74,18 +74,18 @@
},
"homepage": "https://github.com/OADA/oauth-dyn-reg-js",
"devDependencies": {
"@oada/types": "^1.8.1",
"@oada/types": "^2.0.0",
"@tsconfig/node12": "^1.0.9",
"@types/chai": "^4.3.0",
"@types/chai": "^4.3.1",
"@types/mocha": "^9.1.0",
"@types/node": "^12.20.47",
"@types/superagent": "^4.1.15",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"@yarnpkg/sdks": "2.6.0",
"@typescript-eslint/eslint-plugin": "^5.19.0",
"@typescript-eslint/parser": "^5.19.0",
"@yarnpkg/sdks": "3.0.0-rc.2",
"c8": "^7.11.0",
"chai": "^4.3.6",
"eslint": "^8.12.0",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-xo": "^0.40.0",
"eslint-config-xo-typescript": "^0.50.0",
Expand All @@ -97,7 +97,7 @@
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-github": "^4.3.6",
"eslint-plugin-i18n-text": "^1.0.1",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-no-constructor-bind": "^2.0.4",
"eslint-plugin-no-only-tests": "^2.6.0",
"eslint-plugin-no-secrets": "^0.8.9",
Expand All @@ -109,15 +109,15 @@
"eslint-plugin-regexp": "^1.6.0",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-sonarjs": "^0.13.0",
"eslint-plugin-unicorn": "^41.0.1",
"eslint-plugin-unicorn": "^42.0.0",
"mocha": "^9.2.2",
"nock": "^13.2.4",
"prettier": "^2.6.1",
"prettier": "^2.6.2",
"ts-node": "^10.7.0",
"typescript": "4.6.3"
},
"dependencies": {
"superagent": "7.1.1",
"superagent": "7.1.2",
"tslib": "^2.3.1"
},
"packageManager": "[email protected]"
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

import request, { HTTPError, ResponseError } from 'superagent';

import type Metadata from '@oada/types/oada/oauth-dyn-reg/register-response/v1.js';
import type Metadata from '@oada/types/oauth-dyn-reg/metadata.js';

export class ClientRegistrationError extends Error {
readonly response;
Expand Down Expand Up @@ -50,7 +50,7 @@ export class ClientRegistrationError extends Error {
* for further details.
*/
export default async function register(
metadata: Partial<Metadata> | string,
metadata: Metadata | string,
endpoint: string,
token?: string
) {
Expand Down
Loading

0 comments on commit f56e822

Please sign in to comment.