@idealyst/oauth-client 1.0.72 → 1.0.74

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.
Files changed (2) hide show
  1. package/package.json +9 -9
  2. package/src/index.ts +1 -10
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@idealyst/oauth-client",
3
- "version": "1.0.72",
3
+ "version": "1.0.74",
4
4
  "description": "Universal OAuth2 client for web and React Native",
5
- "main": "dist/index.js",
6
- "module": "dist/index.mjs",
7
- "types": "dist/index.d.ts",
5
+ "main": "src/index.ts",
6
+ "module": "src/index.ts",
7
+ "types": "src/index.ts",
8
8
  "exports": {
9
9
  ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/index.mjs",
12
- "require": "./dist/index.js"
10
+ "import": "./src/index.ts",
11
+ "require": "./src/index.ts",
12
+ "types": "./src/index.ts"
13
13
  }
14
14
  },
15
15
  "scripts": {
@@ -30,7 +30,7 @@
30
30
  "author": "",
31
31
  "license": "MIT",
32
32
  "dependencies": {
33
- "@idealyst/storage": "1.0.72"
33
+ "@idealyst/storage": "1.0.74"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/react": "^18.3.18",
@@ -41,7 +41,7 @@
41
41
  "typescript": "^5.7.3"
42
42
  },
43
43
  "peerDependencies": {
44
- "@idealyst/storage": "1.0.72"
44
+ "@idealyst/storage": "1.0.74"
45
45
  },
46
46
  "files": [
47
47
  "dist",
package/src/index.ts CHANGED
@@ -1,10 +1 @@
1
- // This file should not be used - use index.web.ts or index.native.ts instead
2
- export * from './types'
3
-
4
- // Fallback export that throws an error
5
- export function createOAuthClient(): never {
6
- throw new Error(
7
- '@idealyst/oauth-client: Platform-specific bundle not found. ' +
8
- 'Make sure your bundler is configured to use .web.ts or .native.ts files.'
9
- )
10
- }
1
+ export * from './index.web'