Skip to content

Commit eabb325

Browse files
committed
Make new field internal only
1 parent 2f18f78 commit eabb325

File tree

3 files changed

+2
-33
lines changed

3 files changed

+2
-33
lines changed

api-report/purchases-js.api.json

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -5604,38 +5604,6 @@
56045604
"name": "PurchaseResult",
56055605
"preserveMemberOrder": false,
56065606
"members": [
5607-
{
5608-
"kind": "PropertySignature",
5609-
"canonicalReference": "@revenuecat/purchases-js!PurchaseResult#attributionMetadata:member",
5610-
"docComment": "/**\n * Opaque attribution metadata returned by the checkout status response.\n */\n",
5611-
"excerptTokens": [
5612-
{
5613-
"kind": "Content",
5614-
"text": "readonly attributionMetadata?: "
5615-
},
5616-
{
5617-
"kind": "Reference",
5618-
"text": "Record",
5619-
"canonicalReference": "!Record:type"
5620-
},
5621-
{
5622-
"kind": "Content",
5623-
"text": "<string, unknown>"
5624-
},
5625-
{
5626-
"kind": "Content",
5627-
"text": ";"
5628-
}
5629-
],
5630-
"isReadonly": true,
5631-
"isOptional": true,
5632-
"releaseTag": "Public",
5633-
"name": "attributionMetadata",
5634-
"propertyTypeTokenRange": {
5635-
"startIndex": 1,
5636-
"endIndex": 3
5637-
}
5638-
},
56395607
{
56405608
"kind": "PropertySignature",
56415609
"canonicalReference": "@revenuecat/purchases-js!PurchaseResult#customerInfo:member",

api-report/purchases-js.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,11 +393,11 @@ export interface PurchaseParams {
393393

394394
// @public
395395
export interface PurchaseResult {
396-
readonly attributionMetadata?: Record<string, unknown>;
397396
readonly customerInfo: CustomerInfo;
398397
readonly operationSessionId: string;
399398
readonly redemptionInfo: RedemptionInfo | null;
400399
readonly storeTransaction: StoreTransaction;
400+
/* Excluded from this release type: attributionMetadata */
401401
}
402402

403403
// @public

src/entities/purchase-result.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export interface PurchaseResult {
2929

3030
/**
3131
* Opaque attribution metadata returned by the checkout status response.
32+
* @internal
3233
*/
3334
readonly attributionMetadata?: Record<string, unknown>;
3435
}

0 commit comments

Comments
 (0)