Skip to content

Commit

Permalink
SPR-10621: add missing dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasKnop committed Oct 8, 2020
1 parent e71f412 commit e113124
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
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 };

0 comments on commit e113124

Please sign in to comment.