@lookiero/checkout 1.3.0-beta.2 → 1.3.0-beta.3

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.
package/README.md CHANGED
@@ -38,7 +38,7 @@ Once we can replace the build of Jenkins for NPM one, we are going to be able to
38
38
  "dependencies": {
39
39
  (...)
40
40
  "@expo/dev-server": "0.1.120",
41
- "expo-modules-core": "^1.0.3",
41
+ "expo-modules-core": "^1.2.6",
42
42
  "inline-style-prefixer": "6.0.1",
43
43
  (...)
44
44
  },
@@ -8,7 +8,7 @@ const useStartCheckout = ({ checkoutId, logger }) => {
8
8
  const start = useCallback(async () => {
9
9
  invariant(checkoutId, "CheckoutId must be defined in order to start checkout");
10
10
  try {
11
- return await commandBus(startCheckout({ aggregateId: checkoutId }));
11
+ await commandBus(startCheckout({ aggregateId: checkoutId }));
12
12
  }
13
13
  catch (error) {
14
14
  if (!error?.message?.includes("Checkout is already started")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lookiero/checkout",
3
- "version": "1.3.0-beta.2",
3
+ "version": "1.3.0-beta.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [
@@ -19,7 +19,7 @@
19
19
  "build:app": "tsc -p ./tsconfig.build-app.json --noemit && ENTRY_POINT='./src/Expo.tsx' NODE_ENV=production expo export:web --clear",
20
20
  "lint": "eslint --fix --cache --cache-location ./node_modules/.cache/.eslintcache --ext ts,tsx .",
21
21
  "format": "prettier --write \"**/*.+(json|css|ts|tsx|md)\"",
22
- "test": "tsc -p ./tsconfig.test.json --noemit && jest",
22
+ "test": "tsc -p ./tsconfig.test.json --noemit && jest --passWithNoTests --colors --verbose --runInBand --detectOpenHandles --forceExit",
23
23
  "test:coverage": "jest --coverage --coverageReporters=text --detectOpenHandles --forceExit --silent",
24
24
  "test:contract": "TEST_ENV=CONTRACT jest --coverage false --detectOpenHandles --testMatch \"**/?(*.)+(pact).ts\" --testTimeout=3000 --watchAll=false --forceExit",
25
25
  "publish:contract": "BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD) node pact.publish.js",
@@ -33,12 +33,12 @@
33
33
  "@lookiero/messaging": "^8.1.1",
34
34
  "@lookiero/messaging-react": "^8.1.1",
35
35
  "@react-spring/native": "9.6.1",
36
- "@sentry/react-native": "4.13.0",
36
+ "@sentry/react-native": "^4.13.0",
37
37
  "inline-style-prefixer": "6.0.1",
38
38
  "lodash": "^4.17.21",
39
39
  "react-native-keyboard-aware-scroll-view": "^0.9.5",
40
40
  "react-native-safe-area-context": "^4.5.0",
41
- "react-native-svg": "13.4.0",
41
+ "react-native-svg": "^13.4.0",
42
42
  "tiny-invariant": "^1.3.1",
43
43
  "uuid": "^9.0.0"
44
44
  },
@@ -56,7 +56,7 @@
56
56
  "graphql-tag": "2.12.6",
57
57
  "react": "^18.2.0",
58
58
  "react-dom": "^18.2.0",
59
- "react-native": "0.71.4",
59
+ "react-native": "^0.71.4",
60
60
  "react-native-get-random-values": "^1.8.0",
61
61
  "react-native-web": "^0.18.11",
62
62
  "react-router-dom": "^6.8.1",
@@ -77,8 +77,6 @@
77
77
  "@pact-foundation/pact-node": "^10.17.6",
78
78
  "@react-native-firebase/analytics": "10.5.1",
79
79
  "@react-native-firebase/app": "10.5.0",
80
- "@testing-library/react": "^13.4.0",
81
- "@testing-library/react-hooks": "^8.0.1",
82
80
  "@testing-library/react-native": "^11.5.0",
83
81
  "@trivago/prettier-plugin-sort-imports": "^3.3.0",
84
82
  "@types/jest": "^29.2.4",
@@ -99,12 +97,12 @@
99
97
  "eslint-plugin-react-hooks": "^4.6.0",
100
98
  "eslint-plugin-react-native": "^4.0.0",
101
99
  "expo": "^48.0.0",
102
- "expo-modules-core": "~1.2.6",
100
+ "expo-modules-core": "^1.2.6",
103
101
  "expo-status-bar": "~1.4.4",
104
102
  "graphql": "16.6.0",
105
103
  "graphql-tag": "2.12.6",
106
104
  "husky": "^8.0.2",
107
- "jest": "^29.2.1",
105
+ "jest": "^29.3.1",
108
106
  "jest-expo": "^48.0.0",
109
107
  "jest-fetch-mock": "^3.0.3",
110
108
  "jest-mock-extended": "^3.0.1",
@@ -114,7 +112,7 @@
114
112
  "react": "^18.2.0",
115
113
  "react-dom": "^18.2.0",
116
114
  "react-error-overlay": "^6.0.9",
117
- "react-native": "0.71.3",
115
+ "react-native": "^0.71.3",
118
116
  "react-native-adjust": "^4.33.0",
119
117
  "react-native-get-random-values": "^1.8.0",
120
118
  "react-native-web": "^0.18.11",