@merit-systems/echo-react-sdk 1.0.40-test.f8e535d3.0 → 1.0.41

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@merit-systems/echo-react-sdk",
3
- "version": "1.0.40-test.f8e535d3.0",
3
+ "version": "1.0.41",
4
4
  "description": "React SDK for Echo OAuth2 + PKCE authentication and token management",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -16,6 +16,25 @@
16
16
  "files": [
17
17
  "dist"
18
18
  ],
19
+ "scripts": {
20
+ "build": "vite build && tsc --emitDeclarationOnly",
21
+ "dev": "vite build --watch",
22
+ "type-check": "tsc --noEmit",
23
+ "lint": "eslint src --ext .ts,.tsx",
24
+ "format": "prettier --write src",
25
+ "test": "vitest run",
26
+ "test:unit": "vitest run",
27
+ "test:ui": "vitest --ui",
28
+ "test:security": "vitest run --config vitest.security.config.ts",
29
+ "test:integration": "vitest run --config vitest.integration.config.ts",
30
+ "test:coverage": "vitest run --coverage",
31
+ "storybook": "storybook dev -p 6006",
32
+ "build-storybook": "storybook build",
33
+ "publish:test": "pnpm publish --access public --dry-run",
34
+ "publish:real": "pnpm publish --access public",
35
+ "prepare": "sh -c 'if [ \"$CI\" = true ]; then echo \"Skipping prepare in CI\"; else tsup src/index.ts --dts --format esm,cjs --out-dir dist; fi'",
36
+ "prepublishOnly": "pnpm run build"
37
+ },
19
38
  "keywords": [
20
39
  "react",
21
40
  "oauth2",
@@ -42,13 +61,13 @@
42
61
  }
43
62
  },
44
63
  "dependencies": {
64
+ "@merit-systems/echo-typescript-sdk": "1.0.24",
45
65
  "@ai-sdk/react": "^2.0.17",
46
66
  "ai": "^5.0.19",
47
67
  "dompurify": "^3.2.6",
48
68
  "oidc-client-ts": "^3.2.1",
49
69
  "react-oidc-context": "^3.3.0",
50
- "swr": "^2.3.1",
51
- "@merit-systems/echo-typescript-sdk": "1.0.24-test.f8e535d3.0"
70
+ "swr": "^2.3.1"
52
71
  },
53
72
  "devDependencies": {
54
73
  "@storybook/addon-docs": "^9.0.10",
@@ -80,22 +99,5 @@
80
99
  "vite": "^6.0.1",
81
100
  "vite-plugin-dts": "^4.3.0",
82
101
  "vitest": "^3.2.3"
83
- },
84
- "scripts": {
85
- "build": "vite build && tsc --emitDeclarationOnly",
86
- "dev": "vite build --watch",
87
- "type-check": "tsc --noEmit",
88
- "lint": "eslint src --ext .ts,.tsx",
89
- "format": "prettier --write src",
90
- "test": "vitest run",
91
- "test:unit": "vitest run",
92
- "test:ui": "vitest --ui",
93
- "test:security": "vitest run --config vitest.security.config.ts",
94
- "test:integration": "vitest run --config vitest.integration.config.ts",
95
- "test:coverage": "vitest run --coverage",
96
- "storybook": "storybook dev -p 6006",
97
- "build-storybook": "storybook build",
98
- "publish:test": "pnpm publish --access public --dry-run",
99
- "publish:real": "pnpm publish --access public"
100
102
  }
101
- }
103
+ }
package/LICENSE DELETED
@@ -1,13 +0,0 @@
1
- Copyright 2025 Merit Systems, Inc
2
-
3
- Licensed under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License.
5
- You may obtain a copy of the License at
6
-
7
- http://www.apache.org/licenses/LICENSE-2.0
8
-
9
- Unless required by applicable law or agreed to in writing, software
10
- distributed under the License is distributed on an "AS IS" BASIS,
11
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- See the License for the specific language governing permissions and
13
- limitations under the License.