Skip to content

Commit 4681972

Browse files
authored
Merge pull request #24 from spring-media/SPR-10621-newVersion
SPR-10621: add new version to package json
2 parents 2e110e1 + e113124 commit 4681972

File tree

6 files changed

+16
-4
lines changed

6 files changed

+16
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ps-web-apis is a client side library to interface with ps services on ps support
44

55
# Installation
66

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

99
# Usage
1010

dist/ps-web-apis.cjs.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,9 @@ function requireApi(name) {
4343
function whoamiV1() {
4444
return requireApi("whoami:v1");
4545
}
46+
function rosettaV1() {
47+
return requireApi("rosetta:v1");
48+
}
4649

4750
exports.whoamiV1 = whoamiV1;
51+
exports.rosettaV1 = rosettaV1;

dist/ps-web-apis.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { TealiumData } from "./model";
12
export interface WhoamiUserInfo {
23
user_id: string;
34
first_name?: string;
@@ -50,3 +51,7 @@ export interface WhoamiV1 {
5051
getCustomerId(clientId: string): Promise<string>;
5152
}
5253
export declare function whoamiV1(): Promise<WhoamiV1>;
54+
export interface RosettaV1 {
55+
trackEvent(event: TealiumData): void;
56+
}
57+
export declare function rosettaV1(): Promise<RosettaV1>;

dist/ps-web-apis.esm.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,8 @@ function requireApi(name) {
3939
function whoamiV1() {
4040
return requireApi("whoami:v1");
4141
}
42+
function rosettaV1() {
43+
return requireApi("rosetta:v1");
44+
}
4245

43-
export { whoamiV1 };
46+
export { whoamiV1, rosettaV1 };

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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ps-web-apis",
3-
"version": "1.6.0",
3+
"version": "1.8.1",
44
"description": "",
55
"main": "dist/ps-web-apis.cjs.js",
66
"module": "dist/ps-web-apis.esm.js",

0 commit comments

Comments
 (0)