Skip to content

Commit

Permalink
Fix types on index file
Browse files Browse the repository at this point in the history
  • Loading branch information
awlayton committed Apr 14, 2022
1 parent bfcbdff commit 222b122
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
23 changes: 23 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/**
* Copyright 2022 Alex Layton
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

export * from './dist/core';

export * as browser from './dist/browser';

export * as node from './dist/node';

export * as middleware from './dist/middleware';
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "@oada/id-client",
"version": "2.0.0",
"version": "2.0.1",
"description": "OADA identity client library for Node.JS and Browser",
"main": "index.js",
"types": "index.d.ts",
"browser": {
".": "dist/browser.js",
"./dist/node-browser.js": false
Expand All @@ -11,6 +12,8 @@
"node": ">=12.0.0"
},
"files": [
"index.js",
"index.d.ts",
"src/",
"dist/"
],
Expand Down

0 comments on commit 222b122

Please sign in to comment.