@cclabsnz/sf-core 0.1.3 → 0.1.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.
@@ -9,6 +9,8 @@ export interface Branding {
9
9
  fontDisplay: string;
10
10
  fontBody: string;
11
11
  contact: string;
12
+ /** Firm website, linked in report footers. Optional so an override may omit it entirely. */
13
+ website?: string;
12
14
  logoPath?: string;
13
15
  preparedFor?: string;
14
16
  }
@@ -9,6 +9,7 @@ export const DEFAULT_BRANDING = {
9
9
  fontDisplay: 'DM Serif Display',
10
10
  fontBody: 'DM Sans',
11
11
  contact: 'hello@cloudcounsel.co.nz',
12
+ website: 'cloudcounsel.co.nz',
12
13
  };
13
14
  export function resolveBranding(overrides, preparedFor) {
14
15
  const merged = { ...DEFAULT_BRANDING, ...(overrides ?? {}) };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cclabsnz/sf-core",
3
- "version": "0.1.3",
4
- "description": "Shared platform layer for CloudCounsel Salesforce sf plugins \u2014 API clients, org context, event log pull, report shell, and versioned IR schemas.",
3
+ "version": "0.1.5",
4
+ "description": "Shared platform layer for CloudCounsel Salesforce sf plugins — API clients, org context, event log pull, report shell, and versioned IR schemas.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "lib/index.js",
@@ -25,9 +25,6 @@
25
25
  "clean": "rm -rf lib",
26
26
  "prepare": "git config core.hooksPath .githooks 2>/dev/null || true"
27
27
  },
28
- "dependencies": {
29
- "@salesforce/core": "^8"
30
- },
31
28
  "devDependencies": {
32
29
  "@jest/globals": "^29.7.0",
33
30
  "@types/jest": "^29",
@@ -36,7 +33,8 @@
36
33
  "jest": "^29",
37
34
  "ts-jest": "^29",
38
35
  "ts-node": "^10.9.2",
39
- "typescript": "^5"
36
+ "typescript": "^5",
37
+ "@salesforce/core": "^9"
40
38
  },
41
39
  "engines": {
42
40
  "node": ">=18.0.0"
@@ -78,5 +76,8 @@
78
76
  "brace-expansion": "^5.0.8",
79
77
  "fast-uri@3": "^3.1.4"
80
78
  }
79
+ },
80
+ "peerDependencies": {
81
+ "@salesforce/core": "^8 || ^9"
81
82
  }
82
83
  }