@feelflow/ffid-sdk 10.0.0 → 11.0.0
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/README.md +1062 -1010
- package/dist/agency/index.d.cts +23 -1
- package/dist/agency/index.d.ts +23 -1
- package/dist/{chunk-OXW6QSTO.js → chunk-QORWLPWG.js} +174 -46
- package/dist/{chunk-2LU2F3F2.cjs → chunk-VR3QR64A.cjs} +176 -45
- package/dist/components/index.cjs +8 -8
- package/dist/components/index.d.cts +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +1 -1
- package/dist/{ffid-client-5uxXRgIO.d.ts → ffid-client-By_vcKYu.d.ts} +32 -10
- package/dist/{ffid-client-CumygXXz.d.cts → ffid-client-C3A8L9uW.d.cts} +32 -10
- package/dist/{index-KjewcNn1.d.cts → index-BknVfXhZ.d.cts} +21 -9
- package/dist/{index-KjewcNn1.d.ts → index-BknVfXhZ.d.ts} +21 -9
- package/dist/index.cjs +100 -88
- package/dist/index.d.cts +117 -7
- package/dist/index.d.ts +117 -7
- package/dist/index.js +2 -2
- package/dist/server/index.cjs +101 -13
- package/dist/server/index.d.cts +74 -3
- package/dist/server/index.d.ts +74 -3
- package/dist/server/index.js +99 -14
- package/dist/server/test/index.d.cts +1 -1
- package/dist/server/test/index.d.ts +1 -1
- package/package.json +131 -131
package/package.json
CHANGED
|
@@ -1,131 +1,131 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@feelflow/ffid-sdk",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "FeelFlow ID Platform SDK for React/Next.js applications",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"feelflow",
|
|
7
|
-
"ffid",
|
|
8
|
-
"sdk",
|
|
9
|
-
"react",
|
|
10
|
-
"nextjs",
|
|
11
|
-
"authentication"
|
|
12
|
-
],
|
|
13
|
-
"author": "FeelFlow <dev@feelflow.net>",
|
|
14
|
-
"license": "MIT",
|
|
15
|
-
"homepage": "https://github.com/feel-flow/feelflow-id-platform/tree/develop/sdk/typescript#readme",
|
|
16
|
-
"bugs": {
|
|
17
|
-
"url": "https://github.com/feel-flow/feelflow-id-platform/issues"
|
|
18
|
-
},
|
|
19
|
-
"repository": {
|
|
20
|
-
"type": "git",
|
|
21
|
-
"url": "https://github.com/feel-flow/feelflow-id-platform.git",
|
|
22
|
-
"directory": "sdk/typescript"
|
|
23
|
-
},
|
|
24
|
-
"type": "module",
|
|
25
|
-
"main": "./dist/index.cjs",
|
|
26
|
-
"module": "./dist/index.js",
|
|
27
|
-
"types": "./dist/index.d.ts",
|
|
28
|
-
"exports": {
|
|
29
|
-
".": {
|
|
30
|
-
"types": "./dist/index.d.ts",
|
|
31
|
-
"import": "./dist/index.js",
|
|
32
|
-
"require": "./dist/index.cjs"
|
|
33
|
-
},
|
|
34
|
-
"./components": {
|
|
35
|
-
"types": "./dist/components/index.d.ts",
|
|
36
|
-
"import": "./dist/components/index.js",
|
|
37
|
-
"require": "./dist/components/index.cjs"
|
|
38
|
-
},
|
|
39
|
-
"./consent": {
|
|
40
|
-
"types": "./dist/consent/index.d.ts",
|
|
41
|
-
"import": "./dist/consent/index.js",
|
|
42
|
-
"require": "./dist/consent/index.cjs"
|
|
43
|
-
},
|
|
44
|
-
"./legal": {
|
|
45
|
-
"types": "./dist/legal/index.d.ts",
|
|
46
|
-
"import": "./dist/legal/index.js",
|
|
47
|
-
"require": "./dist/legal/index.cjs"
|
|
48
|
-
},
|
|
49
|
-
"./webhooks": {
|
|
50
|
-
"types": "./dist/webhooks/index.d.ts",
|
|
51
|
-
"import": "./dist/webhooks/index.js",
|
|
52
|
-
"require": "./dist/webhooks/index.cjs"
|
|
53
|
-
},
|
|
54
|
-
"./announcements": {
|
|
55
|
-
"types": "./dist/announcements/index.d.ts",
|
|
56
|
-
"import": "./dist/announcements/index.js",
|
|
57
|
-
"require": "./dist/announcements/index.cjs"
|
|
58
|
-
},
|
|
59
|
-
"./agency": {
|
|
60
|
-
"types": "./dist/agency/index.d.ts",
|
|
61
|
-
"import": "./dist/agency/index.js",
|
|
62
|
-
"require": "./dist/agency/index.cjs"
|
|
63
|
-
},
|
|
64
|
-
"./server": {
|
|
65
|
-
"types": "./dist/server/index.d.ts",
|
|
66
|
-
"import": "./dist/server/index.js",
|
|
67
|
-
"require": "./dist/server/index.cjs"
|
|
68
|
-
},
|
|
69
|
-
"./server/test": {
|
|
70
|
-
"types": "./dist/server/test/index.d.ts",
|
|
71
|
-
"import": "./dist/server/test/index.js",
|
|
72
|
-
"require": "./dist/server/test/index.cjs"
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"files": [
|
|
76
|
-
"dist",
|
|
77
|
-
"README.md"
|
|
78
|
-
],
|
|
79
|
-
"sideEffects": false,
|
|
80
|
-
"scripts": {
|
|
81
|
-
"build": "rimraf dist && tsup",
|
|
82
|
-
"dev": "tsup --watch",
|
|
83
|
-
"type-check": "tsc --noEmit",
|
|
84
|
-
"lint": "eslint src",
|
|
85
|
-
"lint:fix": "eslint src --fix",
|
|
86
|
-
"test": "vitest run",
|
|
87
|
-
"test:watch": "vitest",
|
|
88
|
-
"test:coverage": "vitest run --coverage",
|
|
89
|
-
"prepublishOnly": "npm run build",
|
|
90
|
-
"sdk:publish": "./scripts/publish.sh"
|
|
91
|
-
},
|
|
92
|
-
"dependencies": {
|
|
93
|
-
"jose": "^6.0.0",
|
|
94
|
-
"zod": "^4.4.3"
|
|
95
|
-
},
|
|
96
|
-
"peerDependencies": {
|
|
97
|
-
"react": "^18.0.0 || ^19.0.0",
|
|
98
|
-
"react-dom": "^18.0.0 || ^19.0.0"
|
|
99
|
-
},
|
|
100
|
-
"peerDependenciesMeta": {
|
|
101
|
-
"react": {
|
|
102
|
-
"optional": true
|
|
103
|
-
},
|
|
104
|
-
"react-dom": {
|
|
105
|
-
"optional": true
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
"devDependencies": {
|
|
109
|
-
"@testing-library/jest-dom": "^6.0.0",
|
|
110
|
-
"@testing-library/react": "^16.0.0",
|
|
111
|
-
"@types/node": "^22.19.17",
|
|
112
|
-
"@types/react": "^19.0.0",
|
|
113
|
-
"@types/react-dom": "^19.0.0",
|
|
114
|
-
"@typescript-eslint/eslint-plugin": "^8.58.0",
|
|
115
|
-
"@typescript-eslint/parser": "^8.58.0",
|
|
116
|
-
"eslint-plugin-react-hooks": "^7.0.1",
|
|
117
|
-
"jsdom": "^27.0.0",
|
|
118
|
-
"react": "^19.0.0",
|
|
119
|
-
"react-dom": "^19.0.0",
|
|
120
|
-
"rimraf": "^6.1.2",
|
|
121
|
-
"tsup": "^8.0.0",
|
|
122
|
-
"typescript": "^5.0.0",
|
|
123
|
-
"vitest": "^4.0.0"
|
|
124
|
-
},
|
|
125
|
-
"engines": {
|
|
126
|
-
"node": ">=18.0.0"
|
|
127
|
-
},
|
|
128
|
-
"publishConfig": {
|
|
129
|
-
"access": "public"
|
|
130
|
-
}
|
|
131
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@feelflow/ffid-sdk",
|
|
3
|
+
"version": "11.0.0",
|
|
4
|
+
"description": "FeelFlow ID Platform SDK for React/Next.js applications",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"feelflow",
|
|
7
|
+
"ffid",
|
|
8
|
+
"sdk",
|
|
9
|
+
"react",
|
|
10
|
+
"nextjs",
|
|
11
|
+
"authentication"
|
|
12
|
+
],
|
|
13
|
+
"author": "FeelFlow <dev@feelflow.net>",
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"homepage": "https://github.com/feel-flow/feelflow-id-platform/tree/develop/sdk/typescript#readme",
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/feel-flow/feelflow-id-platform/issues"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "https://github.com/feel-flow/feelflow-id-platform.git",
|
|
22
|
+
"directory": "sdk/typescript"
|
|
23
|
+
},
|
|
24
|
+
"type": "module",
|
|
25
|
+
"main": "./dist/index.cjs",
|
|
26
|
+
"module": "./dist/index.js",
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"exports": {
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
|
+
"import": "./dist/index.js",
|
|
32
|
+
"require": "./dist/index.cjs"
|
|
33
|
+
},
|
|
34
|
+
"./components": {
|
|
35
|
+
"types": "./dist/components/index.d.ts",
|
|
36
|
+
"import": "./dist/components/index.js",
|
|
37
|
+
"require": "./dist/components/index.cjs"
|
|
38
|
+
},
|
|
39
|
+
"./consent": {
|
|
40
|
+
"types": "./dist/consent/index.d.ts",
|
|
41
|
+
"import": "./dist/consent/index.js",
|
|
42
|
+
"require": "./dist/consent/index.cjs"
|
|
43
|
+
},
|
|
44
|
+
"./legal": {
|
|
45
|
+
"types": "./dist/legal/index.d.ts",
|
|
46
|
+
"import": "./dist/legal/index.js",
|
|
47
|
+
"require": "./dist/legal/index.cjs"
|
|
48
|
+
},
|
|
49
|
+
"./webhooks": {
|
|
50
|
+
"types": "./dist/webhooks/index.d.ts",
|
|
51
|
+
"import": "./dist/webhooks/index.js",
|
|
52
|
+
"require": "./dist/webhooks/index.cjs"
|
|
53
|
+
},
|
|
54
|
+
"./announcements": {
|
|
55
|
+
"types": "./dist/announcements/index.d.ts",
|
|
56
|
+
"import": "./dist/announcements/index.js",
|
|
57
|
+
"require": "./dist/announcements/index.cjs"
|
|
58
|
+
},
|
|
59
|
+
"./agency": {
|
|
60
|
+
"types": "./dist/agency/index.d.ts",
|
|
61
|
+
"import": "./dist/agency/index.js",
|
|
62
|
+
"require": "./dist/agency/index.cjs"
|
|
63
|
+
},
|
|
64
|
+
"./server": {
|
|
65
|
+
"types": "./dist/server/index.d.ts",
|
|
66
|
+
"import": "./dist/server/index.js",
|
|
67
|
+
"require": "./dist/server/index.cjs"
|
|
68
|
+
},
|
|
69
|
+
"./server/test": {
|
|
70
|
+
"types": "./dist/server/test/index.d.ts",
|
|
71
|
+
"import": "./dist/server/test/index.js",
|
|
72
|
+
"require": "./dist/server/test/index.cjs"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"files": [
|
|
76
|
+
"dist",
|
|
77
|
+
"README.md"
|
|
78
|
+
],
|
|
79
|
+
"sideEffects": false,
|
|
80
|
+
"scripts": {
|
|
81
|
+
"build": "rimraf dist && tsup",
|
|
82
|
+
"dev": "tsup --watch",
|
|
83
|
+
"type-check": "tsc --noEmit",
|
|
84
|
+
"lint": "eslint src",
|
|
85
|
+
"lint:fix": "eslint src --fix",
|
|
86
|
+
"test": "vitest run",
|
|
87
|
+
"test:watch": "vitest",
|
|
88
|
+
"test:coverage": "vitest run --coverage",
|
|
89
|
+
"prepublishOnly": "npm run build",
|
|
90
|
+
"sdk:publish": "./scripts/publish.sh"
|
|
91
|
+
},
|
|
92
|
+
"dependencies": {
|
|
93
|
+
"jose": "^6.0.0",
|
|
94
|
+
"zod": "^4.4.3"
|
|
95
|
+
},
|
|
96
|
+
"peerDependencies": {
|
|
97
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
98
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
99
|
+
},
|
|
100
|
+
"peerDependenciesMeta": {
|
|
101
|
+
"react": {
|
|
102
|
+
"optional": true
|
|
103
|
+
},
|
|
104
|
+
"react-dom": {
|
|
105
|
+
"optional": true
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"devDependencies": {
|
|
109
|
+
"@testing-library/jest-dom": "^6.0.0",
|
|
110
|
+
"@testing-library/react": "^16.0.0",
|
|
111
|
+
"@types/node": "^22.19.17",
|
|
112
|
+
"@types/react": "^19.0.0",
|
|
113
|
+
"@types/react-dom": "^19.0.0",
|
|
114
|
+
"@typescript-eslint/eslint-plugin": "^8.58.0",
|
|
115
|
+
"@typescript-eslint/parser": "^8.58.0",
|
|
116
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
117
|
+
"jsdom": "^27.0.0",
|
|
118
|
+
"react": "^19.0.0",
|
|
119
|
+
"react-dom": "^19.0.0",
|
|
120
|
+
"rimraf": "^6.1.2",
|
|
121
|
+
"tsup": "^8.0.0",
|
|
122
|
+
"typescript": "^5.0.0",
|
|
123
|
+
"vitest": "^4.0.0"
|
|
124
|
+
},
|
|
125
|
+
"engines": {
|
|
126
|
+
"node": ">=18.0.0"
|
|
127
|
+
},
|
|
128
|
+
"publishConfig": {
|
|
129
|
+
"access": "public"
|
|
130
|
+
}
|
|
131
|
+
}
|