Skip to content

Commit

Permalink
Address PR Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alexs-mparticle committed Jan 17, 2025
1 parent e04dbe3 commit f8c9e14
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/sdkRuntimeModels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export interface SDKProduct {
Position?: number;
CouponCode?: string;
TotalAmount?: number;
Attributes?: { [key: string]: string };
Attributes?: Record<string, unknown> | undefined;
}

export interface MParticleWebSDK {
Expand Down
8 changes: 4 additions & 4 deletions test/src/tests-identity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4799,11 +4799,11 @@ describe('identity', function() {
waitForCondition(hasIdentifyReturned)
.then(() => {

const product: Product = mParticle.eCommerce.createProduct(
const product: SDKProduct = mParticle.eCommerce.createProduct(
'iPhone',
'12345',
400
) as Product;
);
mParticle
.getInstance()
.Identity.getCurrentUser()
Expand Down Expand Up @@ -4831,11 +4831,11 @@ describe('identity', function() {
waitForCondition(hasIdentifyReturned)
.then(() => {

const product: Product = mParticle.eCommerce.createProduct(
const product: SDKProduct = mParticle.eCommerce.createProduct(
'iPhone',
'12345',
400
) as Product;
);

mParticle
.getInstance()
Expand Down

0 comments on commit f8c9e14

Please sign in to comment.