Fix OSA.js dependency ids and checkout extension prefix
This commit is contained in:
parent
8347e7108c
commit
5b16a8abdb
|
@ -1,4 +1,4 @@
|
||||||
window.wp.data.dispatch( window.wc.wcBlocksData.CHECKOUT_STORE_KEY ).__internalSetExtensionData(
|
window.wp.data.dispatch( window.wc.wcBlocksData.CHECKOUT_STORE_KEY ).__internalSetExtensionData(
|
||||||
'order-source-attribution',
|
'woocommerce/order-source-attribution',
|
||||||
window.sbjs.get
|
window.sbjs.get
|
||||||
);
|
);
|
||||||
|
|
|
@ -132,7 +132,7 @@ class SourceAttributionBlocksController implements RegisterHooksInterface {
|
||||||
"assets/js/frontend/order-source-attribution-blocks{$this->get_script_suffix()}.js",
|
"assets/js/frontend/order-source-attribution-blocks{$this->get_script_suffix()}.js",
|
||||||
WC_PLUGIN_FILE
|
WC_PLUGIN_FILE
|
||||||
),
|
),
|
||||||
array( 'woocommerce-order-source-attribution-js', 'wp-data-js', 'wc-blocks-checkout-js' ),
|
array( 'woocommerce-order-source-attribution-js', 'wp-data', 'wc-blocks-checkout' ),
|
||||||
Constants::get_constant( 'WC_VERSION' ),
|
Constants::get_constant( 'WC_VERSION' ),
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue