react-nomba-checkout-sdk 2.0.2 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,6 +16,9 @@ interface CheckoutPayload {
16
16
  }
17
17
  ];
18
18
  };
19
+ orderMetaData?: {
20
+ [key: string]: any;
21
+ };
19
22
  };
20
23
  tokenizeCard: boolean;
21
24
  clientId: string;
package/dist/index.esm.js CHANGED
@@ -4042,6 +4042,7 @@ var useNombaCheckout = function (payload) { return __awaiter(undefined, undefine
4042
4042
  switch (_d.label) {
4043
4043
  case 0:
4044
4044
  _d.trys.push([0, 2, , 3]);
4045
+ console.log('🔗 Using LOCAL SDK version!', payload.order.orderMetaData);
4045
4046
  return [4 /*yield*/, handleNombaApiCall('/checkout/order', 'POST', {
4046
4047
  order: __assign(__assign({}, payload.order), { accountId: payload.accountId }),
4047
4048
  tokenizeCard: payload.tokenizeCard,