@jfvilas/kwirth-common 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,6 @@
1
+ import { AccessKey } from './AccessKey';
2
+ export interface ApiKey {
3
+ accessKey: AccessKey;
4
+ description: string;
5
+ expire: number;
6
+ }
package/dist/ApiKey.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.d.ts CHANGED
@@ -1 +1,3 @@
1
1
  export * from './StreamMessage';
2
+ export * from './ApiKey';
3
+ export * from './AccessKey';
package/dist/index.js CHANGED
@@ -30,3 +30,5 @@ See the License for the specific language governing permissions and
30
30
  limitations under the License.
31
31
  */
32
32
  __exportStar(require("./StreamMessage"), exports);
33
+ __exportStar(require("./ApiKey"), exports);
34
+ __exportStar(require("./AccessKey"), exports);
package/package.json CHANGED
@@ -1,11 +1,16 @@
1
1
  {
2
2
  "name": "@jfvilas/kwirth-common",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Common interfaces for integrating applications with Kwirth",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "build": "del .\\dist\\* /s /q && tsc"
8
8
  },
9
+ "publishConfig": {
10
+ "access": "public",
11
+ "main": "dist/index.js",
12
+ "types": "dist/index.d.ts"
13
+ },
9
14
  "repository": {
10
15
  "type": "git",
11
16
  "url": "git+https://github.com/jfvilas/kwirth-common.git"
package/src/ApiKey.ts ADDED
@@ -0,0 +1,8 @@
1
+ import { AccessKey } from './AccessKey';
2
+
3
+ export interface ApiKey {
4
+ accessKey:AccessKey;
5
+ description:string;
6
+ expire:number;
7
+ }
8
+
package/src/index.ts CHANGED
@@ -13,4 +13,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
13
  See the License for the specific language governing permissions and
14
14
  limitations under the License.
15
15
  */
16
- export * from './StreamMessage'
16
+ export * from './StreamMessage'
17
+ export * from './ApiKey'
18
+ export * from './AccessKey'