Skip to content

Commit

Permalink
Merge pull request #24 from spring-media/SPR-10621-newVersion
Browse files Browse the repository at this point in the history
SPR-10621: add new version to package json
  • Loading branch information
Tooobi authored Oct 8, 2020
2 parents 2e110e1 + e113124 commit 4681972
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ps-web-apis is a client side library to interface with ps services on ps support

# Installation

`npm install --save github:spring-media/ps-web-apis#v1.6.0`
`npm install --save github:spring-media/ps-web-apis#v1.8.1`

# Usage

Expand Down
4 changes: 4 additions & 0 deletions dist/ps-web-apis.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,9 @@ function requireApi(name) {
function whoamiV1() {
return requireApi("whoami:v1");
}
function rosettaV1() {
return requireApi("rosetta:v1");
}

exports.whoamiV1 = whoamiV1;
exports.rosettaV1 = rosettaV1;
5 changes: 5 additions & 0 deletions dist/ps-web-apis.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { TealiumData } from "./model";
export interface WhoamiUserInfo {
user_id: string;
first_name?: string;
Expand Down Expand Up @@ -50,3 +51,7 @@ export interface WhoamiV1 {
getCustomerId(clientId: string): Promise<string>;
}
export declare function whoamiV1(): Promise<WhoamiV1>;
export interface RosettaV1 {
trackEvent(event: TealiumData): void;
}
export declare function rosettaV1(): Promise<RosettaV1>;
5 changes: 4 additions & 1 deletion dist/ps-web-apis.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@ function requireApi(name) {
function whoamiV1() {
return requireApi("whoami:v1");
}
function rosettaV1() {
return requireApi("rosetta:v1");
}

export { whoamiV1 };
export { whoamiV1, rosettaV1 };
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ps-web-apis",
"version": "1.6.0",
"version": "1.8.1",
"description": "",
"main": "dist/ps-web-apis.cjs.js",
"module": "dist/ps-web-apis.esm.js",
Expand Down

0 comments on commit 4681972

Please sign in to comment.