@benji-money/connect-sdk 1.0.8-beta.1 → 1.0.8-beta.2

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.
@@ -75,7 +75,7 @@ var ConnectSDK = (() => {
75
75
  // src/utils/config.ts
76
76
  var buildContext = () => ({
77
77
  namespace: "benji-connect-sdk" ? "benji-connect-sdk" : "benji-connect-sdk",
78
- version: "1.0.8-beta.1" ? String("1.0.8-beta.1") : "0.0.0"
78
+ version: "1.0.8-beta.2" ? String("1.0.8-beta.2") : "0.0.0"
79
79
  });
80
80
  function isBenjiConnectEnvironment(environment) {
81
81
  return environment === "development" /* DEVELOPMENT */ || environment === "sandbox" /* SANDBOX */ || environment === "production" /* PRODUCTION */;
package/dist/index.cjs CHANGED
@@ -113,7 +113,7 @@ function getEnvironment() {
113
113
  // src/utils/config.ts
114
114
  var buildContext = () => ({
115
115
  namespace: "benji-connect-sdk" ? "benji-connect-sdk" : "benji-connect-sdk",
116
- version: "1.0.8-beta.1" ? String("1.0.8-beta.1") : "0.0.0"
116
+ version: "1.0.8-beta.2" ? String("1.0.8-beta.2") : "0.0.0"
117
117
  });
118
118
  function isBenjiConnectEnvironment(environment) {
119
119
  return environment === "development" /* DEVELOPMENT */ || environment === "sandbox" /* SANDBOX */ || environment === "production" /* PRODUCTION */;
package/dist/index.js CHANGED
@@ -87,7 +87,7 @@ function getEnvironment() {
87
87
  // src/utils/config.ts
88
88
  var buildContext = () => ({
89
89
  namespace: "benji-connect-sdk" ? "benji-connect-sdk" : "benji-connect-sdk",
90
- version: "1.0.8-beta.1" ? String("1.0.8-beta.1") : "0.0.0"
90
+ version: "1.0.8-beta.2" ? String("1.0.8-beta.2") : "0.0.0"
91
91
  });
92
92
  function isBenjiConnectEnvironment(environment) {
93
93
  return environment === "development" /* DEVELOPMENT */ || environment === "sandbox" /* SANDBOX */ || environment === "production" /* PRODUCTION */;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@benji-money/connect-sdk",
3
- "version": "1.0.8-beta.1",
3
+ "version": "1.0.8-beta.2",
4
4
  "description": "Benji Connect SDK for authentication and verification",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -48,11 +48,27 @@
48
48
  "devDependencies": {
49
49
  "@changesets/changelog-github": "^0.5.1",
50
50
  "@changesets/cli": "^2.29.7",
51
- "rimraf": "^6.1.2",
51
+ "rimraf": "^6.1.3",
52
52
  "tsup": "^8.5.0",
53
53
  "typescript": "^5.9.3",
54
54
  "yalc": "^1.0.0-pre.53"
55
55
  },
56
+ "// 1) rimraf → glob → minimatch": "CVE-2026-26996 (ReDos): Scoped override forces minimatch ^10.2.1 for rimraf->glob only (dev). Blanket override breaks yalc/npm-packlist (minimatch v3 API vs v10 named exports). Dev-deps only; production bundle does not use minimatch.",
57
+ "// 2) tsup → rollup": "CVE-2026-27606 (GHSA-mw96-cpmx-2vgc): Arbitrary file write via path traversal. >=4.59.0 fixes. Transitive via tsup.",
58
+ "// 3) tsup → sucrase → glob": "CVE-2025-64756 (GHSA-5j98-mcp5-4vw2): glob CLI command injection via -c/--cmd. >=10.5.0 fixes. Scoped to sucrase only; blanket would break yalc/npm-packlist (glob 7.x).",
59
+ "overrides": {
60
+ "rimraf": {
61
+ "glob": {
62
+ "minimatch": "^10.2.1"
63
+ }
64
+ },
65
+ "tsup": {
66
+ "rollup": ">=4.59.0",
67
+ "sucrase": {
68
+ "glob": ">=10.5.0"
69
+ }
70
+ }
71
+ },
56
72
  "bugs": {
57
73
  "url": "https://github.com/benji-money/benji-connect-sdk/issues"
58
74
  },
@@ -1,14 +0,0 @@
1
- // These are compile-time constants replaced by tsup's `define` option.
2
- // Declaring them globally prevents TypeScript errors.
3
-
4
-
5
- declare global {
6
- const __VERSION__: string;
7
- const __NAMESPACE__: string;
8
-
9
- // Global browser exposure for UMD builds
10
- interface Window {
11
- // SDK main class (UMD builds attach this)
12
- ConnectSDK?: any;
13
- }
14
- }