Skip to content

Commit 9926fbe

Browse files
authored
fix: enforce CartSummaryAdapter to be used only with wire decorator (#56)
1 parent 1fe0fd6 commit 9926fbe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

base.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ const KNOWN_WIRE_ADAPTERS = [
2323
];
2424

2525
const WIRE_ADAPTERS_WITH_RESTRICTED_USE = [
26+
{
27+
module: 'commerce/cartApi',
28+
identifier: 'CartSummaryAdapter',
29+
},
2630
{
2731
module: 'lightning/analyticsWaveApi',
2832
identifier: 'executeQuery',

0 commit comments

Comments
 (0)