@akinon/next 1.37.0-rc.4 → 1.37.0-rc.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.
package/CHANGELOG.md CHANGED
@@ -1,9 +1,16 @@
1
1
  # @akinon/next
2
2
 
3
+ ## 1.37.0-rc.5
4
+
5
+ ### Minor Changes
6
+
7
+ - c53ea3e: ZERO-2609: Reset additional form fields when selectedFormType is not company
8
+
3
9
  ## 1.37.0-rc.4
4
10
 
5
11
  ### Minor Changes
6
12
 
13
+ - b5d5c5c: ZERO-2683: Add conditional initialization for Sentry based on type
7
14
  - 05b1fe1: ZERO-2674: Update getMenu query to accept depth and parent parameters
8
15
 
9
16
  ## 1.37.0-rc.3
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@akinon/next",
3
3
  "description": "Core package for Project Zero Next",
4
- "version": "1.37.0-rc.4",
4
+ "version": "1.37.0-rc.5",
5
5
  "private": false,
6
6
  "license": "MIT",
7
7
  "bin": {
@@ -35,7 +35,7 @@
35
35
  "@typescript-eslint/eslint-plugin": "6.7.4",
36
36
  "@typescript-eslint/parser": "6.7.4",
37
37
  "eslint": "^8.14.0",
38
- "@akinon/eslint-plugin-projectzero": "1.37.0-rc.4",
38
+ "@akinon/eslint-plugin-projectzero": "1.37.0-rc.5",
39
39
  "eslint-config-prettier": "8.5.0"
40
40
  }
41
41
  }
package/sentry/index.ts CHANGED
@@ -11,17 +11,19 @@ export const initSentry = (
11
11
 
12
12
  // TODO: Remove Zero Project DSN
13
13
 
14
- Sentry.init({
15
- dsn:
16
- SENTRY_DSN ||
17
- 'https://d8558ef8997543deacf376c7d8d7cf4b@o64293.ingest.sentry.io/4504338423742464',
18
- initialScope: {
19
- tags: {
20
- APP_TYPE: 'ProjectZeroNext',
21
- TYPE: type
22
- }
23
- },
24
- tracesSampleRate: 1.0,
25
- integrations: []
26
- });
14
+ if (type === 'Server' || type === 'Edge') {
15
+ Sentry.init({
16
+ dsn:
17
+ SENTRY_DSN ||
18
+ 'https://d8558ef8997543deacf376c7d8d7cf4b@o64293.ingest.sentry.io/4504338423742464',
19
+ initialScope: {
20
+ tags: {
21
+ APP_TYPE: 'ProjectZeroNext',
22
+ TYPE: type
23
+ }
24
+ },
25
+ tracesSampleRate: 1.0,
26
+ integrations: []
27
+ });
28
+ }
27
29
  };
@@ -17,7 +17,7 @@ export type AddressFormType = {
17
17
  line: string;
18
18
  postcode: string;
19
19
  company_name?: string;
20
- tax_no?: number;
20
+ tax_no?: string;
21
21
  tax_office?: string;
22
22
  e_bill_taxpayer?: boolean;
23
23
  country_code?: string;